/* A compact ledger for the entire watchlist; keep details in the existing view. */
.home-mode{padding-top:18px;padding-bottom:18px}
.home-mode .page-heading{margin-bottom:20px}
.home-mode .page-heading h1{font-size:28px;margin-top:7px;margin-bottom:6px}
.home-market{overflow:hidden}
.home-market-heading{padding:18px 24px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}
.home-market-heading h2{font-family:var(--serif);font-size:19px;font-weight:400;display:flex;align-items:center;gap:12px}
.home-market-heading p{margin:6px 0 0;font-size:10px;color:var(--muted)}
.home-count{font:10px var(--digits);color:var(--green);background:var(--green-soft);padding:4px 7px;border-radius:3px}
.summary-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.summary-table th{height:38px;background:#f8f9f3;font-size:10px;font-weight:400;color:#7b8475}
.summary-table th,.summary-table td{padding:0 15px;border-bottom:1px solid #eceee4}
.summary-table th:first-child,.summary-table td:first-child{width:29%;padding-left:24px}
.summary-table th:nth-child(2){width:21%}.summary-table th:nth-child(3){width:15%}
.summary-table th:nth-child(4){width:12%}.summary-table th:nth-child(5){width:14%}.summary-table th:last-child{width:9%;padding-right:20px}
.summary-table td{height:55px;vertical-align:middle}
.summary-row:hover{background:#f7f9f1}
.summary-item{background:none;display:flex;align-items:center;gap:11px;padding:5px 0;width:100%;text-align:left;color:var(--ink)}
.summary-symbol{width:32px;height:34px;border:1px solid #dcd9c4;border-radius:4px;background:#f5f2e6;color:#918453;display:grid;place-items:center;font:19px var(--serif);flex-shrink:0}
.summary-item-name{min-width:0}.summary-item-name strong{display:block;font-size:12px;font-weight:500;line-height:1.6}
.summary-item-name small,.summary-price small,.summary-time small{display:block;font-size:9px;line-height:1.6;margin-top:2px}
.summary-item-name small{color:var(--muted)}.summary-arrow{font-size:13px;color:#9baa91;margin-left:auto;opacity:0}.summary-item:hover .summary-arrow,.summary-item:focus-visible .summary-arrow{opacity:1}
.summary-price strong{font:20px var(--digits);letter-spacing:-.055em;white-space:nowrap;color:#304133}
.summary-price .no-quote{font:11px var(--body);color:var(--muted);letter-spacing:0}
.summary-change strong{font:13px var(--digits);color:#8c9486}.summary-change .up{color:#ae7851}.summary-change .down{color:#4c7853}
.summary-sparkline{width:100%;max-width:108px;height:32px;color:#789368;stroke-linecap:round;stroke-linejoin:round}
.summary-time time{font:11px var(--digits);color:#69745e}.summary-status .badge{padding:4px 6px;font-size:9px}
.home-market-note{padding:11px 24px;display:flex;justify-content:space-between;gap:12px;color:#8a927f;font-size:9px;line-height:1.7;flex-wrap:wrap;background:#fcfdf7}
.home-support{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:17px;margin-top:17px}
.home-support-card{padding:16px 20px;min-width:0}
.home-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-card-heading h2{font-size:12px}
.home-card-heading .text-button{font-size:10px}
.home-schedule-line,.home-world-line,.home-report-line{display:flex;align-items:baseline;gap:10px;margin-top:14px}
.home-schedule-line{flex-wrap:wrap;row-gap:6px}
#home-next-item{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-schedule-line .text-button{flex-shrink:0;white-space:nowrap}
@media(min-width:681px){.home-schedule-line{flex-wrap:nowrap}}
.home-schedule-line>strong,.home-world-line>strong,.home-report-line>strong{font:24px var(--digits);color:#4b6644;letter-spacing:-.04em;white-space:nowrap}
.home-schedule-line .text-button{margin-left:auto;font-size:10px}
.home-support-card>p{margin:8px 0 0;line-height:1.7}
.home-chat-preview{font-size:10px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.home-mode .page-footer{margin-top:9px;padding-top:9px}
body.home-view .page-footer{display:none}
.home-mode #home-error-notice{padding:8px 14px;margin-top:10px;line-height:1.5}
@media(min-width:961px) and (max-height:960px){
  .home-mode .summary-table td{height:49px}.home-mode .home-market-heading{padding-top:14px;padding-bottom:12px}
  .home-mode .home-support-card{padding-top:12px;padding-bottom:12px}.home-mode .home-support-card>p{margin-top:5px}
}
@media(min-width:681px){body.home-view .topbar{height:64px}}
@media(min-width:961px) and (max-height:820px){body.home-view .topbar{height:54px}.home-mode .summary-table td{height:45px}}
.summary-item-name .summary-mobile-meta{display:none}
@media(max-width:680px){.summary-item-name .summary-mobile-meta{display:block}}
@media(max-width:1200px){.summary-table th,.summary-table td{padding-left:11px;padding-right:11px}.summary-table th:first-child,.summary-table td:first-child{padding-left:20px;width:29%}.summary-table th:nth-child(4){width:10%}.summary-table th:nth-child(5){width:15%}.summary-table th:last-child{width:10%}.summary-price strong{font-size:18px}.home-support{grid-template-columns:1.15fr 1fr 1fr;gap:12px}.home-support-card{padding:15px 16px}.home-next-item{display:none}}
@media(max-width:960px){.summary-table th:nth-child(4),.summary-table td:nth-child(4){display:none}.summary-table th:first-child,.summary-table td:first-child{width:33%}.summary-table th:nth-child(2){width:24%}.summary-table th:nth-child(3){width:17%}.summary-table th:nth-child(5){width:16%}.summary-table th:last-child{width:10%}.home-support{grid-template-columns:1fr 1fr}.home-support-card:first-child{grid-column:1/-1}.home-schedule-line{margin-top:10px}.home-support-card{padding:15px 20px}}
@media(max-width:680px){.sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.nav-item{padding:0 3px;font-size:10px;gap:4px}.nav-item svg{display:none}.home-mode{padding-top:21px}.home-mode .page-heading h1{font-size:27px}.home-market-heading{padding:18px 16px 14px}.home-market-heading h2{font-size:18px}.home-market-heading p{font-size:9px}.summary-table th,.summary-table td{padding:0 8px}.summary-table th:first-child,.summary-table td:first-child{padding-left:16px;width:52%}.summary-table th:nth-child(2){width:29%}.summary-table th:nth-child(3){width:19%;padding-right:12px}.summary-table th:nth-child(5),.summary-table td:nth-child(5),.summary-table th:last-child,.summary-table td:last-child{display:none}.summary-table th{font-size:8px;height:34px}.summary-table td{height:63px}.summary-item{gap:8px}.summary-symbol{width:25px;height:29px;font-size:16px}.summary-item-name strong{font-size:10px}.summary-item-name small{font-size:8px}.summary-price strong{font-size:13px}.summary-price small{font-size:8px}.summary-change strong{font-size:10px}.summary-arrow{display:none}.home-market-note{padding:10px 16px;font-size:8px;gap:5px}.home-support{grid-template-columns:1fr;gap:12px}.home-support-card:first-child{grid-column:auto}.home-schedule-line>strong,.home-world-line>strong,.home-report-line>strong{font-size:23px}.home-schedule-line .text-button{font-size:11px}.home-mode .page-footer{margin-top:17px}}
@media(min-width:961px) and (max-height:820px){.home-mode{padding-top:18px}.home-mode .page-heading{margin-bottom:15px}.home-mode .page-heading h1{font-size:28px}.home-market-heading{padding-top:16px;padding-bottom:13px}.summary-table td{height:51px}.home-support-card{padding-top:13px;padding-bottom:13px}.home-schedule-line,.home-world-line,.home-report-line{margin-top:10px}.home-support-card>p{margin-top:5px}.home-mode .page-footer{margin-top:13px}}
@media(min-width:961px) and (max-height:820px){body.home-view .home-mode .summary-table td{height:43px}}
@media(min-width:961px) and (max-height:820px){body.home-view .home-mode .summary-item{padding:2px 0}body.home-view .home-mode .summary-item-name strong{line-height:1.4}body.home-view .home-mode .summary-item-name small{line-height:1.4}}
@media(min-width:961px) and (max-height:820px){.home-mode{padding-bottom:6px}}
/* On a phone, preserve readable prices and times instead of shrinking six columns. */
@media(max-width:680px){
  .sidebar{padding:17px 20px}.brand{font-size:17px}.brand-seal{width:34px;height:37px;font-size:25px}
  .sidebar nav{position:fixed;bottom:0;left:0;right:0;width:100%;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:var(--sidebar);border-top:1px solid #536748;z-index:20;gap:3px}
  .nav-item{height:52px;flex-direction:column;gap:5px;font-size:11px;padding:5px 0}.nav-item svg{display:block;width:18px;height:18px}
  main{padding-bottom:calc(80px + env(safe-area-inset-bottom))}.topbar{padding:0 20px;font-size:12px}
  .page-body{padding:22px 16px}.home-mode .page-heading h1{font-size:29px}.page-heading p{font-size:12px}
  .heading-actions{gap:8px}.heading-actions .button{width:44px;height:44px}.heading-actions .badge{font-size:11px}
  .home-market-heading{padding:18px 16px}.home-market-heading p{font-size:11px;line-height:1.7}
  .home-market-heading .text-button{font-size:12px;min-height:44px}.home-count{font-size:12px}
  .summary-table,.summary-table tbody{display:block}.summary-table thead{display:none}
  .summary-table .summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}
  .summary-table td,.summary-table td:first-child{height:auto;width:auto;padding:0;border:0}
  .summary-table .summary-name{grid-row:1/3;grid-column:1;min-width:0}
  .summary-table .summary-price{grid-row:1;grid-column:2;text-align:right}
  .summary-table .summary-change{grid-row:2;grid-column:2;text-align:right;margin-top:4px}
  .summary-item{gap:0;padding:0;min-height:54px}.summary-symbol{display:none}
  .summary-item-name strong{font-size:14px;line-height:1.6}.summary-item-name>small:not(.summary-mobile-meta){display:none}
  .summary-item-name .summary-mobile-meta{font:11px var(--digits);color:#75836d;line-height:1.7;margin-top:7px}
  .summary-price strong{font-size:17px;letter-spacing:-.045em}.summary-price small{font-size:10px;margin-top:4px}.summary-price .no-quote{font-size:13px}
  .summary-change strong{font-size:11px}.home-market-note{font-size:11px;line-height:1.8;padding:12px 16px}
  .home-support{gap:14px;margin-top:18px}.home-support-card{padding:19px 20px}.home-card-heading h2{font-size:14px}
  .home-card-heading .text-button,.home-schedule-line .text-button{font-size:12px;min-height:44px}
  .home-support-card .tiny,.home-support-card>p,.home-chat-preview{font-size:12px}.home-support-card .badge{font-size:11px}
  .home-schedule-line,.home-world-line,.home-report-line{margin-top:8px}.home-schedule-line>strong,.home-world-line>strong,.home-report-line>strong{font-size:29px}
  .button{min-height:44px;font-size:13px}.tiny,.small{font-size:12px}.text-button{font-size:12px}
  .field>label,.field-help,.watch-option,.switch-row strong,.settings-note{font-size:13px}
  input[type=number],input[type=time],input[type=date],.field select,.report-create select,.search-box input{font-size:16px;min-height:44px}
  .switch-row small{font-size:12px}.settings-panel{padding:22px 20px}.settings-save{align-items:flex-start;gap:12px;flex-direction:column}.settings-save .button{width:100%}
  .settings-save .small{line-height:1.8}.chat-text{font-size:14px}.chat-meta{font-size:12px}.chat-meta time{font-size:11px}.world-feed{max-height:none}
  .report-document{font-size:14px}.report-date-button{min-height:44px}.report-sidebar #report-dates{overflow:auto}.report-create{display:flex}
  .report-create label{display:block;font-size:12px}.report-document .md-table{max-width:100%}.toast{bottom:95px;font-size:13px}
  .sidebar{padding-top:10px;padding-bottom:10px}.brand-seal{height:34px}.topbar{height:36px}
  .page-body{padding-top:16px}.home-mode .page-heading{margin-bottom:18px}.home-mode .page-heading h1{font-size:27px}
  .home-market-heading{padding-top:13px;padding-bottom:13px}.home-market-heading h2{font-size:17px}
  .summary-table .summary-row{padding-top:10px;padding-bottom:10px}.summary-item{min-height:42px}.summary-price small{display:none}
  .sidebar nav{grid-template-columns:repeat(6,minmax(0,1fr))}
  body.public-view .sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}
}
.home-rumor-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:9px;font-size:11px;color:var(--muted)}
.home-rumor-summary .text-button{font-size:11px}
.rumor-filters{display:flex;gap:16px;align-items:center}.rumor-filters label{font-size:12px;color:var(--muted)}
.rumor-filters select{font:13px var(--body);padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink)}
.rumor-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}
.rumor-totals article{padding:20px 24px}.rumor-totals span{font-size:12px;color:var(--muted)}.rumor-totals strong{display:block;font:32px var(--digits);margin-top:9px;color:#425d36}
.rumor-ranking{overflow:hidden}.rumor-ranking .panel-top{padding:23px 24px}
.rumor-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.rumor-table th{font-size:11px;color:var(--muted);font-weight:400;text-align:right;padding:13px 24px;background:#f7f9f1}
.rumor-table th:first-child{width:28%;text-align:left}.rumor-table td{text-align:right;padding:13px 24px;border-top:1px solid var(--line);font-family:var(--digits)}
.rumor-table td:first-child{text-align:left}.rumor-line-label{display:flex;gap:14px;align-items:center}.rumor-rank{font-size:11px;color:var(--muted)}.rumor-line-label strong{font-size:14px}
.rumor-track{height:3px;background:#edf0e6;margin:7px 0 0 28px;max-width:180px}.rumor-track span{display:block;height:100%;background:#8ca477}
.rumor-selected{color:#496838;font-weight:600}.rumor-latest{font-size:11px;color:var(--muted)}
@media(max-width:680px){.home-rumor-summary{font-size:11px;flex-wrap:wrap;line-height:1.7}.home-rumor-summary .text-button{min-height:44px;font-size:12px}.nav-item{font-size:10px}.rumor-toolbar{flex-direction:column;gap:14px}.rumor-filters{width:100%;gap:12px}.rumor-filters label{flex:1}.rumor-filters select{width:100%;display:block;font-size:16px;min-height:44px;margin-top:5px}.rumor-totals{gap:8px;margin-bottom:16px}.rumor-totals article{padding:16px 10px}.rumor-totals span{font-size:11px;line-height:1.7}.rumor-totals strong{font-size:26px}.rumor-ranking .panel-top{padding:18px 16px}.rumor-ranking .pill{display:none}.rumor-table th{padding:12px 8px;font-size:10px}.rumor-table td{padding:12px 8px;font-size:12px}.rumor-table th:first-child{width:31%;padding-left:16px}.rumor-table td:first-child{padding-left:16px}.rumor-line-label{gap:8px}.rumor-line-label strong{font-size:13px}.rumor-track{margin-left:21px}.rumor-table .rumor-latest{display:none}.footnote{font-size:12px;line-height:1.9}}
