/* BinderPop's public front door. Scoped so working tools retain their density. */
/* One slim, read-only market strip beneath navigation on every workspace. */
.market-movers { position:sticky; top:var(--shell-topbar-height,68px); z-index:49; display:grid; grid-template-columns:auto minmax(0,1fr) 44px 44px; align-items:center; gap:4px; min-width:0; max-width:100%; margin:0; padding:4px max(12px,env(safe-area-inset-right,0px)) 4px max(14px,env(safe-area-inset-left,0px)); background:var(--bg-2); border-bottom:1px solid var(--line); }
.market-movers-heading { padding-right:16px; }
.market-movers-heading h2 { margin:0; font-size:13px; line-height:1.4; letter-spacing:.01em; white-space:nowrap; }
.market-movers-heading span { display:block; margin-top:3px; color:var(--ink-2); font-size:11px; line-height:1.4; }
.market-movers[data-delayed="true"] .market-movers-heading span { color:var(--accent); }
.market-movers-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; align-items:end; }
.market-movers-controls label { display:grid; gap:4px; color:var(--ink-2); font-size:14px; }
.market-movers-controls select { min-height:44px; padding:8px 26px 8px 10px; width:100%; min-width:0; font:inherit; font-size:16px; background:var(--bg-2); color:var(--ink); border:1px solid var(--line); border-radius:10px; }
.market-movers-viewport { min-width:0; overflow-x:auto; overscroll-behavior-x:contain; max-width:100%; scrollbar-width:none; padding:2px 0; scroll-behavior:auto; }
.market-movers-viewport::-webkit-scrollbar { display:none; }
.market-movers-track { display:flex; align-items:center; width:max-content; min-height:50px; }
.market-mover { display:flex; align-items:center; flex:0 0 304px; width:304px; height:50px; gap:10px; padding:4px 16px; border:0; border-right:1px solid var(--line); border-radius:0; background:transparent; text-align:left; font:inherit; cursor:pointer; }
.market-mover:hover { background:color-mix(in srgb,var(--accent) 9%,transparent); }
.market-mover img { flex:none; width:30px; height:42px; object-fit:contain; border-radius:2px; }
.market-mover-name { display:grid; gap:3px; flex:1; min-width:0; color:var(--ink); }
.market-mover-name strong { font-size:13px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.market-mover-name small { color:var(--ink-2); font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.market-mover-price { display:grid; flex:none; gap:3px; text-align:right; font-variant-numeric:tabular-nums; }
.market-mover-price strong { font-size:14px; line-height:1.3; }
.market-mover-price small { font-size:11px; }
.market-mover-price small:last-child { color:var(--ink-2); }
.market-gain { color:#65d8b1; } .market-loss { color:#ff969d; }
html[data-theme="light"] .market-gain { color:#087751; } html[data-theme="light"] .market-loss { color:#b82643; }
.market-movers-note { margin:0; color:var(--ink-2); font-size:13px; line-height:1.5; }
.market-movers-empty { margin:0; padding-inline:12px; color:var(--ink-2); font-size:13px; white-space:nowrap; }
.market-motion-button, .market-movers-options > summary { display:grid; place-items:center; width:44px; min-height:44px; margin:0; padding:0; background:transparent; color:var(--ink-2); border:0; border-radius:8px; font-size:18px; cursor:pointer; list-style:none; }
.market-motion-button:hover, .market-movers-options > summary:hover { background:color-mix(in srgb,var(--accent) 12%,transparent); color:var(--ink); }
.market-movers-options > summary::-webkit-details-marker { display:none; }
.market-movers-options > summary::before { display:none; content:none; }
.market-movers-options > summary::after { display:none; }
.market-movers-options[open] > summary { margin:0; }
.market-movers-menu { position:absolute; top:calc(100% + 6px); right:max(12px,env(safe-area-inset-right,0px)); display:grid; gap:14px; width:min(360px,calc(100vw - 24px)); max-height:max(120px,calc(100dvh - var(--shell-header-height,130px) - 90px)); overflow-y:auto; overscroll-behavior:contain; box-sizing:border-box; padding:18px; background:var(--bg-2); color:var(--ink); border:1px solid var(--line); border-radius:14px; box-shadow:0 16px 40px #0005; }
#marketMoversStatus { margin:0; color:var(--ink-2); font-size:13px; line-height:1.5; }
.market-history-dialog { width:min(720px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); margin:auto; overflow:auto; padding:24px; border:1px solid var(--line); border-radius:20px; background:var(--bg-2); color:var(--ink); box-sizing:border-box; }
.market-history-dialog::backdrop { background:#030812b8; }
.market-dialog-close { display:block; margin:0 0 16px auto; }
.market-history-card { display:flex; gap:24px; align-items:center; margin-bottom:24px; }
.market-history-card > div { min-width:0; overflow-wrap:anywhere; }
.market-history-card img { object-fit:contain; max-width:32%; height:auto; }
.market-history-card h2 { margin:8px 0; }
.market-history-card strong { font-size:32px; font-variant-numeric:tabular-nums; }
.market-history-card p { margin:6px 0; font-size:16px; }
.market-history-dialog p { line-height:1.65; }
.market-history-dialog a { color:var(--accent); }
.market-history-dialog table { width:100%; border-collapse:collapse; font-size:14px; }
.market-history-dialog :is(th,td) { padding:7px; border-bottom:1px solid var(--line); text-align:left; }
.market-history-dialog summary { min-height:44px; cursor:pointer; padding-block:12px; font-size:16px; }
.market-history-dialog #marketOpenBinder { width:100%; margin-top:20px; white-space:normal; }
.market-history-chart { display:block; width:100%; height:auto; color:var(--accent); }
.market-chart-axis { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:var(--ink-2); font-size:12px; }
.market-history-caveat { font-size:14px; color:var(--ink-2); }
.market-movers :focus-visible { outline:3px solid var(--accent); outline-offset:-3px; }
@media(max-width:600px) {
  .market-movers { padding-inline:max(6px,env(safe-area-inset-left,0px)) max(6px,env(safe-area-inset-right,0px)); gap:0; }
  /* Leave enough room for a complete name/change pair even at 320px. The
     region's accessible name and options still expose the title/date range. */
  .market-movers { grid-template-columns:minmax(0,1fr) 44px 44px; }
  .market-movers-heading { display:none; }
  .market-mover { flex-basis:min(268px,calc(100vw - 100px)); width:min(268px,calc(100vw - 100px)); padding-inline:10px; gap:8px; }
  .market-mover img { display:none; }
  .market-movers[data-delayed="true"] .market-mover-name small::before { content:'Delayed · '; }
  .market-history-dialog { padding:18px; }
  .market-history-card { gap:14px; }
  .market-history-card strong { font-size:26px; }
}
@media print { .market-movers { display:none; } }
#panel-home {
  --home-pop: #f8d36c;
  --home-on-pop: #141b2b;
  max-width: 1540px;
  margin-inline: auto;
  padding-top: 8px;
}
html[data-theme="light"] #panel-home { --home-pop: #765200; --home-on-pop: #fff; }
#panel-home :is(h2,h3) { font-family: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; text-wrap: balance; }
#panel-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  align-items: center;
  gap: clamp(28px,4vw,68px);
  min-height: 0;
  padding: clamp(30px,4vw,62px) clamp(20px,3vw,46px);
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: radial-gradient(ellipse at 85% 40%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 63%);
  box-shadow: none;
}
#panel-home .home-hero::before { display: none; }
#panel-home .home-copy { min-width: 0; max-width: 600px; }
#panel-home .home-kicker { color: var(--home-pop); font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .13em; }
#panel-home .home-kicker span { background: currentColor; width: 20px; }
#panel-home .home-copy h2 { font-size: clamp(40px,4.8vw,72px); line-height: 1.06; letter-spacing: -.055em; font-weight: 760; }
#panel-home .home-copy h2 span { color: var(--home-pop); background: none; -webkit-text-fill-color: currentColor; }
#panel-home .home-lead { margin-top: 24px; max-width: 440px; color: var(--ink-2); font-size: 18px; line-height: 1.7; }
#panel-home .home-actions { gap: 20px; align-items: center; margin-top: 30px; }
#panel-home .btn { min-height: 48px; border-radius: 12px; font-size: 15px; font-weight: 750; }
#panel-home .btn.primary { background: var(--home-pop); color: var(--home-on-pop); border-color: var(--home-pop); box-shadow: 0 4px 24px color-mix(in srgb,var(--home-pop) 10%,transparent); }
#panel-home .home-demo-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14px; }
#panel-home .home-demo-link:hover { color: var(--home-pop); }
#panel-home .home-fine { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
#panel-home .home-account-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 9px; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
#panel-home #homeAccount { min-height: 44px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--accent); font: inherit; font-weight: 650; cursor: pointer; }
#panel-home .home-benefits { gap: 6px 15px; margin-top: 18px; }
#panel-home .home-benefits li { padding: 0; border: 0; background: none; font-size: 13px; font-weight: 500; }
#panel-home .home-benefits li::before { box-shadow: none; width: 4px; height: 4px; background: var(--home-pop); }
#panel-home .home-layout-demo { width: 100%; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 22px; transform: none; background: var(--bg-2); box-shadow: 0 24px 80px #0002; scroll-margin-top: 110px; }
#panel-home .home-layout-demo:hover { transform: none; border-color: var(--line); }
#panel-home .home-layout-demo-top { align-items: center; gap: 10px; }
#panel-home .home-layout-demo-top small { font-size: 11px; letter-spacing: .08em; color: var(--home-pop); }
#panel-home .home-layout-demo-top strong { font-size: clamp(15px,1.6vw,20px); line-height: 1.4; margin-top: 4px; }
#panel-home .home-layout-demo-top > b { padding: 7px 9px; background: var(--bg-3); color: var(--ink-2); font-size: 11px; white-space: nowrap; }
#panel-home .home-layout-presets { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; margin: 18px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
#panel-home .home-layout-presets button { min-height: 44px; padding: 7px 3px; border: 0; border-radius: 7px; font-size: 14px; color: var(--ink-2); transform: none; }
#panel-home .home-layout-presets .is-active { color: var(--on-accent); background: var(--accent); box-shadow: 0 2px 9px #0001; }
#panel-home .home-demo-hint { margin: 9px 0 13px; color: var(--ink-3); font-size: 12px; }
#panel-home .home-layout-book { gap: 10px; padding: 10px; border-radius: 13px; background: var(--bg); }
#panel-home .home-layout-page { gap: 4px; padding: 5px; border-radius: 8px; }
#panel-home .home-layout-card { border-radius: 4px; }
#panel-home .home-layout-card > span { max-width: 100%; font-size: clamp(7px,.7vw,10px); padding: 2px 4px; }
#panel-home .home-layout-demo-foot { flex-wrap: wrap; gap: 2px 12px; padding-top: 9px; font-size: 12px; }
#panel-home .home-layout-demo-foot button { min-height: 44px; font-size: 13px; }
#panel-home .home-method { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin: 12px 36px 0; padding: 34px 0; border-block: 1px solid var(--line); }
#panel-home .home-method article { display: flex; align-items: flex-start; gap: 14px; }
#panel-home .home-step-number { padding-top: 2px; color: var(--home-pop); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
#panel-home .home-method h3 { font-size: 19px; margin-bottom: 7px; }
#panel-home .home-method p { color: var(--ink-2); font-size: 14px; line-height: 1.65; max-width: 330px; }
#panel-home .home-chase { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(24px,5vw,72px); padding: 70px 36px; }
#panel-home .home-chase-copy h2 { font-size: clamp(30px,3.1vw,46px); line-height: 1.12; letter-spacing: -.04em; }
#panel-home .home-chase-copy h2 span { color: var(--ink-3); }
#panel-home .home-chase-copy > p:not(.home-kicker) { max-width: 430px; color: var(--ink-2); font-size: 16px; line-height: 1.7; margin: 22px 0; }
#panel-home .home-market-preview { width: 100%; margin: 0; padding: 20px; border-radius: 20px; transform: none; animation: none; background: var(--bg-2); backdrop-filter: none; box-shadow: none; border: 1px solid var(--line); }
#panel-home .home-preview-top strong { font-size: 18px; }
#panel-home .home-live-badge { font-size: 10px; letter-spacing: .035em; }
#panel-home .home-live-badge i { animation: none; box-shadow: none; }
#panel-home .home-market-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-block: 20px; }
#panel-home .home-market-row { display: flex; flex-direction: column; padding: 0; gap: 8px; border: 0; background: none; text-align: left; }
#panel-home .home-market-row:hover { transform: none; box-shadow: none; }
#panel-home .home-card-mini { width: 100%; max-width: 164px; height: auto; object-fit: contain; border-radius: 7px; }
#panel-home .home-market-row > span { width: 100%; align-items: flex-start; }
#panel-home .home-market-row strong { font-size: 14px; white-space: normal; line-height: 1.3; }
#panel-home .home-market-row small { font-size: 11px; white-space: normal; line-height: 1.45; color: var(--ink-3); }
#panel-home .home-market-row b { align-self: flex-start; margin-top: auto; font-size: 16px; color: var(--home-pop); }
#panel-home .home-market-foot { gap: 10px; }
#panel-home .home-market-foot strong { font-size: 20px; }
#panel-home .home-market-foot small { font-size: 12px; white-space: normal; max-width: none; }
#panel-home .home-market-foot > small { max-width: 210px; }
#panel-home .home-finish { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 36px 44px; padding: 32px 0; border-block: 1px solid var(--line); }
#panel-home .home-finish h2 { font-size: clamp(27px,2.8vw,38px); line-height: 1.2; letter-spacing: -.035em; }
#panel-home .home-finish p:not(.home-kicker) { max-width: 610px; margin-top: 12px; color: var(--ink-2); font-size: 14px; }
#panel-home .home-finish .btn { flex-shrink: 0; }
#panel-home :is(button,a):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
#panel-home .home-demo-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
#panel-home .home-demo-tools label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--ink-2); font-size: 13px; cursor: pointer; }
#panel-home .home-demo-tools input { width: 18px; height: 18px; accent-color: var(--accent); }
#panel-home .home-demo-tools button,#panel-home .home-text-action { border: 0; border-radius: 4px; padding: 0; min-height: 44px; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
#panel-home .home-demo-hint { margin-top: 0; min-height: 2.9em; margin-bottom: 8px; }
#panel-home .home-layout-card.demo-owned { border-color: var(--ok); }
#panel-home .home-layout-card.demo-owned img { filter: brightness(.55) saturate(.7); }
#panel-home .home-layout-card.demo-owned::after { content: '✓'; position: absolute; display: grid; place-items: center; width: 30%; aspect-ratio: 1; left: 35%; top: 38%; background: var(--ok); color: #052b20; font-size: clamp(13px,1.5vw,23px); font-weight: 900; border-radius: 50%; box-shadow: 0 2px 12px #0004; pointer-events: none; }
#panel-home .home-demo-pagination { display: none; }
#panel-home .home-questions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 20px; margin: 0 36px 44px; }
#panel-home .home-questions details { border: 0; background: none; border-radius: 0; padding: 0; }
#panel-home .home-questions summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; min-height: 44px; padding: 0; color: var(--ink-2); font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; }
#panel-home .home-questions summary::before { display: none; }
#panel-home .home-questions summary::after { content: '+'; flex-shrink: 0; color: var(--accent); }
#panel-home .home-questions details[open] summary::after { content: '−'; }
#panel-home .home-questions summary::-webkit-details-marker { display: none; }
#panel-home .home-questions p { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 10px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  #panel-home .home-copy { animation: home-pop-enter .45s ease-out both; }
  #panel-home .home-layout-demo { animation: home-pop-enter .55s .08s ease-out both; }
  #panel-home .home-layout-card { transition: transform .15s ease,border-color .15s ease; }
  @keyframes home-pop-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1050px) {
  #panel-home .home-hero { grid-template-columns: minmax(0,1fr); padding: 32px 24px; gap: 32px; }
  #panel-home .home-copy { max-width: 720px; }
  #panel-home .home-copy h2 { font-size: clamp(42px,7.5vw,66px); }
  #panel-home .home-lead { max-width: 600px; margin-top: 18px; }
  #panel-home .home-account-line { margin-top: 7px; }
  #panel-home .home-layout-demo { max-width: 780px; justify-self: center; }
  #panel-home .home-layout-card > span { font-size: clamp(8px,1.4vw,11px); }
  #panel-home .home-method { margin-inline: 24px; gap: 22px; }
  #panel-home .home-chase { padding: 48px 24px; gap: 24px; }
  #panel-home .home-chase-copy h2 { font-size: 34px; }
  #panel-home .home-finish { margin-inline: 24px; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  #panel-home .home-hero { padding: 24px 6px; gap: 28px; }
  #panel-home .home-copy { padding-inline: 6px; }
  #panel-home .home-copy h2 { font-size: clamp(38px,9.7vw,58px); }
  #panel-home .home-lead { font-size: 16px; line-height: 1.65; margin-top: 18px; }
  #panel-home .home-actions { gap: 14px; margin-top: 23px; }
  #panel-home .home-actions .btn { width: auto; padding-inline: 17px; }
  #panel-home .home-benefits { margin-top: 11px; gap: 5px 12px; }
  #panel-home .home-benefits li { font-size: 12px; }
  #panel-home .home-account-line > span { display: none; }
  #panel-home .home-layout-demo { padding: 12px; border-radius: 16px; }
  #panel-home .home-layout-demo-top { flex-wrap: wrap; }
  #panel-home .home-layout-demo-top strong { font-size: 17px; }
  #panel-home .home-layout-demo-top > b { font-size: 10px; }
  #panel-home .home-layout-presets { margin-top: 12px; }
  #panel-home .home-layout-presets button { font-size: 13px; }
  #panel-home .home-layout-book { padding: 5px; gap: 6px; }
  #panel-home .home-layout-book { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  #panel-home .home-layout-book::-webkit-scrollbar { display: none; }
  #panel-home .home-layout-book::after { display: none; }
  #panel-home .home-layout-page { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; }
  #panel-home .home-demo-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; color: var(--ink-3); font-size: 12px; }
  #panel-home .home-demo-pagination button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 18px; cursor: pointer; }
  #panel-home .home-demo-pagination button:disabled { opacity: .35; cursor: default; }
  #panel-home .home-layout-page { padding: 3px; gap: 3px; }
  #panel-home .home-layout-card > span { padding: 2px 3px; font-size: 10px; }
  #panel-home .home-layout-demo-foot { flex-direction: row; align-items: center; font-size: 10px; }
  #panel-home .home-layout-demo-foot button { align-self: auto; font-size: 12px; }
  #panel-home .home-method { grid-template-columns: 1fr; gap: 24px; margin: 10px 12px 0; padding: 26px 0; }
  #panel-home .home-method h3 { font-size: 18px; }
  #panel-home .home-method p { max-width: none; }
  #panel-home .home-chase { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 38px 6px; }
  #panel-home .home-chase-copy { padding-inline: 6px; }
  #panel-home .home-chase-copy h2 { font-size: 34px; }
  #panel-home .home-market-preview { padding: 14px; }
  #panel-home .home-market-list { gap: 10px; }
  #panel-home .home-market-row strong { font-size: 12px; }
  #panel-home .home-market-row small { font-size: 10px; }
  #panel-home .home-market-row b { font-size: 14px; }
  #panel-home .home-finish { margin: 0 12px 28px; padding: 26px 0; gap: 20px; }
  #panel-home .home-finish .btn { width: 100%; }
  #panel-home .home-questions { grid-template-columns: 1fr; margin: 0 12px 28px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #panel-home *,#panel-home *::after,#panel-home *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
