#public-watchlists-tab { max-width:1248px; margin:0 auto; padding:32px 24px 80px; }
#public-watchlists-tab :is(h1,h2,h3,p) { margin:0; }
#public-watchlists-tab :is(h1,h2) { font-size:36px; line-height:1.2; letter-spacing:-.04em; }
#public-watchlists-tab h3 { font-size:21px; line-height:1.4; letter-spacing:-.02em; }
#public-watchlists-tab p { color:var(--sx-muted); line-height:1.6; }
#public-watchlists-tab a { color:var(--sx-accent); text-underline-offset:3px; }
#public-watchlists-tab button, #public-watchlists-tab summary, #public-watchlists-tab .pw-upload { font:inherit; cursor:pointer; }
#public-watchlists-tab button:disabled { opacity:.6; cursor:wait; }
#public-watchlists-tab :is(button,a,input,textarea,summary):focus-visible { outline:2px solid var(--sx-accent); outline-offset:3px; }
#public-watchlists-tab :is(.pw-actions,.pw-heading,.pw-detail-header,.pw-edit-header,.pw-companies-heading,.pw-delete-zone) { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#public-watchlists-tab .pw-heading { margin-bottom:24px; }
#public-watchlists-tab .pw-eyebrow { font-size:11px; letter-spacing:.12em; margin-bottom:8px; }
#public-watchlists-tab .pw-actions { justify-content:flex-end; flex-wrap:wrap; gap:10px; }
#public-watchlists-tab :is(.pw-actions button,.pw-actions summary,.pw-import .pw-upload) { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 22px; line-height:1.3; border:1px solid var(--fp-border); border-radius:30px; background:var(--sx-surface); color:var(--sx-text); font-size:15px; font-weight:600; white-space:nowrap; }
#public-watchlists-tab .pw-icon { width:18px; height:18px; flex-shrink:0; }
#public-watchlists-tab .pw-actions .btn-prim { background:var(--fp-lime); border-color:var(--fp-lime); color:var(--sx-text); }
#public-watchlists-tab :is(.pw-back,.pw-company-link,.pw-text-link,.pw-remove,.pw-notes-toggle), #public-watchlists-tab .pw-detail-cell button { background:none; border:0; color:var(--sx-text); padding:0; }
#public-watchlists-tab .pw-back { min-height:32px; font-size:15px; font-weight:500; }
#public-watchlists-tab .pw-detail-header { margin:32px 0 24px; align-items:flex-end; }
#public-watchlists-tab .pw-detail-heading h2 { margin-bottom:6px; overflow-wrap:anywhere; }
#public-watchlists-tab .pw-detail-heading p { font-size:14px; }
#public-watchlists-tab .pw-summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:24px; font-size:14px; }
#public-watchlists-tab .pw-summary-targets { color:var(--sx-muted); }
#public-watchlists-tab .pw-summary-targets::before { content:'· '; }
#public-watchlists-tab .pw-move { padding:7px 14px; border-radius:24px; font-size:13px; font-weight:600; }
#public-watchlists-tab .pw-up { background:#e1ebdc; color:var(--sx-pos); }
#public-watchlists-tab .pw-down { background:#f5e1d8; color:var(--sx-neg); }
#public-watchlists-tab .card { border:1px solid var(--fp-border); border-radius:22px; background:var(--sx-surface); box-shadow:none; }
#public-watchlists-tab .pw-table-wrap { overflow-x:auto; }
#public-watchlists-tab .pw-view .pw-table-wrap { border-radius:20px; }
#public-watchlists-tab .pw-table { width:100%; border-collapse:collapse; min-width:740px; }
#public-watchlists-tab :is(th,td) { text-align:left; padding:20px; border-bottom:1px solid var(--fp-border); vertical-align:middle; font-size:14px; }
#public-watchlists-tab th { color:var(--sx-muted); font-weight:500; font-size:13px; text-transform:none; letter-spacing:0; padding-top:16px; padding-bottom:16px; }
#public-watchlists-tab tr:last-child td { border-bottom:0; }
#public-watchlists-tab .pw-company-cell { min-width:210px; width:27%; }
#public-watchlists-tab .pw-company-link { text-align:left; display:block; width:100%; }
#public-watchlists-tab .pw-company-link strong { display:block; font-weight:650; line-height:1.4; }
#public-watchlists-tab .pw-company-name { display:block; color:var(--sx-muted); font-size:12px; margin-top:5px; }
#public-watchlists-tab :is(.pw-cell-price,.pw-cell-daily_change_pct) { text-align:right; white-space:nowrap; }
#public-watchlists-tab .pw-cell-target_price { min-width:220px; }
#public-watchlists-tab .pw-cell-sector { min-width:170px; }
#public-watchlists-tab .pw-price small, #public-watchlists-tab .pw-cell-target_price small { font-size:12px; color:var(--sx-muted); font-weight:400; }
#public-watchlists-tab .pw-daily { font-weight:650; }
#public-watchlists-tab .pw-positive { color:var(--sx-pos); }
#public-watchlists-tab .pw-negative { color:var(--sx-neg); }
#public-watchlists-tab .pw-target-distance { display:block; color:var(--sx-muted); font-size:13px; margin-top:5px; white-space:nowrap; }
#public-watchlists-tab .pw-text-link { color:var(--sx-accent); text-decoration:underline; text-underline-offset:3px; font-size:14px; font-weight:600; min-height:32px; }
#public-watchlists-tab .pw-detail-cell { width:40px; text-align:right; }
#public-watchlists-tab .pw-detail-cell button { min-width:28px; min-height:36px; font-size:24px; color:var(--sx-muted); }
#public-watchlists-tab .pw-muted { color:var(--sx-muted); }
#public-watchlists-tab .pw-note { white-space:pre-wrap; overflow-wrap:anywhere; }
#public-watchlists-tab .pw-target-reached > td { background:var(--fp-row-hover,var(--sx-row-hover)); }
#public-watchlists-tab .pw-target-badge { display:block; font-size:11px; color:var(--sx-pos); font-weight:600; margin-top:5px; }
#public-watchlists-tab [hidden] { display:none !important; }
#public-watchlists-tab .pw-editing { max-width:980px; margin:auto; }
#public-watchlists-tab .pw-edit-header { margin-bottom:24px; }
#public-watchlists-tab .pw-save-state { display:block; color:#a45f19; font-size:14px; font-weight:600; margin-top:8px; }
#public-watchlists-tab .pw-save-state::before { content:'●'; margin-right:8px; font-size:12px; }
#public-watchlists-tab fieldset { border:0; padding:0; margin:0; min-width:0; }
#public-watchlists-tab .pw-section { padding:26px; margin-bottom:22px; }
#public-watchlists-tab .pw-name { display:block; max-width:590px; font-weight:600; font-size:15px; }
#public-watchlists-tab :is(input,textarea) { width:100%; box-sizing:border-box; min-width:0; margin-top:8px; border:1px solid #cbd0c5; border-radius:12px; padding:14px 16px; background:var(--sx-surface); color:var(--sx-text); font:inherit; font-size:16px; line-height:1.5; }
#public-watchlists-tab .pw-name input { display:block; font-weight:400; }
#public-watchlists-tab .pw-add h3 { margin-bottom:14px; }
#public-watchlists-tab .pw-add p { margin-bottom:12px; font-size:15px; }
#public-watchlists-tab .pw-add form { position:relative; }
#public-watchlists-tab .pw-search { position:relative; }
#public-watchlists-tab .pw-search > svg { position:absolute; left:18px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--sx-muted); pointer-events:none; }
#public-watchlists-tab .pw-search input { margin:0; padding-left:44px; }
#public-watchlists-tab .pw-import { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:14px; font-size:14px; color:var(--sx-muted); }
#public-watchlists-tab .pw-import a { font-weight:600; }
#public-watchlists-tab .pw-upload { display:inline-flex; position:relative; overflow:hidden; }
#public-watchlists-tab .pw-upload input { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:pointer; }
#public-watchlists-tab .pw-upload:focus-within { outline:2px solid var(--sx-accent); outline-offset:3px; }
#public-watchlists-tab .pw-results:not(:empty) { position:absolute; top:calc(100% + 5px); z-index:4; background:var(--sx-surface); border:1px solid var(--fp-border); border-radius:12px; box-shadow:0 8px 24px #25301f22; width:100%; max-height:300px; overflow:auto; }
#public-watchlists-tab .pw-results button { display:block; width:100%; padding:12px 16px; border:0; background:none; text-align:left; color:var(--sx-text); cursor:pointer; }
#public-watchlists-tab .pw-results button:hover { background:var(--sx-row-hover); }
#public-watchlists-tab .pw-companies-heading { margin-bottom:4px; }
#public-watchlists-tab .pw-notes-toggle { min-height:32px; font-size:13px; color:var(--sx-muted); }
#public-watchlists-tab .pw-notes-toggle[aria-pressed=true] { text-decoration:underline; color:var(--sx-accent); }
#public-watchlists-tab .pw-companies > p { font-size:14px; margin-bottom:16px; }
#public-watchlists-tab .pw-editing .pw-table { min-width:0; border-top:1px solid var(--fp-border); }
#public-watchlists-tab .pw-editing td { padding:22px 0; }
#public-watchlists-tab .pw-edit-company { width:58%; }
#public-watchlists-tab .pw-edit-company > strong { display:block; font-size:16px; }
#public-watchlists-tab .pw-edit-company > small { display:block; color:var(--sx-muted); margin-top:5px; font-size:13px; }
#public-watchlists-tab .pw-edit-target { width:28%; }
#public-watchlists-tab .pw-edit-target label { color:var(--sx-muted); font-size:13px; }
#public-watchlists-tab .pw-input-currency { position:relative; }
#public-watchlists-tab .pw-input-currency input { margin-top:6px; padding:12px 64px 12px 16px; border-radius:10px; }
#public-watchlists-tab .pw-input-currency > span { position:absolute; right:16px; top:50%; transform:translateY(-35%); font-size:13px; color:var(--sx-muted); pointer-events:none; }
#public-watchlists-tab .pw-remove-cell { text-align:right; padding-left:22px !important; }
#public-watchlists-tab .pw-remove { color:var(--sx-neg); font-size:14px; font-weight:500; display:inline-flex; align-items:center; gap:6px; min-height:40px; white-space:nowrap; }
#public-watchlists-tab .pw-remove svg { width:16px; height:16px; }
#public-watchlists-tab .pw-note-label { display:block; font-size:13px; color:var(--sx-muted); margin-top:12px; max-width:90%; }
#public-watchlists-tab .pw-note-label textarea { min-height:64px; resize:vertical; font-size:14px; }
#public-watchlists-tab .pw-edit-metrics { display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; color:var(--sx-muted); font-size:12px; }
#public-watchlists-tab .pw-edit-footer { margin-top:20px; }
#public-watchlists-tab .pw-delete-zone { margin-top:42px; border:1px solid #edc7b8; padding:22px 26px; border-radius:20px; }
#public-watchlists-tab .pw-delete-zone h3 { font-size:16px; margin-bottom:4px; }
#public-watchlists-tab .pw-delete-zone p { font-size:14px; }
#public-watchlists-tab .pw-delete { border:1px solid var(--sx-neg); color:var(--sx-neg); border-radius:28px; min-height:44px; padding:10px 20px; background:none; font-size:14px; white-space:nowrap; }
#public-watchlists-tab :is(.pw-columns,.pw-more) { position:relative; z-index:5; }
#public-watchlists-tab :is(.pw-columns,.pw-more) summary { cursor:pointer; list-style:none; }
#public-watchlists-tab :is(.pw-columns,.pw-more) summary::-webkit-details-marker { display:none; }
#public-watchlists-tab .pw-column-options, #public-watchlists-tab .pw-more > div { position:absolute; right:0; top:calc(100% + 8px); width:260px; max-width:calc(100vw - 36px); max-height:360px; overflow-y:auto; padding:16px; border:1px solid var(--fp-border); border-radius:14px; background:var(--sx-surface); box-shadow:0 8px 24px #25301f22; }
#public-watchlists-tab .pw-column-options label { display:flex; align-items:center; gap:8px; padding:6px 0; font-size:14px; }
#public-watchlists-tab .pw-column-options input { width:auto; margin:0; accent-color:var(--sx-accent); }
#public-watchlists-tab .pw-more summary { width:48px; padding:12px 0; }
#public-watchlists-tab .pw-more > div { width:190px; }
#public-watchlists-tab .pw-more > div button { border:0; padding:6px; background:none; color:var(--sx-neg); min-height:36px; }
#public-watchlists-tab .pw-empty { text-align:center; padding:64px 24px; }
#public-watchlists-tab .pw-empty p { margin:12px 0 22px; }
#public-watchlists-tab .pw-empty a { display:block; margin-top:20px; }
#public-watchlists-tab .pw-lists { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
#public-watchlists-tab .pw-list { text-align:left; padding:24px; color:var(--sx-text); cursor:pointer; }
#public-watchlists-tab .pw-list h2 { font-size:22px; margin-bottom:12px; }
#public-watchlists-tab .pw-list span { float:right; }
#public-watchlists-tab .pw-error { color:var(--sx-neg); margin-bottom:16px; }
#public-watchlists-tab .pw-error:empty { display:none; }
#public-watchlists-tab .pw-no-entries { padding:24px; text-align:center; }
#public-watchlists-tab .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:760px) {
    #public-watchlists-tab { padding:24px 16px 48px; }
    #public-watchlists-tab :is(h1,h2) { font-size:29px; }
    #public-watchlists-tab .pw-detail-header { align-items:flex-start; flex-direction:column; gap:20px; margin-top:22px; }
    #public-watchlists-tab .pw-actions { justify-content:flex-start; gap:8px; position:relative; }
    #public-watchlists-tab :is(.pw-columns,.pw-more) { position:static; }
    #public-watchlists-tab .pw-column-options { left:0; right:auto; }
    #public-watchlists-tab .pw-actions :is(button,summary) { padding:11px 16px; min-height:44px; font-size:14px; }
    #public-watchlists-tab .pw-more summary { width:44px; padding:11px 0; }
    #public-watchlists-tab .pw-view .pw-table { min-width:0; }
    #public-watchlists-tab .pw-view thead { display:none; }
    #public-watchlists-tab .pw-view tr { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding:20px; border-bottom:1px solid var(--fp-border); position:relative; }
    #public-watchlists-tab .pw-view tr:last-child { border:0; }
    #public-watchlists-tab .pw-view td { padding:0; width:auto; min-width:0; border:0; text-align:left; }
    #public-watchlists-tab .pw-view .pw-company-cell { grid-column:1 / -1; padding-right:36px; }
    #public-watchlists-tab .pw-view .pw-detail-cell { position:absolute; right:16px; top:17px; }
    #public-watchlists-tab .pw-view td[data-label]::before { content:attr(data-label); display:block; margin-bottom:5px; font-size:12px; color:var(--sx-muted); }
    #public-watchlists-tab .pw-target-distance { white-space:normal; }
    #public-watchlists-tab .pw-view .pw-cell-notes { grid-column:1 / -1; }
    #public-watchlists-tab .pw-edit-header { align-items:flex-start; flex-direction:column; }
    #public-watchlists-tab .pw-section { padding:20px; border-radius:18px; }
    #public-watchlists-tab .pw-editing tr { display:grid; grid-template-columns:1fr auto; gap:18px; padding:22px 0; border-bottom:1px solid var(--fp-border); }
    #public-watchlists-tab .pw-editing tr:last-child { border:0; }
    #public-watchlists-tab .pw-editing td { width:auto; padding:0; border:0; }
    #public-watchlists-tab .pw-edit-company { grid-column:1 / -1; }
    #public-watchlists-tab .pw-remove-cell { align-self:end; padding-left:0 !important; }
    #public-watchlists-tab .pw-edit-target { max-width:250px; }
    #public-watchlists-tab .pw-delete-zone { flex-direction:column; align-items:flex-start; padding:20px; }
    #public-watchlists-tab .pw-import { gap:12px; }
    #public-watchlists-tab .pw-import > span { flex:1 1 100%; }
}

