/* Shared finishing layer: deliberate control states, readable surfaces and tidy records. */
html[data-sidaps-theme] body :is(button,.btn,.button,summary){-webkit-tap-highlight-color:transparent}
html[data-sidaps-theme] body :is(.btn,.button){font-weight:550!important;letter-spacing:0;transition:background-color .15s,border-color .15s,box-shadow .15s;white-space:normal}
html[data-sidaps-theme] body :is(.btn,.button):disabled{opacity:.5;cursor:not-allowed;box-shadow:none!important}
html[data-sidaps-theme] body :is(.btn,.button):active:not(:disabled){filter:brightness(.95);transform:translateY(1px)!important}
html[data-sidaps-theme] body :is(.btn.danger,.btn.red){background:color-mix(in srgb,#cc586e 12%,var(--sp-surface))!important;border:1px solid color-mix(in srgb,#cc586e 35%,var(--sp-border))!important;color:var(--red,#bf4059)!important;box-shadow:none!important}
html[data-sidaps-theme=dark] body :is(.btn.danger,.btn.red){color:#ffc2cd!important}
html[data-sidaps-theme] body .polished-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;padding:0!important;border:0!important;margin:0!important;clip-path:inset(50%);overflow:hidden;opacity:0;pointer-events:none}
.sidaps-select{position:relative;min-width:0;width:100%}.sidaps-segmented{position:relative;display:inline-flex;align-items:stretch;gap:3px;padding:4px;border:1px solid var(--sp-border);border-radius:12px;background:var(--sp-bg);min-width:0}
html[data-sidaps-theme] body .sidaps-segmented button{border:1px solid transparent;border-radius:8px;background:transparent;color:var(--sp-muted);font-size:13px!important;font-weight:500;padding:8px 13px;min-height:36px;cursor:pointer;white-space:nowrap;box-shadow:none!important}
html[data-sidaps-theme] body .sidaps-segmented button[aria-pressed=true]{background:var(--sp-raised);color:var(--sp-text);border-color:var(--sp-border);box-shadow:0 2px 5px #0001!important}
html[data-sidaps-theme] body .insight-heading .sidaps-segmented button[aria-pressed=true]{color:var(--gold);border-color:color-mix(in srgb,var(--gold) 40%,var(--sp-border))}
.field>.sidaps-segmented{display:flex;width:100%;box-sizing:border-box}.field>.sidaps-segmented button{flex:1}
html[data-sidaps-theme] body .select-trigger{position:relative;display:block;text-align:left;width:100%;min-height:46px;padding:10px 40px 10px 13px;border:1px solid var(--sp-border);border-radius:11px;background:var(--sp-surface);color:var(--sp-text);font:inherit;font-size:14px;line-height:1.5;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}
.select-trigger:after{content:'';position:absolute;right:16px;top:calc(50% - 4px);width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.7}
.select-trigger[aria-expanded=true]{border-color:var(--accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)!important}.select-trigger.is-placeholder{color:var(--sp-muted)!important}.select-trigger:disabled{opacity:.5;cursor:not-allowed}
html[data-sidaps-theme] body .sidaps-select-menu{position:fixed;inset:auto;margin:0;padding:7px;border:1px solid var(--sp-border);border-radius:14px;background:var(--sp-surface);color:var(--sp-text);box-shadow:0 18px 50px #0004;box-sizing:border-box;overflow:hidden;max-width:calc(100vw - 24px);z-index:1000}
.sidaps-select-menu:popover-open{display:flex;flex-direction:column}.sidaps-select-menu input[hidden]{display:none!important}.sidaps-select-menu input{flex-shrink:0;min-height:42px!important;margin:0 0 6px;font-size:16px!important}.select-options{overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:var(--sp-muted) transparent;outline:none}
.select-option{position:relative;min-height:42px;padding:10px 34px 10px 11px;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.5;box-sizing:border-box;cursor:pointer;overflow-wrap:anywhere}
.select-option:hover,.select-option.is-active{background:var(--sp-raised);border-color:var(--sp-border)}.select-option[aria-selected=true]{color:var(--accent);font-weight:600}.select-option[aria-selected=true]:after{content:'✓';position:absolute;right:11px;top:10px}.select-option[aria-disabled=true]{opacity:.45;cursor:not-allowed}.select-group-label{padding:12px 10px 5px;font-size:11px;color:var(--gold);font-weight:600}.select-empty{padding:12px;color:var(--sp-muted)}
html[data-sidaps-theme] body .idx-market-summary{background:var(--sp-raised)!important;border:1px solid var(--sp-border)!important;color:var(--sp-muted)!important;border-radius:10px;padding:9px 12px}
html[data-sidaps-theme] body .asset .tag{background:var(--sp-raised)!important;color:var(--sp-muted)!important;border:1px solid var(--sp-border)!important;border-radius:7px!important;font-weight:500;letter-spacing:0;text-transform:none}
html[data-sidaps-theme] body .asset .tag.live{color:var(--accent)!important}
html[data-sidaps-theme] body .tablewrap{border:1px solid var(--sp-border)!important;box-shadow:none!important;border-radius:14px!important}
html[data-sidaps-theme] body .tablewrap th{background:var(--sp-raised)!important;color:var(--sp-muted)!important;border-bottom:1px solid var(--sp-border)!important;font-weight:550;font-size:12px!important;padding:12px!important;text-transform:none}
html[data-sidaps-theme] body .tablewrap td{padding:11px 12px;border-color:var(--sp-border)!important;vertical-align:middle}
html[data-sidaps-theme] body .tablewrap tbody tr{background:var(--sp-surface)!important}
html[data-sidaps-theme] body .tablewrap tbody tr:hover{background:var(--sp-raised)!important}
html[data-sidaps-theme] body .tablewrap .pill{display:inline-flex;align-items:center;justify-content:center;font-weight:500;letter-spacing:0;border-radius:6px;padding:4px 8px;line-height:1.35;font-size:11px!important;min-width:50px}
html[data-sidaps-theme] body .tablewrap :is(.in,.pill.in){background:color-mix(in srgb,#0ba975 14%,var(--sp-surface))!important;color:var(--accent)!important}
html[data-sidaps-theme=dark] body .tablewrap :is(.out,.pill.out){background:#512c35!important;color:#ffbecb!important}
@media(min-width:761px){.phone-table[data-phone-kind=transactions] :is(th,td):nth-child(4),.phone-table[data-phone-kind=portfolio] :is(th,td):nth-child(n+2):nth-child(-n+5){text-align:right!important;white-space:nowrap}.phone-table[data-phone-kind=transactions] :is(th,td):last-child{text-align:center}.phone-table[data-phone-kind=transactions] td:nth-child(3){min-width:180px;max-width:330px;overflow-wrap:anywhere}.phone-table[data-phone-kind=transactions] td:first-child{white-space:nowrap}.tablewrap .btn{min-height:36px!important;padding:7px 11px!important;font-size:12px!important}}
@media(max-width:760px){html[data-sidaps-theme] body .phone-table tbody td{padding:0!important}.insight-heading{flex-wrap:wrap;align-items:center;gap:10px}.insight-heading .sidaps-segmented{margin-left:auto}.insight-heading .sidaps-segmented button{font-size:12px!important;padding:7px 10px;min-height:34px}.sidaps-select-menu .select-option{min-height:44px}html[data-sidaps-theme] body .tablewrap:has(.phone-table){padding:10px!important}}
/* Landing stays light; the public market card always keeps its own dark palette. */
html[data-sidaps-theme] body.landing-page .market-watch{color:#eef9f2!important;--sp-text:#eef9f2;--sp-muted:#b9cec0;--sp-surface:#10251a;--sp-raised:#1b3828;--sp-border:#365443;--accent:#2ce3a7}
html[data-sidaps-theme] body.landing-page .market-watch .watch-heading h2{color:#f2faf5!important;-webkit-text-fill-color:#f2faf5;font-size:clamp(23px,2vw,29px)!important;line-height:1.25!important;margin:14px 0 10px!important}
html[data-sidaps-theme] body.landing-page .market-watch :is(.watch-heading p,.watch-name,.watch-note,.watch-period,.watch-no-chart,.watch-search-label,.watch-attribution,.watch-page span){color:#b9cec0!important}
html[data-sidaps-theme] body.landing-page .market-watch .watch-symbol{color:#eff9f3!important}.landing-page .market-watch .watch-tabs{display:flex;gap:4px;background:#06150e55;border:1px solid #365443!important;padding:4px;border-radius:11px;margin-top:16px}
html[data-sidaps-theme] body.landing-page .market-watch .watch-tabs button{flex:1;border:1px solid transparent!important;min-height:40px;font-size:12px!important;padding:8px;border-radius:8px;color:#c4d9cc!important;white-space:nowrap}
html[data-sidaps-theme] body.landing-page .market-watch .watch-tabs button[aria-pressed=true]{background:#214d36!important;border-color:#4e8566!important;color:#effff5!important;box-shadow:0 2px 4px #0002!important}
html[data-sidaps-theme] body.landing-page .faq-list{display:grid;gap:12px;align-content:start}
html[data-sidaps-theme] body.landing-page .faq-list details{margin:0!important;border:1px solid var(--sp-border)!important;border-radius:14px!important;box-shadow:none!important;overflow:hidden}
html[data-sidaps-theme] body.landing-page .faq-list summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;min-height:62px;padding:17px 20px!important;color:#183b2b!important;font-size:14px!important;font-weight:550!important;line-height:1.55;cursor:pointer;background:#ffffffb0}
.landing-page .faq-list summary::-webkit-details-marker{display:none}.landing-page .faq-list summary:after{content:'+';position:static;display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#e6f1ea;color:#2c7350;font-size:20px;font-weight:400}.landing-page .faq-list details[open] summary:after{content:'−'}
html[data-sidaps-theme] body.landing-page .faq-list details[open]{border-color:#89b39b!important}.landing-page .faq-list details p{padding:0 20px 18px!important;margin:0!important;font-size:13px!important;color:#526b5e!important;background:#ffffffb0}
@media(max-width:430px){html[data-sidaps-theme] body.landing-page .market-watch{padding:18px!important}.landing-page .market-watch .watch-tabs button{font-size:11px!important;padding:7px 5px!important}.landing-page .faq-list{gap:10px!important}html[data-sidaps-theme] body.landing-page .faq-list summary{padding:14px!important;font-size:13px!important;min-height:60px}.landing-page .faq-list details p{padding:0 14px 16px!important}}
