/* Handled · ui-core's own screen styles (Now, Streams, Ask, Search, Week, Activity, People, Things, You, Settings,
   System, the flows). Shared components live in components.css; tokens only, mobile first, light and dark both from
   brand.css. Owner: ui-core. */
.noscript { padding: 24px; }
.stack { display: grid; gap: 16px; }
.stack > .btn-primary { margin-top: 6px; }

/* ---- the hero: Story Becomes' black card (ac-card--dark), inverse in either theme */
.hero { margin: 0 0 8px 8px; padding: 22px 20px 20px; background: var(--sb-ink); color: var(--sb-paper); border: var(--sb-bw) solid var(--sb-ink); border-radius: var(--sb-r-xl); box-shadow: -8px 8px 0 var(--sb-ribbon); }
.hero .kicker { color: var(--sb-paper); }
.hero-sub { margin: 6px 0 0; color: var(--sb-paper-2); font-size: 15px; }
.hero-big { margin: 0; font-size: 1.7rem; font-weight: 650; letter-spacing: -0.05em; line-height: 1.05; text-transform: lowercase; }
.hero .btn-primary { background: var(--sb-paper); color: var(--sb-ink); border-color: var(--sb-paper); --sb-extrude: var(--sb-ribbon); }
.hero .btn-quiet { color: var(--sb-paper); text-decoration-color: var(--sb-paper-2); }
.hero :focus-visible { outline-color: var(--sb-paper); }

