/* ==========================================================================
   LOGIN / OPENING SHOWCASE (FULL CONTRAST EDITORIAL NAVY + TERRACOTTA)
   ========================================================================== */

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(400px, 490px);
  background: var(--ds-bg);
}

.login-visual-col {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 64% 85% at 92% 10%, rgba(56, 189, 248, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 56% 88% at 6% 96%, rgba(199, 91, 40, 0.36) 0%, rgba(199, 91, 40, 0) 68%),
    linear-gradient(128deg, #09152B 0%, #162B52 46%, #203A6D 82%, #2F4D82 100%);
  color: #FFFFFF;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.login-visual-col::after {
  content: "";
  position: absolute;
  inset: auto -12% -55% auto;
  width: 54%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 45% 55% 58% 42%;
  transform: rotate(-32deg);
  pointer-events: none;
  z-index: 1;
}

.login-curved-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 767px) {
  .login-visual-col::after,
  .login-curved-ribbon {
    opacity: 0.35;
  }
}

.login-visual-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.login-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.login-logo-plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.login-hero-logo {
  height: 74px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.login-region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  font-family: var(--ds-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-sand);
}

.login-hero-copy h1 {
  color: #FFFFFF;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(10, 20, 40, 0.28);
}

.login-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  max-width: 600px;
  line-height: 1.6;
}

.login-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.login-kpi-tile {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(13, 27, 53, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 16px rgba(8, 17, 36, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.login-kpi-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 232, 196, 0.42);
  background: rgba(20, 39, 76, 0.72);
}

.login-kpi-tile strong {
  display: block;
  font-family: var(--ds-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ds-sand);
  line-height: 1.15;
}

.login-kpi-tile span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.login-polo-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-polo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(16, 33, 63, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--polo-tint, #F1E8C4);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-polo-card:hover {
  transform: translateX(4px);
  background: rgba(16, 33, 63, 0.78);
  border-color: rgba(255, 255, 255, 0.42);
}

.login-polo-card.is-selected {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--ds-sand);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.login-polo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ds-font-display);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.login-polo-sigla {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--ds-sand);
  font-size: 11px;
  font-weight: 800;
}

.login-polo-cities {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.login-polo-cta {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: var(--ds-font-display);
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.login-polo-card.is-selected .login-polo-cta {
  background: var(--ds-accent);
  color: #FFFFFF;
}

.login-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  background: #F4F7FA;
}

.login-form-card {
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-xl);
  padding: 30px;
  box-shadow: var(--ds-shadow-lg);
  position: relative;
  overflow: hidden;
}

.login-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ds-primary) 0%, var(--ds-secondary) 55%, var(--ds-accent) 100%);
}

.login-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ds-border-soft);
}

.login-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
}

.login-card-logo {
  height: 62px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.login-card-title-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.login-error-box {
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--ds-danger-soft);
  border: 1px solid #FECACA;
  color: var(--ds-danger);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.login-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.login-quick-pill {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--ds-border);
  background: var(--ds-surface-subtle);
  color: var(--ds-primary);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.15s ease;
}

.login-quick-pill:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.login-quick-pill .lqp-creds {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ds-text-muted);
  word-break: break-word;
}

.login-quick-pill:hover,
.login-quick-pill.is-selected {
  border-color: var(--ds-accent);
  background: var(--ds-accent-soft);
  color: var(--ds-accent-text);
}

.login-quick-pill:hover .lqp-creds,
.login-quick-pill.is-selected .lqp-creds {
  color: var(--ds-accent-text);
}

/* ==========================================================================
   APP SHELL (DEEP NAVY SIDEBAR + STICKY TOPBAR + GLOBAL FILTER BAR)
   ========================================================================== */

