﻿/*
Rebuild source trace:
*/

/* Dashboard home layout: compact operational overview plus two work columns. */
.start-page {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  margin: 0 auto;
}

.start-overview.panel,
.start-news-feed.panel,
.start-news.panel {
  border-color: color-mix(in srgb, var(--line) 92%, transparent);
  background: color-mix(in srgb, var(--panel) 96%, var(--bg));
  box-shadow: none;
}

.start-overview.panel {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.start-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.start-section-head h2,
.start-news-feed > .actions:first-child h2,
.start-news > .actions:first-child h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.start-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.start-overview-card {
  --start-overview-tone: var(--accent);
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 68px;
  align-content: center;
  overflow: hidden;
  padding: 9px 10px 9px 13px;
  border: 1px solid color-mix(in srgb, var(--start-overview-tone) 34%, var(--line));
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--start-overview-tone) 12%, var(--soft-panel)),
    color-mix(in srgb, var(--soft-panel) 94%, var(--panel)) 70%
  );
  color: var(--text);
  text-decoration: none;
  transition: border-color 140ms ease, transform 140ms ease;
}

.start-overview-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--start-overview-tone);
  content: "";
}

.start-overview-card[data-tone="danger"] {
  --start-overview-tone: var(--red);
}

.start-overview-card[data-tone="success"] {
  --start-overview-tone: var(--green);
}

.start-overview-card[data-tone="warning"] {
  --start-overview-tone: var(--yellow);
}

.start-overview-card[data-tone="purple"] {
  --start-overview-tone: var(--purple);
}

.start-overview-card:hover,
.start-overview-card:focus-visible {
  border-color: color-mix(in srgb, var(--start-overview-tone) 66%, var(--line));
  transform: translateY(-1px);
}

.start-overview-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--start-overview-tone) 70%, transparent);
  outline-offset: 2px;
}

.start-overview-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.start-overview-card__label {
  color: color-mix(in srgb, var(--start-overview-tone) 66%, var(--text));
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-overview-card__arrow {
  flex: 0 0 auto;
  color: var(--start-overview-tone);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.start-overview-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1;
}

.start-overview-card small {
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--muted) 92%, var(--text));
  font-size: 10.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-overview-empty {
  grid-column: 1 / -1;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

.start-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 16px;
  min-width: 0;
  align-items: start;
}

.start-notifications-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--soft-panel) 40%, transparent);
}

.start-notifications-head h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-notifications-head a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.start-notifications-head a:hover {
  text-decoration: underline;
}

.start-news-feed > .actions:first-child .notice {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.mobile-news-toggle {
  display: none;
}

.news-feed-menu {
  position: relative;
  display: none;
}

.news-feed-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-panel);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.news-feed-menu summary::-webkit-details-marker {
  display: none;
}

.news-feed-menu-panel {
  position: absolute;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  min-width: min(220px, calc(100dvw - 24px));
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.news-feed-menu-panel button {
  justify-content: flex-start;
  width: 100%;
}

.news-feed-body {
  display: grid;
  gap: 0;
  min-width: 0;
}

.news-feed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  justify-self: end;
  align-self: center;
}

.news-feed-actions button,
.start-news > .actions:first-child button {
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  white-space: nowrap;
}

.news-feed-search-row {
  padding: 12px 16px 10px;
}

.news-feed-search-row input {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 76%, var(--panel));
  font-size: 14px;
}

.start-news-list {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 0 16px 6px;
}

.news-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: transparent;
}

.news-feed-tabs button {
  min-height: 36px;
  padding: 7px 11px;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.news-feed-tabs button.is-active {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 16%, var(--panel));
  color: var(--text);
}

.news-feed-tabs span {
  display: inline-grid;
  min-width: 20px;
  min-height: 20px;
  margin-left: 5px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 800;
}

.news-feed-filter-select {
  display: none;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 76%, var(--panel));
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.start-news-item {
  --news-state-color: var(--muted);
  --news-state-bg: transparent;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  min-height: 106px;
  padding: 13px 14px 13px 16px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-left: 4px solid color-mix(in srgb, var(--line) 92%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 90%, var(--bg));
  box-shadow: none;
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.start-news-item:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
}