#home-watchlist-targets[hidden] { display: none; }
#home-watchlist-targets .wt-card { padding: 20px; }
#home-watchlist-targets .wt-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 10px; border-bottom: var(--sx-card-border); }
#home-watchlist-targets .wt-reached { background: var(--fp-selected); border-left: 3px solid var(--sx-pos); }
#home-watchlist-targets small { display: block; color: var(--sx-muted); font-size: 12px; margin-top: 8px; }
@media(max-width:700px) { #home-watchlist-targets .wt-row { flex-direction: column; gap: 6px; } }

#public-watchlists-tab .pw-target-help { display: inline-flex; position: relative; justify-content: center; align-items: center; width: 16px; height: 16px; min-height: 0; padding: 0; line-height: 1; background: transparent; color: inherit; margin-left: 6px; border: 1px solid var(--sx-muted); border-radius: 50%; cursor: help; font-size: 11px; text-transform: none; }

#public-watchlists-tab .pw-mobile-help { display:none; }
@media(max-width:700px) {
    #public-watchlists-tab .pw-cell-target_price { position:relative; }
    #public-watchlists-tab .pw-mobile-help { display:inline-flex; position:absolute; top:-4px; right:0; width:24px; height:24px; margin:0; }
}

#public-watchlists-tab .pw-alert-presets { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
#public-watchlists-tab .pw-alert-presets button { border:1px solid var(--fp-border); border-radius:24px; padding:7px 10px; background:var(--sx-surface); color:var(--sx-text); font-size:13px; }
#public-watchlists-tab .pw-edit-target select { max-width:100%; padding:8px; border:1px solid var(--fp-border); border-radius:8px; background:var(--sx-surface); color:var(--sx-text); font:inherit; font-size:13px; }
