/* STRATREX 1.9.1 — shared gold iconography and responsive finishing. */
.stx-icon{display:block;width:24px;height:24px;flex:none;overflow:visible;pointer-events:none}
.logout{display:flex;align-items:center;gap:12px}
.logout .stx-icon{width:24px;height:24px}
#mobileLogout{padding:0;line-height:0;place-items:center}
#mobileLogout .stx-icon{width:23px;height:23px;filter:drop-shadow(0 1px 3px #d2a24b30)}
.stats-grid .small-metric>.stratrex-small-symbol{display:grid!important;place-items:center!important;align-content:center;justify-content:center;box-sizing:border-box;padding:0!important;line-height:0;font-size:0;overflow:visible;background:linear-gradient(145deg,#332819,#17130d);border:1px solid #8c6b38;border-radius:10px;box-shadow:inset 0 1px #f4d58b20,0 5px 12px #0003}
.stats-grid .small-metric>.stratrex-small-symbol .stx-icon{width:21px;height:21px;margin:0;position:static;transform:none;filter:drop-shadow(0 0 3px #dcae4930)}
.recent-icon,.history-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;box-sizing:border-box;padding:5px;color:#e9c778;background:linear-gradient(145deg,#392b18,#221a10);border:1px solid #71542c;border-radius:10px;line-height:0}
.recent-icon .stx-icon,.history-icon .stx-icon{width:22px;height:22px}
.history-kind{display:flex;align-items:center;gap:10px}
.history-icon{width:30px;height:30px}
.history-icon .stx-icon{width:20px;height:20px}
.recent-row{border-color:#423724}
.recent-row small{line-height:1.5;overflow-wrap:anywhere}
.nav-icon .stx-icon,.nav-glyph .stx-icon{margin:auto}

/* Instruction panels: real padding on the panel, independently of text metrics. */
#modalContent>.modal-context,#modalContent>.stx-compact-context,
.modal .form-note,.modal .plan-preview,.modal .setup-caption{
 display:block;box-sizing:border-box;min-width:0;height:auto;min-height:0;
 padding:14px 16px!important;margin:0 0 16px!important;
 border:1px solid #715633!important;border-left:3px solid #d8b164!important;
 border-radius:11px;background:linear-gradient(115deg,#282015,#16130f 85%)!important;
 color:#d9cbb2!important;font-size:12px!important;font-weight:400;line-height:1.7!important;
 text-align:left;text-indent:0;white-space:normal;overflow-wrap:anywhere;
 box-shadow:inset 0 1px #f3d28f0c;
}
.stx-help-content{padding:13px 15px;line-height:1.65;text-align:left}
.stx-help-content .setup-caption,.stx-help-content .modal-context{padding:0!important;border:0!important;background:transparent!important;box-shadow:none}
.field input[data-uppercase-platform]{text-transform:uppercase}
.feedback-open-button{padding:17px 16px;gap:12px;border-style:solid;border-color:#8c6439;background:linear-gradient(120deg,#302315,#19140f);font-size:12px;line-height:1.7;box-shadow:inset 0 1px #f3cf7920;transition:background .2s,border-color .2s}
.feedback-cta{color:#ff8b7d;font-weight:800;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.feedback-open-button:hover,.feedback-open-button:focus-visible{background:#352718;border-color:#e5ba69;outline:2px solid #e5ba69;outline-offset:3px}
.feedback-open-button:active{background:#49331e}

/* Compact access: the button occupies available space, never sets row height. */
.platform-intro{position:relative;min-width:0}
.platform-capital-access{display:block;margin:19px 0 17px}
.platform-capital-copy{min-width:0}
.platform-intro:has(.platform-launch) .platform-capital-copy{padding-right:108px}
.platform-card .platform-capital-access .principal{margin:0 0 6px;line-height:1.5}
.platform-card .platform-capital-access .principal-value{margin:0;font-size:clamp(23px,2.1vw,30px);line-height:1.25;overflow-wrap:anywhere}
.platform-launch{position:absolute;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:96px;height:86px;min-height:0;padding:9px 7px;border:1px solid #ffe5a4;border-radius:13px;background:linear-gradient(135deg,#fff7ce 0%,#f9df88 18%,#d9a523 40%,#ffed9a 49%,#f1cc56 56%,#bd881d 83%,#f5d47c 100%);color:#2c2007;box-shadow:inset 0 1px #fff9df,inset 0 -1px #8d671f80,0 3px 16px #e6b44145,0 0 0 2px #d1a84b12;cursor:pointer;font:inherit;font-size:11.5px;font-weight:900;letter-spacing:.12px;line-height:1.2;text-align:center;overflow:hidden;transition:box-shadow .2s}
.platform-launch:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 20%,#fff8d836 40%,transparent 60%)}
.platform-launch .stx-icon{width:29px;height:29px;stroke-width:1.65;filter:drop-shadow(0 1px #fff5cb60)}
.platform-launch:hover{box-shadow:inset 0 1px #fff9df,0 3px 18px #e6b44150}
.platform-launch:focus-visible{outline:3px solid #fff0bd;outline-offset:3px}
.platform-logo-zoom{display:block;padding:0;margin:0;border:0;background:transparent;flex:none;border-radius:11px;cursor:zoom-in;line-height:0}
.platform-logo-zoom:focus-visible{outline:2px solid #f1cf83;outline-offset:4px}
.platform-logo-dialog{position:fixed;inset:0;margin:auto;border:0;padding:32px 20px 20px;max-width:92vw;max-height:90dvh;background:transparent;overflow:visible}
.platform-logo-dialog::backdrop{background:#000d;backdrop-filter:blur(7px)}
.platform-logo-dialog img{display:block;width:min(70vw,360px);height:auto;max-height:75dvh;object-fit:contain;filter:drop-shadow(0 8px 26px #0008)}
.logo-zoom-close{position:absolute;right:0;top:0;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #9e7c42;border-radius:50%;background:#221b10;color:#f9df9e;font-size:25px;cursor:pointer}
.history-pagination{display:grid;justify-items:center;gap:8px;padding:16px 0 20px}
.history-pagination p{margin:0;color:#b9a88a;font-size:11px}
#historyMore{min-height:44px;min-width:180px}
/* A single SVG coordinates track, fill, short tangential trail and light. */
.minute-clock-ring{isolation:isolate;background:transparent;padding:9px}
.minute-clock-inner{position:relative;z-index:2}
.clock-orbit{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:3;pointer-events:none}
.clock-orbit circle{fill:none;stroke-width:5.6}
.clock-track{stroke:#403321}
.clock-progress{stroke:#ebcb7e}
.clock-orbit .clock-trail{stroke:#ffecad;stroke-width:3;stroke-linecap:round}
.clock-orbit .clock-head{fill:#fff5c7;stroke:#fff8d7;stroke-width:.4;filter:drop-shadow(0 0 2px #ffe49b) drop-shadow(0 0 5px #ffd063)}
.clock-orbit .clock-aura{fill:#ffda72;stroke:none;opacity:.5;filter:blur(3px)}
.clock-orbit .clock-trail{stroke:#ffe8a0;stroke-width:5;stroke-opacity:.65;filter:drop-shadow(0 0 2px #edc365b0)}
.clock-idle .clock-head,.clock-idle .clock-aura,.clock-idle .clock-trail{opacity:0}
.clock-idle .clock-progress{stroke:#806a40}
.minute-clock-ring:after{animation:stx-halo 4.8s ease-in-out infinite}
.clock-cycle-even .minute-clock-inner{animation:stx-cycle-even 1.4s ease-out}
.clock-cycle-odd .minute-clock-inner{animation:stx-cycle-odd 1.4s ease-out}
.clock-idle:after{animation:none}
@keyframes stx-halo{50%{opacity:.55;box-shadow:0 0 20px #c7953628;transform:scale(1.02)}}
@keyframes stx-cycle-even{0%{box-shadow:inset 0 0 34px #efbd5070}100%{box-shadow:inset 0 1px 10px #bb934225}}
@keyframes stx-cycle-odd{0%{box-shadow:inset 0 0 34px #efbd5070}100%{box-shadow:inset 0 1px 10px #bb934225}}
@media(max-width:780px){
 .stats-grid .small-metric>.stratrex-small-symbol .stx-icon{width:19px;height:19px}
 #modalContent>.modal-context,#modalContent>.stx-compact-context{padding:13px 14px!important}
}
@media(max-width:370px){
 .platform-intro:has(.platform-launch) .platform-capital-copy{padding-right:94px}
 .platform-launch{width:84px;height:80px;font-size:10.8px}
 .platform-launch .stx-icon{width:26px;height:26px}
 .stats-grid .small-metric>.stratrex-small-symbol .stx-icon{width:17px;height:17px}
}
@media(prefers-reduced-motion:reduce){
 .minute-clock-ring:after,.minute-clock-inner{animation:none!important;transition:none!important}
 .platform-launch,.feedback-open-button{transition:none}
}

/* Alpha artwork sits directly on every surface. */
.stratrex-auth-identity,.mobile-logo img,.stratrex-sidebar-emblem,.stratrex-sidebar-wordmark,.stratrex-topbar-wordmark{mix-blend-mode:normal}
.platform-launch>span,.platform-launch>.stx-icon{position:relative;z-index:1}
.platform-launch:after{content:"";position:absolute;inset:-50%;background:linear-gradient(110deg,transparent 40%,#fff9da80 50%,transparent 60%);transform:translateX(-80%);animation:portal-sheen 7s ease-in-out infinite;pointer-events:none}
@keyframes portal-sheen{0%,65%{transform:translateX(-80%)}90%,100%{transform:translateX(80%)}}
@media(prefers-reduced-motion:reduce){.platform-launch:after{animation:none;display:none}}
