
.restored-section-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:42px 0 28px}.restored-section-head h2{font-size:28px;margin:12px 0;color:#e0f1ff}.restored-section-head p{font-size:13px;line-height:1.8;color:#8fb7d2;margin:0}.restored-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.restored-package{position:relative;overflow:hidden;background:radial-gradient(ellipse at 5% 0%,#1e86b550,transparent 65%),linear-gradient(145deg,#194c6b,#103b5a 55%,#0b2944);border:1px solid #4cbce1;border-radius:24px;padding:30px;box-shadow:inset 0 1px 0 #c1f6ff45,0 0 25px #0a9bd815;transition:border-color .25s,box-shadow .25s,transform .25s}.restored-package:hover{border-color:#8ee9ff;box-shadow:inset 0 1px 0 #e1fbff66,0 10px 35px #009ee526;transform:translateY(-3px)}.restored-package>header{display:flex;align-items:center;justify-content:space-between;color:#8ad8f5;gap:10px}.restored-package>header small{font-size:9px;letter-spacing:2px}.restored-package>header>span{padding:6px 9px;border:1px solid #67caf25c;background:#65c7ef0c;border-radius:6px;font-size:9px;letter-spacing:1px}.restored-package h2{font-size:29px;line-height:1.3;margin:28px 0 16px;color:#e9f8ff;letter-spacing:-.5px}.package-minimum{font-size:20px;color:#bcdef4;margin-bottom:28px}.package-minimum small{font-size:12px;color:#9dd4ef}.package-benefits{padding:15px 0;border-block:1px solid #6ac2e23d;margin:20px 0}.package-benefits>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;color:#9ec8e0;font-size:13px}.package-benefits b{font-size:20px;font-weight:600;color:#d9f4ff}.package-read{background:none;border:0;padding:8px 0 22px;color:#50d4ff;font-size:13px}.package-card-actions{display:grid;gap:12px}.package-card-actions button{width:100%;min-height:50px;border-radius:12px}.package-card-actions .primary{box-shadow:inset 0 1px 0 #b4edff44;background:linear-gradient(120deg,#0e9ac3,#0b4b84)}.package-card-actions .outline{background:#0b2844a6;border-color:#4e9fbd;color:#bde7fa}.package-availability{display:block;margin-top:21px;font-size:10px;letter-spacing:.2px;color:#8bbbd3}.package-availability i{display:inline-block;width:5px;height:5px;margin-right:6px;background:#57c8e5;border-radius:50%}.package-terms{font-size:12px;margin-top:25px}.schedule-date{display:grid;gap:12px;font-size:12px;color:#a3c6dd}.schedule-date input{padding:14px;border:1px solid #5289a8;border-radius:9px;background:#0c2b44;color:#d7edff;font:inherit;max-width:320px}.restored-empty{padding:32px;text-align:center;border:1px dashed #477d9e;background:#12365166;border-radius:15px;margin:25px 0}.restored-empty>span{font-size:35px;color:#60c4ec}.restored-empty h3{color:#c8e4f7;font-size:21px}.restored-reward-hero{border-radius:25px;background:radial-gradient(ellipse at bottom right,#058dbd55,transparent 65%),linear-gradient(120deg,#133b68,#0c3261);border-color:#38b6e8;padding:40px}.restored-reward-hero h1.rewardx-brand{font-size:70px;font-weight:700;margin:16px 0 8px}.restored-reward-hero .rewardx-wallet{border-radius:22px;background:linear-gradient(135deg,#165f91,#0e3659);border-color:#5db5d6;padding:30px}.restored-reward-hero .rewardx-wallet strong{font-size:55px}.rewardx-grid{gap:22px}.rewardx-prize{border-radius:18px;border-color:#3d7294;box-shadow:0 10px 25px #0002;background:linear-gradient(150deg,#15364e,#0c2238)}.prize-art{height:190px;padding:30px 12px 14px}.prize-art img{transition:transform .4s}.rewardx-prize:hover .prize-art img{transform:scale(1.05)}.prize-body{padding:23px 20px}.prize-body h3{font-size:16px;min-height:40px}.prize-body p{font-size:11px;min-height:35px}.prize-body>strong{font-size:27px}.prize-body strong small{font-size:10px}.prize-body button{padding:13px 8px;border-radius:10px;font-size:11px;color:#d7f3ff;background:linear-gradient(130deg,#106a96,#103858);border-color:#3c99bd;margin-top:17px}.reward-progress{height:4px;overflow:hidden;border-radius:3px;background:#395c714d}.reward-progress i{display:block;height:100%;background:#4cc9f5}.reward-progress-label{display:block;margin-top:9px;font-size:9px;color:#8aadc7}.grand-reward{border-color:#a8915d}.grand-reward .prize-art{background:radial-gradient(ellipse,#4b4b39,#112a40 75%)}.rewardx-history{padding:26px;border-radius:16px}.rewardx-history h3{font-size:18px;color:#c1dff2}.rewardx-history p{font-size:12px;line-height:1.9}.analysis-progress{height:4px;background:#2b4c65;border-radius:3px;margin:25px 0}.analysis-progress i{display:block;height:100%;background:linear-gradient(90deg,#117cee,#4cd9f7);border-radius:inherit}.analysis-options{display:grid;gap:13px;margin:28px 0}.analysis-options button{padding:22px;text-align:left;border-radius:13px;background:linear-gradient(120deg,#163e59,#102d45);border-color:#448bae;font-size:16px}.analysis-options button:hover{border-color:#6dd8ff;background:#194c69}.restored-recommendation{padding:28px;border:1px solid #3881a5;border-radius:18px;background:linear-gradient(140deg,#19415e,#0e283e)}.restored-recommendation>small{color:#72aacd}.restored-recommendation h3{font-size:24px;color:#c8e9fb}.restored-recommendation img{width:72px;height:72px;object-fit:cover;border-radius:50%;border:2px solid #4ccfff;margin-top:20px}
/* Clear, independently framed trading cycles. */
dialog.history-dialog{width:min(1000px,calc(100vw - 40px));max-width:1000px;padding:44px 38px;background:linear-gradient(145deg,#123852,#0a2036);border-radius:25px;border-color:#40a5cd}dialog .close{position:sticky;top:0;float:right;z-index:5;width:38px;height:38px;border-radius:50%;background:#173e58;border:1px solid #4a86a4;color:#b6e3f6;font-size:25px;margin:-18px -12px 0 10px}dialog::backdrop{background:#010a16b8;backdrop-filter:blur(9px)}.guru-history-list{display:grid;gap:22px;margin-top:30px}.guru-history-list>article{position:relative;padding:28px 30px;border:1px solid #3d86aa;border-radius:20px;background:radial-gradient(ellipse at top left,#1c607a40,transparent 70%),linear-gradient(135deg,#153e59,#0b263e);box-shadow:inset 0 1px 0 #b6eeff15}.history-order-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.history-order-head>b{font-size:19px;font-weight:600;letter-spacing:.3px;color:#d5edfc}.history-order-head>span{font-size:11px;border:1px solid #4e8ba85c;border-radius:20px;padding:6px 11px;color:#8fbdd5;background:#2e70831a}.guru-history-list article>p{font-size:12px;margin:18px 0;color:#8db7d1}.guru-history-list article>h3{font-size:23px;line-height:1.5;color:#bee9fd;margin:22px 0}.history-order-head:last-child{padding-top:21px;margin-top:22px;border-top:1px solid #3f72904d}.history-order-head strong{font-size:20px;font-weight:600}.profit{color:#4dd9fc}.loss{color:#ffa5ac}.history-order-head .outline{padding:14px 20px;border-radius:12px;border-color:#3c8db2;color:#a6dbf5;background:#0b2840}.history-path{padding:23px;border:1px solid #3d93b8;border-radius:16px;background:#11517355;color:#c3edff;text-align:center;font-size:23px;letter-spacing:.5px;margin:26px 0}.history-dialog .live-actions{justify-content:space-between;align-items:center;padding:17px 0;border-block:1px solid #3b6c874d}.history-dialog .live-actions>span{font-size:13px;color:#8db6cf}.history-dialog .live-table-wrap{border:1px solid #396681;border-radius:14px;background:#0b253d}.history-dialog th{background:#17415b;font-size:11px;letter-spacing:.5px}.history-dialog td{font-size:12px;padding:20px 16px}.live-header{scroll-margin-top:110px}.live-member{padding-top:38px}.expert-card-body .outline+.outline{margin-top:10px}
@media(max-width:1150px){.restored-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restored-package{padding:25px}.restored-reward-hero h1.rewardx-brand{font-size:59px}}
@media(max-width:760px){.restored-section-head{display:block;margin:30px 0 22px}.restored-section-head>.primary,.restored-section-head>.rewardx-filters{margin-top:20px}.restored-section-head h2{font-size:24px}.restored-package-grid{gap:16px}.restored-package{padding:22px;border-radius:20px}.restored-package h2{font-size:24px}.package-benefits>div{font-size:11px}.package-benefits b{font-size:18px}.restored-reward-hero{padding:25px}.prize-body{padding:18px 14px}.prize-art{height:155px}.prize-body h3{font-size:14px}.prize-body button{font-size:10px}.history-order-head{align-items:flex-start;gap:12px}.history-order-head>b{font-size:16px}.history-order-head>span{font-size:9px;white-space:nowrap}.guru-history-list>article{padding:22px}.guru-history-list article>h3{font-size:20px}.history-order-head:last-child{align-items:center}.history-order-head strong{font-size:17px}.history-order-head .outline{font-size:10px;padding:12px}.history-path{font-size:18px;padding:20px 10px}dialog.history-dialog{padding:34px 20px;width:calc(100vw - 24px)}.analysis-options button{font-size:14px;padding:18px}}
@media(max-width:550px){.restored-package-grid{grid-template-columns:1fr}.restored-package{padding:25px}.restored-package h2{font-size:28px}.restored-reward-hero h1.rewardx-brand{font-size:56px}.restored-section-head p{font-size:11px}.history-order-head{flex-wrap:wrap}.guru-history-list article>h3{font-size:18px}.history-order-head:last-child{flex-wrap:nowrap}.history-order-head strong{font-size:15px}.prize-art{height:140px}.rewardx-grid{gap:12px}}

@media(max-width:650px){.prize-body>strong{min-height:57px;margin-top:12px;margin-bottom:14px;line-height:1.2;font-size:25px}.prize-body>strong>small{display:block;line-height:1.4;margin-top:5px;font-size:9px}.prize-body h3{min-height:44px}.prize-body button{min-height:45px;line-height:1.5}.live-nav{padding:9px 5px 12px;gap:1px}.live-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;flex:1;padding:6px 3px;font-size:9px;min-height:55px}.live-nav a:before{display:block;font-size:23px;line-height:1;color:#83b5d7}.live-nav a[href="#dashboard"]:before{content:'⌂'}.live-nav a[href="#membership"]:before{content:'◇'}.live-nav a[href="#rewards"]:before{content:'♧'}.live-nav a[href="#team"]:before{content:'♙'}.live-nav a[href="#history"]:before{content:'↔'}.live-nav a.active:before{color:#39c7ff}.live-member{padding-bottom:120px}}

@media(max-width:650px){.live-header-user{gap:6px}.live-header-user .live-account-button{max-width:82px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-header:has(.live-header-user) img{width:125px}.live-header-user #live-admin-link{font-size:10px;white-space:nowrap}.live-header-user .language-control{padding:6px;gap:2px}.live-header-user .language-control select{width:51px!important}}

.live-membership-banner.is-compact{padding:18px 24px;border-radius:14px;margin:22px 0;gap:20px;background:linear-gradient(110deg,#11324d,#0a2339)}.live-membership-banner.is-compact .live-fee-label{font-size:8px;letter-spacing:1.4px}.live-membership-banner.is-compact h2{display:inline-block;font-size:16px;margin:7px 12px 5px 0}.live-membership-banner.is-compact p{font-size:10px;margin:5px 0 0}.live-membership-banner.is-compact .membership-pending-tag{padding:4px 8px;font-size:8px}.live-membership-banner.is-compact>.primary{font-size:10px;white-space:nowrap;padding:12px 17px}@media(max-width:650px){.live-membership-banner.is-compact{padding:18px}.live-membership-banner.is-compact h2{font-size:16px}.live-membership-banner.is-compact>.primary{margin-top:12px}}

.live-nav a{white-space:nowrap;flex-shrink:0}
@media(max-width:1200px){.live-header:has(.live-header-user){height:86px;padding:12px 22px}.live-header:has(.live-header-user) img{width:150px}.live-header:has(.live-header-user) .live-nav{display:flex;position:fixed;inset:auto 0 0;align-items:center;justify-content:space-around;gap:1px;padding:9px 7px 12px;background:#081b2df5;border-top:1px solid #2b526e;z-index:30}.live-header:has(.live-header-user) .live-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;flex:1;padding:6px 5px;font-size:10px;min-height:55px;border-radius:9px}.live-nav a:before{display:block;font-size:23px;line-height:1;color:#83b5d7}.live-nav a[href="#dashboard"]:before{content:'⌂'}.live-nav a[href="#membership"]:before{content:'◇'}.live-nav a[href="#rewards"]:before{content:'♧'}.live-nav a[href="#team"]:before{content:'♙'}.live-nav a[href="#history"]:before{content:'↔'}.live-nav a.active:before{color:#39c7ff}.live-member{padding-bottom:120px}}
@media(max-width:650px){.live-header:has(.live-header-user){padding:12px 18px;height:80px}.live-header:has(.live-header-user) img{width:125px}.live-header:has(.live-header-user) .live-nav a{font-size:9px}}

.expert-card{display:flex;flex-direction:column}.expert-card-body{display:flex;flex-direction:column;flex:1}.expert-card h3{min-height:2.8em}.expert-title{flex:1}.expert-card-body button:first-of-type{margin-top:auto}

.schedule-mode-switch{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.schedule-mode-switch button{min-height:42px}.schedule-reference-note{padding:12px 16px;border:1px solid #315367;border-radius:10px;color:#b9d1df;font-size:13px;line-height:1.7}.schedule-past-status{font-size:13px;color:#8ca9bc;padding:8px 12px;border:1px solid #315367;border-radius:8px;white-space:nowrap}@media(max-width:600px){.schedule-mode-switch button{flex:1}.schedule-past-status{align-self:flex-start}}

.schedule-source-note{font-size:12px;line-height:1.6;color:#9bb7c9;margin:12px 0 18px}

.schedule-reference-values{display:grid;gap:8px;color:#abc9db}.schedule-reference-values small{font-size:12px;line-height:1.6}.schedule-reference-values .schedule-past-status{justify-self:start}

.order-live-heading{display:flex;gap:16px;justify-content:space-between;margin:24px 0 14px;color:#b8eaff}.order-live-heading span{font-variant-numeric:tabular-nums}#order-live-progress progress{width:100%;height:7px;accent-color:#28cbe7}.order-event-list{list-style:none;padding:0;margin:20px 0}.order-event-list li{padding:12px 0 12px 16px;border-left:2px solid #2787a2}.order-event-list time{display:block;font-size:12px;color:#91afc4;margin-bottom:5px}.order-fill-empty{border:1px solid #315367;border-radius:10px;padding:18px;color:#b5ccdb}.order-fill-empty small{display:block;margin-top:8px;color:#91afc4}

.order-simulation-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:24px}.order-simulation-head small{font-size:12px;color:#91afc4}.order-simulation-table{font-size:12px;min-width:600px}.order-simulation-table td,.order-simulation-table th{padding:12px;white-space:nowrap}

/* Enrollment activity and paper settlement remain scoped to their dialog. */
#modal:has(#order-live-progress){width:min(1060px,calc(100vw - 32px));max-width:1060px;background:#0b2032;border-color:#28556f}
.order-account-summary{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin:26px 0}.order-account-summary>div{padding:22px 24px;background:#102c42;border:1px solid #294f67;border-radius:14px}.order-account-summary small{display:block;color:#8eaec4;font-size:12px;margin-bottom:12px}.order-account-summary strong{font-size:27px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.order-account-summary em,.order-settlement-metrics em{font-style:normal;font-size:11px;color:#82abc5;letter-spacing:1px}
.order-status-panel{padding:18px 22px;background:#0b293b;border:1px solid #28566c;border-radius:12px}.order-status-panel .order-live-heading{margin:0 0 14px;align-items:center;font-size:14px}.order-status-panel .order-live-heading span{font-size:22px;color:#d7f6ff;letter-spacing:1px}.order-live-heading b i{display:inline-block;width:7px;height:7px;margin-right:9px;border-radius:50%;background:#32d3ce;box-shadow:0 0 10px #32d3ce66}.order-status-meta{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.7px;color:#7699b1;margin-top:10px}.order-simulation-disclosure{font-size:12px;line-height:1.7;color:#8daabe;margin:14px 0 22px}
.order-stream-panel{border:1px solid #284a60;border-radius:16px;background:#0c263a;padding:22px;overflow:hidden}.order-stream-panel>.order-simulation-head,.order-settlement>.order-settlement-head{position:static;top:auto;height:auto;min-height:0;padding:0;border:0;background:none;box-shadow:none;display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.order-simulation-head h3,.order-settlement-head h3{font-size:21px;margin:7px 0 0}.order-simulation-head>div>small,.order-settlement-head>div>small{font-size:9px;letter-spacing:2px;color:#66bdd3}.order-stream-badge{display:flex;gap:7px;align-items:center;padding:7px 10px;border:1px solid #315267;border-radius:20px;color:#8daabb;font-size:10px;white-space:nowrap}.order-stream-badge i{width:5px;height:5px;border-radius:50%;background:#648597}.order-stream-badge.is-live{border-color:#257e80;color:#6de4d2}.order-stream-badge.is-live i{background:#53e2c8;animation:order-status-glow 4s infinite}
.order-stream-overview{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid #25475d;padding:16px 0;margin-bottom:18px;gap:16px}.order-stream-overview>div{border-right:1px solid #25475d;padding-left:10px}.order-stream-overview>div:last-child{border:0}.order-stream-overview small{display:block;color:#809fb6;font-size:11px;margin-bottom:9px}.order-stream-overview b{font-size:24px;font-variant-numeric:tabular-nums;color:#e0f4ff}.order-stream-overview em{font-style:normal;font-size:12px;color:#83a6be;margin-left:5px}.order-latest-route{display:flex;gap:14px;align-items:center;padding:12px 14px;background:#123248;border:1px solid #2a566e;border-radius:8px;margin-bottom:18px}.order-latest-route span,.order-latest-route small{font-size:10px;color:#84afc5}.order-latest-route b{font-size:16px;color:#80e0ee;flex:1}
.order-stream-viewport{max-height:370px;overflow:auto;border:1px solid #23475f;border-radius:10px;scrollbar-color:#315e79 #10293c}.order-simulation-table{width:100%;border-collapse:collapse;min-width:580px;font-variant-numeric:tabular-nums}.order-simulation-table thead{position:sticky;top:0;z-index:1;background:#17384e}.order-simulation-table th{color:#8fb4cb;font-size:10px;text-align:left;font-weight:500;letter-spacing:.4px}.order-simulation-table td,.order-simulation-table th{padding:13px 14px;border-bottom:1px solid #24465b}.order-simulation-table td{font-size:12px;color:#b9d3e3}.order-simulation-table td:nth-child(3),.order-simulation-table td:nth-child(4){text-align:right;font-family:Consolas,monospace}.order-simulation-table th:nth-child(3),.order-simulation-table th:nth-child(4){text-align:right}.order-simulation-table td small{font-size:10px;color:#6e9fb8}.order-record-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#36718d;margin-right:8px}.order-simulation-table .is-new-record{animation:order-row-arrival .6s ease-out;background:#16404d}.order-simulation-table .is-new-record .order-record-dot{background:#5ce1c5}.order-stream-panel>footer{position:static;margin:14px 0 0;padding:0;background:none;border:0;color:#6f92a8;font-size:10px;text-align:right}
.order-stream-archive{margin-top:22px;border:1px solid #294c62;border-radius:12px;padding:16px}.order-stream-archive>summary{cursor:pointer;color:#9dc7db;font-size:13px}.order-stream-archive .order-stream-panel{margin-top:16px}
.order-settlement{border:1px solid #35626b;border-radius:16px;background:#102c3d;padding:24px;margin-top:20px}.order-settlement-head p{font-size:11px;color:#7fa8bc;margin:8px 0 0}.order-settlement-badge{border:1px solid #347b76;background:#113d40;color:#70dfc9;padding:7px 11px;border-radius:20px;font-size:11px;white-space:nowrap}.order-seat-counts{display:flex;gap:20px;font-size:12px;color:#9ab8cc;border-bottom:1px solid #2c4f60;padding-bottom:18px}.order-seat-counts b{font-size:19px;color:#dcf2ff;margin:0 5px}.order-settlement-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.order-settlement-metrics>div{background:#0b2435;border:1px solid #285366;border-radius:10px;padding:17px 14px}.order-settlement-metrics small{display:block;font-size:11px;color:#87acc2;margin-bottom:10px}.order-settlement-metrics strong{font-size:22px;color:#85e5d0;font-variant-numeric:tabular-nums}.order-settlement-formula{display:flex;gap:10px;flex-wrap:wrap}.order-settlement-formula span{font-size:10px;color:#a5c6d5;border:1px solid #31546a;border-radius:5px;padding:6px 9px}.order-formula-note{font-size:11px;color:#789eb2;line-height:1.8;margin:14px 0}.order-seat-table-wrap{max-height:390px;overflow:auto;border:1px solid #2a4e61;border-radius:10px}.order-seat-table{width:100%;min-width:760px;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.order-seat-table thead{position:sticky;top:0;background:#19394b;z-index:1}.order-seat-table th,.order-seat-table td{padding:14px 12px;border-bottom:1px solid #294858;text-align:right;white-space:nowrap}.order-seat-table th:first-child,.order-seat-table td:first-child{text-align:left}.order-seat-table th{font-size:10px;color:#93b4c8;font-weight:500}.order-seat-table td small{display:block;color:#709aad;font-size:10px;margin-top:6px}.order-seat-table td:first-child b{font-size:11px;color:#b0d5e5;font-weight:500}.order-seat-table .is-own-seat{background:#153e4a}.order-seat-table .order-seat-net{color:#7cdec9;font-weight:600}.order-seat-table tfoot{background:#173b48;color:#c6edeb}
@keyframes order-row-arrival{from{background:#257269;color:#fff}to{background:#16404d}}@keyframes order-status-glow{0%,75%,100%{opacity:1}85%{opacity:.4}}
@media(max-width:650px){#modal:has(#order-live-progress){padding:26px 18px;width:calc(100vw - 20px)}.order-account-summary{grid-template-columns:1fr;gap:10px}.order-account-summary>div{padding:16px}.order-account-summary strong{font-size:23px}.order-stream-panel,.order-settlement{padding:16px}.order-simulation-head h3,.order-settlement-head h3{font-size:18px}.order-latest-route{flex-wrap:wrap}.order-latest-route small{width:100%}.order-settlement-metrics{grid-template-columns:1fr}.order-seat-counts{gap:12px}.order-status-panel{padding:15px}.order-live-heading b{font-size:12px}.order-status-panel .order-live-heading span{font-size:19px}}
@media(prefers-reduced-motion:reduce){.order-simulation-table .is-new-record,.order-stream-badge.is-live i{animation:none}}

.order-report-jump{width:100%;margin-bottom:6px;min-height:42px;border-color:#32666e;color:#91dfd5}.order-settlement{scroll-margin-top:20px}

.history-filter-bar{display:flex;align-items:center;gap:16px;padding:18px 20px;background:#102e42;border:1px solid #28566d;border-radius:12px;margin:24px 0 16px}.history-filter-avatar{width:48px;height:48px;flex-shrink:0;border:1px solid #3c9bb8;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#123d55;color:#76d5e9;font-weight:700}.history-filter-avatar img{width:100%;height:100%;object-fit:cover}.history-guru-filter{display:grid;gap:7px;flex:1;min-width:0}.history-guru-filter>span{font-size:12px;color:#9cbfd1}.history-guru-filter select{appearance:none;width:100%;min-height:46px;padding:10px 38px 10px 14px;border:1px solid #37738b;border-radius:8px;background:#0b2336;color:#e1f3fc;font:inherit;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2376d5e9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.history-guru-filter select:focus-visible{outline:2px solid #54c5dd;outline-offset:3px}.history-filter-total{display:grid;gap:5px;text-align:right;padding-left:18px;border-left:1px solid #28566d}.history-filter-total b{font-size:22px;color:#d9effa}.history-filter-total span{font-size:11px;color:#99bbcf}.history-pagination{display:flex;align-items:center;justify-content:space-between;border-top:0!important;margin:0 0 24px;padding:0!important}.history-pagination>span{font-variant-numeric:tabular-nums;padding:8px 18px;border:1px solid #2b5369;border-radius:24px;font-size:13px}.history-pagination button:disabled{opacity:.4;cursor:default}.order-planned-roster{border-top:1px solid #2b5369;margin-top:20px;padding-top:16px}.order-planned-roster h4{margin:0}.order-roster-emails{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.order-roster-emails span{background:#12374b;border:1px solid #2c5e75;border-radius:6px;padding:7px 10px;font-size:12px}@media(max-width:600px){.history-filter-bar{padding:14px;gap:10px}.history-filter-total{padding-left:10px}.history-filter-avatar{width:38px;height:38px}}

.order-stream-overview{grid-template-columns:repeat(4,minmax(0,1fr))}.order-live-profit b{display:inline-block;white-space:nowrap;font-size:clamp(18px,2vw,24px)}.order-live-profit.is-gain b,.order-simulation-table .order-cycle-profit.is-gain{color:#73ddbd}.order-live-profit.is-loss b,.order-simulation-table .order-cycle-profit.is-loss{color:#f09b9f}.order-simulation-table th:nth-child(5),.order-simulation-table td:nth-child(5){text-align:right;font-family:Consolas,monospace;white-space:nowrap}.order-simulation-table{min-width:740px}.profit-pending{color:#728fa6}.profit-tick{animation:profit-value-arrive .45s ease-out}@keyframes profit-value-arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.order-stream-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.order-stream-overview>div:nth-child(2){border-right:0}.order-stream-overview>div{min-height:64px}}@media(prefers-reduced-motion:reduce){.profit-tick{animation:none}}

.order-seat-table .is-planned-seat td:first-child small:nth-child(3){color:#8cabbf;font-size:10px}.order-seat-table .is-planned-seat td:not(:first-child){color:#b9d3e3}.rewardx-prize button:disabled{opacity:.5;cursor:not-allowed}

/* Keep mobile teacher summaries inside the dialog; only the monthly table scrolls. */
@media(max-width:600px){
 dialog.history-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);padding:28px 18px;overflow-x:hidden}
 .history-dialog #modal-content,.history-dialog #session-history-view,.history-dialog .guru-history-list,.guru-history-list>article{min-width:0;max-width:100%;box-sizing:border-box}
 .history-dialog h2{font-size:26px;line-height:1.3;padding-right:28px}
 #session-history-view>.history-filter-bar{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:14px;margin:20px 0}
 .history-guru-filter select{box-sizing:border-box;min-width:0;font-size:15px}
 .guru-history-list>article{padding:18px;border-radius:18px}
 .guru-history-list .history-filter-bar{display:grid;grid-template-columns:38px repeat(3,minmax(0,1fr));gap:8px;padding:12px 10px;margin:18px 0}
 .history-filter-total{padding-left:8px;text-align:center;min-width:0}
 .history-filter-total b{font-size:22px;overflow-wrap:anywhere}
 .history-filter-total span{font-size:10px;white-space:normal}
 .guru-history-list .history-order-head{flex-wrap:wrap;gap:8px;min-width:0}
 .guru-history-list .history-order-head h3{margin:8px 0;font-size:20px}
 .guru-history-list .history-order-head strong{font-size:18px;line-height:1.6;overflow-wrap:anywhere}
 .guru-history-list article>p{font-size:12px;line-height:1.9;overflow-wrap:anywhere;white-space:normal}
 .history-dialog .live-table-wrap{max-width:100%;overflow-x:auto}
 .history-dialog .live-table-wrap table{min-width:620px}
}

@media(max-width:600px){
 .restored-reward-hero .rewardx-wallet>strong{font-size:clamp(22px,7.5vw,34px);line-height:1.3;white-space:nowrap;letter-spacing:-.035em}
 #session-history-view>p:empty{display:none}
}

.analysis-result-copy{white-space:pre-wrap;overflow-wrap:anywhere}
