/* sales.css | the Sales Portal's own styles (sales.buyselledge.com).
   OWNED BY THE SALES PORTAL. tokens.css and app.css are the advisor portal's,
   copied by build_sales.js; this file turns the frame into a bar across the
   top (Benjamin, 13 November 2026), collapsing to a Menu button on a phone. */

/* the app column: header with the menu, then the page */
.app.sales-app { display: block; min-height: 100vh; }
.sales-app .main { max-width: none; }

.sales-head {
  background: var(--topbar);
  color: #fff;
  position: sticky; top: 0; z-index: 20;
}
.sales-head-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px;
  max-width: 1280px; margin: 0 auto;
}
.sales-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.sales-brand img { height: 30px; width: auto; background: #fff; border-radius: 4px; padding: 2px 6px; }
.sales-brand span { font-weight: 800; font-size: 15px; letter-spacing: .2px; }
.sales-who { margin-left: auto; font-size: 12px; opacity: .85; }
.sales-head .link-light { background: none; border: 0; color: #fff; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }

/* the menu bar (sales_topnav.js) */
.topnav { background: var(--paper); border-bottom: 1.5px solid var(--border); position: sticky; top: 50px; z-index: 19; }
.topnav .tn-items { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px 14px; max-width: 1280px; margin: 0 auto; }
.topnav .tn-link {
  display: inline-block; padding: 9px 12px; border-radius: 6px;
  color: var(--dark); text-decoration: none; font-size: 13px; font-weight: 600;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.topnav .tn-link:hover { background: var(--cream); }
.topnav .tn-link.active, .topnav .tn-group.active > .tn-group-head { background: var(--green-tint); color: var(--green-ink); }
.topnav .tn-group { position: relative; }
.topnav .tn-group-head::after { content: ' \25BE'; font-size: 10px; }
.topnav .tn-drop {
  display: none; position: absolute; left: 0; top: 100%; min-width: 190px;
  background: var(--paper); border: 1.5px solid var(--border); border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08); padding: 4px; z-index: 30;
}
.topnav .tn-drop .tn-link { display: block; }
.topnav .tn-group.tn-group-open .tn-drop { display: block; }
@media (hover: hover) { .topnav .tn-group:hover .tn-drop { display: block; } }
.topnav .tn-menu-btn {
  display: none; margin: 6px 14px; padding: 8px 14px; border-radius: 6px;
  border: 1.5px solid var(--border); background: var(--paper); font: inherit; font-weight: 600; cursor: pointer;
}

/* a phone: the Menu button opens the whole list */
@media (max-width: 760px) {
  .sales-head-inner { padding: 8px 16px; }
  .sales-brand span { font-size: 13px; }
  .topnav .tn-menu-btn { display: inline-block; }
  .topnav .tn-items { display: none; flex-direction: column; padding: 4px 16px 10px; }
  .topnav.tn-open .tn-items { display: flex; }
  .topnav .tn-drop { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .topnav .tn-group-head::after { content: ''; }
  .sales-app .content { padding-left: 16px; padding-right: 16px; }
}

/* the page title row under the menu */
.sales-app .topbar { background: transparent; color: var(--dark); padding: 18px 20px 4px; max-width: 1280px; margin: 0 auto; }
.sales-app .content { max-width: 1280px; margin: 0 auto; }

/* the refusal page (as the Admin Portal's) */
#refused { min-height: 100vh; align-items: center; justify-content: center; background: var(--cream); padding: 16px; }
#refused .box { background: var(--paper); border: 1.5px solid var(--border); border-radius: 12px; padding: 28px; max-width: 460px; }
#refused h1 { font-size: 18px; font-weight: 900; margin: 0 0 8px; color: var(--dark); }
#refused p { color: var(--slate); font-size: 13px; margin: 0 0 14px; }
#refused .link { background: none; border: 0; color: var(--coral-ink); font: inherit; font-size: 12px; cursor: pointer; }
.sales-eyebrow { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
/* EDGE_SalesPortal | sales.css | v1_0 */
