.company-switcher { margin: -22px 0 14px; font-size: 12px; color: var(--muted); }
.company-switcher-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sub-mark { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 650; color: #1d1d1f; white-space: nowrap; }
.sub-mark i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; flex: none; }
.sub-mark.is-soon i { background: #e0a100; }
.sub-mark.is-alert i { background: #d1263c; }
.company-switcher select { font-size: 14px; padding: 9px 7px; }
.platform-link { display: block; font-size: 13px; text-decoration: none; margin: 0 0 22px; }
[data-choose-company] { margin: 5px; }
.setup-steps { margin: 10px 0 0; padding-left: 18px; }
.setup-steps li { margin: 6px 0; }
@media(max-width:720px){.platform-link{margin-bottom:16px}.table-wrap .row{flex-wrap:nowrap}}
.company-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;align-items:stretch}
.company-card{display:flex;flex-direction:column;height:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px 22px 18px;box-shadow:0 0 0 1px #e6e6e8}
.company-card h2{margin:0 0 4px;min-height:2.2em;font-size:1.65rem;letter-spacing:-.03em;font-weight:600;line-height:1.1}
.company-card p{margin:0}
.company-card .muted{margin:0 0 8px;min-height:1.3em;font-size:.95rem}
.company-card > p:not(.muted){margin:0 0 18px;min-height:2.6em;color:var(--muted);font-size:.95rem;line-height:1.3}
.company-card > .row{align-items:center;flex-wrap:wrap;gap:8px;margin-top:auto}
.company-card > .row > .primary{flex:0 0 auto;white-space:nowrap;min-height:36px;padding:8px 11px}
.company-menu{position:relative;margin-left:auto}
.company-menu summary{list-style:none;cursor:pointer;min-height:36px;padding:8px 14px;border:1.5px solid var(--brand);border-radius:980px;color:var(--brand);font-weight:600}
.company-menu summary::-webkit-details-marker{display:none}
.company-menu-panel{position:absolute;z-index:5;top:calc(100% + 6px);right:0;min-width:220px;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.12)}
.company-action{display:flex;align-items:center;width:100%;min-height:40px;margin:0;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:#1d1d1f;font-weight:500;text-align:left;text-decoration:none}
.company-action:hover{background:#f5f5f7;color:#1d1d1f}
.company-action.is-danger{color:#9a2340}
.company-action.is-danger:hover{background:#fff5f7;color:#9a2340}
.company-action.is-done{color:#1f7a45;cursor:default}
.company-menu-danger{margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}
.platform-shell .stack-form .form-grid{grid-template-columns:minmax(0,1fr)}

/* Admin: same chrome as /estudio, but each item shows its own icon plus the label. */
.platform-shell .content { min-width: 0; }
.platform-shell .lead-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.platform-shell .lead-chip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border:1px solid var(--line,#e2e6ef);border-radius:12px;background:#fff;color:#1d1d1f;font-size:13px;font-weight:600;cursor:pointer}
.platform-shell .lead-chip span{min-width:1.4em;color:#5f6b7c;font-variant-numeric:tabular-nums}
.platform-shell .lead-chip.is-on{background:#0071e3;border-color:#0071e3;color:#fff}
.platform-shell .lead-chip.is-on span{color:#d7e9ff}
.platform-shell .lead-actions{display:inline-block;margin-top:4px;font-size:12px;font-weight:600}
.platform-shell .lead-actions a{margin-right:0}
.platform-shell .lead-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.platform-shell .lead-row-actions .primary{white-space:nowrap}
.platform-shell .nav button { position: relative; flex-shrink: 0; }
.platform-shell .nav .platform-unread {
  position: absolute; top: 6px; right: 8px; width: auto; min-width: 16px;
  padding: 1px 5px; border-radius: 10px; background: #d1263c; color: #fff;
  font-size: 9px; line-height: 14px; font-weight: 700; text-align: center;
}
.platform-shell .nav .platform-unread[hidden] { display: none; }
.platform-shell #platform-logout { margin-top: 12px; white-space: nowrap; }
.platform-shell .account-menu { max-width: calc(100vw - 100px); }
@media(min-width:721px) {
  .platform-shell { grid-template-columns: 228px minmax(0,1fr); }
  .platform-shell .sidebar {
    padding: 16px 12px 12px; align-items: stretch; overflow: visible; z-index: 40;
  }
  .platform-shell .sidebar .brand {
    font-size: 2rem; letter-spacing: -2px; margin: 2px 4px 18px; align-self: start;
  }
  .platform-shell .sidebar .nav {
    width: 100%; min-height: 0; overflow-y: auto; overflow-x: hidden;
    scrollbar-width: thin; justify-items: stretch; gap: 2px; flex: 1 1 auto;
    grid-auto-rows: auto; align-content: start;
  }
  .platform-shell .sidebar .nav button {
    width: auto; height: auto; min-height: 40px; padding: 8px 28px 8px 10px;
    border-radius: 9px; display: flex; align-items: center; justify-content: flex-start;
    gap: 10px; overflow: visible; text-align: left;
  }
  .platform-shell .sidebar .nav span.nav-icon { display: grid; width: 22px; flex: none; }
  .platform-shell .sidebar .nav span.nav-label {
    display: inline; width: auto; font-size: .9375rem; font-weight: 500; line-height: 1.25;
    white-space: nowrap;
  }
  .platform-shell .sidebar > .brand, .platform-shell .sidebar-foot { flex-shrink: 0; }
  .platform-shell .sidebar-foot { width: 100%; justify-content: flex-start; padding: 10px 4px 0; }
}
@media(max-width:720px) {
  .platform-shell .topline .eyebrow { margin-left: 52px; }
  .platform-shell .sidebar .nav {
    overflow: visible; flex-direction: column; align-items: stretch; justify-content: flex-start;
  }
  .platform-shell .sidebar .nav button {
    flex: none; width: 100%; min-width: 0; min-height: 48px; padding: 8px 12px;
  }
  .platform-shell #platform-logout { width: 100%; min-height: 44px; }
}
.outreach-sheet { margin-top: 18px; padding: 18px; }
.outreach-sheet h2 { font-size: 1.15rem; margin: 0 0 14px; }
.outreach-sheet h2 span { font-weight: 500; color: #6e6e73; }
.outreach-sheet .note { margin-bottom: 14px; }
.outreach-sheet .table-wrap { margin: 0; }
.outreach-sheet table { border-collapse: separate; border-spacing: 0; }
.outreach-sheet th, .outreach-sheet td { padding-left: 16px; padding-right: 16px; }
.outreach-sheet th:first-child, .outreach-sheet td:first-child { padding-left: 0; }
.outreach-sheet th { white-space: nowrap; background: #edf3ff; color: #415776; }
.outreach-sheet thead th:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.outreach-sheet thead th:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
#commercial-form .form-grid + .note { margin-top: 22px; }