.app-shell {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  width: 274px;
  min-width: 274px;
  background: linear-gradient(178deg, #0D1C38 0%, #203A6D 60%, #172D55 100%);
  color: #FFFFFF;
  padding: 52px 14px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: visible;
  z-index: 30;
  box-shadow: 4px 0 24px rgba(10, 20, 40, 0.14);
  transition: width 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    min-width 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-seam-toggle {
  position: absolute;
  top: 62px;
  right: -13px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(32, 58, 109, 0.18);
  background: #FFFFFF;
  color: #172D55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(10, 20, 40, 0.16);
  transition: transform 0.18s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sidebar-seam-toggle:hover {
  background: #F1F5F9;
  color: var(--ds-accent);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(10, 20, 40, 0.22);
}

.sidebar-seam-toggle svg {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-brand-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 16px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  margin-bottom: 14px;
  min-height: 56px;
}

.sidebar-logo-img {
  width: 100%;
  max-width: 212px;
  max-height: 88px;
  height: auto;
  display: block;
  object-fit: contain;
}

.sidebar-brand-mark {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.sidebar-brand-favicon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.sidebar-locality-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(199, 91, 40, 0.28);
  border: 1px solid rgba(242, 132, 82, 0.55);
  color: var(--ds-sand);
  font-family: var(--ds-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.sidebar-profile-card {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 14px;
  transition: padding 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sidebar-profile-card .sp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sp-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-rail-tag {
  display: none;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: #C75B28;
  border: 1.5px solid #132547;
  color: #FFFFFF;
  font-family: var(--ds-font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.sp-meta {
  min-width: 0;
  flex: 1;
}

.sp-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.sidebar-profile-card .sp-name {
  font-family: var(--ds-font-display);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-profile-card .sp-role {
  font-size: 11px;
  color: var(--ds-sand);
  margin-top: 2px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-card-foot {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
}

.sp-pwd-btn {
  width: 100%;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(241, 245, 249, 0.86);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sp-pwd-btn:hover,
.sp-pwd-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(241, 232, 196, 0.42);
  color: #FFFFFF;
}

.sp-pwd-btn:focus-visible {
  outline: 2px solid var(--ds-sand);
  outline-offset: 2px;
}

.sidebar-nav-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}

.sidebar-nav-scroll::-webkit-scrollbar {
  display: none;
}

.sidebar-nav-group.has-sep {
  margin-top: 8px;
}

.sidebar-nav-section {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(241, 232, 196, 0.78);
  padding: 8px 10px 6px;
  white-space: nowrap;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9.5px 12px;
  border: 1px solid transparent;
  border-left: 3.5px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.90);
  font-family: var(--ds-font-display);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.sidebar-nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-nav-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-kbd {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ds-font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sidebar-nav-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.sidebar-nav-btn.is-active {
  background: linear-gradient(90deg, rgba(199, 91, 40, 0.30) 0%, rgba(255, 255, 255, 0.16) 100%);
  border-color: rgba(241, 232, 196, 0.24);
  border-left-color: #F28452;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 12, 26, 0.26);
}

.sidebar-nav-count {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10.5px;
  font-weight: 700;
}

.sidebar-nav-btn.is-active .sidebar-nav-count {
  background: var(--ds-accent);
  color: #FFFFFF;
}

.sidebar-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-collapse-btn {
  color: rgba(255, 255, 255, 0.72);
}

.sidebar-collapse-btn svg {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-ext-tag {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.34);
  color: #BAE6FD;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sidebar-ext-btn:hover .sidebar-ext-tag {
  background: rgba(56, 189, 248, 0.28);
  color: #FFFFFF;
}

.sidebar-logout-btn {
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-left: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.22) 0%, rgba(153, 27, 27, 0.15) 100%);
  color: #FEE2E2;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 12, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-logout-btn .sidebar-nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.20);
  color: #FCA5A5;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.sidebar-logout-tag {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(252, 165, 165, 0.28);
  color: #FECACA;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-logout-btn:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.38) 0%, rgba(185, 28, 28, 0.28) 100%);
  border-color: rgba(252, 165, 165, 0.65);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.28);
}

.sidebar-logout-btn:hover .sidebar-nav-ico {
  background: rgba(239, 68, 68, 0.42);
  color: #FFFFFF;
}

/* ---------- COLLAPSED ICON RAIL (DESKTOP > 960PX) ---------- */
.app-shell.is-sidebar-collapsed .app-sidebar {
  width: 76px;
  min-width: 76px;
  padding: 52px 12px 16px;
}

.app-shell.is-sidebar-collapsed .sidebar-seam-toggle svg,
.app-shell.is-sidebar-collapsed .sidebar-collapse-btn svg {
  transform: rotate(180deg);
}

.app-shell.is-sidebar-collapsed .sidebar-brand-box {
  padding: 2px 0 14px;
  margin-bottom: 10px;
}

.app-shell.is-sidebar-collapsed .sidebar-logo-img {
  display: none;
}

.app-shell.is-sidebar-collapsed .sidebar-brand-mark {
  display: inline-flex;
}

.app-shell.is-sidebar-collapsed .sidebar-profile-card {
  padding: 4px 0 8px;
  background: transparent;
  border-color: transparent;
  margin-bottom: 8px;
}

.app-shell.is-sidebar-collapsed .sidebar-profile-card .sp-head {
  justify-content: center;
}

.app-shell.is-sidebar-collapsed .sp-meta {
  display: none;
}

.app-shell.is-sidebar-collapsed .sp-rail-tag {
  display: inline-flex;
}

.app-shell.is-sidebar-collapsed .sp-card-foot {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
  justify-content: center;
}

.app-shell.is-sidebar-collapsed .sp-pwd-btn {
  width: 30px;
  height: 26px;
  padding: 0;
  border-radius: 8px;
}

.app-shell.is-sidebar-collapsed .sp-pwd-btn span {
  display: none;
}

.app-shell.is-sidebar-collapsed .sidebar-nav-section {
  width: 26px;
  height: 1px;
  padding: 0;
  margin: 8px auto 10px;
  background: rgba(255, 255, 255, 0.16);
}

.app-shell.is-sidebar-collapsed .sidebar-nav-section span {
  display: none;
}

.app-shell.is-sidebar-collapsed .sidebar-nav-group:first-child .sidebar-nav-section {
  margin-top: 2px;
}

.app-shell.is-sidebar-collapsed .sidebar-nav-list {
  align-items: center;
  gap: 5px;
}

.app-shell.is-sidebar-collapsed .sidebar-nav-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 auto;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.app-shell.is-sidebar-collapsed .sidebar-nav-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.app-shell.is-sidebar-collapsed .sidebar-nav-btn.is-active {
  background: linear-gradient(145deg, #C75B28 0%, #B85320 100%);
  border-color: rgba(241, 232, 196, 0.42);
  box-shadow: 0 6px 16px rgba(184, 83, 32, 0.36);
}

.app-shell.is-sidebar-collapsed .sidebar-nav-btn.is-active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  border-radius: 0 4px 4px 0;
  background: var(--ds-accent);
  box-shadow: 0 0 10px rgba(242, 132, 82, 0.65);
}

.app-shell.is-sidebar-collapsed .sidebar-nav-label,
.app-shell.is-sidebar-collapsed .sidebar-kbd,
.app-shell.is-sidebar-collapsed .sidebar-ext-tag,
.app-shell.is-sidebar-collapsed .sidebar-logout-tag {
  display: none;
}

.app-shell.is-sidebar-collapsed .sidebar-logout-btn {
  margin-top: 2px;
  border: 1px solid rgba(248, 113, 113, 0.42);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.26) 0%, rgba(153, 27, 27, 0.18) 100%);
}

.app-shell.is-sidebar-collapsed .sidebar-logout-btn .sidebar-nav-ico {
  width: auto;
  height: auto;
  background: transparent;
}

.app-shell.is-sidebar-collapsed .sidebar-foot {
  align-items: center;
  gap: 6px;
  padding-top: 10px;
}

.sidebar-rail-tooltip {
  position: fixed;
  z-index: 120;
  padding: 7px 12px;
  border-radius: 9px;
  background: #0B1730;
  color: #FFFFFF;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 10px 26px rgba(6, 12, 26, 0.34);
  font-family: var(--ds-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.sidebar-rail-tooltip::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #0B1730;
  border-left: 1px solid rgba(148, 163, 184, 0.26);
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
  transform: translateY(-50%) rotate(45deg);
}

.sidebar-rail-tooltip.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sidebar-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(15, 118, 110, 0.25);
  border: 1px solid rgba(45, 212, 191, 0.35);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #A7F3D0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 58, 109, 0.06) 0%, rgba(32, 58, 109, 0) 45%),
    linear-gradient(180deg, #E3ECF6 0%, #E8F0F8 100%);
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  background: #FFFFFF;
  border-bottom: 1.5px solid #B4C5DA;
  box-shadow: 0 4px 14px rgba(16, 33, 63, 0.07);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-title-block .tk-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-accent-text);
}

.topbar-title-block .tk-title {
  font-family: var(--ds-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ds-primary);
  line-height: 1.2;
}

.topbar-search-wrap {
  position: relative;
  flex: 1;
  max-width: 360px;
  min-width: 210px;
}

.topbar-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ds-primary);
  pointer-events: none;
  display: inline-flex;
}

#global-search-input {
  padding-left: 34px;
  padding-right: 68px;
  height: 36px;
  border-radius: 999px;
  background: #F3F7FC;
  border: 1.5px solid #AEBFD6;
  color: var(--ds-text);
  font-weight: 600;
  box-shadow: inset 0 1px 2px rgba(16, 33, 63, 0.04);
}

#global-search-input::placeholder {
  color: #4E607A;
  font-weight: 500;
}

#global-search-input:focus {
  background: #FFFFFF;
  border-color: var(--ds-primary);
}