/* ---- Now */
.pull-hint { display: flex; align-items: center; justify-content: center; gap: 8px; height: 0; overflow: hidden; margin: -8px 0 0; color: var(--sb-ink-2); font-size: 13px; font-weight: 700; text-transform: lowercase; }
.pull-hint .ic { width: 16px; height: 16px; }
.pull-hint.is-armed { color: var(--sb-ink); }
.since { display: grid; gap: 8px; margin: 0 0 26px; }
.since-label { margin: 0; color: var(--sb-ink); font-size: 14px; font-weight: 700; letter-spacing: -0.02em; text-transform: lowercase; }
.since-label .muted { font-weight: 600; }
.system-line { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 12px 12px 12px 14px; border-radius: var(--sb-r-lg); background: var(--sb-ribbon); color: var(--sb-on-ribbon); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.system-line > span:not(.ic) { flex: 1; }
.system-line .ic { flex: none; width: 20px; height: 20px; }
.more { margin: 22px 0 0 6px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); overflow: hidden; }
.more-head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; background: var(--sb-paper); color: var(--sb-ink); font: inherit; text-align: left; cursor: pointer; }
.more-n { flex: none; font-weight: 800; letter-spacing: -0.03em; }
.more-names { flex: 1; min-width: 0; color: var(--sb-ink-2); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-head .ic { flex: none; width: 18px; height: 18px; transition: transform 0.25s var(--sb-ease-snap); }
.more-head[aria-expanded="true"] .ic { transform: rotate(180deg); }
.more .list { border-top: 1px solid var(--sb-line-soft); padding: 0 14px; }
.more .row:last-child { border-bottom: 0; }
.next-line { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 650; letter-spacing: -0.02em; }
.today { display: block; margin: 24px 0 0; padding: 12px 16px 6px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); color: var(--sb-ink); text-decoration: none; }
.today-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.today-label { font-weight: 800; font-size: 17px; letter-spacing: -0.04em; text-transform: lowercase; }
.today-go { display: inline-flex; align-items: center; gap: 2px; color: var(--sb-ink-2); font-size: 14px; font-weight: 650; text-transform: lowercase; }
.today-go .ic { width: 16px; height: 16px; }
.today-list { margin: 0; padding: 0; list-style: none; }
.today-row { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--sb-line-soft); font-size: 15.5px; }
.today-row:first-child { border-top: 0; }
.today-row--none { color: var(--sb-ink-2); }
.today-row--none .ic { width: 18px; height: 18px; }
.today-time { flex: none; min-width: 64px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.today-what { flex: 1; min-width: 0; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--sb-ink-2); }
/* "new" is a quiet ink outline: red stays for what is overdue or destructive (2026-11-17 review) */
.new-tag { display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: var(--sb-r-xs); border: 1px solid var(--sb-ink-2); color: var(--sb-ink-2); font-size: 11px; font-weight: 800; letter-spacing: 0.02em; text-transform: lowercase; vertical-align: 1px; }
.now-foot { margin: 18px 0 0; }
.now-talk { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
.catchup { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 16px; }
.catchup a { color: inherit; }

/* ---- Streams */
.sect--first { margin-top: 18px; }
.sect--tight { margin-top: 26px; }
.stream-list .row { min-height: 68px; }
.stream-row .row-title { display: inline-flex; align-items: center; gap: 6px; }
.pin-ic { width: 14px; height: 14px; color: var(--sb-ink-2); }
.row-when { font-size: 13px; }
.row-mode { display: inline-flex; color: var(--sb-ink-3); }
.row-mode .ic { width: 17px; height: 17px; }
.row-count { flex: none; min-width: 24px; text-align: center; font-weight: 800; color: var(--sb-ink-2); font-size: 14px; }
.stream-offered { border-bottom: 1px solid var(--sb-line-soft); }
.stream-offered .row { border-bottom: 0; }
.offer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: start; margin: 0 0 12px 56px; padding: 12px 14px; border-radius: var(--sb-r-lg); background: var(--sb-grey); }
.offer > .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--sb-ink-2); }
.offer-text { margin: 0; font-size: 14.5px; }
.offer-acts { grid-column: 2; display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.offer .btn-primary { --btn-h: 36px; font-size: 14.5px; --sb-depth: 3px; }
.offer--done { background: var(--sb-ok-soft); }
.all-streams { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin-top: 30px; padding: 0 14px; border: var(--sb-bw) dashed var(--sb-line-soft); border-radius: var(--sb-r-lg); background: transparent; color: var(--sb-ink-2); font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
.all-streams > span:not(.ic) { flex: 1; }
.proposal { margin-bottom: 26px; }
.proposal-head { display: flex; gap: 14px; align-items: center; margin: 16px 0 0; }
.proposal-ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; font-size: 28px; background: var(--sb-paper); border-radius: var(--sb-r); }
.proposal-name-t { margin: 0; font-size: 1.8rem; font-weight: 650; letter-spacing: -0.055em; line-height: 1; text-transform: lowercase; }
.proposal-why { margin: 14px 0 0; font-weight: 650; }
.proposal-samples { margin: 10px 0 16px; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--sb-paper-2); font-size: 14.5px; }
.proposal-samples li::before { content: "· "; }
.manage { display: grid; gap: 10px; }
.manage-list { display: grid; }
.manage-row { display: flex; align-items: center; gap: 10px; min-height: 60px; border-bottom: 1px solid var(--sb-line-soft); }
.manage-row .row-main { min-width: 0; }

