/* Compact working screens; retains Golos Text and existing color system. */
.market [hidden]{display:none!important}.empty-favorites .table-scroll{border:0;background:none}.empty-favorites #result-count{display:none}
/* Mobile overrides follow the existing responsive rules below. */
header{height:48px}.heading{padding:12px 0 6px}.heading h1{font-size:23px;margin:0;line-height:1.3}.heading .eyebrow,.heading p{display:none}.data-bar{padding:9px 0 12px;align-items:center;flex-wrap:wrap;gap:6px}.data-bar>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}.data-bar #updated{margin:0;font-size:10px}.data-controls{gap:12px;margin-left:auto}.data-controls .outline{min-height:36px;padding:7px 12px}.source-info{position:relative;font-size:10px}.source-info summary{color:var(--muted);cursor:pointer}.source-info p{position:absolute;right:0;top:20px;width:290px;max-width:85vw;padding:14px;background:var(--border);border:1px solid var(--border-strong);border-radius:6px;z-index:12;line-height:1.8;color:var(--text);box-shadow:0 6px 30px var(--backdrop)}.summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 16px}.summary article{padding:13px;min-width:0}.summary strong{font-size:23px;margin:6px 0 4px;white-space:nowrap}.summary #total{font-size:19px}.summary small{font-size:9px}.card-label{font-size:11px}.market{margin-top:0}.market-heading h2{font-size:19px}.market-heading p{display:none}.table-tools{margin:10px 0;flex-wrap:wrap;gap:8px}.type-filter{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.type-filter select{border:1px solid var(--border-strong);border-radius:5px;padding:8px;background:var(--surface-2);color:var(--text);min-width:0;max-width:170px;font-size:12px}.table-tools .type-filter{margin-left:auto}.ideas-panel{margin:18px 0 0;padding:14px 16px}.ideas-panel details>summary{cursor:pointer;font-size:13px;font-weight:600}.ideas-panel details>p{font-size:11px;line-height:1.8}.ideas-list{margin-top:10px}.page-picker{padding:8px 12px;margin:0 0 12px;gap:10px}.picker-label{font-size:11px;color:var(--muted)}.instrument-search{position:relative;min-width:0;flex:1}.instrument-trigger{min-height:38px;width:100%;text-align:left;padding:8px 12px;border:1px solid var(--border-strong);background:var(--surface-2);border-radius:5px;font-size:13px}.instrument-popup{position:absolute;top:calc(100% + 5px);left:0;width:100%;min-width:280px;max-width:100%;background:var(--border);border:1px solid var(--border-strong);border-radius:7px;padding:10px;z-index:12;box-shadow:0 10px 30px var(--shadow)}.instrument-popup input{width:100%;min-height:40px;padding:10px;border:1px solid var(--border-strong);border-radius:5px;background:var(--surface-2);color:var(--text);font-size:13px}.instrument-results{max-height:300px;overflow:auto;padding-top:5px}.instrument-results [data-choice]{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;text-align:left;padding:9px;border-radius:5px}.instrument-results [data-choice]:hover,.instrument-results .keyboard-active{background:var(--active-bg)}.instrument-results [data-choice] strong{font-size:11px;flex-shrink:0;min-width:65px}.instrument-results [data-choice] span{font-size:12px;overflow-wrap:anywhere}.instrument-results [data-choice] small{font-size:9px;color:var(--muted);margin-left:auto;flex-shrink:0;max-width:80px}.search-group{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;padding:10px 9px 3px}.comparison-search .instrument-popup{position:static;min-width:0;box-shadow:none;padding:0;border:0;background:none}.comparison-search .instrument-results{max-height:150px}.comparison-search{margin:14px 0}.quote-meta{font-size:10px;color:var(--muted);line-height:1.7;margin-top:8px;overflow-wrap:anywhere}.graph-container{height:235px;margin-top:8px}#chart{touch-action:pan-y}.point-controls{display:grid;grid-template-columns:auto minmax(80px,1fr);gap:5px 12px;align-items:center;font-size:10px;color:var(--muted);margin-top:10px}.point-controls input{width:100%;accent-color:var(--green);min-height:28px}.point-controls output{grid-column:1/-1;color:var(--text);font-size:11px;line-height:1.5}.chart-footer{flex-wrap:wrap;gap:4px;font-size:10px;margin-top:10px}.chart-footer>span:last-child{display:flex;flex-wrap:wrap;gap:6px}.chart-main{padding:17px 20px}.chart-price strong{font-size:27px}.chart-header h2{font-size:22px}.chart-header .eyebrow{font-size:10px}.comparison-history{margin-top:22px;border-top:1px solid var(--border);padding-top:14px}.comparison-history h3{font-size:14px;margin:0}.comparison-history-body svg{width:100%;height:auto;min-height:170px}.comparison-stat{border-left:3px solid;padding:8px 10px;font-size:11px;color:var(--text);line-height:1.7}.signal-limit{border:1px solid var(--positive-border);background:var(--active-bg);color:var(--muted);padding:9px 12px;border-radius:5px;font-size:11px;line-height:1.7}.alert-list{max-height:360px}.heatmap-panel{margin:0}.heatmap-legend{font-size:10px;align-items:center;gap:8px}.heatmap-legend>span:nth-child(2){text-align:center}.type-pill{color:var(--muted);border:1px solid var(--border-strong);border-radius:4px;padding:1px 4px;font-size:9px}#empty{padding:30px 15px;line-height:1.8}#empty .outline{margin-top:9px}#app-menu{background:var(--border);border:1px solid var(--border-strong);border-radius:12px;color:var(--text);padding:22px;width:360px;max-width:calc(100vw - 28px)}#app-menu::backdrop{background:var(--backdrop);backdrop-filter:blur(3px)}#app-menu .section-title h2{font-size:18px}#close-menu{font-size:26px;min-width:40px;min-height:40px}#app-menu nav{margin:10px 0}.menu-source{border-top:1px solid var(--border);padding-top:18px;font-size:12px}.menu-source strong{display:block;color:var(--muted);margin-bottom:12px}.menu-source #demo-toggle{display:block;width:100%;border:1px solid var(--positive-border);border-radius:5px;min-height:44px;font-size:13px;padding:10px;color:var(--green)}.notice{margin:0 0 12px}.instrument-popup[hidden]{display:none!important}
@media(max-width:1300px){.summary{grid-template-columns:repeat(3,minmax(0,1fr))}.summary article{padding:10px 13px}.summary strong{font-size:22px}.summary small{font-size:10px}}
@media(max-width:800px){.mobile-nav{justify-content:space-between;overflow:visible;gap:0;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}.mobile-nav button{min-width:0;flex:1;font-size:9px;min-height:48px}.sidebar{padding:10px 16px}.brand{font-size:22px}.logo{height:28px;width:28px;font-size:27px}.heading{padding:6px 0}.heading h1{font-size:19px}header{display:none}.data-bar{padding-top:7px}.data-bar>div:first-child{width:100%}.data-controls{margin:0;width:100%;justify-content:space-between}.data-controls label{min-height:32px;font-size:10px}.source-info summary{font-size:10px}.data-bar #updated{font-size:9px}body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.page-picker{margin-bottom:10px;flex-wrap:nowrap}.instrument-popup input{font-size:16px}.instrument-trigger{font-size:12px;min-height:42px}.picker-label{display:none}.instrument-popup{min-width:0;max-width:100%;left:0}.comparison-search .instrument-popup input{font-size:16px}.instrument-results [data-choice]{min-height:44px}.type-filter select{font-size:13px;min-height:42px}.graph-container{height:215px}.chart-main{padding:14px}.quote-meta{font-size:9px}.chart-header h2{font-size:21px}.point-controls input{min-height:34px}.point-controls output{font-size:10px}.heatmap-legend{font-size:9px}.toast{bottom:calc(84px + env(safe-area-inset-bottom))}.source-info p{right:-5px}body[data-page=stock] .heading,body[data-page=analytics] .heading,body[data-page=signals] .heading{display:none}}
@media(max-width:600px){.summary{gap:6px;margin-bottom:12px}.summary article{padding:8px}.summary strong{font-size:20px;margin:3px 0}.summary #total{font-size:16px}.summary small{display:none}.card-label{font-size:10px}.card-label>span{display:none}.market-heading{gap:8px}.market-heading h2{font-size:18px;margin:0}.search{min-height:40px;padding:8px 10px}.market-actions{gap:7px}.filters button{min-height:36px;padding:6px 8px}.sort select{min-height:36px}.type-filter{font-size:10px}.type-filter select{max-width:180px;font-size:12px}.table-tools .type-filter{margin-left:0;flex:1}.table-tools{gap:5px}.market-heading .search input{font-size:16px}.chart-header{flex-direction:row;gap:8px;flex-wrap:wrap}.chart-header>div:first-child{flex:1}.chart-header .periods{width:100%;order:2}.chart-price strong{font-size:28px}.periods button{min-height:34px}.chart-header .eyebrow{font-size:9px}.graph-container{height:200px}.comparison-stat{font-size:10px}.comparison-history h3{font-size:12px}.comparison-history .section-title{flex-wrap:wrap}.analysis-verdict{padding:13px}.analytics-panel{padding:14px}.analysis-verdict strong{font-size:19px}.analysis-reading{padding:6px 0}.idea-card small{font-size:9px}.source-info p{max-width:85vw}.data-controls .outline{font-size:12px;min-height:34px;padding:6px 10px}.data-controls .outline span{display:inline}footer{padding-top:18px}.instrument-results [data-choice]{flex-wrap:wrap}.instrument-results [data-choice] strong{min-width:50px}.instrument-results [data-choice] span{font-size:11px}.instrument-results [data-choice] small{max-width:100px}}
@media(max-width:360px){.summary #total{font-size:14px}.summary strong{font-size:19px}.type-filter select{max-width:160px}.quote-meta{font-size:9px}}
.analysis-conclusion{font-size:13px;line-height:1.7;color:var(--text);margin:12px 0}.analysis-periods{display:flex;width:max-content;max-width:100%;margin:13px 0 0}.analysis-periods button{min-width:50px;min-height:34px}.summary .card-label>span{display:none}
@media(max-width:800px){.data-controls{flex-wrap:wrap}.source-info[open]{order:3;flex-basis:100%}.source-info[open] p{position:static;width:auto;max-width:none;margin:8px 0;box-shadow:none}.analysis-periods button{min-height:40px}.analysis-conclusion{font-size:12px}}
@media(max-width:600px){
  .data-bar{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:4px 0 8px}
  .data-bar>div:first-child{gap:3px 7px;line-height:1.5}
  .data-bar #source-label{font-size:11px}.data-bar #updated{display:inline;margin:0;font-size:10px}
  .data-controls{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:4px;width:100%;flex-direction:row}
  .data-controls label,.source-info summary,.data-controls .outline{min-height:44px;display:flex;align-items:center;font-size:11px}
  .data-controls label{gap:5px}.source-info summary{padding:0 6px}.data-controls .outline{padding:6px 9px}
  .source-info[open]{grid-column:1/-1;grid-row:2}.source-info[open] summary{min-height:36px}.source-info[open] p{margin:0 0 6px}
  .summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary article{padding:10px}
  .summary strong,.summary #total{font-size:22px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
  .summary .card-label{font-size:11px;line-height:1.4}
}