.start-news-item[data-open-news-row] {
  cursor: pointer;
}

.start-news-item.is-unread {
  --news-state-color: var(--accent);
  --news-state-bg: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}

.start-news-item.needs-ack {
  --news-state-color: var(--yellow);
  --news-state-bg: color-mix(in srgb, var(--yellow) 12%, transparent);
  border-color: color-mix(in srgb, var(--yellow) 36%, var(--line));
  border-left-color: var(--yellow);
  background: color-mix(in srgb, var(--yellow) 7%, var(--panel));
}

.start-news-item.is-acknowledged {
  --news-state-color: var(--green);
  --news-state-bg: color-mix(in srgb, var(--green) 10%, transparent);
}

.start-news-item.is-archived {
  --news-state-color: var(--muted);
  --news-state-bg: color-mix(in srgb, var(--muted) 10%, transparent);
  opacity: 0.78;
}

.start-news-item:hover,
.start-news-item:focus-visible {
  border-color: color-mix(in srgb, var(--news-state-color) 48%, var(--line));
  background: color-mix(in srgb, var(--news-state-color) 10%, var(--panel));
  outline: none;
  transform: translateY(-1px);
}

.start-news-item:focus-visible {
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--news-state-color) 42%, transparent);
}

.start-news-content {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.start-news-state-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.start-news-state {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--news-state-bg);
  color: color-mix(in srgb, var(--news-state-color) 74%, var(--text));
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-news-state.is-read {
  padding-inline: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.start-news-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--news-state-color);
  box-shadow: none;
}

.start-news-item .news-title {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 96%, var(--on-accent));
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-news-item.is-unread .news-title,
.start-news-item.needs-ack .news-title {
  font-weight: 800;
}

.start-news-time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.start-news-item .news-body-preview {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: 14px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow-wrap: anywhere;
  white-space: normal;
}

.start-news-item footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.news-card-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.news-card-badges .badge {
  min-height: 22px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--news-state-color) 14%, var(--panel));
  color: color-mix(in srgb, var(--news-state-color) 58%, var(--text));
  font-size: 12px;
}

.start-news-card-actions {
  display: flex;
  flex-wrap: nowrap;
  align-self: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
  margin-left: 0;
}

.start-news-card-actions button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.start-news-card-actions button.warning {
  border-color: color-mix(in srgb, var(--yellow) 72%, var(--line));
  background: var(--yellow);
  color: var(--on-warning);
}

.start-notification-list {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 8px 12px 10px;
}

.start-notification {
  --notification-tone: var(--neutral);
  --notification-tone-bg: color-mix(in srgb, var(--neutral) 16%, transparent);
  --notification-tone-text: color-mix(in srgb, var(--text) 92%, var(--muted));
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 11px 2px 11px 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: 0;
  background: transparent;
  transition: background 0.14s ease;
}

button.start-notification {
  width: 100%;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.start-notification.is-danger {
  --notification-tone: var(--red);
  --notification-tone-bg: color-mix(in srgb, var(--red) 16%, transparent);
  --notification-tone-text: color-mix(in srgb, var(--red) 36%, var(--text));
}

.start-notification.is-purple {
  --notification-tone: var(--purple);
  --notification-tone-bg: color-mix(in srgb, var(--purple) 18%, transparent);
  --notification-tone-text: color-mix(in srgb, var(--purple) 34%, var(--text));
}

.start-notification.is-info {
  --notification-tone: var(--accent);
  --notification-tone-bg: color-mix(in srgb, var(--accent) 16%, transparent);
  --notification-tone-text: color-mix(in srgb, var(--accent) 34%, var(--text));
}

.start-notification.is-warning {
  --notification-tone: var(--yellow);
  --notification-tone-bg: color-mix(in srgb, var(--yellow) 22%, transparent);
  --notification-tone-text: color-mix(in srgb, var(--yellow) 42%, var(--text));
}

.start-notification.is-success {
  --notification-tone: var(--green);
  --notification-tone-bg: color-mix(in srgb, var(--green) 16%, transparent);
  --notification-tone-text: color-mix(in srgb, var(--green) 34%, var(--text));
}

.start-notification:hover {
  background: color-mix(in srgb, var(--notification-tone) 6%, transparent);
}

.start-notification:last-child {
  border-bottom: 0;
}

.start-notification-rail {
  display: block;
  grid-column: 1;
  align-self: stretch;
  min-height: 58px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--notification-tone) 86%, var(--panel));
}