/* ---- a stream */
.stream-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; margin: 4px 0 18px; }
.stream-head .stream-kickers { grid-column: 1 / -1; }
.stream-head .page-sub { grid-column: 1 / -1; }
.stream-head-text { min-width: 0; }
.stream-head .page-sub { margin-top: 10px; }
.stream-kickers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.stream-kickers:empty { display: none; }
.stream-mode { display: grid; gap: 6px; margin: 0 0 22px; }
.pins { display: grid; gap: 10px; margin: 0 0 22px; }
.pin { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); color: var(--sb-ink); text-decoration: none; }
.pin-when { flex: none; display: grid; text-align: center; min-width: 64px; padding-right: 12px; border-right: 1px solid var(--sb-line-soft); }
.pin-when b { font-size: 17px; letter-spacing: -0.04em; }
.pin-when span { color: var(--sb-ink-2); font-size: 13px; }
.pin-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.pin-open { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.pin-open .ic { width: 15px; height: 15px; }
.stream-note { margin: 0 0 20px; color: var(--sb-ink-2); }
.counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.count { display: grid; gap: 2px; padding: 14px; border: var(--sb-bw) solid var(--sb-line-soft); border-radius: var(--sb-r-lg); }
.count-n { font-size: 2rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.count-l { font-weight: 700; letter-spacing: -0.02em; }
.posts { display: grid; gap: 12px; }
.post-peek { display: grid; gap: 6px; padding: 14px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); color: var(--sb-ink); text-decoration: none; }
.post-peek p { margin: 0; font-weight: 650; }
.post-peek-plat { font-size: 12.5px; font-weight: 800; text-transform: lowercase; color: var(--sb-ink-2); }
.rule-block { margin: 0 0 14px; }
.rule-title { margin: 0 0 6px; font-size: 14px; font-weight: 750; letter-spacing: -0.02em; text-transform: lowercase; color: var(--sb-ink-2); }
.rule-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 4px; }
.load-more { margin-top: 18px; }

/* ---- an item */
.item-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.item-stream { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--sb-ink); font-weight: 700; text-decoration: none; }
.why-summary { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.why-lines { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0 0 14px; }
.why-lines dt { color: var(--sb-ink-2); font-weight: 650; }
.why-lines dd { margin: 0; }
.why-gate { margin: 0 0 14px; }
.why-gate summary, .ops summary, .act-quote summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--sb-ink-2); font-weight: 650; }
.gate { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gate li { display: flex; gap: 10px; font-size: 15px; }
.gate-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sb-ok-soft); color: var(--sb-ok); }
.gate .is-no .gate-mark { background: var(--sb-bad-soft); color: var(--sb-bad); }
.gate-mark .ic { width: 14px; height: 14px; }
.teach { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); background: var(--sb-paper); color: var(--sb-ink); font: inherit; text-align: left; cursor: pointer; }
.teach > .ic:first-child { color: var(--sb-ink-2); }
.teach-text { flex: 1; display: grid; gap: 3px; }
.teach-text span { color: var(--sb-ink-2); font-size: 14px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 1.5px; background: var(--sb-line-soft); }
.timeline li:last-child::before { display: none; }
.tl-dot { width: 12px; height: 12px; margin: 4px 0 0 5px; border-radius: 50%; border: var(--sb-bw) solid var(--sb-line); background: var(--sb-paper); position: relative; z-index: 1; }
.timeline li:first-child .tl-dot { background: var(--sb-ink); }
.tl-body { display: block; color: var(--sb-ink); text-decoration: none; }
.tl-text { margin: 0; font-weight: 600; }
.tl-body .small { margin: 2px 0 0; }