.topbar-cmd-kbd {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #A8BBD4;
  background: #E2EAF4;
  color: #172D55;
  font-family: var(--ds-font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.topbar-cmd-kbd:hover {
  background: var(--ds-primary);
  border-color: var(--ds-primary);
  color: #FFFFFF;
}

.ds-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--ds-border);
  border-radius: 12px;
  box-shadow: var(--ds-shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 60;
  padding: 6px;
}

.ds-search-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ds-search-item:hover {
  background: var(--ds-primary-soft);
}

.ds-autosave-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--ds-border);
}

.ds-autosave-pill.is-saving {
  background: var(--ds-warning-soft);
  color: var(--ds-warning);
  border-color: #FCD34D;
}

.ds-autosave-pill.is-saved {
  background: var(--ds-success-soft);
  color: var(--ds-success);
  border-color: #86EFAC;
}

.ds-autosave-pill.is-error {
  background: var(--ds-danger-soft);
  color: var(--ds-danger);
  border-color: #FCA5A5;
}

/* Global Filter Strip (.aqua-filter-dock) */
.filter-panel,
.aqua-filter-dock {
  background: linear-gradient(180deg, #F5F8FD 0%, #EBF1F9 100%);
  border-bottom: 1.5px solid #B4C5DA;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 4px 12px rgba(13, 28, 56, 0.06);
  padding: 11px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: flex-end;
}

.aqua-filter-dock.has-active-filters {
  border-bottom-color: rgba(32, 58, 109, 0.34);
  background: linear-gradient(135deg, #EBF2FC 0%, #F7FAFF 60%, #FFF4E8 100%);
}

.fp-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fp-search-cell {
  flex: 1 1 260px;
  min-width: 210px;
}

.fp-cell > label:not(.fp-alert-toggle) {
  display: block;
  margin: 0;
  font-family: var(--ds-font-display);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #172D55;
}

.fp-search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  background: #FFFFFF;
  border: 1.5px solid #AEBFD6;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16, 33, 63, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fp-search-box:focus-within {
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(32, 58, 109, 0.11);
}

.fp-search-box.is-filled {
  border-color: var(--ds-primary);
  background: #FAFBFD;
}

.fp-search-ico {
  position: absolute;
  left: 11px;
  color: var(--ds-text-muted);
  display: inline-flex;
  pointer-events: none;
}

.fp-search-box:focus-within .fp-search-ico,
.fp-search-box.is-filled .fp-search-ico {
  color: var(--ds-primary);
}

.fp-search-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 32px 0 32px;
  font-family: var(--ds-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ds-primary);
}

