.desk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 0 24px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--line);
}
.desk-tabs button { min-height: 44px; padding-inline: 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; }
.desk-tabs .filter.active { background: var(--blue-soft); border-color: var(--line); color: var(--blue); font-weight: 600; }
.desk-tabs .filter:hover:not(.active) { background: var(--surface-raised); color: var(--ink); }
.desk-watch-form { display: grid; grid-template-columns: 150px minmax(180px, 1fr) auto; gap: 16px; align-items: end; margin-block: 24px; }
.desk-watch-form label { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.desk-watch-form input,
.desk-watch-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-raised); color: var(--ink); caret-color: var(--blue); font: inherit; font-variant-numeric: tabular-nums; }
.desk-watch-form input::placeholder { color: var(--muted); opacity: 1; }
.desk-watch-form input:hover,
.desk-watch-form select:hover { border-color: var(--muted); }
.desk-watch-form input:focus-visible,
.desk-watch-form select:focus-visible { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 2px; }
.desk-watch-form button { min-height: 46px; }
.desk-watch-list { margin-block: 16px; }
.desk-watch { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-block-start: 1px solid var(--line); padding-block: 16px; line-height: 1.8; }
.desk-watch code,
.desk-address code { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.desk-watch button { flex-shrink: 0; min-height: 44px; }
.desk-token,
.desk-setup,
.desk-news-row { border-block-start: 1px solid var(--line); padding-block: 24px; min-width: 0; }
.desk-row-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; }
.desk-row-head h3 { margin: 0; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.desk-state { font-size: 12px; color: var(--muted); line-height: 1.8; }
.desk-state.blocked { color: var(--red); }
.desk-address { display: flex; gap: 12px; align-items: center; margin-block: 14px; }
.desk-address button { min-height: 44px; flex-shrink: 0; }
.desk-details { border-block-start: 1px solid var(--line); margin-block-start: 20px; }
.desk-details summary { cursor: pointer; min-height: 46px; padding-block: 12px; color: var(--ink); font-size: 13px; line-height: 1.8; }
.desk-details summary::marker { color: var(--muted); }
.desk-details summary:hover,
.desk-details[open] > summary { color: var(--blue); }
.desk-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.desk-details p,
.desk-news-row > p { max-width: 75ch; }
.desk-news-title { display: block; max-width: 70ch; font-size: 17px; font-weight: 500; line-height: 1.9; overflow-wrap: anywhere; }
.desk-news-row h3 { font-size: 14px; margin-block: 24px 8px; }
.desk-news-row > .muted { font-size: 12px; }
.desk-setup .facts { margin-block: 18px; }
.desk-setup canvas { margin-block: 16px; }
.desk-research-address { display: block; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; line-height: 1.8; margin-block: 12px; }
.research-record > a { display: inline-block; margin-inline-end: 18px; min-height: 36px; }
.desk-hive-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; border-block-start: 1px solid var(--line); padding-block: 18px; font-variant-numeric: tabular-nums; line-height: 1.9; }
.desk-hive-row code { flex-basis: 100%; margin-block: 0; }
.desk-watch-form.savings-entry-form { grid-template-columns: 140px minmax(120px, 1fr) minmax(150px, 1fr) auto; }
.desk-watch-form.savings-plan-form { grid-template-columns: minmax(200px, 1fr) auto; }
.savings-entry { flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.savings-entry > span { overflow-wrap: anywhere; max-width: 100%; }
#desk-savings .facts { margin-block: 24px; }
@media (max-width: 900px) {
  .desk-watch-form.savings-entry-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .desk-watch-form,
  .desk-watch-form.savings-entry-form,
  .desk-watch-form.savings-plan-form { grid-template-columns: 1fr; }
  .desk-watch-form { gap: 14px; }
  .desk-watch { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .desk-row-head { gap: 8px; }
  .desk-address { align-items: flex-start; }
  .desk-token,
  .desk-setup,
  .desk-news-row { padding-block: 20px; }
  .desk-tabs { gap: 6px; margin-block-end: 20px; }
  .desk-tabs button { padding-inline: 12px; font-size: 12px; }
  .desk-news-title { font-size: 16px; }
}