/* ---- Ask */
.has-composer .main { padding-bottom: calc(var(--sb-tabbar) + env(safe-area-inset-bottom) + 150px); }
.ask-h1 { margin-bottom: 14px; }
.ask-chips { margin-bottom: 8px; }
.thread { display: grid; gap: 12px; }
.thread-day { justify-self: center; margin: 10px 0 2px; color: var(--sb-ink-2); font-size: 13px; font-weight: 650; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: var(--sb-r-xl); font-size: 16.5px; line-height: 1.4; overflow-wrap: anywhere; }
.bubble--me { justify-self: end; background: var(--sb-ink); color: var(--sb-paper); border: 0; font: inherit; text-align: left; }
.bubble--me.is-pending { opacity: 0.65; }
.bubble--me.is-failed { background: var(--sb-bad-soft); color: var(--sb-bad); cursor: pointer; }
.bubble--them { justify-self: start; border: var(--sb-bw) solid var(--sb-line); background: var(--sb-paper); max-width: 100%; width: fit-content; }
.bubble--them.is-thinking { display: flex; align-items: center; gap: 10px; }
.bubble--them.is-failed { border-color: var(--sb-ribbon); color: var(--sb-bad); }
.bubble-text { margin: 0; white-space: pre-wrap; }
.bubble-voice { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--sb-paper-2); font-size: 13.5px; font-weight: 700; }
.bubble-voice .ic { width: 16px; height: 16px; }
.wave { display: inline-block; width: 64px; height: 14px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(0deg, transparent 20%, black 20% 80%, transparent 80%); opacity: 0.8; }
.bubble-fail { justify-self: end; margin: -4px 0 0; color: var(--sb-bad); font-size: 13.5px; font-weight: 650; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sb-ink-2); animation: hd-dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hd-dot { 50% { transform: translateY(-4px); opacity: 0.4; } }
.answer-cards { margin-top: 14px; }
.answer-cards .card { box-shadow: -4px 4px 0 var(--sb-extrude); }
.answer-results { margin-top: 10px; }
.composer { position: fixed; z-index: 55; left: 0; right: 0; bottom: calc(var(--sb-tabbar) + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding: 10px 12px 8px; background: var(--sb-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--sb-chrome-line); }
.ask-field { flex: 1; min-width: 0; }
.ask-input { display: block; width: 100%; box-sizing: border-box; min-height: 48px; max-height: 140px; padding: 12px 14px; resize: none; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); background: var(--sb-paper); color: var(--sb-ink); font: 500 16px/1.4 var(--sb-font); letter-spacing: -0.01em; }
.ask-input::placeholder { color: var(--sb-ink-3); }
.ask-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sb-ink); }
.ask-send, .ask-mic { flex: none; width: 52px; height: 48px; display: grid; place-items: center; border: 0; border-radius: var(--sb-r-lg); background: var(--sb-ink); color: var(--sb-paper); cursor: pointer; box-shadow: -3px 3px 0 var(--sb-extrude); margin: 0 0 3px 3px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
/* The composer's mic is a quiet ink button (red is for overdue and destructive), and on a phone it is not drawn at
   all: the Ask tab right under it is the hold-to-talk control (2026-11-17 review: two mics 90 px apart). */
.ask-mic { background: transparent; color: var(--sb-ink); border: var(--sb-bw) solid var(--sb-line-soft); box-shadow: none; margin: 0; }
@media (max-width: 1023px) { .ask-mic { display: none; } }
.ask-send:active, .ask-mic:active { transform: translate(-3px, 3px); box-shadow: none; }
.ask-cam { min-height: 48px; color: var(--sb-ink); }
.composer-note { flex-basis: 100%; margin: 0; text-align: center; color: var(--sb-ink-2); font-size: 12.5px; }
@media (min-width: 1024px) { .composer { left: 248px; padding: 12px max(40px, calc((100vw - 248px - 760px) / 2)); } }

/* ---- Search */
.search-bar { position: relative; display: flex; align-items: center; margin: 0 0 10px; }
.search-ic { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--sb-ink-2); pointer-events: none; }
.search-input { width: 100%; box-sizing: border-box; height: 52px; padding: 0 48px 0 44px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); background: var(--sb-paper); color: var(--sb-ink); font: 600 18px var(--sb-font); letter-spacing: -0.03em; -webkit-appearance: none; appearance: none; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-input::placeholder { color: var(--sb-ink-3); font-weight: 500; }
.search-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sb-ink), -4px 4px 0 var(--sb-extrude); }
.search-clear { position: absolute; right: 2px; }
.search-chips { margin: 4px 0 6px; }
.search-chips:empty { display: none; }
.search-meta { margin: 14px 0 0; color: var(--sb-ink); font-weight: 700; font-size: 14px; }
.group { margin-top: 24px; }
.group .sect-head { margin-bottom: 4px; }
.group-rows { border-top: 1px solid var(--sb-line); }
.group-more { margin-top: 10px; }
.result .row-main { gap: 2px; }
.result-snippet { color: var(--sb-ink-2); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result .btn { justify-self: start; margin-top: 6px; }
.result.is-archived .row-title { color: var(--sb-ink-2); }
mark { background: var(--sb-warn-soft); color: var(--sb-ink); border-radius: 2px; padding: 0 1px; }
.deep-box:empty { display: none; }
.deep-offer { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0 4px; padding: 14px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); background: var(--sb-paper); color: var(--sb-ink); font: inherit; text-align: left; cursor: pointer; box-shadow: -4px 4px 0 var(--sb-extrude); margin-left: 4px; }
.deep-offer > .ic:first-child { color: var(--sb-ribbon); }
.deep-offer-text { flex: 1; display: grid; gap: 2px; }
.deep-offer-text span { color: var(--sb-ink-2); font-size: 14px; }
.deep { margin: 12px 0 4px 8px; padding: 16px 18px; border-radius: var(--sb-r-xl); background: var(--sb-ink); color: var(--sb-paper); box-shadow: -6px 6px 0 var(--sb-ribbon); }
.deep .kicker { color: var(--sb-paper); }
.deep-q { margin: 10px 0; color: var(--sb-paper-2); }
.deep-text { margin: 10px 0 0; font-size: 17.5px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.35; }
.deep .skeleton { opacity: 0.25; }
.deep .small { color: var(--sb-paper-2); margin: 10px 0 0; }
.deep-sources { display: grid; gap: 6px; margin-top: 12px; }
.deep-src { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: var(--sb-r); background: var(--sb-paper); color: var(--sb-ink); text-decoration: none; font-size: 14.5px; }
.deep-src .ic { flex: none; width: 18px; height: 18px; }
.deep--failed { background: var(--sb-bad-soft); color: var(--sb-bad); box-shadow: none; }
.ops { margin-top: 26px; }
.ops-list { margin-top: 8px; font-size: 14px; }