.fp-search-input::placeholder {
  color: #546680;
}

.fp-search-clear {
  position: absolute;
  right: 7px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: none;
  background: #F1F5F9;
  color: var(--ds-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fp-search-clear:hover {
  background: #E2E8F0;
  color: var(--ds-primary);
}

.fp-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 3px;
  border-radius: 10px;
  background: #DAE4F0;
  border: 1.5px solid #B5C6DC;
}

.fp-seg-btn {
  height: 28px;
  padding: 0 11px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #1E3456;
  font-family: var(--ds-font-display);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.fp-seg-btn:hover:not(.is-active) {
  color: var(--ds-primary);
  background: rgba(255, 255, 255, 0.55);
}

.fp-seg-btn.is-active {
  background: #203A6D;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(13, 28, 56, 0.18);
}

.fp-seg-btn.is-saa.is-active {
  background: #0284C7;
}

.fp-seg-btn.is-ses.is-active {
  background: #C75B28;
}

.fp-sr-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.fp-cell > label.fp-alert-toggle,
.fp-alert-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  height: 36px;
  padding: 0 13px 0 9px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--ds-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  user-select: none;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.fp-alert-toggle:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.fp-alert-toggle:active {
  transform: scale(0.985);
}

.fp-alert-toggle:has(input:focus-visible) {
  outline: 2px solid var(--ds-primary);
  outline-offset: 2px;
}

.fp-alert-toggle.is-on {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-color: #EA580C;
  box-shadow: 0 3px 10px rgba(199, 91, 40, 0.16);
}

.fp-switch {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #CBD5E1;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.14);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.18s ease;
  flex-shrink: 0;
}

.fp-switch i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.24);
  transform: translateX(0);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-alert-toggle.is-on .fp-switch {
  background: linear-gradient(135deg, #C75B28 0%, #EA580C 100%);
}

.fp-alert-toggle.is-on .fp-switch i {
  transform: translateX(14px);
}

.fp-toggle-lbl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ds-font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ds-primary);
  line-height: 1;
  white-space: nowrap;
}

