/* OneBlock 402px design coordinates. Same hosted fonts and tokens as the app. */
/* Keep the navigation underneath while quant pages slide over it. */
.phone.quant-open .tabbar{z-index:30;pointer-events:none}
.phone.quant-open .bottom-fade{z-index:25}
.phone.quant-open>.home-indicator{display:none!important}
.quant-theme{color:var(--ink);font:400 13px/1.65 "PingFang Local",sans-serif;}
.quant-theme *{box-sizing:border-box}
.quant-theme button,.quant-theme input,.quant-theme select,.quant-theme textarea{font-family:"PingFang Local",sans-serif;color:var(--ink)}
.quant-theme button{cursor:pointer}
.quant-theme svg,.formal-uno-overview svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.quant-theme .feature-nav{border-bottom-width:2px}
.quant-theme .feature-nav h1{left:72px;top:8px;max-width:210px;overflow:hidden;white-space:nowrap;font:500 22px/26px "Glow Sans SC Extended",sans-serif;}
.quant-back{position:absolute;left:16px;top:0;width:44px;height:43px;display:grid;place-items:center;border:0;border-inline:1px solid #CCCCCC;background:transparent;padding:0}
.quant-back svg{width:24px;height:24px}
.quant-header-conditions{position:absolute;right:16px;top:0;width:74px;height:43px;padding:0;background:var(--white);border:0;border-left:1px solid var(--tab-header-line);font-size:13px}
.quant-theme .feature-scroller{bottom:0;overflow-anchor:none}
.quant-body{padding:18px 16px 48px;min-height:100%}
.quant-theme .q-top{margin:0 0 22px;padding:0 12px;font-size:13px;gap:2px}
.quant-theme .q-top small{font-size:10px;color:#999}
.quant-theme .q-tag,.quant-theme .q-source{border:1px solid var(--ink);background:var(--paper);color:var(--ink);border-radius:4px;font:400 10px/16px "PingFang Local",sans-serif;padding:2px 8px;max-width:100%}
.quant-theme .q-hero{padding:8px 12px 12px}
.quant-theme .q-hero h2,.quant-theme .q-title{font:700 22px/1.45 "Glow Sans SC Extended",sans-serif;margin:12px 0 16px;color:var(--ink)}
.quant-theme .q-title{padding:0 12px}
.quant-theme .q-hero p,.quant-theme .q-card p{font:400 13px/22px "PingFang Local",sans-serif;color:var(--ink);margin:12px 0}
.quant-theme .q-card{border:1px solid var(--ink);border-radius:8px;box-shadow:1px 1px 0 var(--ink);background:var(--white);padding:18px;margin:16px 0;overflow-wrap:anywhere}
.quant-theme .q-card h3{font:500 17px/24px "Glow Sans SC Extended",sans-serif;margin:0 0 14px;color:var(--ink)}
.quant-theme .q-card h3:not(:first-child){margin-top:24px}
.quant-theme .q-card h2{font:700 22px/28px "Glow Sans SC Extended",sans-serif}
.quant-theme .q-note,.quant-theme .q-card small{font:300 10px/17px "PingFang Local",sans-serif;color:#888}
.quant-theme .q-note{margin:12px 0}
.quant-theme .q-steps{gap:6px;margin:20px 0}
.quant-theme .q-steps span{background:var(--paper);border:1px solid var(--ink);border-radius:4px;color:var(--ink);font-size:10px}
.quant-theme .primary,.quant-theme .secondary,.quant-theme .q-entry{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid var(--ink);border-radius:7px;box-shadow:1px 1px 0 var(--ink);background:var(--white);font:400 13px/20px "PingFang Local",sans-serif;color:var(--ink);text-align:center}
.quant-theme .primary{min-height:50px;border:1.5px solid var(--ink);border-radius:50px;background:var(--blue);color:var(--white);font:500 17px/24px "Glow Sans SC Extended",sans-serif}
.quant-theme .full{width:100%;margin-top:12px}
.quant-theme .q-entry{justify-content:space-between;width:100%;padding:16px 18px;margin:14px 0;border-radius:8px;font-size:13px}
.quant-theme .textbutton{background:none;border:0;padding:6px 0;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.quant-theme .q-row{padding:14px 0;border-bottom:1px solid var(--ink);gap:12px;line-height:20px;font-size:13px;align-items:center}
.quant-theme .q-row:last-child{border-bottom:0}
.quant-theme .q-row>strong{font:700 13px/20px "Flynn Mono VF","PingFang Local",sans-serif;white-space:normal;min-width:85px;overflow-wrap:anywhere}
.quant-theme .q-row>span{flex:1;min-width:0}
.quant-theme .q-metrics{gap:16px 12px}
.quant-theme .q-metrics strong{font:700 20px/26px "Flynn Mono VF","PingFang Local",sans-serif;overflow-wrap:anywhere}
.quant-theme .q-metrics small{display:block;min-height:17px}
.quant-theme .q-card label{font-size:13px;margin:18px 0 8px}
.quant-theme .ql-input,.quant-theme .q-card select,.quant-theme .q-card textarea{width:100%;padding:12px 36px 12px 12px;min-height:44px;border:1px solid var(--ink);border-radius:5px;background:var(--paper);font:400 13px/20px "PingFang Local",sans-serif}
.quant-theme .q-card select{appearance:none;background-image:url("../assets/purchase-menu-indicator.svg");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;}
.quant-theme .q-card input:not([type=checkbox]){padding-right:12px}
.quant-theme input[type=checkbox]{accent-color:var(--blue)}
.quant-theme .q-tabs{padding:0;gap:8px;background:transparent;border-radius:0;margin:20px 0}
.quant-theme .q-tabs button{flex:1;min-height:32px;padding:5px 3px;border:1px solid var(--ink);border-radius:50px;color:var(--ink);background:var(--white);font-size:13px}
.quant-theme .q-tabs .selected{background:var(--blue);box-shadow:1px 1px 0 var(--ink);color:var(--white);font-weight:500}
.quant-theme .q-bubble,.quant-theme .q-context{border:1px solid var(--ink);background:var(--paper);border-radius:8px;box-shadow:1px 1px 0 var(--ink)}
.quant-theme .qm-check{font-size:13px;line-height:22px}
.quant-theme .qm-actions{gap:10px;margin-top:12px}
.quant-theme .q-error{background:#ffde0030;color:var(--ink);border:1px solid var(--ink);border-radius:6px;font-size:13px}
.quant-theme .ql-order-success{padding:26px 10px 18px}
.quant-theme .ql-order-success>span{width:64px;height:64px;border:1px solid var(--ink);background:var(--blue);box-shadow:1px 1px 0 var(--ink)}
.quant-theme .ql-order-success h2{font:700 24px/32px "Glow Sans SC Extended",sans-serif;margin:16px 0}
.quant-theme .ql-student-basis summary h3{white-space:normal;padding-right:16px;font-size:15px;line-height:22px;margin-bottom:8px}
.quant-theme .ql-student-basis summary .q-note{font-size:11px;line-height:18px;padding-right:12px}
.quant-theme .ql-student-chevron{right:-5px;top:2px;width:16px;height:16px}
.quant-theme .pf-compare-head,.quant-theme .pf-compare-row,.quant-theme .pf-execution-link{border-color:var(--ink)}
.quant-theme .pf-compare-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);font-size:12px;line-height:20px}
.quant-theme .pf-compare-row strong{font:700 11px/20px "Flynn Mono VF",sans-serif}
.quant-theme .pf-execution-link{border:0;border-bottom:1px solid var(--ink);background:transparent;border-radius:0;box-shadow:none;font-size:13px}
.quant-theme button:active:not(:disabled){transform:translate(1px,1px);box-shadow:none}
.quant-theme button:focus-visible,.formal-uno-overview button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.quant-theme button:disabled{cursor:wait;opacity:.55}
/* Only relocate original cards; keep original market/news carousels, editorial
   inline expansion, typography, borders and entrance animations. */
.uno-view.has-quant-overview .uno-canvas{height:calc(1035px + var(--uno-after-editorial-shift))}
.uno-view.has-quant-overview :is(.uno-board-image,.uno-inline-lower-cover,.uno-inline-lower-board,.uno-copy-cover,.uno-card-cover,.uno-section-copy-tracking,.uno-followed-funds,.uno-static-card-holding,.uno-card-shell-funds,.uno-card-shell-holding){display:none!important}
.uno-view.has-quant-overview :is(.uno-market-viewport,.uno-card-shell-market){top:308px}
.uno-view.has-quant-overview :is(.uno-static-card-today,.uno-card-shell-today){top:429px}
.uno-view.has-quant-overview :is(.uno-static-card-learn,.uno-card-shell-learn){top:calc(563px + var(--uno-after-market-shift))}
.uno-view.has-quant-overview :is(.uno-news-viewport,.uno-card-shell-news){top:calc(723px + var(--uno-after-editorial-shift))}
.fq-entry{position:absolute;z-index:3;left:16px;top:124px;display:flex;align-items:center;gap:13px;width:370px;height:118px;padding:18px 16px;background:var(--white);border:1px solid var(--ink);border-radius:8px;box-shadow:1px 1px 0 var(--ink);text-align:left;color:var(--ink);cursor:pointer}
.fq-mark{display:grid;place-items:center;flex:0 0 46px;height:46px;border:1px solid var(--ink);border-radius:8px;background:var(--blue);box-shadow:1px 1px 0 var(--ink)}
.fq-mark img{width:29px;height:29px;object-fit:contain}
.fq-entry-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:6px}
.fq-entry-copy strong{font:700 17px/24px "Glow Sans SC Extended",sans-serif}
.fq-entry-copy small{font:300 11px/18px "PingFang Local",sans-serif}
.fq-entry-copy>span{font:400 13px/20px "PingFang Local",sans-serif;margin-top:4px}
.fq-entry>svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.fq-section-heading{position:absolute;left:28px;top:269px;width:346px;display:flex;justify-content:space-between;align-items:center}
.fq-section-heading h2{font:500 17px/24px "Glow Sans SC Extended",sans-serif;margin:0;color:var(--ink)}
.fq-section-heading>span{font:300 10px/18px "PingFang Local",sans-serif;color:#999}
.fq-entry:active{transform:translate(1px,1px);box-shadow:none}
.fq-entry:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* Original uno preparation prompt, moved together with the cards below it. */
.uno-view.has-quant-overview .uno-section-mark{top:264px}
.uno-view.has-quant-overview .uno-section-copy-today-prep{top:264px}
.uno-view.has-quant-overview .uno-section-copy-today-main{top:282px}
.uno-view.has-quant-overview.is-card-entering .uno-section-mark{animation:uno-section-copy-reveal 620ms cubic-bezier(.16,1,.3,1) 1000ms both}
.fq-entry-shell{left:16px;top:124px}
.uno-view.has-quant-overview.is-card-entering .fq-entry{animation:uno-static-card-swap 1ms linear calc(var(--card-delay) + 640ms) both}
.uno-view.has-quant-overview.is-card-entering .fq-entry>:is(.fq-mark,svg),.uno-view.has-quant-overview.is-card-entering .fq-entry-copy>strong{animation:uno-main-card-copy 520ms linear 650ms both}


@media(prefers-reduced-motion:reduce){.uno-view.has-quant-overview.is-card-entering :is(.fq-entry,.fq-entry *,.uno-section-mark){animation:none!important}}

.uno-view.has-quant-overview .uno-section-copy-today-main.fq-prompt-copy{background:none;font:400 13px/22px "PingFang Local",sans-serif;color:var(--ink);white-space:nowrap}

/* User Figma revision: 621:26087, 624:29554, 624:31069. */
.uno-view.has-quant-overview .uno-canvas{height:calc(1001px + var(--uno-after-editorial-shift))}
.uno-view.has-quant-overview :is(.uno-market-viewport,.uno-card-shell-market){top:274px}
.uno-view.has-quant-overview :is(.uno-static-card-today,.uno-card-shell-today){top:395px}
.uno-view.has-quant-overview :is(.uno-static-card-learn,.uno-card-shell-learn){top:calc(529px + var(--uno-after-market-shift))}
.uno-view.has-quant-overview :is(.uno-news-viewport,.uno-card-shell-news){top:calc(689px + var(--uno-after-editorial-shift))}
.uno-view.has-quant-overview .uno-section-mark{top:230px}
.uno-view.has-quant-overview .uno-section-copy-today-prep{top:230px}
.uno-view.has-quant-overview .uno-section-copy-today-main{top:248px}
.fq-entry,.fq-entry-shell{top:118px;height:100px}
.fq-entry{color:var(--white);border-color:var(--white);background-color:var(--ink);background-image:linear-gradient(to right,#ffffff20 1px,transparent 1px),linear-gradient(to bottom,#ffffff20 1px,transparent 1px);background-size:18.591px 18.591px;background-position:-.272px -5.046px;padding:12px 16px;gap:16px;overflow:hidden}
.fq-mark{position:relative;flex:0 0 42px;height:42px;background:none;border:0;box-shadow:none;border-radius:0}
.fq-mark img{width:42px;height:42px;object-fit:contain}
.fq-entry-copy{align-self:stretch;gap:5px}
.fq-entry-copy strong{font-size:17px;line-height:24px;color:var(--white)}
.fq-entry-copy small{font-weight:400;font-size:11px;line-height:18px;white-space:nowrap;letter-spacing:-.25px;color:var(--white)}
.fq-entry-copy>span{font-weight:600;font-size:13px;line-height:18px;margin-top:0;color:var(--white)}
.fq-entry>svg{position:absolute;right:12px;top:38px;width:24px;height:24px;stroke:var(--white)}
.fq-entry-shell{background:var(--ink);border-color:var(--white)}
.quant-theme :is(.quant-back,.quant-records){display:grid;place-items:center}
.quant-theme .quant-back img{width:24px;height:24px;transform:rotate(90deg)}
.quant-records{position:absolute;right:16px;top:0;width:44px;height:43px;padding:0;background:transparent;border:0;border-left:1px solid #999}
.quant-records img{display:block}
.quant-theme[data-quant-page="quant-home"] .feature-nav h1,.quant-theme[data-quant-page="conditions"] .feature-nav h1{left:69px;top:7px;font:500 22px/28px "Glow Sans SC Extended",sans-serif;max-width:268px}
.quant-theme[data-quant-page="quant-home"] .quant-body{padding:0 16px 48px}
.quant-theme[data-quant-page="quant-home"] .q-hero{padding:0;margin:0}
.quant-theme[data-quant-page="quant-home"] .q-hero h2{font:700 22px/32px "Glow Sans SC Extended",sans-serif;margin:0;padding-top:11px}
.quant-theme[data-quant-page="quant-home"] .q-hero p{font:400 13px/22px "PingFang Local",sans-serif;margin:0;padding:4px 0 12px}
.quant-theme[data-quant-page="quant-home"] .q-start-card{padding:12px;margin:0 0 12px}
.quant-theme[data-quant-page="quant-home"] .q-start-card h3{font-weight:700;margin:0}
.quant-theme[data-quant-page="quant-home"] .q-start-card p{margin:0;padding-top:4px}
.quant-theme[data-quant-page="quant-home"] .q-start-card .primary{border-radius:6px;margin-top:12px}
.quant-theme[data-quant-page="quant-home"] .q-options .q-entry{height:54px;margin:0 0 12px;padding:16px 18px}
.quant-theme[data-quant-page="quant-home"] .q-options img{display:block}
.quant-theme[data-quant-page="quant-home"] .q-options+.secondary{margin-top:0}
.quant-theme[data-quant-page="conditions"] .quant-body{padding:0 16px 140px}
.quant-theme .q-condition-title{font:700 22px/32px "Glow Sans SC Extended",sans-serif;padding:11px 0 4px;margin:0}
.quant-theme .q-condition-title>span{font-family:"Flynn Mono VF",sans-serif}
.quant-theme .q-condition-card{padding:12px;margin:0}
.quant-theme .q-condition-card h3{font-weight:700;margin:0}
.quant-theme .q-condition-card label{display:block;font:400 13px/22px "PingFang Local",sans-serif;margin:12px 0 0}
.quant-theme .q-condition-card .ql-input{display:block;height:44px;padding:11px 12px;min-height:44px;font:700 13px/20px "Flynn Mono VF","PingFang Local",sans-serif;background-color:#f6efea}
.quant-theme .q-condition-card select.ql-input{padding-right:38px;background-image:none}
.quant-theme .q-condition-card input[type=number]{appearance:textfield;-moz-appearance:textfield}
.quant-theme .q-condition-card input[type=number]::-webkit-inner-spin-button,.quant-theme .q-condition-card input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.quant-theme .q-condition-card p{margin:0;padding:12px 0;font:400 13px/22px "PingFang Local",sans-serif}
.quant-condition-footer{position:absolute;z-index:14;inset:auto 0 0;height:150px;padding:66px 16px 34px;background:linear-gradient(180deg,transparent 0%,#0008 75%);pointer-events:none}
.quant-condition-footer .primary{width:370px;height:50px;padding:10px 0;border:2px solid var(--ink);border-radius:53px;font:500 22px/26px "PingFang Local",sans-serif;letter-spacing:4.4px;white-space:nowrap;pointer-events:auto}

.quant-month-picker{position:relative}
.quant-month-picker>img{position:absolute;right:10px;top:10px;pointer-events:none}
.quant-theme .q-condition-card :is(.ql-input,.quant-month-picker){width:332px;max-width:100%}
.quant-theme .q-condition-card p{max-width:332px}

/* Shared quant screens follow the revised Figma typography and controls. */
.fq-mark img{transform:scaleX(-1)}
.quant-theme .quant-header-conditions{right:16px;top:0;width:44px;height:43px;display:grid;place-items:center;border:0;border-left:1px solid var(--tab-header-line);padding:0;background:transparent;box-shadow:none;border-radius:0}
.quant-theme .quant-header-conditions img{display:block}
.quant-theme .feature-nav h1{left:69px;top:7px;max-width:268px;font:500 22px/28px "Glow Sans SC Extended",sans-serif}
.quant-theme .quant-body{padding:11px 16px 60px}
.quant-theme .q-title{padding:0;margin:12px 0;font:700 22px/32px "Glow Sans SC Extended",sans-serif}
.quant-theme .q-card{padding:12px;margin:12px 0;border:1px solid var(--ink);border-radius:8px;box-shadow:1px 1px 0 var(--ink);background:var(--white)}
.quant-theme .q-card h3{font:700 17px/24px "Glow Sans SC Extended",sans-serif;margin:0 0 4px}
.quant-theme .q-card h3:not(:first-child){margin-top:20px}
.quant-theme .q-card h2{font:700 22px/32px "Glow Sans SC Extended",sans-serif}
.quant-theme p,.quant-theme .q-card p{font:400 13px/22px "PingFang Local",sans-serif}
.quant-theme .q-note,.quant-theme .q-card small{font:400 11px/18px "PingFang Local",sans-serif;color:#888}
.quant-theme .q-tag,.quant-theme .q-source{font:400 11px/18px "PingFang Local",sans-serif}
.quant-theme .q-row{font:400 13px/22px "PingFang Local",sans-serif;padding:12px 0}
.quant-theme .q-row>strong{font:700 13px/20px "Flynn Mono VF","PingFang Local",sans-serif}
.quant-theme .q-metrics strong{font:700 20px/26px "Flynn Mono VF","PingFang Local",sans-serif}
.quant-theme .q-card label{font:400 13px/22px "PingFang Local",sans-serif;margin:12px 0 0}
.quant-theme .ql-input,.quant-theme .q-card select,.quant-theme .q-card textarea{font:400 13px/20px "PingFang Local",sans-serif;border:1px solid var(--ink);border-radius:5px;background-color:#f6efea;min-height:44px}
.quant-theme input.ql-input[type=number],.quant-theme input.ql-input[type=date]{font-family:"Flynn Mono VF","PingFang Local",sans-serif;font-weight:700}
.quant-theme input[type=number]{appearance:textfield;-moz-appearance:textfield}
.quant-theme input[type=number]::-webkit-inner-spin-button,.quant-theme input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.quant-theme .primary{border:1.5px solid var(--ink);border-radius:6px;min-height:50px;font:500 17px/24px "Glow Sans SC Extended",sans-serif;box-shadow:1px 1px 0 var(--ink)}
.quant-theme .secondary{border:1px solid var(--ink);border-radius:7px;min-height:42px;font:400 13px/20px "PingFang Local",sans-serif}
.quant-theme .q-tabs button{font:400 13px/20px "PingFang Local",sans-serif;min-height:32px}
.quant-theme .q-tabs button.selected{font-weight:500}
.quant-theme .ql-order-success h2{font:700 22px/32px "Glow Sans SC Extended",sans-serif}
.quant-theme .ql-student-basis summary h3{font:700 17px/24px "Glow Sans SC Extended",sans-serif}
.quant-theme .ql-student-basis summary .q-note{font:400 11px/18px "PingFang Local",sans-serif}
.quant-theme .pf-compare-head,.quant-theme .pf-compare-row,.quant-theme .pf-execution-link{font-family:"PingFang Local",sans-serif;font-size:13px;line-height:22px}
.quant-theme .pf-compare-row strong{font:700 11px/20px "Flynn Mono VF",sans-serif}
.quant-theme .quant-condition-footer .primary{border:2px solid var(--ink);border-radius:53px;font:500 22px/26px "PingFang Local",sans-serif;letter-spacing:4.4px}
.quant-theme .q-condition-title{padding:11px 0 4px;margin:0}
.quant-theme .q-condition-card{margin:0}
.quant-theme .q-condition-card .ql-input{font:700 13px/20px "Flynn Mono VF","PingFang Local",sans-serif}

/* Workflow title and clear primary/secondary information hierarchy. */
.quant-theme[data-quant-page="plan"] .quant-body{padding-top:0}
.quant-theme .q-stage-title{padding:11px 0 4px;margin:0;font:700 22px/32px "Glow Sans SC Extended",sans-serif}
.quant-theme .q-stage-title>span{font-family:"Flynn Mono VF",sans-serif}
.quant-theme[data-quant-page="plan"] .q-tabs{margin:16px 0}
.quant-theme .q-card h3,.quant-theme .q-card h2{color:#383838;font-weight:700}
.quant-theme .q-row>span{color:#383838;font-weight:500}
.quant-theme .q-row>strong{color:#383838;font-weight:700}
.quant-theme .q-row :is(small,.q-note),.quant-theme .q-card small{font:400 11px/18px "PingFang Local",sans-serif;color:#777}
.quant-theme .q-note{color:#777;font-weight:400}
.quant-theme .q-card p{color:#4e4e4e}
.quant-theme .q-card label{color:#383838;font-weight:500}
.quant-theme .q-tabs button{color:#383838;font-weight:500}
.quant-theme .q-tabs button.selected{color:var(--white)}
.quant-theme .pf-compare-head{color:#383838;font-weight:500}
.quant-theme .pf-compare-row>span,.quant-theme .pf-execution-link>span{color:#383838;font-weight:500}
.quant-theme .pf-execution-link small{color:#777;font-weight:400}

.quant-theme .q-management-badge{background:var(--yellow);color:var(--ink)}
.quant-theme .quant-body :is(.primary,.secondary,.q-entry):not(.q-card *){border-radius:999px}

/* The app's original printed receipt, with a variable-length mixed-asset list. */
.quant-theme[data-quant-page="order-result"] .quant-body{padding-top:0}
.quant-receipt{position:relative;width:370px;padding:78px 11px 0;margin-bottom:24px}
.quant-receipt .ticket-machine{left:-13px;top:14px;animation:ticket-machine-drop 360ms cubic-bezier(.22,1,.36,1) forwards}
.quant-receipt .ticket-slot{left:0;top:73px;animation:ticket-machine-drop 360ms cubic-bezier(.22,1,.36,1) forwards}
.quant-receipt .ticket-output{position:relative;left:0;top:0;width:348px;height:auto;min-height:675px;overflow:hidden;pointer-events:auto}
.quant-receipt .quant-purchase-ticket{position:relative;left:0;top:0;width:348px;height:auto;min-height:675px;padding:0;animation:quant-ticket-print 1050ms cubic-bezier(.16,.78,.22,1) 280ms both}
.quant-receipt .quant-purchase-ticket::before{inset:0 0 22px;background:var(--white);clip-path:none;border-inline:1px solid var(--ink)}
.quant-receipt .ticket-paper-art{inset:auto 0 0;position:absolute;width:348px;height:675px;z-index:0}
.quant-ticket-content{position:relative;z-index:1;padding:10px 25px 70px;min-height:675px}
.quant-ticket-content>header{position:relative;display:flex;justify-content:space-between;align-items:flex-start;font:400 13px/18px "PingFang Local",sans-serif;color:#666}
.quant-ticket-content .ticket-brand{position:relative;left:auto;top:auto;width:143px;height:67px;margin:10px auto 32px}
.quant-ticket-content .ticket-brand::after{left:-77px;top:87px}
.quant-ticket-content h2{position:relative;left:auto;top:auto;max-width:298px;margin:0 0 12px;font:700 22px/28px "Glow Sans SC Extended",sans-serif}
.quant-ticket-content .ticket-success{position:relative;left:auto;top:auto;margin:0 0 18px;display:flex;align-items:center;gap:6px;font:400 17px/24px "PingFang Local",sans-serif}
.quant-ticket-content .ticket-line{position:relative;left:auto;top:auto;width:298px;height:auto;min-height:38px;margin:0;align-items:center;padding:0 0 10px;gap:16px;font:400 17px/24px "PingFang Local",sans-serif}
.quant-ticket-content .ticket-line::after{display:none}
.quant-ticket-content .ticket-line b{font:700 17px/24px "Flynn Mono VF","PingFang Local",sans-serif;white-space:nowrap;padding-left:4px}
.quant-ticket-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px dashed #777}
.quant-ticket-item>div{flex:1;min-width:0}
.quant-ticket-item strong{display:block;font:500 13px/22px "PingFang Local",sans-serif;color:var(--ink)}
.quant-ticket-item small{display:block;margin-top:4px;font:400 11px/18px "PingFang Local",sans-serif;color:#777}
.quant-ticket-item>b{flex-shrink:0;white-space:nowrap;font:700 13px/20px "Flynn Mono VF","PingFang Local",sans-serif}
.quant-ticket-content .ticket-meta{position:relative;left:auto;top:auto;width:298px;height:auto;padding:16px 0;margin:0}
.quant-ticket-content .ticket-meta p{height:auto;margin:0 0 8px;font:400 13px/22px "PingFang Local",sans-serif;color:var(--ink)}
.quant-ticket-content .ticket-meta p:last-child{margin-bottom:0}
.quant-ticket-content .ticket-meta strong{font:700 13px/22px "Flynn Mono VF","PingFang Local",sans-serif}
.quant-ticket-content .ticket-meta .quant-ticket-note{font-size:11px;line-height:18px;color:#777}
.quant-ticket-content .ticket-barcode{position:relative;left:auto;top:auto;width:298px;height:65px;margin-top:16px}
.quant-ticket-content .quant-ticket-order{display:block;margin-top:10px;text-align:center;font:400 10px/16px "PingFang Local",sans-serif;color:#666;overflow-wrap:anywhere}
@keyframes quant-ticket-print{0%{transform:translateY(calc(-100% - 10px))}72%{transform:translateY(8px)}100%{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.quant-receipt :is(.ticket-machine,.ticket-slot,.quant-purchase-ticket){animation-duration:1ms;animation-delay:0ms}}

.quant-theme[data-quant-page="quant-home"] .quant-body .q-options .q-entry{border-radius:8px}
.quant-theme[data-quant-page="quant-home"] .quant-body .q-options+.secondary{border-radius:7px}
.quant-theme .quant-body .q-save-plan{background:var(--white);color:var(--ink)}
.quant-theme[data-quant-page="order-review"] .quant-body{padding-top:0}

/* Print above the current confirmation page, with one fixed dismissal action. */
.quant-receipt-modal{position:absolute;z-index:14;inset:107px 0 0;overflow:hidden;isolation:isolate}
.quant-receipt-dim{position:absolute;z-index:0;inset:0;background:rgb(0 0 0 / 48%);opacity:0;animation:purchase-dim-in 220ms ease-out forwards}
.quant-receipt-scroll{position:absolute;z-index:1;inset:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 130px;scrollbar-width:none}
.quant-receipt-scroll::-webkit-scrollbar{display:none}
.quant-receipt-modal .quant-receipt{margin:0}
.quant-receipt-footer{z-index:2}
.quant-theme .quant-receipt-footer .primary{border-radius:53px;letter-spacing:4.4px}
.quant-theme.has-quant-receipt>.feature-scroller{overflow:hidden;pointer-events:none}
.quant-theme.has-quant-receipt>.feature-header{pointer-events:none}
.quant-theme.has-quant-receipt>.feature-header .quant-back{pointer-events:auto}
.quant-theme .q-personal-summary>.q-source{margin-bottom:12px}
.quant-theme .q-personal-summary>h3:not(:first-child){margin-top:0}
.quant-theme .q-profile-confirmed{background:var(--yellow);color:var(--ink)}

/* 177px squares, with the established 16px gutter and 16px side margins. */
.uno-view.has-quant-overview :is(.uno-static-card-today,.uno-card-shell-today){left:16px;top:395px;width:177px;height:177px}
.uno-view.has-quant-overview :is(.uno-static-card-learn,.uno-card-shell-learn){left:209px;top:395px;width:177px;height:177px}
.uno-view.has-quant-overview .uno-editorial-card{overflow:hidden;padding:11px}
.uno-view.has-quant-overview .uno-editorial-card header{height:27px}
.uno-view.has-quant-overview .uno-editorial-card header h2{font-size:17px;line-height:24px}
.uno-view.has-quant-overview .uno-editorial-card header h2{padding:0 4px;border-radius:3px;background:var(--editorial-label-color)}
.uno-static-card-today{--editorial-label-color:var(--blue)}
.uno-static-card-learn{--editorial-label-color:var(--yellow)}
.uno-view.has-quant-overview .uno-editorial-toggle{right:7px;top:10px}
.uno-view.has-quant-overview .uno-editorial-toggle span{display:none}
.uno-view.has-quant-overview .uno-editorial-toggle img{width:20px;height:20px;flex-basis:20px}
.uno-view.has-quant-overview .uno-editorial-card h3{position:static;left:auto;top:auto;width:auto;max-height:69px;white-space:normal;font-size:17px;line-height:23px;letter-spacing:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0}
.uno-view.has-quant-overview .uno-editorial-card p,.uno-view.has-quant-overview .uno-static-card-learn .uno-learn-summary p{position:static;left:auto;top:auto;width:auto;height:auto;max-height:48px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:7px 0 0;font:400 11px/16px "PingFang Local",sans-serif;color:#777;text-align:left}
.uno-view.has-quant-overview .uno-static-card-learn::before{display:none}
.uno-view.has-quant-overview :is(.uno-news-viewport,.uno-card-shell-news){top:584px}
.uno-view.has-quant-overview .uno-canvas{height:896px}
.fq-editorial-backdrop{position:absolute;z-index:86;inset:62px 0 0;background:rgb(56 56 56 / 16%);pointer-events:auto}
.fq-editorial-modal{position:absolute;z-index:87;left:0;top:62px;width:402px;height:812px;overflow:hidden;background:var(--white);border:1px solid var(--ink);box-shadow:1px 1px 0 var(--ink);color:var(--ink);contain:layout paint}
.fq-editorial-content{position:absolute;inset:0;width:400px}
.fq-editorial-modal .fq-editorial-nav{top:0;left:-1px;background:var(--white);z-index:2}
.fq-editorial-modal .feature-back{top:0}
.fq-editorial-modal .feature-nav h1{font:500 22px/28px "Glow Sans SC Extended",sans-serif}
.fq-editorial-scroll{position:absolute;inset:44px -1px 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding-bottom:32px;background:var(--paper)}
.fq-editorial-scroll::-webkit-scrollbar{display:none}
.phone.editorial-card-open .uno-view{pointer-events:none}

/* Header enters from its card's side, independently of the card geometry. */
.fq-editorial-modal{border:0;box-shadow:none;background:var(--paper)}
.fq-editorial-content{width:402px}
.fq-editorial-scroll{inset:45px 0 0;background:transparent}
.fq-editorial-header{position:absolute;z-index:88;left:0;top:62px;width:402px;height:45px;border-top:1px solid var(--ink);border-bottom:2px solid var(--ink);border-inline:0;background:var(--white);box-shadow:none}
.fq-editorial-header .feature-back{top:0}
.fq-editorial-header h1{font:500 22px/28px "Glow Sans SC Extended",sans-serif}

.fq-editorial-scroll .uno-editorial-detail-section:nth-child(2){background:var(--white)}

/* Return visits use the same short panel entrance as the other tabs. */
.uno-view.has-quant-overview.is-interface-entering :is(.fq-entry,.uno-section-mark,.uno-section-copy-today-prep,.uno-section-copy-today-main,.uno-market-viewport,.uno-editorial-card,.uno-news-viewport){animation:interface-panel-load 420ms cubic-bezier(.22,1,.36,1) var(--uno-return-delay,0ms) both}
.uno-view.has-quant-overview :is(.uno-section-mark,.uno-section-copy-today-prep,.uno-section-copy-today-main){--uno-return-delay:40ms}
.uno-view.has-quant-overview .uno-market-viewport{--uno-return-delay:70ms}
.uno-view.has-quant-overview .uno-static-card-today{--uno-return-delay:140ms}
.uno-view.has-quant-overview .uno-static-card-learn{--uno-return-delay:175ms}
.uno-view.has-quant-overview .uno-news-viewport{--uno-return-delay:210ms}
@media(prefers-reduced-motion:reduce){.uno-view.has-quant-overview.is-interface-entering :is(.fq-entry,.uno-section-mark,.uno-section-copy-today-prep,.uno-section-copy-today-main,.uno-market-viewport,.uno-editorial-card,.uno-news-viewport){animation:none!important}}

/* Revised entrance card, Figma 628:34491. */
.fq-entry,.fq-entry-shell{height:114px}
.fq-entry{display:block;padding:0;border-color:var(--white);background-color:#383838;background-image:linear-gradient(to right,#ffffff20 1px,transparent 1px),linear-gradient(to bottom,#ffffff20 1px,transparent 1px);background-size:18.591px 18.591px;background-position:-1.272px -7px}
.fq-entry-title{position:absolute;left:11px;top:11px;margin:0;color:var(--white);font:700 17px/24px "Glow Sans SC Extended",sans-serif}
.fq-entry-panel{position:absolute;left:7px;top:43px;width:354px;height:58px;overflow:hidden;border:1px solid var(--ink);border-radius:6px;box-shadow:1px 1px 0 var(--white);background:var(--white);color:var(--ink)}
.fq-entry-panel .fq-mark{position:absolute;left:7px;top:7px;width:42px;height:42px}
.fq-entry-panel .fq-mark img{transform:scaleX(-1)}
.fq-entry-panel .fq-entry-copy{position:absolute;left:57px;right:32px;top:7px;gap:4px;display:flex;flex-direction:column;text-align:left}
.fq-entry-panel .fq-entry-copy small{margin:0;color:var(--ink);font:400 13px/18px "PingFang Local",sans-serif;letter-spacing:0;white-space:nowrap}
.fq-entry-panel .fq-entry-copy>span{margin:0;color:var(--ink);font:600 13px/18px "PingFang Local",sans-serif;white-space:nowrap}
.fq-entry-panel>svg{position:absolute;right:3px;top:17px;width:24px;height:24px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;background:var(--white)}
.uno-view.has-quant-overview.is-card-entering .fq-entry-title{animation:uno-main-card-copy 520ms linear 650ms both}
/* Reveal the whole panel together. A clip-path on this wrapper clips its
   outer white edge until the complete homepage entrance is cleared. */
.uno-view.has-quant-overview.is-card-entering .fq-entry-panel{animation:fq-entry-panel-reveal 520ms linear 720ms both}
@keyframes fq-entry-panel-reveal{
  from{opacity:0;transform:translateX(-4px)}
  45%{opacity:.55}
  to{opacity:1;transform:translateX(0)}
}
.uno-view.has-quant-overview .uno-section-mark,.uno-view.has-quant-overview .uno-section-copy-today-prep{top:244px}
.uno-view.has-quant-overview .uno-section-copy-today-main{top:262px}
.uno-view.has-quant-overview :is(.uno-market-viewport,.uno-card-shell-market){top:288px}
.uno-view.has-quant-overview :is(.uno-static-card-today,.uno-card-shell-today,.uno-static-card-learn,.uno-card-shell-learn){top:409px}
.uno-view.has-quant-overview :is(.uno-news-viewport,.uno-card-shell-news){top:598px}
.uno-view.has-quant-overview .uno-canvas{height:910px}

quant-calculation-loader{position:absolute;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;flex-direction:column;background:rgb(0 0 0 / 48%);color:#f8f8f8;pointer-events:auto;touch-action:none;animation:quant-calculation-dim 160ms ease-out both}
quant-calculation-loader canvas{display:block;width:300px;height:340px;max-width:90%;flex:none;margin-top:-24px}
quant-calculation-loader p{margin:-12px 0 0;font:500 15px/24px "PingFang Local",sans-serif;color:#f8f8f8;letter-spacing:1px}
@keyframes quant-calculation-dim{from{opacity:0}to{opacity:1}}

.quant-theme:has(>quant-calculation-loader)>.quant-condition-footer{z-index:1001}
.quant-theme:has(>quant-calculation-loader)>.quant-condition-footer .primary:disabled{background:var(--white);color:var(--ink);opacity:1;filter:none}
quant-calculation-loader canvas{margin-top:-48px}
.quant-loading-dots{display:inline-flex;width:1.5em;letter-spacing:0;text-align:left}
.quant-loading-dots i{display:inline-block;font-style:normal;animation:quant-dot-fall 1400ms cubic-bezier(.32,0,.67,1) infinite both;opacity:0;will-change:transform,opacity}
.quant-loading-dots i:nth-child(2){animation-delay:200ms}
.quant-loading-dots i:nth-child(3){animation-delay:400ms}
@keyframes quant-dot-fall{0%,8%{opacity:0;transform:translateY(-9px)}14%{opacity:1;transform:translateY(-9px)}38%,76%{opacity:1;transform:translateY(0)}90%,100%{opacity:0;transform:translateY(4px)}}

quant-calculation-loader canvas{width:240px;height:272px}

/* Loading stays below the page navigation. */
quant-calculation-loader,.quant-loader-exit{inset:107px 0 0}
quant-calculation-loader canvas{animation:quant-loader-scale-in 280ms cubic-bezier(.16,1,.3,1) both}
.quant-loader-exit{position:absolute;z-index:1500;display:flex;align-items:center;justify-content:center;background:rgb(0 0 0 / 48%);pointer-events:none}
.quant-loader-exit canvas{width:240px;height:272px;max-width:90%;margin-top:-48px}
@keyframes quant-loader-scale-in{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
.quant-theme .q-home-state{display:inline-block;margin-bottom:10px;background:var(--yellow);color:var(--ink)}
.quant-theme .q-home-managed .q-metrics{margin:16px 0 4px}
.quant-theme .q-home-recent .q-row{padding:12px 0}
.quant-theme .q-home-plan-tabs{gap:6px;grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0}
.quant-theme .q-home-plan-tabs button{padding-inline:6px}
.uno-view.has-quant-overview :is(.uno-news-viewport,.uno-card-shell-news){top:409px;--uno-return-delay:140ms}
.uno-view.has-quant-overview :is(.uno-static-card-today,.uno-card-shell-today){top:543px;--uno-return-delay:175ms}
.uno-view.has-quant-overview :is(.uno-static-card-learn,.uno-card-shell-learn){top:543px;--uno-return-delay:210ms}
@media(prefers-reduced-motion:reduce){quant-calculation-loader canvas{animation:none}}

/* The drawing is centered in the space between the header and fixed action. */
quant-calculation-loader,.quant-loader-exit{padding:0 0 96px;box-sizing:border-box}
quant-calculation-loader canvas,.quant-loader-exit canvas{margin:0}
.quant-theme[data-quant-page="management"] :is(.primary,.secondary){background:var(--blue);color:var(--white)}
.quant-theme[data-quant-page="management"] :is(.primary,.secondary):disabled{background:var(--blue);color:var(--white)}

quant-calculation-loader canvas,.quant-loader-exit canvas{width:210px;height:238px}
quant-calculation-loader{padding-bottom:0}
quant-calculation-loader p{position:relative;margin:8px 0 0;text-align:center;font:400 14px/22px "PingFang Local",sans-serif;letter-spacing:0}
quant-calculation-loader .quant-loading-dots{position:absolute;left:100%;top:0}

/* Keep the card outline above its contents throughout the shared expansion. */
.fq-editorial-modal.is-morphing::after{content:"";position:absolute;z-index:10;inset:0;border:1px solid var(--ink);border-radius:inherit;pointer-events:none}
/* The variable-length receipt only uses the paper asset for its bottom edge. */
.quant-receipt .ticket-paper-art{clip-path:inset(2px 0 0)}