/* ---- Week */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: -10px 0 22px; color: var(--sb-ink-2); font-size: 14px; font-weight: 650; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; }
.legend-item .bell .ic { width: 16px; height: 16px; }
.day { margin: 0 0 26px; }
.day-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.15rem; font-weight: 750; letter-spacing: -0.04em; text-transform: lowercase; }
.day-head .kicker { height: 24px; font-size: 12px; }
.day--today .day-rows { border-color: var(--sb-ink); box-shadow: -6px 6px 0 var(--sb-extrude); margin-left: 6px; }
.day-rows { border: var(--sb-bw) solid var(--sb-line-soft); border-radius: var(--sb-r-lg); padding: 0 6px 0 14px; }
.day-rows > .row { border-bottom: 0; border-top: 1px solid var(--sb-line-soft); }
.ev-wrap { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--sb-line-soft); }
.ev-wrap:first-child { border-top: 0; }
.ev { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; min-height: 58px; padding: 10px 0; color: var(--sb-ink); text-decoration: none; }
.ev-time { flex: none; min-width: 66px; font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.ev-main { display: grid; gap: 2px; min-width: 0; }
.ev-title { font-weight: 600; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.day-date { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.02em; }
.composer--add.is-folded { left: auto; right: var(--sb-gutter); width: 56px; padding: 6px; border-radius: 50%; }
.composer--add.is-folded .add-input { display: none; }
.composer--add.is-folded .add-btn { width: 44px; min-width: 0; padding: 0; font-size: 0; }
.composer--add.is-folded .add-btn::before { content: "+"; font-size: 24px; line-height: 1; }
.ev-sub { color: var(--sb-ink-2); font-size: 13.5px; }
.ev--context .ev-title, .ev--context .ev-time { color: var(--sb-ink-2); font-weight: 500; }
.bell-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: var(--sb-bw) solid var(--sb-line-soft); border-radius: var(--sb-r); background: var(--sb-paper); cursor: pointer; }
.bell-btn--published, .bell-btn--confirmed, .bell-btn--on { border-color: var(--sb-ink); }
.bell-btn--off .bell { color: var(--sb-ink-3); }
.composer--add { flex-wrap: nowrap; align-items: center; }
.add-input { flex: 1; min-width: 0; height: 48px; border-radius: var(--sb-r-lg); }
.add-btn { --btn-h: 48px; flex: none; }

/* ---- Activity */
.act-groups { margin-top: 8px; }
.act-group { margin-top: 22px; }
.act-rows { border-top: 1px solid var(--sb-line); }
.act { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--sb-line-soft); }
.act-mark { flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--sb-grey); color: var(--sb-ink-2); }
.act-mark .ic { width: 15px; height: 15px; }
.act--receipt.tone-ok .act-mark { background: var(--sb-ok); color: var(--sb-paper); }
.act--receipt.tone-bad .act-mark { background: var(--sb-ribbon); color: var(--sb-on-ribbon); }
.act-body { flex: 1; min-width: 0; }
.act-text { margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.act-verb { font-weight: 800; letter-spacing: -0.03em; }
.act-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0 0; color: var(--sb-ink-2); font-size: 13.5px; }
.act-meta .kicker { height: 20px; font-size: 11.5px; padding: 0 6px; }
.act-quote { margin-top: 4px; }
.quote { margin: 4px 0 0; padding: 8px 10px; border-left: 3px solid var(--sb-ink); background: var(--sb-grey); white-space: pre-wrap; border-radius: var(--sb-r-xs); }
.verified { padding: 0 6px; border-radius: var(--sb-r-xs); background: var(--sb-grey); font-size: 12px; font-weight: 800; text-transform: lowercase; }
.verified--verified { background: var(--sb-ok-soft); color: var(--sb-ok); }
.verified--failed { background: var(--sb-bad-soft); color: var(--sb-bad); }
.is-undone .act-text { text-decoration: line-through; color: var(--sb-ink-2); }
.muted-line { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--sb-ink-2); font-size: 14.5px; }
.muted-line .ic { width: 18px; height: 18px; flex: none; }
.stats + .scroller { margin-top: 18px; }