.fp-toggle-lbl svg {
  color: var(--ds-secondary);
  flex-shrink: 0;
}

.fp-alert-toggle.is-on .fp-toggle-lbl,
.fp-alert-toggle.is-on .fp-toggle-lbl svg {
  color: #9A3412;
}

.fp-actions-cell {
  display: flex;
  align-items: flex-end;
}

.fp-reset-btn {
  height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid var(--ds-border);
  background: #FFFFFF;
  color: var(--ds-text-muted);
  font-family: var(--ds-font-display);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fp-reset-btn:hover {
  border-color: var(--ds-primary);
  color: var(--ds-primary);
  background: #F8FAFC;
}

.fp-reset-btn.is-lit {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #B91C1C;
}

.fp-reset-btn.is-lit:hover {
  background: #FEE2E2;
  border-color: #EF4444;
}

.fp-count-pill {
  font-style: normal;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-content {
  padding: 20px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1620px;
  width: 100%;
  margin: 0 auto;
}

/* Page Intro Header */
.page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--ds-border);
  border-radius: 14px;
  box-shadow: var(--ds-shadow-xs);
}

.page-intro .pi-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ds-accent-text);
}

.page-intro h1 {
  font-size: 22px;
  color: var(--ds-primary);
  margin: 2px 0;
}

.page-intro p {
  margin: 0;
  font-size: 13px;
  color: var(--ds-text-muted);
}

.source-card {
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--ds-surface-subtle);
  border: 1px solid var(--ds-border);
  font-size: 11.5px;
  color: var(--ds-text-secondary);
  text-align: right;
}

.source-card strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ds-secondary);
}

/* Central de Notificações (Topbar Bell + Popover · Tema Institucional Padrão) */
.topbar-notif-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.topbar-notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1.5px solid #9EB3CE;
  background: #EBF1F9;
  color: #172D55;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 33, 63, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.topbar-notif-btn svg {
  display: block;
  flex-shrink: 0;
}

.topbar-notif-btn:hover {
  background: #DCE6F4;
  border-color: var(--ds-primary);
  color: var(--ds-primary-hover);
  box-shadow: 0 4px 12px rgba(16, 33, 63, 0.14);
  transform: translateY(-1px);
}

.topbar-notif-btn.is-open {
  background: var(--ds-primary);
  border-color: var(--ds-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(16, 33, 63, 0.24);
}

.topbar-notif-btn.has-unread:not(.is-open) {
  background: #EBF1F9;
  border-color: #8CA4C4;
  color: #172D55;
}

.topbar-notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid #FFFFFF;
  background: linear-gradient(180deg, #EF4444 0%, #DC2626 62%, #B91C1C 100%);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 6px rgba(185, 28, 28, 0.40);
}

@keyframes tnpPopIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.topbar-notif-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(430px, calc(100vw - 24px));
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: 16px;
  box-shadow:
    0 22px 48px rgba(16, 33, 63, 0.18),
    0 4px 14px rgba(16, 33, 63, 0.08);
  z-index: 650;
  overflow: hidden;
  animation: tnpPopIn 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .topbar-notif-popover {
    animation: none;
  }
}