.start-notification-main {
  display: grid;
  grid-column: 2;
  gap: 5px;
  min-width: 0;
}

.start-notification-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.start-notification-head time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.start-notification strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 96%, var(--on-accent));
  font-size: 14px;
  font-weight: 800;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.start-notification-message {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.start-notification-badge {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 8px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--notification-tone-bg);
  color: var(--notification-tone-text);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-empty-state {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 12px 0;
  padding: 18px;
  border: 1px dashed color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--soft-panel) 72%, transparent);
  color: var(--muted);
}

.start-empty-state strong {
  color: var(--text);
  font-size: 15px;
}

.start-empty-state span {
  overflow-wrap: anywhere;
}

.start-notification-empty {
  margin: 10px 0 2px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--soft-panel) 92%, var(--panel));
}

.start-notification-empty strong {
  font-size: 14px;
}

.start-notification-empty span {
  max-width: 30ch;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  line-height: 1.45;
}

@media (max-width: 1250px) {
  .start-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .start-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .start-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .start-notifications-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .start-notifications-head h2 {
    white-space: normal;
  }

}

@media (max-width: 760px) {
  .start-page {
    gap: 12px;
  }

  .start-overview.panel {
    gap: 8px;
    padding: 12px;
  }

  .start-section-head h2 {
    font-size: 17px;
  }

  .start-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .start-overview-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 8px;
    min-height: 64px;
    align-items: center;
    align-content: center;
    padding: 9px 10px 9px 13px;
    border-radius: 10px;
  }

  .start-overview-card__label {
    min-width: 0;
    font-size: 12px;
    line-height: 1.15;
  }

  .start-overview-card strong {
    justify-self: end;
    font-size: 19px;
  }

  .start-overview-card small {
    grid-column: 1 / -1;
  }

  .start-news-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    align-items: start;
    padding: 12px;
  }

  .start-news-card-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .start-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-news-state-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .start-news-time {
    justify-self: start;
  }

  .start-news-card-actions {
    flex-wrap: wrap;
  }
}

