@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Inconsolata;
  src: url("/fonts/inconsolata-latin.woff2") format("woff2");
  font-display: swap;
}
:root {
  --bg: #e7ecea;
  --surface: #f7f9f8;
  --ink: #161616;
  --muted: #48514d;
  --line: #c9d1cd;
  --accent: #255941;
  --soft: #dce8e0;
  --hover: #e0e7e2;
  --body: Manrope, Arial, sans-serif;
  --mono: Inconsolata, "Courier New", monospace;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
  font: 16px var(--body);
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  line-height: 1.65;
  text-wrap: pretty;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 550;
}
h2 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h3 {
  font-size: 1rem;
}
input,
select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 11px 12px;
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
  font-size: 1rem;
}
input::placeholder {
  color: #5a655f;
}
label {
  display: block;
  font-weight: 550;
  font-size: 0.875rem;
  margin: 18px 0 8px;
}
form label:first-child {
  margin-top: 0;
}
.icon {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.button {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition:
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
.button .icon {
  width: 17px;
  height: 17px;
}
.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 1px 1px #00000012;
}
.primary:hover {
  background: #303c35;
}
.button:active {
  transform: translateY(1px);
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
}
.secondary:hover {
  background: var(--hover);
}
.text-button {
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.text-button .icon {
  width: 16px;
  height: 16px;
}
.text-button:hover {
  color: var(--accent);
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  transition: background 180ms var(--ease);
}
.icon-button:hover {
  background: var(--hover);
}
.icon-button .icon {
  width: 19px;
  height: 19px;
}
.full {
  width: 100%;
}
.muted {
  color: var(--muted);
  font-size: 0.8125rem;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  flex: none;
  background: var(--accent);
  border-radius: 50%;
}
.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 38px 20px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.brand {
  display: block;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 12px 48px;
}
.brand span {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 8px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px;
  min-height: 46px;
  background: transparent;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease);
}
.nav-button:hover {
  background: var(--hover);
  color: var(--ink);
}
.nav-button .icon {
  width: 19px;
  height: 19px;
}
.nav-button.active {
  background: #d8e1db;
  color: var(--ink);
}
.nav-count {
  margin-left: auto;
  font-size: 0.75rem;
  background: var(--bg);
  padding: 3px 7px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.owner-avatar {
  height: 34px;
  width: 34px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 0.875rem var(--mono);
  flex: none;
}
.sidebar-bottom strong {
  font-size: 0.8125rem;
  font-weight: 600;
  display: block;
}
.sidebar-bottom div > span {
  font-size: 0.75rem;
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 68px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 14px;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.privacy {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--muted);
}
.privacy .icon {
  width: 14px;
  height: 14px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-actions #logout .icon {
  width: 18px;
  height: 18px;
}
main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 28px;
  flex: 1;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .primary {
  align-self: center;
}
.greeting {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.subtitle {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 10px;
  max-width: 52ch;
}
.mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.segmented {
  display: flex;
  gap: 22px;
  flex: none;
  border-bottom: 1px solid var(--line);
}
.segmented button {
  min-height: 44px;
  padding: 10px 0 12px;
  background: transparent;
  border-bottom: 2px solid transparent;
  font-size: 0.8125rem;
  color: var(--muted);
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease);
}
.segmented button:hover {
  color: var(--ink);
}
.segmented .selected {
  border-bottom-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.notice {
  background: #dde7e1;
  border: 1px solid #b4c8bc;
  border-radius: 8px;
  padding: 14px 16px;
  color: #274635;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 18px 0;
}
.notice strong {
  font-weight: 650;
}
.danger {
  background: #f5e7e4;
  color: #822f24;
  border-color: #d7b1aa;
}
.activity-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feed-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 158px 40px;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.search-field {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 10px;
  font-weight: 400;
  min-width: 0;
}
.search-field > .icon {
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.search-field input {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 10px 0;
  width: 100%;
  box-shadow: none;
}
.source-filter {
  margin: 0;
  min-width: 0;
}
.source-filter select {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent url("/chevron.svg") no-repeat right 4px center;
  background-size: 14px;
  padding: 10px 24px 10px 8px;
  font-size: 0.875rem;
  min-height: 44px;
  cursor: pointer;
}
.feed-toolbar .icon-button {
  min-width: 40px;
  color: var(--muted);
}
.feed-title {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 16px 24px;
  border-bottom: 1px solid #dce2de;
}
.feed-title > span:first-child {
  font-weight: 600;
  color: var(--ink);
}
.event-list {
  padding: 0 24px;
}
.empty-state {
  padding: 46px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 300px;
  justify-content: center;
}
.empty-state h2 {
  font-size: 1rem;
  font-weight: 600;
}
.empty-state p {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 350px;
  margin: 10px 0 20px;
}
.inbox-illustration {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5a7163;
  margin-bottom: 22px;
}
.inbox-illustration > .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.3;
}
.empty-state .button {
  font-size: 0.8125rem;
  min-height: 42px;
}
.feed-footer {
  border-top: 1px solid #dce2de;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}
.setup-strip {
  padding: 24px 0 0;
  margin-top: 4px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.setup-strip h2 {
  font-size: 0.9375rem;
}
.setup-strip p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
  max-width: 60ch;
}
.setup-strip .text-button {
  margin-left: auto;
}
.setup-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--muted);
}
.setup-symbol .icon {
  width: 22px;
  height: 22px;
}
.workspace-footer {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.6875rem;
  gap: 15px;
}
.event-row {
  width: 100%;
  background: transparent;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid #dce2de;
  align-items: center;
  transition: background 180ms var(--ease);
}
.event-row:last-child {
  border-bottom: 0;
}
.event-row:hover {
  background: #edf2ee;
}
.platform-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font: 0.875rem var(--mono);
  color: var(--muted);
}
.event-main strong {
  font-weight: 600;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.event-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}
.event-value {
  text-align: right;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.event-value small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}
.unread-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-left: 7px;
  vertical-align: middle;
}
.tag {
  display: inline-block;
  padding: 3px 7px;
  background: #d7e3dc;
  border-radius: 4px;
  font-size: 0.6875rem;
  color: #274635;
}
.tag.test {
  background: #e9e0cc;
  color: #674c14;
}
.tag.pending {
  background: #ece2c7;
  color: #66490c;
}
.tag.failed,
.tag.refunded {
  background: #eeded9;
  color: #743d31;
}
.connections {
  margin-top: 24px;
}
.connection-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.connection-row h2 {
  font-size: 0.9375rem;
}
.connection-row .handle {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 10px;
  overflow-wrap: anywhere;
}
.connection-row p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 8px;
}
.connection-route {
  display: block;
  font-size: 0.75rem;
  margin-top: 8px;
  color: var(--muted);
}
.connection-state {
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.required {
  font-size: 0.6875rem;
  font-weight: 500;
  margin-left: 10px;
  color: var(--accent);
}
.notification-preview {
  max-width: 540px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  margin: 0 0 32px;
}
.preview-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: white;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}
.preview-icon .icon {
  width: 21px;
  height: 21px;
}
.preview-label {
  font-size: 0.625rem;
  letter-spacing: 0.035em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 7px;
}
.notification-preview strong {
  font-size: 0.875rem;
}
.notification-preview p {
  font-size: 0.8125rem;
  margin-top: 4px;
}
.notification-settings {
  max-width: 780px;
}
.notification-settings > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 10px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.settings-row strong {
  font-size: 0.875rem;
}
.settings-row p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 6px;
  max-width: 50ch;
}
.install-guide {
  padding: 24px 0;
}
.install-guide ol {
  padding-left: 22px;
  font-size: 0.875rem;
  line-height: 1.8;
}
.install-guide p {
  font-size: 0.875rem;
  color: var(--muted);
}
.push-health {
  font-size: 0.8125rem;
  padding: 22px 0 8px;
}
.login-screen {
  min-height: 100dvh;
  padding: 36px 6vw;
  display: flex;
  flex-direction: column;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}
