.desktop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:15px}
.desktop-head h1{font-size:clamp(1.6rem,2.3vw,2.35rem);margin:7px 0 9px}
.desktop-head p{color:#53706c;max-width:720px;line-height:1.55}
.desktop-chip{background:#ecf9f2;color:#206a50;border:1px solid #c6e7d7;padding:9px 12px;border-radius:100px;font-weight:700;font-size:13px}
.desktop-cards{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:13px;margin:18px 0}
.desktop-card{background:#fff;border:1px solid #e4efec;box-shadow:0 6px 15px rgba(9,69,58,.04);border-radius:16px;padding:19px}
.desktop-card b{display:block;font-size:29px;color:#184d48;margin:2px 0 6px}
.desktop-card span{font-size:13px;color:#59716d}
.desktop-card.is-pending b{color:#9f5b21}.desktop-card.is-done b{color:#29745b}.desktop-card.is-error b{color:#b44f41}
.desktop-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}
.desktop-actions label{font-size:13px;font-weight:700;color:#40645e}
.desktop-actions input{display:block;margin-top:4px;background:#fff;padding:10px 14px;border:1px solid #d7e4e1;border-radius:10px;height:43px;min-width:160px;color:#124339}
.desktop-actions .btn{min-height:43px}
.desktop-messages{margin:8px 0 18px;background:#eff7f5;border:1px solid #d7e8e4;border-radius:13px;color:#316458;padding:15px;line-height:1.5}
.desktop-table{width:100%;border-collapse:collapse;min-width:700px}
.desktop-table th,.desktop-table td{text-align:left;padding:12px 11px;border-bottom:1px solid #e7eeec;font-size:13px}
.desktop-table th{font-size:12px;color:#536c65;text-transform:uppercase;letter-spacing:.05em}
.desktop-table td:first-child{font-weight:700}
.desktop-scroll{overflow:auto;max-height:530px}
.desktop-status{border-radius:100px;padding:5px 9px;font-size:11px;background:#edf0f0;color:#4f6765;white-space:nowrap}
.desktop-status.confirmada,.desktop-status.duplicada{background:#e5f6ed;color:#217c54}
.desktop-status.erro{background:#fff0e8;color:#a34b33}
.desktop-status.pendente{background:#fef5e1;color:#946722}
.desktop-note{color:#637a75;font-size:12px;line-height:1.5;margin:12px 0}
.desktop-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.desktop-step{padding:12px;border:1px solid #dfede8;border-radius:12px;background:white;font-size:13px;color:#52716a}
.desktop-step strong{display:block;color:#18544c;margin-bottom:4px}
@media(max-width:850px){.desktop-cards{grid-template-columns:repeat(2,1fr)}.desktop-steps{grid-template-columns:1fr}.desktop-head{display:block}}

.desktop-credential-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:17px}
.desktop-credential-fields label{display:block;font-size:13px;font-weight:700;color:#40645e}
.desktop-credential-fields input{display:block;width:100%;margin-top:7px;background:#fff;border:1px solid #d7e4e1;border-radius:12px;padding:12px 14px;font-size:16px;color:#124339;box-sizing:border-box}
@media(max-width:700px){.desktop-credential-fields{grid-template-columns:1fr}}

/* V3.2.2 — Navegação vertical independente no Linux (não modifica PWA móvel). */
@media (min-width:821px) {
  .app { min-height:100vh; align-items:stretch; }
  .sidebar {
    position:sticky; top:0;
    height:100vh; height:100dvh; min-height:0;
    overflow-y:auto; overflow-x:hidden;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    scrollbar-color:#85b8aa #123e40;
    padding:20px 12px 18px;
  }
  .sidebar::-webkit-scrollbar { width:9px; }
  .sidebar::-webkit-scrollbar-track { background:#123e40; }
  .sidebar::-webkit-scrollbar-thumb { background:#557e75; border-radius:10px; border:2px solid #123e40; }
  .sidebar::-webkit-scrollbar-thumb:hover { background:#9ecbbb; }
  .sidebar .brand { margin:0 8px 25px; flex-shrink:0; }
  .sidebar .nav-heading { margin:0 12px 10px; flex-shrink:0; }
  .sidebar .nav-group { display:flex; flex-direction:column; gap:4px; flex:0 0 auto; min-width:0; }
  .sidebar .nav-btn {
    position:relative; display:flex; align-items:center;
    min-height:43px; padding:10px 12px; gap:11px;
    font-size:13px; line-height:1.35;
    white-space:normal; overflow-wrap:anywhere;
    flex-shrink:0;
  }
  .sidebar .nav-btn > span:first-child { flex:0 0 23px; text-align:center; }
  .sidebar .nav-btn.active:before { left:0; transform:none; height:23px; }
  .sidebar .sidebar-bottom { margin:18px 8px 0; padding-top:15px; flex-shrink:0; }
  .shell { min-width:0; }
}

/* Desktop v3.2.4 - controle persistente do tempo da automação. */
.desktop-pause-box{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px;border:1px solid #dbe6e3;border-radius:13px;background:#f7faf9;padding:13px 16px;margin:3px 0 16px}
.desktop-pause-help{display:flex;flex-direction:column;gap:4px;max-width:450px}
.desktop-pause-title{font-size:14px;font-weight:700;color:#164b42}
.desktop-pause-explain{font-size:12px;line-height:1.45;color:#59736c}
.desktop-pause-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.desktop-pause-step{display:inline-flex;align-items:center;justify-content:center;height:42px;width:42px;border:1px solid #9dc7b8;border-radius:10px;background:#fff;color:#135544;font-size:23px;font-weight:700;cursor:pointer}
.desktop-pause-step:disabled{opacity:.45;cursor:not-allowed}
.desktop-pause-input-label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#456c60}
.desktop-pause-input-label input{width:66px;height:42px;border:1px solid #9dc7b8;border-radius:10px;text-align:center;font-size:17px;font-weight:800;background:white;color:#13473b}
.desktop-pause-tag{font-size:12px;color:#536f65;white-space:nowrap}
.desktop-pause-tag strong{color:#13473b}
@media(max-width:700px){.desktop-pause-buttons{width:100%}.desktop-pause-box{padding:12px}}

.desktop-error-detail{display:block;color:#a23f39;font-size:12px;line-height:1.35;margin-top:6px;max-width:300px;white-space:normal}

/* 3.5.1: exclusão manual de guias */
.guide-delete-btn{color:#9e2937!important;border-color:#e7b3b8!important}
.guide-delete-btn:hover{background:#fff2f3!important}
