/*@pf start style id=cortex-digest-page-css */

html body #panel-holding #hpCortex{cursor:pointer}
html body #panel-holding #hpCortex p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
#cxPage{position:fixed;inset:0;z-index:9460;display:flex;flex-direction:column;background:var(--bg);color:var(--text);transform:translateX(100%);transition:transform .28s cubic-bezier(.2,.8,.2,1);--cx-col:var(--green)}
#cxPage[hidden]{display:none}#cxPage.on{transform:none}
#cxPage .cx-top{flex:none;position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:calc(6px + env(safe-area-inset-top)) 56px 6px}
#cxPage .cx-bk{position:absolute;left:8px;bottom:2px;width:44px;height:44px;display:grid;place-items:center;border:0;background:none;color:var(--cx-col);cursor:pointer}
#cxPage .cx-bk svg{width:24px;height:24px}
#cxPage .cx-tt{display:flex;flex-direction:column;align-items:center;line-height:1.25}
#cxPage .cx-px{font-size:17px;font-weight:500}#cxPage .cx-sy{font-size:13px;color:var(--muted)}
#cxPage .cx-bd{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 24px calc(40px + env(safe-area-inset-bottom));max-width:640px;width:100%;margin:0 auto;box-sizing:border-box}
#cxPage .cx-upd{font-size:15px;color:var(--muted);margin:0 0 10px}
#cxPage .cx-hd{font-size:27px;line-height:1.25;font-weight:500;letter-spacing:-.01em;color:var(--cx-col);margin:0 0 26px}
#cxPage .cx-sec{position:relative;padding-left:16px;margin:0 0 22px}
#cxPage .cx-sec::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;background:var(--line2,var(--line))}
#cxPage .cx-sec h3{margin:0 0 8px;font-size:18px;font-weight:600;color:var(--cx-col)}
#cxPage .cx-sec p{margin:0;font-size:18px;line-height:1.5;color:var(--text)}
#cxPage .cx-empty{font-size:17px;line-height:1.5;color:var(--muted)}
#cxPage .cx-fb{display:flex;gap:10px;margin:26px 0 22px}
#cxPage .cx-fb button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:none;color:var(--text);cursor:pointer;padding:0}
#cxPage .cx-fb button svg{width:20px;height:20px}#cxPage .cx-fb button.dn svg{transform:rotate(180deg)}
#cxPage .cx-fb button.on{background:var(--text);color:var(--bg);border-color:var(--text)}
#cxPage .cx-src{border-top:1px solid var(--line);padding-top:20px}
#cxPage .cx-sh{font-size:16px;font-weight:600;color:var(--muted);margin:0 0 8px}
#cxPage .cx-row{display:flex;align-items:center;gap:14px;padding:12px 0;color:var(--text);text-decoration:none}
#cxPage .cx-ic{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:15px;font-weight:700;color:#fff}
#cxPage .cx-st{min-width:0;flex:1}
#cxPage .cx-st b{display:block;font-size:17px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cxPage .cx-st small{display:flex;align-items:center;gap:4px;margin-top:3px;font-size:14px;font-weight:600;color:var(--muted)}
#cxPage .cx-st small i{display:inline-grid;font-style:normal}#cxPage .cx-st small i svg{width:12px;height:12px}
#cxPage .cx-fine{margin:18px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}
@media (prefers-reduced-motion:reduce){#cxPage{transition:none}}

/*@pf end */
/*@pf start style id=cortex-chart-css */

#cxPage .cx-chart{margin:0 -24px 14px;height:120px}
#cxPage .cx-chart svg{width:100%;height:100%;display:block}

/*@pf end */
/*@pf start style id=cortex-chat-card-css */

html body #panel-cortex .cx-pos { margin: 22px 0 6px; }
html body #panel-cortex .cx-pos-t { font-size: 24px; font-weight: 400; letter-spacing: -.01em; color: var(--text); margin: 0 0 18px; }
html body #panel-cortex .cx-pos-g { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-bottom: 26px; }
html body #panel-cortex .cx-pos-i { min-width: 0; }
html body #panel-cortex .cx-pos-i span { display: block; font-size: 15px; color: var(--muted, var(--text2)); }
html body #panel-cortex .cx-pos-i div { margin-top: 6px; font-size: 22px; line-height: 1.2; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
html body #panel-cortex .cx-pos-l { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; font-size: 17px; }
html body #panel-cortex .cx-pos-l span { color: var(--muted, var(--text2)); }
html body #panel-cortex .cx-pos-l div { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
html body #panel-cortex .cx-pos-l b { font-weight: 700; }

/*@pf end */
/*@pf start style id=cortex-history-css */

html body #panel-cortex .cx-tools { display: flex; gap: 8px; margin: 0 0 10px; }
html body #panel-cortex .cx-tool { border: 1px solid var(--line); background: none; color: var(--text); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
html body #panel-cortex .cx-hist { border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px; margin: 0 0 12px; max-height: 260px; overflow-y: auto; }
html body #panel-cortex .cx-hr { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
html body #panel-cortex .cx-hr:first-child { border-top: 0; }
html body #panel-cortex .cx-ho { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: var(--text); padding: 10px 0; font: inherit; cursor: pointer; }
html body #panel-cortex .cx-ho.on b { color: var(--green-ink, var(--text)); }
html body #panel-cortex .cx-ho b { display: block; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body #panel-cortex .cx-ho small { font-size: 13px; color: var(--muted, var(--text2)); }
html body #panel-cortex .cx-hd { background: none; border: 0; color: var(--muted, var(--text2)); font-size: 20px; padding: 6px 8px; cursor: pointer; }
html body #panel-cortex .cx-hn { font-size: 14px; color: var(--muted, var(--text2)); margin: 10px 0; }

/*@pf end */
/*@pf start style id=cortex-build-css */

#cxPage .cx-foot { flex: none; padding: 10px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
#cxPage .cx-ask { width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
html body #panel-cortex .cx-ctx { align-self: stretch; border-left: 3px solid var(--line); padding: 6px 0 6px 12px; margin: 6px 0 12px; font-size: 14px; line-height: 1.45; color: var(--muted, var(--text2)); }
html body #panel-cortex .cx-ctx span { display: block; font-weight: 600; color: var(--text); margin-bottom: 2px; }
html body #panel-cortex .cx-chart-multi { margin: 10px 0 0; height: 120px; }
html body #panel-cortex .cx-chart-multi svg { width: 100%; height: 100%; display: block; }
html body #panel-cortex .cx-leg { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--muted, var(--text2)); }
html body #panel-cortex .cx-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
html body #panel-cortex .cx-leg b.up { color: var(--green-ink, var(--green)); }
html body #panel-cortex .cx-leg b.dn { color: var(--red-ink, var(--red)); }

/*@pf end */
/*@pf start style id=cortex-refresh-css */

html body #panel-cortex .cx-wrap { padding: 0 0 130px; max-width: 640px; }
html body #panel-cortex .cx-top { justify-content: space-between; height: 56px; padding: 0 4px; }
html body #panel-cortex .cx-x.cx-right { margin: 0; padding: 8px; color: var(--text); }
html body #panel-cortex .cx-insight { text-align: center; padding: 28px 12px 18px; }
html body #panel-cortex .cx-lbl { font-size: 15px; color: var(--muted, var(--text2)); margin-bottom: 12px; }
html body #panel-cortex .cx-h { font-size: 30px; line-height: 1.22; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
html body #panel-cortex .cx-h .up { color: var(--green-ink, var(--green)); }
html body #panel-cortex .cx-h .dn { color: var(--red-ink, var(--red)); }
html body #panel-cortex .cx-full { margin-top: 18px; border: 1px solid var(--line); background: none; color: var(--text); border-radius: 999px; padding: 10px 22px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
html body #panel-cortex .cx-chips { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 0; }
html body #panel-cortex .cx-chip { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card, transparent); color: var(--text); border-radius: 16px; padding: 16px 18px; font: inherit; font-size: 16px; cursor: pointer; }
html body #panel-cortex .cx-log { padding-top: 6px; }
html body #panel-cortex .cx-u { margin-left: auto; max-width: 82%; background: var(--card, transparent); border: 1px solid var(--line); border-radius: 18px 18px 6px 18px; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
html body #panel-cortex .cx-a { font-size: 17px; line-height: 1.55; padding: 14px 4px; }
html body #panel-cortex .cx-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(74px + env(safe-area-inset-bottom)); width: min(600px, calc(100% - 28px)); z-index: 30; }
html body #panel-cortex .cx-field { background: var(--card, #161616); border: 1px solid var(--line); border-radius: 999px; min-height: 52px; padding: 4px 6px 4px 18px; display: flex; align-items: center; gap: 6px; }
html body #panel-cortex .cx-field input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 16px; outline: none; caret-color: #8a8f98; }
html body #panel-cortex .cx-mic { background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
html body #panel-cortex .cx-send { display: none; }
html body #panel-cortex .cx-hhead { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 10px; }
html body #panel-cortex .cx-hhead span { font-size: 16px; font-weight: 600; }
html body #cxPage .cx-chart { margin: 0 -24px 14px; height: 130px; }
html body #cxPage .cx-upd { display: flex; align-items: center; gap: 6px; }
html body #cxPage .cx-hd { font-size: 28px; font-weight: 500; line-height: 1.22; }
html body #cxPage .cx-sec h3 { font-size: 19px; font-weight: 600; }
html body #cxPage .cx-sec p { font-size: 18px; line-height: 1.55; }
html body #cxPage .cx-ic { border-radius: 14px; }

/*@pf end */
/*@pf start style id=digests-match-css */

html body #panel-digests .dp-head { font-size: 26px !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: -.01em !important; margin: 0 0 26px !important; }
html body #panel-digests .dp-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 26px !important; }
html body #panel-digests .dp-tile { border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; padding: 20px 0 24px !important; gap: 8px !important; }
html body #panel-digests .dp-tile small { font-size: 17px !important; color: var(--muted) !important; font-weight: 400 !important; }
html body #panel-digests .dp-tile b { font-size: 24px !important; font-weight: 700 !important; color: var(--text) !important; letter-spacing: -.005em; }
html body #panel-digests .dp-tile span { font-size: 22px !important; font-weight: 600 !important; }
html body #panel-digests .dp-tile em { font-size: 17px !important; color: var(--muted) !important; font-style: normal; }
html body #panel-digests .dp-sh { margin: 44px 0 0 !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--line) !important; font-size: 30px !important; font-weight: 500 !important; letter-spacing: -.01em !important; color: var(--text) !important; }
html body #panel-digests .dp-row { grid-template-columns: 1fr auto auto !important; gap: 18px !important; padding: 22px 0 !important; border-bottom: 1px solid var(--line) !important; }
html body #panel-digests .dp-row b { font-size: 22px !important; font-weight: 700 !important; letter-spacing: .01em; }
html body #panel-digests .dp-row small { font-size: 17px !important; color: var(--muted) !important; margin-top: 4px !important; }
html body #panel-digests .dp-row .pc { font-size: 22px !important; font-weight: 600 !important; min-width: 0 !important; }
html body #panel-digests .dp-row .gn { font-size: 20px !important; font-weight: 400 !important; min-width: 0 !important; color: var(--muted) !important; }
html body #panel-digests .dp-row:has(.dp-bar) { padding-bottom: 20px !important; }
html body #panel-digests .dp-row > span:first-child b { font-size: 22px !important; font-weight: 500 !important; letter-spacing: 0; }
html body #panel-digests .dp-bar { height: 4px !important; margin-top: 16px !important; background: var(--line2) !important; border-radius: 4px !important; }
html body #panel-digests .dp-foot { margin: 34px 0 0 !important; padding-top: 26px; border-top: 1px solid var(--line); font-size: 17px !important; line-height: 1.6 !important; color: var(--muted) !important; }
@media (max-width: 380px) { html body #panel-digests .dp-tile b { font-size: 21px !important; } html body #panel-digests .dp-grid { gap: 0 18px !important; } }

/*@pf end */
/*@pf start style id=digests-official-css */

html body #panel-digests .st-title, html body #panel-digests h1 { font-size: 32px !important; font-weight: 500 !important; letter-spacing: -.02em !important; line-height: 1.15 !important; margin: 0 0 6px !important; color: var(--text) !important; }
html body #panel-digests .dp-period { font-size: 16px !important; color: var(--muted) !important; margin: 0 0 16px !important; }
html body #panel-digests .dg-ask { margin: 0 0 22px !important; border: 1px solid var(--line) !important; background: none !important; color: var(--text) !important; border-radius: 999px !important; padding: 8px 18px !important; font: inherit !important; font-size: 15px !important; font-weight: 500 !important; cursor: pointer; }
html body #panel-digests .dg-upd { font-size: 14px !important; color: var(--muted) !important; margin: 0 0 14px !important; }
html body #panel-digests .dp-head, html body #panel-digests .dg-hero .dp-head { font-size: 24px !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: -.01em !important; color: var(--text) !important; margin: 0 0 24px !important; }
html body #panel-digests .dg-chart { margin: 0 -20px; }
html body #panel-digests .dg-li { font-size: 14px !important; }
html body #panel-digests .dg-cards { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
html body #panel-digests .dg-card { display: grid !important; grid-template-columns: 2px minmax(0,1fr) !important; gap: 0 18px !important; }
html body #panel-digests .dg-h { font-size: 18px !important; font-weight: 600 !important; line-height: 1.3 !important; display: flex; align-items: center; gap: 6px; }
html body #panel-digests .dg-card p { font-size: 16px !important; line-height: 1.55 !important; margin: 8px 0 0 !important; }
html body #panel-digests .dg-card.up .dg-h { color: var(--green-ink) !important; }
html body #panel-digests .dg-card.dn .dg-h { color: var(--red-ink) !important; }
html body #panel-digests .dg-card .dg-rule { background: var(--line2, var(--line)) !important; }
html body #panel-digests .dg-card .dg-h svg { width: 16px; height: 16px; flex: none; }
html body #panel-digests #aiBox { margin-top: 26px; }

/*@pf end */
/*@pf start style id=digests-bento-tokens-css */


html body #panel-digests { --muted: #919FA6; }
html body #panel-digests .dg-card p { font-size: 18px !important; line-height: 1.53 !important; letter-spacing: -.25px !important; }
html body #panel-digests .dg-upd, html body #panel-digests .dg-li { font-size: 13px !important; line-height: 1.4 !important; }
html body #panel-digests .dg-cards { gap: 24px !important; margin-top: 32px !important; }
html body #panel-cortex .cx-a { font-size: 18px !important; line-height: 1.53 !important; }
html body #panel-cortex .cx-lbl, html body #panel-cortex .cx-hn { font-size: 13px !important; }

/*@pf end */
/*@pf start style id=digests-sdui-tokens-css */


html body #panel-digests .dp-head, html body #panel-digests .dg-hero .dp-head { font-size: 24px !important; font-weight: 500 !important; letter-spacing: -.1px !important; line-height: 1.35 !important; }
html body #panel-digests .dg-h { font-size: 18px !important; font-weight: 700 !important; line-height: 1.53 !important; }

/*@pf end */
/*@pf start style id=digests-dot-grid-css */


html body #panel-digests .dg-chart,
html body #panel-cortex .cx-chart,
html body #cxPage .cx-chart {
  background-image: radial-gradient(circle at 1px 1px, #30363A 1.5px, transparent 2px);
  background-size: 20px 20px;
  background-position: 0 0;
}

/*@pf end */
/*@pf start style id=simple-home-header */


html body #donutCard .rh-title { display: block !important; height: auto !important; padding: 2px 0 0; margin: 0 0 6px !important; position: relative; z-index: 20; overflow: visible; }
html body #donutCard .rh-title .rh-pick { display: inline-block !important; position: relative; }
html body #donutCard .rh-titlebtn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; font: inherit; }
html body #donutCard #rhTitleTxt { font-size: 32px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
html body #donutCard .rh-titlebtn svg { width: 22px; height: 22px; color: var(--text); }

html body #donutCard #centerVal { position: relative !important; inset: auto !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; text-align: left !important; margin: 4px 0 0 !important; padding-left: 0 !important; }

/*@pf end */
/*@pf start style id=pfs-css */

#pfSettingsPage{position:fixed;inset:0;z-index:9500;background:var(--bg);color:var(--text);overflow-y:auto;padding:calc(12px + env(safe-area-inset-top,0px)) 20px calc(32px + env(safe-area-inset-bottom,0px))}
#pfSettingsPage[hidden]{display:none}
.pfs-top{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.pfs-back{width:44px;height:44px;margin-left:-10px;border:0;background:none;color:var(--text);cursor:pointer;display:grid;place-items:center}
.pfs-back svg{width:26px;height:26px}
#pfSettingsPage h1{margin:0;font-family:"Capsule Sans Text",Inter,sans-serif;font-size:40px;font-weight:400;line-height:1.15;letter-spacing:normal;color:var(--text)}
.pfs-sec{margin:28px 0 4px;font-family:"Capsule Sans Display","Capsule Sans Text",system-ui,sans-serif;font-size:24px;font-weight:500;line-height:32px;letter-spacing:-.288px;color:var(--text)}
.pfs-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:17px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text);font-family:"Capsule Sans Text",Inter,sans-serif;font-size:17px;font-weight:500;letter-spacing:-.255px;text-align:left;cursor:pointer}
.pfs-row:disabled{cursor:default}
.pfs-row small{display:block;margin-top:4px;font-family:"Capsule Sans Text",system-ui,sans-serif;font-size:15px;font-weight:400;line-height:23px;letter-spacing:-.1px;color:rgb(138,135,131)}
.pfs-val{font-size:15px;font-weight:400;color:var(--muted)}
.pfs-tick{color:var(--green);font-weight:700;font-size:18px}
.pfs-seg{display:inline-flex;gap:4px;padding:3px;border-radius:999px;background:var(--pill)}
.pfs-seg button{border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:15px;font-weight:500;padding:6px 14px;cursor:pointer}
.pfs-seg button.on{background:var(--text);color:var(--bg)}

/*@pf end */