.brand-suffix {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0;
}
.cat-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.login-panel {
  max-width: 390px;
  width: 100%;
  margin: 90px auto;
}
.private-label {
  font-size: 0.8125rem;
  color: var(--muted);
}
.login-panel h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin: 18px 0 14px;
}
.login-panel > p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.login-panel form {
  margin-top: 30px;
}
.login-panel input {
  width: 100%;
  background: #f2f5f3;
}
.login-panel .button {
  width: 100%;
  margin-top: 16px;
  justify-content: space-between;
}
.login-note {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 26px;
  line-height: 1.6;
}
.login-footer {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: auto;
}
.error {
  color: #822f24 !important;
  font-size: 0.875rem;
  margin-top: 12px !important;
}
.local-hint {
  font-size: 0.75rem !important;
  margin-top: 18px !important;
}
.login-panel code {
  font: 0.8125rem var(--mono);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 28px;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 16px 64px #10211826;
}
dialog::backdrop {
  background: #17251b99;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.dialog-header .greeting {
  margin-bottom: 7px;
}
.dialog-header h2 {
  font-size: 1.375rem;
}
.dialog-description {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 16px 0 22px;
}
dialog input,
dialog select {
  width: 100%;
  background: white;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
dialog .full {
  margin-top: 20px;
}
.detail-amount {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  margin: 25px 0 12px;
  font-variant-numeric: tabular-nums;
}
.detail-list {
  margin: 24px 0 0;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 65%;
}
.detail-reference {
  font: 0.8125rem var(--mono);
}
#toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 9px;
  padding: 14px 20px;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: 0 6px 30px #0002;
  z-index: 20;
}
#test-feedback,
#push-feedback {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 196px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 32px 28px;
  }
  .workspace-footer {
    padding: 20px 28px;
  }
  .setup-symbol {
    display: none;
  }
  .setup-strip {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .setup-strip .text-button {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
    position: relative;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 22px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    display: flex;
    align-items: baseline;
    gap: 7px;
    width: max-content;
    max-width: calc(100% - 100px);
    font-size: 1.3rem;
    margin: 0 0 18px;
  }
  .brand span {
    display: inline;
    font-size: 0.8125rem;
    margin: 0;
    letter-spacing: -0.02em;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
  }
  .nav-button {
    justify-content: center;
    flex: 1;
    gap: 7px;
    font-size: 0.875rem;
    padding: 12px 2px;
    border-radius: 0;
    min-height: 46px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .nav-button .icon {
    width: 17px;
    height: 17px;
  }
  .nav-button.active {
    background: none;
    border-bottom-color: var(--ink);
  }
  .nav-button:hover {
    background: none;
  }
  .nav-count {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    position: absolute;
    top: 12px;
    right: 14px;
    height: 44px;
    width: auto;
    padding: 0;
    border: 0;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .topbar-actions {
    gap: 5px;
  }
  .privacy {
    font-size: 0.6875rem;
    gap: 5px;
  }
  .privacy .icon {
    width: 13px;
    height: 13px;
  }
  .topbar-actions #logout {
    min-width: 36px;
  }
  .topbar-actions #logout .icon {
    width: 17px;
    height: 17px;
  }
  main {
    padding: 28px 20px;
  }
  .page-heading {
    gap: 14px;
    margin-bottom: 22px;
    align-items: flex-start;
  }
  .page-heading > div {
    min-width: 0;
    flex: 1;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .page-heading > .button {
    margin-top: 0;
    align-self: flex-start;
    font-size: 0.8125rem;
    padding: 10px 12px;
    gap: 6px;
  }
  .page-heading > .button .icon {
    width: 15px;
    height: 15px;
  }
  .subtitle {
    font-size: 0.875rem;
    margin-top: 9px;
    max-width: 25ch;
  }
  .mode-bar {
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .segmented {
    gap: 20px;
  }
  .segmented button {
    font-size: 0.875rem;
  }
  .mode-bar #feed-label {
    font-size: 0.6875rem;
  }
  .feed-toolbar {
    grid-template-columns: minmax(0, 1fr) 128px 36px;
    padding: 8px 12px;
    gap: 6px;
  }
  .search-field {
    gap: 8px;
  }
  .search-field > .icon {
    width: 16px;
    height: 16px;
  }
  .search-field input {
    font-size: 1rem;
  }
  .source-filter select {
    font-size: 1rem;
    padding-left: 4px;
    padding-right: 20px;
    background-position: right 0 center;
    background-size: 12px;
  }
  .feed-toolbar .icon-button {
    min-width: 36px;
  }
  .feed-toolbar .icon-button .icon {
    width: 17px;
    height: 17px;
  }
  .feed-title {
    padding: 14px 16px;
    font-size: 0.875rem;
  }
  .event-list {
    padding: 0 16px;
  }
  .empty-state {
    min-height: 270px;
    padding: 30px 20px;
  }
  .empty-state p {
    font-size: 0.875rem;
    max-width: 30ch;
    line-height: 1.65;
  }
  .inbox-illustration {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }
  .inbox-illustration > .icon {
    width: 22px;
    height: 22px;
  }
  .feed-footer {
    padding: 13px 16px;
    flex-wrap: wrap;
    gap: 5px 16px;
    font-size: 0.6875rem;
  }
  .setup-strip {
    padding-top: 22px;
    gap: 10px;
  }
  .setup-strip h2 {
    font-size: 0.875rem;
  }
  .setup-strip p {
    font-size: 0.8125rem;
  }
  .setup-strip .text-button {
    font-size: 0.8125rem;
    min-height: 40px;
  }
  .workspace-footer {
    padding: 16px 20px max(20px, env(safe-area-inset-bottom));
    font-size: 0.6875rem;
    flex-wrap: wrap;
  }
  .event-row {
    gap: 10px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    padding: 18px 0;
  }
  .platform-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    border-radius: 7px;
  }
  .event-main strong {
    font-size: 0.875rem;
  }
  .event-value {
    font-size: 0.875rem;
  }
  .event-meta {
    font-size: 0.875rem;
    gap: 6px;
  }
  .connection-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }
  .connection-state {
    grid-column: 2;
    width: max-content;
  }
  .connection-row .handle {
    display: block;
    margin: 6px 0 0;
  }
  .connection-row p {
    font-size: 0.875rem;
  }
  .required {
    font-size: 0.6875rem;
  }
  .settings-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .notification-preview {
    padding: 16px;
    gap: 10px;
  }
  .preview-label {
    gap: 12px;
  }
  .login-screen {
    padding: 24px;
  }
  .login-brand {
    font-size: 1.15rem;
    gap: 10px;
  }
  .login-panel {
    margin: 64px auto;
  }
  .login-panel h1 {
    font-size: 2.4rem;
  }
  .login-footer {
    font-size: 0.75rem;
  }
  dialog {
    padding: 22px;
  }
  .dialog-header h2 {
    font-size: 1.25rem;
  }
  .form-columns {
    gap: 10px;
  }
  .notification-settings > .muted {
    font-size: 0.875rem;
  }
}
@media (max-width: 360px) {
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sidebar nav {
    gap: 4px;
  }
  .nav-button {
    font-size: 0.75rem;
    gap: 5px;
  }
  .nav-button .icon {
    width: 16px;
    height: 16px;
  }
  .brand {
    font-size: 1.15rem;
    gap: 5px;
  }
  .brand span {
    font-size: 0.75rem;
  }
  .privacy {
    font-size: 0.625rem;
  }
  .page-heading h1 {
    font-size: 1.8rem;
  }
  .page-heading > .button {
    padding: 10px;
    font-size: 0.75rem;
  }
  .mode-bar #feed-label {
    width: 100%;
    margin-top: -4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .button:active {
    transform: none;
  }
}