/* ---- People and a person */
.rel { color: var(--sb-ink-2); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.notice-row { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 56px; margin: 0 0 16px; padding: 10px 14px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); background: var(--sb-paper); color: var(--sb-ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.notice-row > span:not(.ic) { flex: 1; }
.notice-row > .ic:first-child { color: var(--sb-ink-2); }
.same { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--sb-line-soft); }
.same-pair { display: grid; gap: 8px; }
.same-p { display: flex; align-items: center; gap: 10px; }
.person-head { display: flex; gap: 18px; align-items: center; margin: 4px 0 18px; }
.person-head .h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
.person-head .chips { margin-top: 10px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-btn { flex: 1 1 120px; }
.meta--rows { grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); border-top: 1px solid var(--sb-line-soft); gap: 0 18px; }
.meta--rows dt, .meta--rows dd { padding: 10px 0; border-bottom: 1px solid var(--sb-line-soft); }
.role { margin-top: 14px; }

/* ---- Things and a thing */
.thing-head { display: flex; gap: 16px; align-items: flex-end; margin: 4px 0 18px; }
.thing-head .kicker { margin-bottom: 10px; }
.thing-head .h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
.thing-next { display: grid; gap: 4px; margin: 0 0 22px 6px; padding: 18px 20px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-xl); box-shadow: -6px 6px 0 var(--sb-extrude); }
.thing-next.is-red { border-color: var(--sb-ribbon); box-shadow: -6px 6px 0 var(--sb-ribbon); }
.thing-next-label { color: var(--sb-ink-2); font-weight: 700; font-size: 14px; }
.thing-next-n { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; justify-self: start; }
.thing-next.is-red .thing-next-n { color: var(--sb-bad); }
.thing-next-date { color: var(--sb-ink-2); font-weight: 650; }
.policy { display: grid; gap: 10px; }
.policy + .small { margin: 8px 0 18px; }
.thing-foot { margin-top: 24px; }

