/* Start uses PRO's existing controls, panels, table styles and color variables. */
.connection-dot { display:inline-block; width:6px; height:6px; flex-shrink:0; border-radius:50%; background:var(--text-muted); }
.connection[data-live=true] .connection-dot { background:var(--green); box-shadow:0 0 8px rgba(16,185,129,.5); animation:start-connection-pulse 2.4s ease-in-out infinite; }
@keyframes start-connection-pulse { 0%,100% { opacity:1; } 50% { opacity:.25; } }
@media(prefers-reduced-motion:reduce) { .connection[data-live=true] .connection-dot { animation:none; } }
.start-workspace .start-section { margin-bottom:12px; }
.start-section-heading { flex-wrap:wrap; gap:10px; }
.start-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--text-muted); }
.start-controls select { background:#11172c; border:1px solid var(--border); border-radius:6px; color:var(--text-main); font-size:12px; padding:6px 8px; max-width:100%; }
.start-controls .check-row { margin:0; }
.start-controls input[type=search] { width:180px; padding:6px 8px; }
.start-ticker-picker { margin-bottom:12px; }
.start-ticker-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.start-ticker-toolbar > input[type=search] { width:280px; max-width:100%; padding:6px 8px; }
.start-ticker-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:6px; }
.start-ticker-list > p { grid-column:1/-1; padding:6px 0; }
.start-ticker-button { width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.start-ticker-button.is-alerting,
.scanner-design .start-ticker-list .start-ticker-button.is-alerting,
.scanner-design .start-ticker-list .start-ticker-button.is-alerting:hover {
  background-image:none;
  animation:start-ticker-event .7s steps(1,end) infinite;
  animation-delay:var(--ticker-event-delay,0ms);
  outline:1px solid #fff3b0;
  outline-offset:1px;
  position:relative;
  z-index:1;
  text-shadow:none;
}
@keyframes start-ticker-event {
  0%,49% { background-color:#ffe16b; color:#142035; border-color:#fff9d4; box-shadow:0 0 0 1px #ffe16b99,0 0 20px #ffd44d99,inset 0 1px #fff9d4; }
  50%,100% { background-color:#87e8ff; color:#071b2d; border-color:#e4fbff; box-shadow:0 0 0 1px #87e8ffaa,0 0 24px #46cfffbb,inset 0 1px #fff; }
}
@media(prefers-reduced-motion:reduce) {
  .start-ticker-button.is-alerting,
  .scanner-design .start-ticker-list .start-ticker-button.is-alerting,
  .scanner-design .start-ticker-list .start-ticker-button.is-alerting:hover {
    animation:none;
    background-color:#ffe16b;
    color:#142035;
    border-color:#fff9d4;
    box-shadow:0 0 18px #ffd44d88;
  }
}
.start-analysis-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr); gap:16px; }
.start-chart-column { min-width:0; }
.start-quote { display:flex; align-items:center; flex-wrap:wrap; gap:14px; min-height:32px; margin-bottom:6px; }
.start-quote strong { font-size:16px; color:var(--cyan); }
.start-quote span { font-size:12px; color:var(--text-muted); }
.start-chart { min-height:260px; display:flex; align-items:center; }
.start-chart > p { padding:16px; }
.start-chart svg { width:100%; max-height:350px; }
.start-chart-caption { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:10px; color:var(--text-muted); margin-top:6px; }
.text-button { background:transparent; border:0; color:var(--cyan); cursor:pointer; font-size:12px; text-align:left; }
.text-button:hover { text-decoration:underline; }
.start-analysis-steps { display:grid; align-content:start; gap:12px; }
.start-analysis-steps > section { border-bottom:1px solid var(--border); padding-bottom:10px; }
.start-analysis-steps > section:last-child { border-bottom:0; padding-bottom:0; }
.start-analysis-steps h2 { margin-bottom:8px; }
.start-analysis-steps p, .start-analysis-steps li { font-size:12px; line-height:1.5; }
.start-analysis-steps ul { list-style:none; color:var(--text-muted); display:grid; gap:6px; }
.start-strategies { min-width:0; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
.start-strategy-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:10px; }
.start-strategy { display:flex; flex-direction:column; gap:10px; min-width:0; border:1px solid var(--border); border-radius:8px; padding:12px; background:var(--bg-card); }
.start-strategy-heading { display:flex; align-items:start; justify-content:space-between; gap:8px; }
.start-strategy-heading h3 { font-size:13px; font-weight:600; line-height:1.4; }
.start-strategy-heading .tag { flex-shrink:0; }
.start-strategy-description { font-size:12px!important; }
.start-strategy-details { margin-top:auto; }
.start-strategy-details > summary { cursor:pointer; color:var(--cyan); font-size:12px; }
.start-strategy-content { padding-top:2px; }
.start-strategy-checks { margin-top:10px; }
.start-strategy-checks h3 { font-size:11px; font-weight:600; color:var(--text-main); margin-bottom:6px; }
.start-strategy-checks li { display:flex; align-items:start; gap:6px; }
.start-strategy-checks li > span:first-child { flex-shrink:0; width:12px; }
.start-check-unknown { color:var(--yellow); }
.start-trends { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:8px; }
.start-trends > div { display:grid; gap:5px; font-size:10px; color:var(--text-muted); }
.start-event-context { border-left:3px solid var(--yellow); background:var(--bg-card); padding:8px 10px; margin-top:8px; }
.start-event-context strong { font-size:12px; color:var(--yellow); }
.start-event-context p { font-size:12px; margin-top:4px; }
#event-notice { margin:8px 0; font-size:12px; color:var(--yellow); }
.start-workspace .start-table-container { display:block; }
.start-market-table { min-width:720px; }
.start-events-table { min-width:760px; }
.start-events-table td:nth-child(5) { white-space:normal; text-align:left; min-width:240px; }
.start-events-table td, .start-market-table td { padding:7px 8px; }
.start-events-table th, .start-market-table th { white-space:nowrap; }
.start-events-table .start-event-selected td, .start-market-table .start-symbol-selected td { background:rgba(56,189,248,.08); }
.start-market-table td:nth-child(2), .start-market-table td:last-child { text-align:left; }
.start-market-table td:last-child { white-space:normal; min-width:180px; }
.start-market-table td small { display:block; color:var(--text-muted); font-size:10px; margin-top:3px; }
.start-feed-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:8px; }
.start-feed-footer p, .start-table-caption { font-size:11px!important; }
.start-table-caption { margin-top:8px; }
.start-notifications { margin-top:10px; font-size:12px; color:var(--text-muted); }
.start-notifications summary { color:var(--cyan); cursor:pointer; width:fit-content; }
.start-notifications .start-controls { margin-top:10px; }
.start-status-empty { color:var(--text-muted); text-align:center; padding:20px!important; }
@media(max-width:1240px) { .start-strategy-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:960px) { .start-analysis-layout { grid-template-columns:1fr; }.start-analysis-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }.start-analysis-steps > section { border-bottom:0; }.start-chart { min-height:220px; }.start-strategy-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .start-analysis-steps { grid-template-columns:1fr; }.start-analysis-steps > section { border-bottom:1px solid var(--border); }.start-controls { width:100%; }.start-chart { min-height:160px; }.start-ticker-toolbar > input[type=search] { width:100%; } }
@media(max-width:480px) { .start-strategy-list { grid-template-columns:1fr; } }
