/* Gestão individual de revendas, usando o tema existente da administração. */
.dashboardShell-admin .arw { display:grid; gap:18px; color:var(--rr-text); min-width:0; }
.dashboardShell-admin .arw * { box-sizing:border-box; }
.dashboardShell-admin .arw h2 { font-size:25px; line-height:1.25; margin:0; font-weight:750; letter-spacing:-.6px; }
.dashboardShell-admin .arw h3 { font-size:15px; line-height:1.4; margin:0; font-weight:750; }
.dashboardShell-admin .arw p { color:var(--rr-muted); font-size:12px; line-height:1.6; margin:6px 0 0; }
.dashboardShell-admin .arw button, .arwModal button { min-height:38px; font-size:12px; line-height:1.4; padding:9px 13px; border-radius:8px; white-space:normal; display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.dashboardShell-admin .arw button svg, .arwModal button svg { width:15px; height:15px; flex-shrink:0; }
.dashboardShell-admin .arw .ghostBtn { background:var(--rr-panel); border:1px solid var(--rr-border-strong); color:var(--rr-text); box-shadow:none; }
.dashboardShell-admin .arw .btn { background:var(--rr-accent); color:#17131d; border:1px solid var(--rr-accent); box-shadow:none; }
.dashboardShell-admin .arw button:disabled { opacity:.4; cursor:not-allowed; }
.dashboardShell-admin .arw button:focus-visible, .arwModal button:focus-visible { outline:2px solid var(--rr-accent); outline-offset:3px; }
.arwPageHead,.arwSectionHead { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.arwCounters { display:flex; flex-wrap:wrap; gap:10px 24px; color:var(--rr-muted); font-size:12px; }
.arwCounters strong { color:var(--rr-text); font-size:14px; margin-right:4px; font-variant-numeric:tabular-nums; }
.dashboardShell-admin .arwToolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; margin:0; }
.dashboardShell-admin .arw label,.arwModal label { display:grid; gap:7px; color:var(--rr-muted); font-size:11px; font-weight:600; min-width:0; }
.arwToolbar > label { flex:1 1 150px; }
.arwToolbar > label.arwSearch { flex:2 1 230px; }
.dashboardShell-admin .arw input,.dashboardShell-admin .arw select,.arwModal input,.arwModal select { width:100%; min-width:0; min-height:40px; background:var(--rr-panel); color:var(--rr-text); border:1px solid var(--rr-border-strong); padding:9px 12px; border-radius:8px; font:inherit; font-size:12px; box-shadow:none; }
.dashboardShell-admin .arw input[readonly] { color:var(--rr-muted); }
.dashboardShell-admin .arw .smartDropdown { min-width:0; width:100%; }
.arwList { border:1px solid var(--rr-border); background:var(--rr-panel); border-radius:12px; }
.arwListHeader,.arwListRow { display:grid; grid-template-columns:minmax(190px,2fr) minmax(65px,.6fr) minmax(90px,.85fr) minmax(85px,.7fr) 105px; align-items:center; gap:16px; padding:17px 20px; }
.arwListHeader { font-size:10px; color:var(--rr-muted); padding-top:12px; padding-bottom:12px; }
.arwListRow { border-top:1px solid var(--rr-border); font-size:12px; }
.arwListRow:hover { background:var(--rr-panel-hover); }
.arwIdentity { display:flex; align-items:center; gap:12px; min-width:0; }
.arwIdentity > div { min-width:0; }
.arwIdentity strong { display:block; font-size:13px; overflow-wrap:anywhere; }
.arwIdentity small { display:block; margin-top:4px; color:var(--rr-muted); font-size:11px; overflow-wrap:anywhere; }
.arwAvatar { width:36px; height:36px; display:grid; place-items:center; flex-shrink:0; border-radius:10px; background:var(--rr-accent-soft); color:var(--rr-accent); font-weight:750; font-size:12px; }
.arwAvatar.large { width:47px; height:47px; font-size:16px; }
.arwStatus { display:inline-flex; align-items:center; gap:6px; font-size:11px; white-space:nowrap; color:var(--rr-green,#79d4a4); }
.arwStatus i { width:5px; height:5px; background:currentColor; border-radius:50%; }
.arwStatus.suspended { color:var(--rr-red,#ee7791); }
.arwMobileLabel { display:none; }
.arwPagination { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; color:var(--rr-muted); font-size:11px; }
.arwPagination > div,.arwActions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.arwListFooter { padding-top:6px; }
.arwBreadcrumb { display:flex; align-items:center; gap:12px; color:var(--rr-muted); font-size:11px; flex-wrap:wrap; }
.arwBreadcrumb strong { overflow-wrap:anywhere; }
.dashboardShell-admin .arwBreadcrumb button { background:transparent; padding-left:0; border-color:transparent; color:var(--rr-muted); }
.arwTabs { display:flex; flex-wrap:wrap; gap:6px; border-bottom:1px solid var(--rr-border-strong); padding-bottom:10px; }
.dashboardShell-admin .arwTabs button { color:var(--rr-muted); background:transparent; border:1px solid transparent; box-shadow:none; }
.dashboardShell-admin .arwTabs button[aria-current="page"] { background:var(--rr-accent-soft); color:var(--rr-accent); border-color:transparent; }
.arwDraftDot { color:var(--rr-accent); }
.arwOverviewGrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.arwCard { border:1px solid var(--rr-border); background:var(--rr-panel); border-radius:12px; padding:22px; min-width:0; }
.arwCard > .arwActions { margin-top:18px; }
.arwFacts { margin:12px 0 0; }
.arwFacts > div { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--rr-border); font-size:12px; }
.arwFacts > div:last-child { border-bottom:0; }
.arwFacts dt { color:var(--rr-muted); }
.arwFacts dd { margin:0; text-align:right; overflow-wrap:anywhere; max-width:65%; }
.arwNotice { display:flex; gap:10px; align-items:flex-start; color:var(--rr-muted); border-left:2px solid var(--rr-accent); padding:10px 13px; background:var(--rr-accent-soft); font-size:12px; line-height:1.6; }
.arwNotice svg { width:16px; height:16px; flex-shrink:0; margin-top:2px; }
.arwEmpty { display:grid; justify-items:center; gap:10px; padding:40px 20px; color:var(--rr-muted); text-align:center; font-size:12px; }
.arwEmpty > svg { width:26px; height:26px; }
.arwEmpty strong { color:var(--rr-text); }
.arwKeyList,.arwAccountList { border:1px solid var(--rr-border); border-radius:10px; background:var(--rr-panel); }
.arwKeyRow { display:grid; grid-template-columns:minmax(0,1fr) 105px minmax(120px,.6fr); gap:14px; align-items:start; padding:18px; border-bottom:1px solid var(--rr-border); }
.arwKeyRow:last-child { border-bottom:0; }
.arwKeyRow strong,.arwAccountRow strong { display:block; font-size:12px; }
.arwKeyRow small,.arwAccountRow small { display:block; color:var(--rr-muted); font-size:11px; margin-top:4px; }
.arwKeyRow code { display:block; margin-top:8px; color:var(--rr-text); font-size:11px; overflow-wrap:anywhere; white-space:normal; }
.arwKeyRow details { min-width:0; }
.arwKeyRow summary { color:var(--rr-muted); font-size:11px; cursor:pointer; }
.arwKeyExpanded { margin-top:12px; }
.arwKeyExpanded .arwActions { margin-top:12px; }
.arwKeyExpanded .arwFacts > div { flex-direction:column; align-items:flex-start; gap:4px; }
.arwKeyExpanded .arwFacts dd { max-width:100%; text-align:left; }
.arwAccountRow { display:grid; grid-template-columns:minmax(170px,1.4fr) 100px minmax(120px,1fr) 115px; align-items:center; gap:16px; padding:18px; border-bottom:1px solid var(--rr-border); font-size:11px; }
.arwAccountRow:last-child { border-bottom:0; }
.arwAccountDetail { display:grid; gap:18px; }
.arwAccountDetail > button { justify-self:start; }
.arwAccountDetail .adminEntitlementList { display:grid; gap:10px; margin-top:14px; }
.arwAccountDetail .adminEntitlementCard { min-width:0; flex-wrap:wrap; }
.arwAccountDetail .adminEntitlementActions { margin-left:auto; }
.arwFormGrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:18px; }
.arwSaveBar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:20px; margin-top:20px; border-top:1px solid var(--rr-border); font-size:11px; color:var(--rr-muted); }
.arwSaveBar > div { display:flex; flex-wrap:wrap; gap:10px; }
.arwDisclosure { border-top:1px solid var(--rr-border-strong); padding-top:16px; }
.arwDisclosure > summary { color:var(--rr-muted); font-size:12px; cursor:pointer; }
.arwDisclosureBody { margin-top:16px; min-width:0; }
.arwDisclosureBody > p { margin-bottom:15px; }
.arwDanger h3 { font-size:13px; }
.arwDanger button { margin-top:14px; }
.arwLegacyList article { display:grid; grid-template-columns:1fr 100px 160px; gap:14px; padding:14px 0; border-bottom:1px solid var(--rr-border); font-size:12px; }
.arwLegacyList small { color:var(--rr-muted); display:block; font-size:11px; }
.arw [data-arw-stock-results] { display:grid; gap:16px; }
.arwModal { width:min(650px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow:auto; background:var(--rr-panel,#232429); color:var(--rr-text,#f1f2f5); border:1px solid var(--rr-border-strong,rgba(232,234,241,.12)); }
.arwModal > header { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.arwModal > header h2 { font-size:19px; line-height:1.4; overflow-wrap:anywhere; }
.arwModalBody { display:grid; gap:18px; padding:20px; }
.arwModalBody p { color:var(--rr-muted,#9699a4); font-size:12px; line-height:1.6; }
.arwModalBody .arwScope { color:var(--rr-muted); font-size:12px; }
.arwModalBody .arwScope strong { color:var(--rr-text); }
.arwModalBody .arwActions { justify-content:flex-end; }
.arwModalBody .arwFormGrid { margin-top:0; }
@media(max-width:1050px) {
  .arwListHeader,.arwListRow { grid-template-columns:minmax(140px,1.4fr) 55px 90px 80px 95px; gap:10px; padding:15px; }
  .arwAccountRow { grid-template-columns:minmax(130px,1fr) 85px 100px; }
  .arwAccountRow > span:nth-of-type(2) { grid-column:1/3; }
  .arwAccountRow > button { grid-column:3; grid-row:1/3; }
}
@media(max-width:760px) {
  .arwOverviewGrid { grid-template-columns:1fr; }
  .arwListHeader { display:none; }
  .arwListRow { grid-template-columns:1fr 1fr; gap:12px; }
  .arwListRow:first-of-type { border-top:0; }
  .arwListRow .arwIdentity { grid-column:1/-1; }
  .arwListRow > button { justify-self:end; }
  .arwMobileLabel { display:block; font-size:10px; color:var(--rr-muted); margin-bottom:4px; }
  .arwKeyRow { grid-template-columns:minmax(0,1fr) 90px; }
  .arwKeyRow > details { grid-column:1/-1; }
  .arwKeyExpanded .arwFacts > div { flex-direction:row; }
  .arwKeyExpanded .arwFacts dd { max-width:65%; text-align:right; }
  .arwFormGrid { grid-template-columns:1fr; }
  .arwLegacyList article { grid-template-columns:1fr 90px; }
  .arwLegacyList article > small { grid-column:1/-1; }
}
@media(max-width:480px) {
  .dashboardShell-admin .arw { gap:15px; }
  .dashboardShell-admin .arw h2 { font-size:21px; }
  .arwCard { padding:16px; }
  .arwPageHead { align-items:flex-start; }
  .arwPageHead > .arwIdentity { flex:1 1 190px; }
  .arwTabs { gap:2px; }
  .dashboardShell-admin .arwTabs button { flex:1 1 40%; }
  .arwAccountRow { grid-template-columns:minmax(0,1fr) 90px; gap:10px; padding:14px; }
  .arwAccountRow > span:nth-of-type(2) { grid-column:1; }
  .arwAccountRow > button { grid-column:2; grid-row:2; }
  .arwFacts > div { gap:10px; }
  .dashboardShell-admin .arw input,.dashboardShell-admin .arw select,.arwModal input,.arwModal select { font-size:16px; }
  .dashboardShell-admin .arw button,.arwModal button { min-height:44px; }
}
