/* André OS · desktop priority layout
   Separa foco principal e pontos secundários sem alterar o Radar. */

.pmh-desktop-priority-layout { display: none; }

@media (min-width: 821px) {
  .pmh-decision-cockpit.pmh-desktop-priority-ready {
    margin-bottom: 18px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .pmh-decision-cockpit.pmh-desktop-priority-ready > :not(.pmh-desktop-priority-layout) {
    display: none !important;
  }

  .pmh-desktop-priority-layout {
    display: grid;
    gap: 18px;
    min-width: 0;
  }

  .pmh-desktop-priority-focus-section,
  .pmh-desktop-priority-others-section {
    display: grid;
    gap: 10px;
    min-width: 0;
  }

  .pmh-desktop-priority-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px;
  }

  .pmh-desktop-priority-section-head small,
  .pmh-desktop-priority-section-head strong {
    display: block;
  }

  .pmh-desktop-priority-section-head small {
    color: var(--aos-accent, #735cff);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .085em;
  }

  .pmh-desktop-priority-section-head strong {
    margin-top: 4px;
    color: var(--aos-muted, #747684);
    font-size: 11px;
    font-weight: 750;
  }

  .pmh-desktop-priority-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    color: #fff;
  }

  .pmh-desktop-priority-card.is-focus {
    min-height: 210px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background:
      radial-gradient(circle at 100% -18%, rgba(137, 111, 255, .38), transparent 42%),
      linear-gradient(145deg, #17141f 0%, #24203a 100%);
    box-shadow: 0 18px 44px rgba(24, 19, 43, .17);
  }

  .pmh-desktop-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .pmh-desktop-priority-card.is-other {
    min-height: 184px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background:
      radial-gradient(circle at 102% -18%, rgba(198, 184, 255, .34), transparent 46%),
      linear-gradient(145deg, #514a66 0%, #6d6387 100%);
    box-shadow: 0 12px 26px rgba(24, 19, 43, .11);
  }

  .pmh-desktop-priority-card.is-other.tone-risk,
  .pmh-desktop-priority-card.is-other.tone-follow-up {
    background:
      radial-gradient(circle at 102% -18%, rgba(255, 195, 157, .27), transparent 46%),
      linear-gradient(145deg, #694f5c 0%, #8b6979 100%);
  }

  .pmh-desktop-priority-card.is-other.tone-approval {
    background:
      radial-gradient(circle at 102% -18%, rgba(147, 235, 194, .24), transparent 46%),
      linear-gradient(145deg, #48655e 0%, #64877d 100%);
  }

  .pmh-desktop-priority-card-head,
  .pmh-desktop-priority-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }

  .pmh-desktop-priority-kind,
  .pmh-desktop-priority-due,
  .pmh-desktop-priority-origin {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pmh-desktop-priority-kind {
    color: #d2caff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .pmh-desktop-priority-due {
    flex: 0 0 auto;
    max-width: 42%;
    padding: 6px 9px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .11);
    font-size: 10px;
    font-weight: 850;
  }

  .pmh-desktop-priority-due.late {
    color: #ffe2de;
    background: rgba(158, 43, 38, .28);
  }

  .pmh-desktop-priority-due.today {
    color: #ffedcf;
    background: rgba(151, 84, 18, .28);
  }

  .pmh-desktop-priority-card h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pmh-desktop-priority-card.is-focus h3 {
    max-width: 920px;
    font-size: clamp(28px, 3vw, 38px);
  }

  .pmh-desktop-priority-card.is-other h3 {
    font-size: 20px;
  }

  .pmh-desktop-priority-movement {
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 13px;
    background: rgba(255, 255, 255, .075);
  }

  .pmh-desktop-priority-card.is-other .pmh-desktop-priority-movement {
    background: rgba(255, 255, 255, .12);
  }

  .pmh-desktop-priority-movement small {
    display: block;
    color: #d0c8ff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .075em;
  }

  .pmh-desktop-priority-movement p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pmh-desktop-priority-origin {
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 800;
  }

  .pmh-desktop-priority-open {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--aos-accent, #735cff);
    box-shadow: 0 8px 20px rgba(91, 67, 237, .25);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
  }

  .pmh-desktop-priority-open:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
  }
}

@media (min-width: 821px) and (max-width: 1160px) {
  .pmh-desktop-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