.tnp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(16, 33, 63, 0.22);
  background: var(--ds-gradient-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.tnp-head-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.tnp-head-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  flex-shrink: 0;
  line-height: 0;
}

.tnp-head-ico svg {
  display: block;
  width: 17px;
  height: 17px;
  margin: auto;
  flex-shrink: 0;
}

.tnp-head-main > div > strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  line-height: 1.25;
}

.tnp-head-main > div > span {
  display: block;
  font-size: 11px;
  color: rgba(232, 237, 242, 0.86);
  line-height: 1.3;
}

.tnp-mark-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.tnp-mark-all-btn svg {
  display: block;
  flex-shrink: 0;
}

.tnp-mark-all-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.48);
}

.tnp-summary-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--ds-surface-subtle);
  border-bottom: 1px solid var(--ds-border-soft);
}

.tnp-sum-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
}

.tnp-sum-chip i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tnp-sum-chip strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.tnp-sum-chip.is-danger {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
.tnp-sum-chip.is-danger i { background: #DC2626; }

.tnp-sum-chip.is-warning {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}
.tnp-sum-chip.is-warning i { background: #D97706; }

.tnp-sum-chip.is-info {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1E4E8C;
}
.tnp-sum-chip.is-info i { background: #235EA7; }

.tnp-list {
  max-height: 365px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--ds-bg);
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 58, 109, 0.28) transparent;
}

.tnp-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px 10px 13px;
  border-radius: 11px;
  border: 1px solid var(--ds-border);
  border-left: 3px solid var(--ds-primary);
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(16, 33, 63, 0.05);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.tnp-item.is-sev-danger { border-left-color: #DC2626; }
.tnp-item.is-sev-warning { border-left-color: #D97706; }
.tnp-item.is-sev-info { border-left-color: #235EA7; }

.tnp-item:hover {
  transform: translateY(-1px);
  border-color: #B4C3D4;
  box-shadow: 0 6px 14px rgba(16, 33, 63, 0.09);
}

.tnp-item.is-read {
  opacity: 0.66;
  background: var(--ds-surface-subtle);
  border-left-color: #CBD5E1;
  box-shadow: none;
}

.tnp-sev-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 1px;
}

.tnp-sev-ico svg {
  display: block;
  flex-shrink: 0;
}

.tnp-sev-ico.is-danger {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.tnp-sev-ico.is-warning {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.tnp-sev-ico.is-info {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.tnp-item-body {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.tnp-item-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.tnp-item-cat {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tnp-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ds-info);
  box-shadow: 0 0 0 2px rgba(35, 94, 167, 0.16);
}

.tnp-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-text);
  line-height: 1.3;
}

.tnp-item-det {
  font-size: 11.5px;
  color: var(--ds-text-secondary);
  margin-top: 2px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tnp-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ds-primary);
}

.tnp-item:hover .tnp-item-cta {
  color: var(--ds-accent-text);
  text-decoration: underline;
}

.tnp-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--ds-border);
  background: #FFFFFF;
  color: var(--ds-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tnp-read-btn svg {
  display: block;
  flex-shrink: 0;
}

.tnp-read-btn:hover {
  background: var(--ds-success-soft);
  border-color: var(--ds-success);
  color: var(--ds-success);
}

.tnp-empty {
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tnp-empty-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  border: 1px solid var(--ds-border);
  margin-bottom: 2px;
}

.tnp-empty strong {
  font-size: 13px;
  color: var(--ds-text);
}

.tnp-empty span {
  font-size: 12px;
  color: var(--ds-text-muted);
}

.tnp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: var(--ds-surface-subtle);
  border-top: 1px solid var(--ds-border-soft);
  font-size: 11px;
  color: var(--ds-text-muted);
}

.tnp-foot strong {
  color: var(--ds-primary);
}