/* Start page mobile notifications */
@media (max-width: 768px) {
  .start-page .start-news > .actions:first-child h2 {
    font-size: 18px;
  }

  .start-page .start-news > .actions:first-child button {
    width: 100%;
    min-height: 34px;
  }

  .start-page .start-notification-list {
    gap: 0;
    padding: 2px 12px 8px;
  }

  .start-page .start-notification {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-height: 0;
    padding: 10px 0 10px 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    border-left: 3px solid color-mix(in srgb, var(--notification-tone) 88%, var(--panel));
    background: transparent;
  }

  .start-page .start-notification-rail {
    display: none;
  }

  .start-page .start-notification-main {
    grid-column: 1 / -1;
    gap: 4px;
    min-width: 0;
  }

  .start-page .start-notification-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .start-page .start-notification-badge {
    min-height: 18px;
    max-width: 100%;
    padding: 2px 7px;
    font-size: 10px;
    line-height: 1.1;
  }

  .start-page .start-notification-head time {
    color: color-mix(in srgb, var(--muted) 86%, var(--text));
    font-size: 11px;
  }

  .start-page .start-notification strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .start-page .start-notification-message {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .start-page .start-notification-list {
    padding-inline: 10px;
  }

  .start-page .start-notification {
    padding-left: 10px;
  }

  .start-page .start-notification-head {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .start-page .start-news-feed > .actions:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .start-page .start-news-feed[data-mobile-news-state="closed"] > .actions:first-child {
    padding-bottom: 0;
    border-bottom-color: transparent;
  }

  .start-page .start-news-feed .news-feed-heading {
    display: none;
  }

  .start-page .mobile-news-toggle {
    display: grid;
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 9px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
  }

  .start-page .mobile-news-toggle:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 52%, transparent);
    outline-offset: 4px;
  }

  .start-page .mobile-news-toggle-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .start-page .mobile-news-toggle-title {
    display: block;
    overflow: hidden;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .start-page .mobile-news-toggle-note {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .start-page .mobile-news-count {
    display: inline-grid;
    min-width: 22px;
    min-height: 22px;
    padding: 0 7px;
    place-items: center;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--line) 86%, var(--panel));
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }

  .start-page .mobile-news-count.is-attention {
    background: var(--accent);
    color: var(--on-accent);
  }

  .start-page .mobile-news-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid color-mix(in srgb, var(--muted) 80%, var(--text));
    border-bottom: 2px solid color-mix(in srgb, var(--muted) 80%, var(--text));
    transform: rotate(45deg);
    transition: transform 0.16s ease;
  }

  .start-page .start-news-feed[data-mobile-news-state="open"] .mobile-news-chevron {
    transform: translateY(3px) rotate(225deg);
  }

  .start-page .start-news-feed[data-mobile-news-attention="true"] .mobile-news-toggle-title {
    color: color-mix(in srgb, var(--accent) 26%, var(--text));
  }

  .start-page .start-news-feed[data-mobile-news-state="closed"] .news-feed-body {
    display: none;
  }

  .start-page .start-news-feed > .actions:first-child h2 {
    font-size: 18px;
    line-height: 1.15;
  }

  .start-page .start-news-feed > .actions:first-child .notice {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.25;
  }

  .start-page .news-feed-menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .start-page .news-feed-menu summary {
    width: 38px;
    min-width: 38px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 9px;
    background: color-mix(in srgb, var(--soft-panel) 70%, var(--panel));
    font-size: 18px;
    line-height: 1;
  }

  .start-page .news-feed-menu-panel {
    top: calc(100% + 6px);
    right: 0;
    margin-top: 0;
    z-index: 40;
    min-width: min(210px, calc(100dvw - 32px));
    border-radius: 9px;
  }

  .start-page .news-feed-search-row {
    padding: 10px 12px 8px;
  }

  .start-page .news-feed-search-row input {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .start-page .start-news-list {
    gap: 8px;
    padding: 0 12px 10px;
  }

  .start-page .news-feed-filter-select {
    display: block;
    min-height: 38px;
    margin: 0 0 10px;
    font-size: 13px;
  }

  .start-page .news-feed-tabs {
    display: none;
  }

  .start-page .news-feed-tabs button {
    display: inline-flex;
    justify-content: center;
    min-width: 0;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--panel) 78%, transparent);
    font-size: 13px;
    line-height: 1.1;
    overflow: hidden;
  }

  .start-page .news-feed-tabs button.is-active {
    border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
    background: color-mix(in srgb, var(--accent) 15%, var(--panel));
  }

  .start-page .news-feed-tabs button:nth-child(3) {
    font-size: 12px;
  }

  .start-page .news-feed-tabs span {
    flex: 0 0 auto;
    min-width: 19px;
    min-height: 19px;
    margin-left: 5px;
    font-size: 10px;
  }
}

@media (max-width: 720px) {
  .start-page .news-feed-actions {
    display: none;
  }

  .start-page .news-feed-menu {
    display: block;
  }
}

@media (max-width: 380px) {
  .start-page .news-feed-search-row,
  .start-page .start-news-list {
    padding-inline: 10px;
  }

  .start-page .news-feed-tabs {
    gap: 5px;
  }

  .start-page .news-feed-tabs button {
    padding-inline: 6px;
    font-size: 12px;
  }
}



