/* Shell comum; componentes de conteúdo limitados às páginas da rede. */
.topbar{min-height:64px;padding:10px 3%;gap:18px;flex-wrap:nowrap}.brand{font-size:23px;gap:8px}.brandmark{width:32px;height:32px;border-radius:7px;background:#1558f0}.brand>span:last-child{display:flex;align-items:center;flex-wrap:wrap}.brand small{display:inline-block;margin-left:18px;padding-left:18px;border-left:1px solid #ffffff50;font-size:8px;letter-spacing:0;color:#e5edfa}.nav{flex-shrink:0}.nav a{border-radius:7px;padding:10px 12px}.account{flex-shrink:1}.account-avatar{flex-shrink:0;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dcecff;color:#245ebc;font-size:13px;font-weight:800}.logout{border-radius:7px}.account strong{line-height:1.3}.preview{font-size:10px}.rede-page{background:#eff4fd}.rede-page main{max-width:1540px;min-height:78vh;padding:28px 3%}.rede-page h1{font-size:32px;margin:4px 0;letter-spacing:-1px}.rede-page .headline{margin-bottom:25px}.rede-page .headline p{font-size:13px;margin:4px 0}.rede-page .eyebrow{font-size:10px;letter-spacing:.02em;color:#225dc5}.rede-page .primary{background:#0751ed;border-color:#0751ed}.rede-page .primary,.rede-page .secondary{border-radius:6px;padding:9px 16px}.rede-page .panel{border-radius:9px;border-color:#e9edf5;box-shadow:0 3px 6px #142b4b05;padding:22px}.rede-table-panel{border-radius:9px;background:white;padding:20px 22px 0;box-shadow:0 3px 8px #10243e08;min-width:0}.rede-filtros{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding-bottom:20px}.filter-field{min-width:110px;flex:1}.filter-field:first-of-type{flex:2;min-width:180px}.filter-field label{display:block;font-size:11px;color:#526279;font-weight:600;margin-bottom:4px}.filter-field input,.filter-field select{min-height:44px;border-radius:6px;padding:8px 10px;background:white;font-size:12px}.rede-filtros>.error-summary{flex-basis:100%}.result-count{font-size:11px;color:#68758a;margin-left:auto;align-self:center;white-space:nowrap}.rede-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px}.rede-table th{background:#eaf0fa;text-align:left;font-size:11px;padding:10px 12px}.rede-table th:first-child{border-radius:5px 0 0 5px}.rede-table th:last-child{border-radius:0 5px 5px 0}.rede-table td{padding:14px 12px;vertical-align:top;border-bottom:1px solid #edf1f7;overflow-wrap:anywhere}.rede-table td p{font-size:11px;margin:3px 0}.rede-table .secondary{font-size:11px;padding:8px;min-height:44px}.rede-table .badge{padding:3px 8px;font-size:10px}.pedido-code{font-size:10px;font-weight:600}.rede-table td.rede-empty{text-align:center;height:350px;vertical-align:middle;padding:35px 16px}.rede-empty h2{font-size:21px;margin:16px 0 6px}.rede-empty p{font-size:12px!important}.empty-illustration{margin:auto}.rede-table-panel .pagination{margin:0;padding:16px 0;justify-content:flex-end;border-top:1px solid #edf1f7}.pagination span{margin-right:auto}.rede-actions summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:11px;color:#31557f;list-style:disclosure-closed}.rede-actions[open] summary{list-style:disclosure-open}.rede-actions .status-form{display:grid;gap:8px;padding:8px 0}.rede-actions .status-form select{width:100%;min-width:0}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:14px 0 24px}.quick-card{display:flex;align-items:center;gap:14px;color:#14283f;min-height:120px}.quick-card>div{flex:1;min-width:0}.quick-card p{font-size:11px;line-height:1.5;margin:4px 0}.quick-card strong{font-size:14px}.quick-icon{display:grid;place-items:center;background:#edf4ff;color:#2c6be0;min-width:36px;height:42px;font-size:26px;border-radius:7px}.rede-page .quick-primary{background:#1556ee;color:white}.quick-primary p{color:#e9f0ff}.quick-primary .quick-icon{background:#ffffff20;color:white}.home-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}.capabilities,.upcoming{padding:0;list-style:none;margin:10px 0 0}.capabilities li,.upcoming li{padding:14px 0;border-bottom:1px solid #eff2f7;font-size:13px}.capabilities li:before{content:'✓';color:#38845a;margin-right:16px}.upcoming li{display:flex;justify-content:space-between;gap:12px}.upcoming span{background:#f0f2f8;font-size:10px;padding:2px 6px;color:#6a7280;align-self:center}.security-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}.security-strip p{color:#21334a}.senha-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}.senha-form .field{margin-top:23px}.senha-form h2{padding-bottom:20px;border-bottom:1px solid #edf1f7}.password-control{display:flex;border:1px solid #cbd6e6;border-radius:6px;min-width:0;background:#fcfdff}.password-control input{border:0;background:transparent;min-width:0;flex:1}.password-control button{border:0;background:transparent;flex-shrink:0;font-size:11px;color:#405a7c;padding:0 12px;min-height:44px}.senha-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px}.senha-layout aside p{font-size:13px;line-height:2}.rede-info{background:#e4efff;border:1px solid #d5e5ff;border-radius:7px;padding:15px;color:#345476}.rede-page .pedido-escolha{max-width:1260px;margin:12px auto}.rede-page .pedido-tipo{border:1px solid #d4dfef;border-radius:8px;padding:28px;min-height:300px;justify-content:flex-start;gap:12px}.rede-page .tipo-transferencia{border:2px solid #2d69ed;box-shadow:0 0 0 4px #dfeaff}.rede-page .pedido-tipo strong{font-size:27px;color:#14283f}.pedido-tipo ul{padding-left:20px;color:#6a7789;margin:0;font-size:13px}.pedido-tipo b{margin-top:auto;color:#245cd1}.rede-page .tipo-indisponivel{border-style:dashed;background:#f6f8fc}.tipo-indisponivel .notice{font-size:12px}.rede-page .pedido-escolha>.actions{background:white;border-radius:7px;padding:14px}
button:disabled{opacity:.5;cursor:not-allowed}summary:focus-visible{outline:3px solid #7ba3ff;outline-offset:3px}
.aceite-panel{margin-top:20px}
.pedido-acoes{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pedido-acoes form{margin:0;min-width:0}
.aceitar-pedido{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #15803d;border-radius:7px;background:#15803d;color:white;font-size:12px;line-height:1.5;font-weight:700;cursor:pointer;text-align:center}
.aceitar-pedido:hover{background:#166534;border-color:#166534}
.aceite-panel .aceitar-pedido{width:100%}
@media(max-width:1300px){.brand small{display:none}.topbar{gap:12px}.nav a{padding:10px}.account{max-width:230px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.topbar{flex-wrap:wrap}.nav{order:3;flex-basis:100%;border-top:1px solid #ffffff20;padding-top:8px}.account{margin-left:auto;max-width:300px}.rede-table,.rede-table tbody,.rede-table tr,.rede-table td{display:block;width:100%}.rede-table thead{display:none}.rede-table tr{padding:12px 0;border-bottom:1px solid #dce4f0}.rede-table td{border:0;padding:6px 0}.rede-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#63758a;font-weight:600}.rede-table td.rede-empty{height:auto;min-height:300px;padding:30px 0}.rede-table-panel{padding:16px 18px 0}.rede-actions .status-form{max-width:320px}.senha-layout{grid-template-columns:minmax(0,1fr)}.home-columns{grid-template-columns:minmax(0,1fr)}.rede-table .pedido-code{font-size:12px}}
@media(max-width:480px){.topbar{padding:12px 16px;gap:12px}.brand{font-size:22px}.account{flex-basis:100%;max-width:none;margin-left:0;justify-content:flex-start}.account>div{flex:1}.nav{gap:0}.nav a{padding:10px}.rede-page main{padding:24px 16px}.rede-page h1{font-size:27px}.quick-grid{grid-template-columns:minmax(0,1fr)}.quick-card{min-height:100px}.security-strip,.senha-actions{align-items:stretch;flex-direction:column}.filter-field,.filter-field:first-of-type{min-width:0;flex-basis:100%}.result-count{width:100%;text-align:right}.rede-filtros>.primary,.rede-filtros>.secondary{flex:1}.rede-page .pedido-tipo{min-height:280px;padding:22px}.rede-table-panel .pagination{flex-wrap:wrap;gap:10px}.pagination span{width:100%;text-align:center}.password-control button{max-width:90px;padding:0 7px}.senha-layout{gap:18px}}
/* Cada pedido tem um contorno próprio no celular, sem alterar outras tabelas. */
@media(max-width:900px){
  .rede-table.pedidos-table tbody{display:grid;gap:14px;padding:4px 0 16px}
  .rede-table.pedidos-table tbody>tr[id]{box-sizing:border-box;min-width:0;padding:12px 14px;border:1px solid #e2cdd0;border-radius:10px;background:#fff;box-shadow:0 2px 6px #5c182308}
}
/* O cabeçalho móvel não disputa espaço em uma única linha. */
@media(max-width:900px){
  .topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .brand{width:max-content;max-width:100%;flex-shrink:0;min-height:44px}
  .brand>span:last-child{display:block;white-space:nowrap;overflow-wrap:normal}
  .brand small{display:none}
  .account{justify-self:end;max-width:100%;margin:0}
  .account>div{min-width:0}
  .nav{grid-column:1/-1;order:initial;gap:4px}
  .nav a{min-width:44px}
  .headline>div{min-width:0;max-width:100%}
  .filter-field input,.filter-field select{font-size:16px}
}
@media(max-width:600px){
  .topbar{grid-template-columns:minmax(0,1fr);padding:12px 16px}
  .account{justify-self:stretch;justify-content:flex-start;width:100%}
  .account>div{flex:1}
  .account strong{font-size:13px;line-height:1.5}
  .brand{font-size:22px}
  .actions{flex-direction:column;align-items:stretch}
  .actions>a{width:100%}
  .aceite-panel .actions{gap:8px}
}
.fase5-form {
  display: grid;
  gap: .75rem;
  max-width: 42rem;
}

.fase5-form .field {
  margin: 0;
}

.fase5-form textarea,
.fase5-form input[type="datetime-local"] {
  width: 100%;
  min-height: 44px;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fffdfd;
  color: var(--ink);
  font: inherit;
}

.fase5-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.fase5-form .primary {
  justify-self: start;
}

.topbar-menu-content { display: contents; }
[data-mobile-toggle] { display: none; }
.mobile-chevron {
  display: inline-block;
  width: .45em;
  height: .45em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.15em) rotate(45deg);
}
[aria-expanded="true"] > .mobile-chevron { transform: translateY(.1em) rotate(225deg); }

@media (max-width: 900px) {
  [data-mobile-toggle]:not([hidden]) { display: inline-flex; align-items: center; gap: .6rem; }
  [data-mobile-closed] { display: none !important; }
  .topbar:has(.topbar-menu:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem 1rem;
    padding-block: .5rem;
  }
  .topbar:has(.topbar-menu:not([hidden])) .brand-logo { width: 115px; }
  .topbar-menu-content:not([data-mobile-closed]) {
    grid-column: 1 / -1;
    display: grid;
    gap: .6rem;
  }
  .topbar-menu-content .nav { grid-column: auto; }
  .topbar-menu-content .account {
    justify-self: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    padding-top: .6rem;
    border-top: 1px solid #ffffff40;
  }
  .topbar-menu-content .account > div { flex: 1; }
}

@media (max-width: 480px) {
  .fase5-form .primary { width: 100%; }
}

.type-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 64px;
  border-radius: 8px;
  background: var(--brand-accent-soft);
}
.type-icon img { display: block; object-fit: contain; }