/* ---- You */
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-left: 6px; }
.hub-tile { display: grid; align-content: start; gap: 4px; min-height: 128px; padding: 14px 14px 16px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-xl); background: var(--sb-paper); color: var(--sb-ink); text-decoration: none; box-shadow: -5px 5px 0 var(--sb-extrude); transition: transform 0.25s var(--sb-ease-snap), box-shadow 0.25s var(--sb-ease-snap); }
.hub-tile:active { transform: translate(-3px, 3px); box-shadow: -2px 2px 0 var(--sb-extrude); }
.hub-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 26px; margin-bottom: 10px; }
.hub-top > .ic { width: 24px; height: 24px; }
.hub-n { font-weight: 800; font-size: 13px; letter-spacing: -0.02em; padding: 2px 8px; border-radius: var(--sb-r-sm); background: var(--sb-grey); }
.hub-n span { font-weight: 650; color: var(--sb-ink-2); }
.hub-n.is-ask { background: var(--sb-ribbon); color: var(--sb-on-ribbon); }
.hub-n.is-ask span { color: var(--sb-on-ribbon); }
.hub-title { font-size: 1.45rem; font-weight: 650; letter-spacing: -0.055em; line-height: 1; text-transform: lowercase; }
.hub-sub { color: var(--sb-ink-2); font-size: 13.5px; line-height: 1.3; }
.device-line { display: flex; align-items: center; gap: 12px; min-height: 52px; margin-bottom: 14px; }
.device-mini { margin-top: 14px; }
.device-mini a { color: var(--sb-ink); }

/* ---- System and sources */
.sys-mini { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 650; }
.sys-mini.is-bad { color: var(--sb-bad); }
.dot { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--sb-ink-3); }
.dot--ok { background: var(--sb-ok); }
.dot--bad { background: var(--sb-ribbon); box-shadow: 0 0 0 4px var(--sb-bad-soft); }
.dot--off { background: transparent; border: var(--sb-bw) solid var(--sb-ink-3); }
.src-row.is-off .row-title { color: var(--sb-ink-2); }
.src-row .dot { margin-right: 6px; }
.stats { margin: 16px 0 0; }

/* ---- Settings */
.settings { display: grid; margin-top: 16px; border-top: 1px solid var(--sb-line); }
.set-group { border-bottom: 1px solid var(--sb-line-soft); }
.set-group > summary { display: flex; align-items: center; gap: 10px; min-height: 58px; cursor: pointer; list-style: none; }
.set-group > summary::-webkit-details-marker { display: none; }
.set-group > summary .h3 { flex: 1; font-size: 1.2rem; }
.set-group > summary .sect-count { vertical-align: baseline; font-size: 14px; }
.set-group > summary .ic { width: 18px; height: 18px; color: var(--sb-ink-2); transition: transform 0.25s var(--sb-ease-snap); }
.set-group[open] > summary .ic { transform: rotate(180deg); }
.set-rows { padding: 0 0 16px; }
.set-note { margin: -4px 0 8px; }
.set-acts { margin-top: 14px; }
.set-rows > .ctl:last-of-type { border-bottom: 0; }
.ctl > .ic { flex: none; color: var(--sb-ink-2); }
.ctl-label .kicker { height: 20px; font-size: 11px; padding: 0 6px; }
.entity { padding: 10px 0 4px; border-top: 1px solid var(--sb-line-soft); }
.entity:first-child { border-top: 0; }
.entity-title { margin: 6px 0 0; font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.entity .ctl { padding: 10px 0; }
.rule-row .btn-row { gap: 4px 8px; }
.pair-code { margin: 4px 0 10px; font-size: 3.4rem; font-weight: 800; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.token { padding: 12px; background: var(--sb-grey); border-radius: var(--sb-r); overflow-wrap: anywhere; }

/* ---- Pairing (a flow, no bars) */
.pair-mark { width: 48px; height: 48px; margin: 8px 0 22px; background: var(--sb-ink); border-radius: var(--sb-r); box-shadow: -4px 4px 0 var(--sb-ribbon); }
.is-flow .kicker + .h1 { margin-top: 14px; }
.pair { margin-top: 28px; }
.steps { margin: 0 0 22px; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.step::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 1.5px; background: var(--sb-line-soft); }
.step:last-child::before { display: none; }
.step-mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: var(--sb-bw) solid var(--sb-ink-3); background: var(--sb-paper); font-weight: 800; font-size: 14px; color: var(--sb-ink-2); position: relative; z-index: 1; }
.step-mark .ic { width: 16px; height: 16px; }
.step--done .step-mark { background: var(--sb-ink); border-color: var(--sb-ink); color: var(--sb-paper); }
.step--done::before { background: var(--sb-ink); }
.step--live .step-mark { border-color: var(--sb-ribbon); color: var(--sb-ribbon); box-shadow: 0 0 0 4px var(--sb-bad-soft); }
.step-title { margin: 3px 0 0; font-weight: 750; letter-spacing: -0.035em; text-transform: lowercase; font-size: 17px; }
.step--todo .step-title { color: var(--sb-ink-2); }
.step-line { margin: 2px 0 0; color: var(--sb-ink-2); font-size: 14.5px; }
.pair-acts { display: grid; gap: 10px; justify-items: center; }
.pair-hero { margin-top: 6px; }
.share-glyph { display: inline-flex; vertical-align: -4px; padding: 2px; border: var(--sb-bw) solid var(--sb-paper); border-radius: var(--sb-r-xs); }
.share-glyph .ic { width: 20px; height: 20px; }
.pair-error { padding: 12px 14px; border-radius: var(--sb-r-lg); background: var(--sb-bad-soft); color: var(--sb-bad); font-weight: 650; }
.input--code { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; text-align: center; }

/* ---- Capture and first run */
.capture-form { display: grid; gap: 12px; }
.capture-done { display: grid; gap: 10px; margin-top: 18px; }
.shortcuts { display: grid; gap: 12px; }
.shortcut { padding: 14px 16px; border: var(--sb-bw) solid var(--sb-line); border-radius: var(--sb-r-lg); }
.shortcut p { margin: 0; }
.shortcut-name { font-weight: 800; font-size: 17px; letter-spacing: -0.04em; text-transform: lowercase; }
.first-h1 { margin: 14px 0 0; max-width: 12ch; }
.first-foot { display: grid; gap: 10px; margin-top: 32px; }

@media (min-width: 640px) {
  .hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .same-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .composer--add { left: 248px; }
  .hub { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (hover: hover) {
  .hub-tile:hover { transform: translate(2px, -2px); box-shadow: -8px 8px 0 var(--sb-extrude); }
  .more-head:hover, .notice-row:hover, .teach:hover, .deep-offer:hover, .all-streams:hover { background: var(--sb-grey); }
  .pin:hover, .post-peek:hover { background: var(--sb-grey); }
  .today:hover { background: var(--sb-grey); }
  .bell-btn:hover { background: var(--sb-grey); }
}
@media (prefers-reduced-motion: reduce) {
  .dots i { animation: none; }
  .hub-tile, .more-head .ic, .set-group > summary .ic { transition: none; }
}

/* Streams at 50 (2026-11-17 review): a row is at most two lines (one line of preview), the views are one compact row,
   offers gather into one review row; a filter field sits above a long list (People uses the same field). */
.stream-row .row-sub:not(.row-when) { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.views-row { margin-bottom: 10px; }
.views-row .toggle { text-decoration: none; }
.find-row { margin: 0 0 12px; }
.find-row .input { width: 100%; box-sizing: border-box; }
.offer-item { padding: 12px 0; border-bottom: 1px solid var(--sb-line-soft); }
.offer-item .row-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.stream-closed { margin-top: 4px; }
.since-label--quiet { margin: 0 0 14px; }
.ops-group { margin: 8px 0 0; }
.ops-group-h { margin: 6px 0 2px; color: var(--sb-ink-2); font-size: 13px; font-weight: 750; text-transform: lowercase; }
