html { color-scheme: light; background: rgb(244, 246, 248) !important; }
body { min-height: 100vh; background: rgb(244, 246, 248) !important; }
:root { --font-fa: "Vazirmatn","Segoe UI",Tahoma,Arial,sans-serif; }
html, body { font-family: var(--font-fa); font-weight: 400; letter-spacing: 0px; line-height: 1.65; }
body, button, input, select, textarea { font-family: var(--font-fa); font-feature-settings: "ss01", "tnum"; font-variant-numeric: tabular-nums; }
button, input, select, textarea { line-height: 1.5; }
h1, h2, h3, h4, h5, h6, b, strong { font-family: var(--font-fa); font-weight: 700; letter-spacing: -0.15px; }
.auth-card h1 { font-weight: 800; letter-spacing: -0.3px; }
.auth-card p { line-height: 1.8; }
.auth-tabs button, .trade-tabs button, .admin-tabs button { font-weight: 500; }
.auth-tabs button.active, .trade-tabs button.active, .admin-tabs button.active { font-weight: 700; }
label { font-weight: 500; line-height: 1.8; }
input, select { font-weight: 400; line-height: 1.6; }
.primary { font-weight: 700; letter-spacing: -0.1px; }
.statusbox, .error { line-height: 1.8; }
.bottom-nav button.active { font-weight: 700; }
.modal-card h3 { font-weight: 800; }
:root { --green: #159447; --green2: #0d7737; --bg: #eaf8ef; --panel: #fff; --line: #dcefe2; --text: #173021; --muted: #718176; --red: #d94a58; --shadow: 0 8px 24px rgba(20,100,55,.08); }
* { box-sizing: border-box; }
body { margin: 0px; background: linear-gradient(180deg,#0e8b43 0,#28aa61 19%,var(--bg) 48%); color: var(--text); font-family: Tahoma, Arial, sans-serif; min-height: 100vh; overflow: hidden; overscroll-behavior: none; touch-action: pan-y; text-size-adjust: 100%; user-select: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.auth-wrap { height: 100dvh; min-height: 0px; display: block; padding: 14px; overflow: hidden auto; overscroll-behavior-y: contain; }
.auth-card { margin: 0px auto 20px; }
.auth-card { width: min(390px, 100%); background: rgb(255, 255, 255); border: 1px solid rgb(216, 239, 223); border-radius: 22px; padding: 22px; box-shadow: rgba(7, 88, 44, 0.267) 0px 20px 55px; }
.auth-card h1 { font-size: 21px; margin: 0px 0px 4px; }
.auth-card p { font-size: 12px; }
.auth-tabs, .trade-tabs, .admin-tabs { display: flex; gap: 5px; margin: 17px 0px 12px; background: rgb(238, 248, 241); padding: 4px; border-radius: 12px; }
.auth-tabs button, .trade-tabs button, .admin-tabs button { flex: 1 1 0%; background: transparent; border: 0px; color: var(--muted); padding: 9px; border-radius: 9px; font-size: 12px; }
.auth-tabs button.active, .trade-tabs button.active, .admin-tabs button.active { background: rgb(255, 255, 255); color: var(--green); box-shadow: var(--shadow); font-weight: 700; }
label { display: block; margin: 10px 0px; color: var(--muted); font-size: 12px; }
input, select { width: 100%; user-select: text; margin-top: 5px; background: rgb(251, 254, 252); border: 1px solid var(--line); color: var(--text); padding: 10px 11px; border-radius: 10px; outline: none; font-size: 13px; }
input:focus, select:focus { border-color: rgb(107, 198, 142); }
.primary { border: 0px; background: linear-gradient(135deg, rgb(34, 174, 93), rgb(17, 134, 63)); color: rgb(255, 255, 255); padding: 11px 14px; border-radius: 10px; font-weight: 700; font-size: 13px; }
.wide { width: 100%; margin-top: 8px; }
.error { color: var(--red); margin-top: 8px; font-size: 11px; }
main { width: min(920px, 100%); height: calc(100dvh - 120px); margin: auto; padding: 15px 12px 24px; overflow: hidden auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.page.active { display: block; }
.bottom-nav button.active { color: var(--green); font-weight: 700; }
.modal { position: fixed; inset: 0px; background: rgba(7, 52, 26, 0.533); z-index: 100; display: grid; place-items: center; padding: 12px; }
.modal-card { width: min(520px, 100%); max-height: 90vh; overflow: auto; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 18px; padding: 16px; position: relative; box-shadow: rgba(7, 52, 26, 0.333) 0px 20px 60px; }
.close { position: absolute; left: 10px; top: 6px; border: 0px; background: transparent; color: var(--muted); font-size: 25px; }
.modal-card h3 { margin-top: 0px; font-size: 15px; }
@media (max-width: 400px) {main { padding-left: 9px; padding-right: 9px; }}
@keyframes livePulse { 
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
.secondary { border: 1px solid rgb(205, 235, 215); background: rgb(255, 255, 255); color: rgb(17, 139, 71); padding: 11px 14px; border-radius: 11px; font-weight: 700; font-size: 12px; }
.bottom-nav button.active { background: rgb(234, 248, 239); }
.receipt-pick + .muted { margin-top: 6px; }
.brand-splash { position: fixed; inset: 0px; z-index: 20000; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, rgb(12, 77, 36) 0%, rgb(3, 27, 13) 42%, rgb(1, 11, 5) 100%); overflow: hidden; opacity: 1; visibility: visible; transition: opacity 0.55s, visibility 0.55s; }
.brand-splash.hidden { display: none; }
.brand-splash.is-fading { opacity: 0; visibility: hidden; }
.brand-splash-glow { position: absolute; width: min(82vw, 720px); height: min(82vw, 720px); border-radius: 50%; background: radial-gradient(circle, rgba(43, 255, 104, 0.24), rgba(16, 180, 70, 0.08) 38%, transparent 70%); filter: blur(8px); animation: 2s ease-in-out 0s infinite normal none running brandGlow; }
.brand-splash-inner { position: relative; width: min(90vw, 520px); display: flex; flex-direction: column; align-items: center; text-align: center; animation: 0.7s ease 0s 1 normal both running brandEnter; }
.brand-splash-logo { width: min(72vw, 390px); height: min(72vw, 390px); object-fit: cover; border-radius: 50%; filter: drop-shadow(rgba(43, 255, 104, 0.45) 0px 0px 24px); animation: 2s ease-in-out 0s infinite normal none running brandPulse; }
.brand-splash-title { margin-top: 12px; color: rgb(255, 255, 255); font-size: clamp(22px, 5vw, 34px); font-weight: 900; text-shadow: rgba(43, 255, 104, 0.28) 0px 0px 18px; }
.brand-splash-subtitle { margin-top: 5px; color: rgb(174, 248, 191); letter-spacing: 4px; font-size: 10px; font-weight: 700; }
.brand-splash-loading { width: min(72vw, 340px); height: 6px; background: rgba(255, 255, 255, 0.094); border: 1px solid rgba(88, 247, 122, 0.333); border-radius: 999px; overflow: hidden; margin-top: 25px; }
.brand-splash-loading span { display: block; height: 100%; width: 0px; background: linear-gradient(90deg, rgb(22, 168, 79), rgb(140, 255, 158), rgb(22, 168, 79)); box-shadow: rgb(49, 255, 100) 0px 0px 15px; animation: 1.55s ease 0s 1 normal forwards running brandLoading; }
.brand-splash-text { margin-top: 12px; color: rgb(214, 251, 224); font-size: 11px; }
@keyframes brandEnter { 
  0% { opacity: 0; transform: scale(0.92) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0px); }
}
@keyframes brandPulse { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}
@keyframes brandGlow { 
  0%, 100% { transform: scale(0.95); opacity: 0.75; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes brandLoading { 
  0% { width: 0px; }
  100% { width: 100%; }
}
@media (max-width: 430px) {.brand-splash-logo { width: min(74vw, 330px); height: min(74vw, 330px); }
.brand-splash-title { font-size: 23px; }
.brand-splash-subtitle { font-size: 9px; letter-spacing: 3px; }}
body { font-family: var(--font-fa); }
button, input, select, textarea { font-family: var(--font-fa); }
.auth-brand { width: 92px; height: 92px; margin: 0px auto 14px; display: grid; place-items: center; }
.auth-brand img { width: 100%; height: 100%; object-fit: contain; border-radius: 24px; filter: drop-shadow(rgba(21, 148, 71, 0.2) 0px 10px 22px); }
.brand-splash-logo { object-fit: contain !important; border-radius: 28px !important; filter: drop-shadow(rgba(0, 180, 255, 0.35) 0px 12px 30px) !important; }
.brand-splash { background: radial-gradient(circle at 50% 42%, rgb(6, 43, 80) 0%, rgb(3, 17, 31) 48%, rgb(1, 7, 13) 100%); }
.brand-splash-glow { background: radial-gradient(circle, rgba(0, 190, 255, 0.22), rgba(0, 110, 220, 0.08) 40%, transparent 72%); }
.brand-splash-title { font-weight: 800; }
.brand-splash-text { color: rgb(207, 239, 255); }
@media (max-width: 430px) {.auth-brand { width: 78px; height: 78px; }}
.global-loader { position: fixed; inset: 0px; isolation: isolate; display: grid; place-items: center; background: rgba(4, 14, 9, 0.24); backdrop-filter: blur(2.5px); transition: opacity 0.18s, visibility 0.18s; z-index: 2147483647 !important; }
.global-loader.hidden { display: none; }
.loader-card { min-width: 150px; max-width: 78vw; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 18px; background: rgba(255, 255, 255, 0.96); box-shadow: rgba(0, 0, 0, 0.16) 0px 16px 50px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text,#173021); font-size: 11px; font-weight: 600; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border-width: 3px; border-style: solid; border-color: rgb(21, 148, 71) rgb(39, 183, 102) rgb(220, 233, 226) rgb(220, 233, 226); border-image: none; animation: 0.72s linear 0s infinite normal none running globalSpin; flex: 0 0 auto; }
@keyframes globalSpin { 
  100% { transform: rotate(360deg); }
}
button:disabled { cursor: wait; opacity: 0.7; }
@media (max-width: 430px) {.loader-card { min-width: 145px; padding: 13px 16px; font-size: 10px; }}
.loader-card { flex-direction: column; gap: 7px; min-width: 185px; }
.loader-main { display: flex; align-items: center; justify-content: center; gap: 10px; }
.loader-subtext { max-width: 72vw; text-align: center; font-size: 10px; line-height: 1.7; color: rgb(88, 112, 100); direction: rtl; word-break: break-word; }
.loader-subtext:empty { display: none; }
@keyframes assetPieSegmentIn { 
  0% { opacity: 0; transform: scale(0.72); }
  55% { opacity: 1; transform: scale(1.045); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes assetPieLegendIn { 
  0% { opacity: 0; transform: translateY(8px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}
@media (max-width: 600px) {.modal-card { padding: 14px; }}
@keyframes portfolioStatusFlash { 
  0% { filter: saturate(0.65) brightness(1.04); transform: scale(0.985); box-shadow: rgba(20, 80, 45, 0.12) 0px 8px 22px; }
  42% { filter: saturate(1.75) brightness(1.12); transform: scale(1.012); box-shadow: rgba(20, 120, 65, 0.3) 0px 20px 42px; }
  100% { filter: saturate(calc(1 + var(--profit-level, .3))) brightness(1); transform: scale(1); }
}
@keyframes portfolioLossStatusFlash { 
  0% { filter: saturate(0.65) brightness(1.04); transform: scale(0.985); box-shadow: rgba(120, 30, 30, 0.12) 0px 8px 22px; }
  42% { filter: saturate(1.8) brightness(1.1); transform: scale(1.012); box-shadow: rgba(170, 35, 35, 0.3) 0px 20px 42px; }
  100% { filter: saturate(calc(1 + var(--loss-level, .3))) brightness(1); transform: scale(1); }
}
.puzzle-captcha { margin: 12px 0px 4px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgb(248, 252, 249); overflow: hidden; }
.puzzle-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; margin-bottom: 8px; }
.puzzle-head button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 8px; background: rgb(255, 255, 255); color: var(--green); font-size: 17px; line-height: 1; }
.puzzle-board { position: relative; height: 112px; touch-action: none; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, rgb(11, 116, 56) 0%, rgb(33, 170, 94) 42%, rgb(155, 225, 180) 100%); box-shadow: rgba(255, 255, 255, 0.333) 0px 0px 0px 1px inset; }
.puzzle-board::before { content: ""; position: absolute; inset: 0px; background: radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.25) 0px, rgba(255, 255, 255, 0.25) 2px, transparent 3px), radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.208) 0px, rgba(255, 255, 255, 0.208) 3px, transparent 4px), linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.094) 31%, rgba(255, 255, 255, 0.094) 48%, transparent 49%); opacity: 0.9; }
.puzzle-slot, .puzzle-piece { position: absolute; width: 42px; height: 42px; top: 35px; border-radius: 9px; clip-path: polygon(0px 0px, 35% 0px, 35% 8%, 50% 8%, 50% 0px, 100% 0px, 100% 38%, 92% 38%, 92% 54%, 100% 54%, 100% 100%, 60% 100%, 60% 92%, 44% 92%, 44% 100%, 0px 100%); box-shadow: rgba(6, 75, 36, 0.5) 0px 4px 10px; }
.puzzle-slot { background: rgba(6, 47, 27, 0.4); border: 2px dashed rgba(255, 255, 255, 0.667); box-shadow: rgba(0, 31, 15, 0.533) 0px 0px 12px inset; }
.puzzle-piece { left: 0px; background: linear-gradient(135deg, rgb(255, 255, 255), rgb(217, 248, 228)); border: 2px solid rgb(255, 255, 255); cursor: grab; z-index: 2; touch-action: none; user-select: none; -webkit-user-drag: none; }
.puzzle-piece.dragging { cursor: grabbing; }
.puzzle-track { position: relative; height: 30px; margin-top: 8px; border-radius: 15px; background: rgb(226, 240, 230); overflow: hidden; direction: ltr; }
.puzzle-track-fill { position: absolute; left: 0px; top: 0px; height: 100%; width: 0px; background: linear-gradient(90deg, rgb(21, 148, 71), rgb(53, 189, 112)); opacity: 0.85; }
.puzzle-knob { position: absolute; left: 2px; top: 3px; width: 24px; height: 24px; border: 2px solid rgb(255, 255, 255); border-radius: 50%; background: rgb(21, 148, 71); box-shadow: rgba(20, 93, 52, 0.5) 0px 2px 7px; z-index: 3; touch-action: none; cursor: grab; user-select: none; }
.puzzle-track-label { position: absolute; inset: 0px; display: grid; place-items: center; color: rgb(99, 128, 109); font-size: 9px; pointer-events: none; direction: rtl; }
.puzzle-status { text-align: center; font-size: 9px; color: rgb(113, 129, 118); margin-top: 6px; min-height: 13px; }
.puzzle-captcha.verified { border-color: rgb(114, 201, 148); background: rgb(240, 255, 245); }
.puzzle-captcha.verified .puzzle-status { color: rgb(21, 148, 71); font-weight: 700; }
.puzzle-captcha.failed .puzzle-status { color: rgb(217, 74, 88); }
@keyframes pageEnter { 
  0% { opacity: 0; transform: translate3d(0px, 14px, 0px); }
  100% { opacity: 1; transform: translate3d(0px, 0px, 0px); }
}
@keyframes itemEnter { 
  0% { opacity: 0; transform: translate3d(0px, 10px, 0px) scale(0.985); }
  100% { opacity: 1; transform: translate3d(0px, 0px, 0px) scale(1); }
}
@keyframes fadeInSoft { 
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0px); }
}
.page.active { animation: 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) 0s 1 normal both running pageEnter; will-change: opacity, transform; }
.page.active > * { animation: 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) 0s 1 normal both running itemEnter; will-change: opacity, transform; }
.page.active > :nth-child(1) { animation-delay: 0.02s; }
.page.active > :nth-child(2) { animation-delay: 0.06s; }
.page.active > :nth-child(3) { animation-delay: 0.1s; }
.page.active > :nth-child(4) { animation-delay: 0.14s; }
.page.active > :nth-child(5) { animation-delay: 0.18s; }
.page.active > :nth-child(6) { animation-delay: 0.22s; }
.auth-card { animation: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) 0s 1 normal both running fadeInSoft; }
@media (prefers-reduced-motion: reduce) {*, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }}
.sidebar-item.active { background: rgb(230, 247, 236); color: var(--green); border-color: rgb(204, 235, 216); box-shadow: var(--shadow); }
.modal.image-modal { padding: 0px; background: rgba(0, 0, 0, 0.8); display: block; touch-action: none; }
.modal.image-modal .modal-card { width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: 0px; margin: 0px; background: transparent; border: 0px; border-radius: 0px; box-shadow: none; overflow: hidden; }
.modal.image-modal .close { z-index: 20; position: fixed; top: max(12px,env(safe-area-inset-top)); right: max(12px,env(safe-area-inset-right)); left: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(25, 25, 25, 0.62); color: rgb(255, 255, 255); font-size: 27px; line-height: 40px; display: grid; place-items: center; box-shadow: rgba(0, 0, 0, 0.22) 0px 5px 18px; }
.modal.image-modal #modalBody { width: 100vw; height: 100dvh; padding: 0px; margin: 0px; overflow: hidden; }
.support-badge.hidden { display: none; }
.nav-badge.hidden { display: none; }
.admin-conversation:hover, .admin-conversation.active { background: rgb(237, 249, 241); }
.primary.small { min-height: 34px; padding: 5px 10px; font-size: 10px; }
@keyframes adminSupportPulse { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes miBuySellSwitch { 
  0% { opacity: 0.35; transform: translateY(3px) scale(0.985); }
  55% { opacity: 1; transform: translateY(-1px) scale(1.012); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}
@keyframes miPageIn { 
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0px); }
}
@keyframes miCardIn { 
  0% { opacity: 0; transform: translateY(14px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}
@keyframes miPriceTick { 
  0% { transform: scale(1); text-shadow: none; }
  35% { transform: scale(1.025); text-shadow: rgba(21, 148, 71, 0.2) 0px 0px 14px; }
  100% { transform: scale(1); text-shadow: none; }
}
@keyframes miFloatGlow { 
  0%, 100% { transform: translate3d(0px, 0px, 0px); }
  50% { transform: translate3d(0px, -5px, 0px); }
}
@keyframes miSheen { 
  0% { transform: translateX(120%); }
  100% { transform: translateX(-120%); }
}
@keyframes miButtonPop { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
.page.active { animation: 0.34s cubic-bezier(0.2, 0.75, 0.25, 1) 0s 1 normal both running miPageIn; }
.bottom-nav button.active b { animation: 2.4s ease-in-out 0s infinite normal none running miFloatGlow; }
.primary, .my-assets-btn, .admin-actions button, .support-top-btn { transition: transform 0.18s, box-shadow 0.18s, filter 0.18s; }
.primary:hover, .my-assets-btn:hover, .admin-actions button:hover, .support-top-btn:hover { transform: translateY(-2px); filter: brightness(1.02); box-shadow: rgba(21, 148, 71, 0.16) 0px 10px 24px; }
.primary:active, .my-assets-btn:active, .admin-actions button:active, .support-top-btn:active { transform: scale(0.975); }
@media (prefers-reduced-motion: reduce) {*, ::before, ::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }}
@keyframes portfolioValueLive { 
  0%, 100% { opacity: 0.88; text-shadow: rgba(0, 0, 0, 0.1) 0px 3px 14px; }
  50% { opacity: 1; text-shadow: rgba(255, 255, 255, 0.34) 0px 3px 20px; }
}
.admin-message-panel.hidden { display: none; }
@media (max-width: 700px) {.market-texts-save-row .primary { width: 100%; }}
.dash-range-tabs button.active { background: rgb(233, 247, 238); border-color: rgb(169, 221, 188); color: rgb(17, 120, 59); font-weight: 800; }
.contact-tab.active { background: linear-gradient(135deg, rgb(232, 248, 237), rgb(247, 252, 248)); color: rgb(17, 131, 70); border-color: rgb(125, 204, 160); box-shadow: rgba(20, 130, 65, 0.08) 0px 5px 14px; }
.contact-tab-badge.hidden { display: none; }
.contact-panel.active { display: flex; }
.admin-user-status.active { background: rgb(228, 247, 235); color: rgb(22, 131, 66); }
.admin-profile-actions .primary { background: rgb(21, 148, 71); color: rgb(255, 255, 255); }
.sidebar-badge.hidden { display: none; }
.contact-pane.hidden { display: none; }
@keyframes contactFade { 
  0% { opacity: 0.5; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}
@keyframes adminContactPulse { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
.admin-contact-top-panel.hidden { display: none; }
.admin-contact-top-tabs button.active { color: rgb(22, 140, 73); border-bottom-color: rgb(22, 140, 73); background: rgb(242, 250, 245); }
.admin-top-contact-pane.hidden { display: none; }
.credentials-form .error { font-size: 10px; }
.admin-direct-trade-card .wide { width: 100%; font-family: inherit; border: 0px; border-radius: 11px; padding: 11px 14px; cursor: pointer; font-size: 10px; }
.trade-choice.active.buy { background: rgb(234, 248, 239); border-color: rgb(155, 209, 173); color: rgb(22, 116, 61); }
.trade-choice.active.sell { background: rgb(255, 240, 240); border-color: rgb(229, 170, 170); color: rgb(179, 40, 40); }
.admin-trade-modal > .wide { width: 100%; font-family: inherit; border: 0px; border-radius: 11px; padding: 11px; cursor: pointer; font-size: 10px; }
.forgot-password-link { display: block; margin: 10px auto 0px; border: 0px; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; padding: 5px 8px; }
.forgot-password-link:hover { text-decoration: underline; }
.dash-history-dots circle:hover, .dash-history-dots circle.active { r: 6; stroke-width: 3; }
.ui-icon { width: 26px; height: 26px; display: inline-block; vertical-align: middle; flex: 0 0 auto; object-fit: contain; }
.ui-icon-inline { width: 20px; height: 20px; margin-inline-end: 6px; }
.sidebar-item > .ui-icon, .sidebar-item > span > .ui-icon { width: 25px; height: 25px; }
.bottom-nav .ui-icon { width: 25px; height: 25px; display: block; margin: 0px auto 2px; }
.more-grid .ui-icon { width: 28px; height: 28px; }
.report-grid .ui-icon { width: 26px; height: 26px; }
.support-icon .ui-icon, .admin-contact-top-icon .ui-icon { width: 24px; height: 24px; }
.contact-tab .ui-icon { width: 19px; height: 19px; }
.admin-contact-top-tabs .ui-icon { width: 18px; height: 18px; }
.ui-icon-inline + * { }
.sidebar-item > .ui-icon, .sidebar-item > span > .ui-icon { width: 23px; height: 23px; }
.sidebar-item.active { background: linear-gradient(90deg, rgb(237, 249, 241), rgb(229, 247, 235)); border-color: rgb(204, 233, 214); color: rgb(18, 128, 68); box-shadow: rgba(21, 148, 71, 0.08) 0px 7px 18px; transform: none; }
.sidebar-item.active::before { content: ""; position: absolute; right: -1px; top: 9px; bottom: 9px; width: 3px; border-radius: 4px; background: rgb(21, 148, 71); box-shadow: rgba(21, 148, 71, 0.24) 0px 2px 8px; }
.sidebar-item.active span:first-child { background: rgb(217, 241, 226); }
.sidebar-item.active b { font-weight: 900; }
.sidebar-submenu.hidden { display: none; }
.sidebar-submenu .sidebar-item > .ui-icon, .sidebar-submenu .sidebar-item > span > .ui-icon { width: 20px; height: 20px; }
.sidebar-submenu .sidebar-item.active::before { top: 8px; bottom: 8px; }
.admin-sidebar.collapsed .sidebar-item.active::before { right: -1px; top: 8px; bottom: 8px; }
.push-icon-btn .ui-icon { width: 20px; height: 20px; }
.admin-push-icon .ui-icon { width: 22px; height: 22px; }
.global-loader.hidden { display: none !important; pointer-events: none !important; }
.topbar-actions .ui-icon, .topbar-actions img { pointer-events: none !important; }
.modal { z-index: 20000 !important; }
.modal-card { position: relative; z-index: 20001; }
.top-icon-wrap .ui-icon { width: 19px !important; height: 19px !important; }
.top-icon-badge.hidden { display: none !important; }
@media (max-width: 430px) {.top-icon-wrap .ui-icon { width: 17px !important; height: 17px !important; }}
.top-icon-wrap .ui-icon { width: 18px !important; height: 18px !important; }
@media (max-width: 430px) {.top-icon-wrap .ui-icon { width: 16px !important; height: 16px !important; }}
:root { --motion-fast: 140ms; --motion-base: 190ms; --motion-enter: 240ms; --motion-ease: cubic-bezier(.2,.75,.25,1); }
@keyframes uiEnter { 
  0% { opacity: 0; transform: translate3d(0px, 7px, 0px); }
  100% { opacity: 1; transform: translate3d(0px, 0px, 0px); }
}
.page.active { animation: uiEnter var(--motion-enter) var(--motion-ease) both; will-change: auto; }
.page.active > * { animation: auto ease 0s 1 normal none running none !important; will-change: auto !important; }
.brand-splash-glow, .brand-splash-logo, .bottom-nav button.active b, #totalValue, .admin-support-btn.has-unread, .admin-contact-top-btn.has-unread { animation: auto ease 0s 1 normal none running none !important; }
.brand-splash-glow { filter: none; }
.brand-splash-logo { filter: drop-shadow(rgba(43, 255, 104, 0.22) 0px 5px 14px); }
.topbar, .market-topbar, .bottom-nav, .auth-card { animation: auto ease 0s 1 normal none running none; }
button, .market-card, .asset-row, .asset, .price, .order, .admin-user, .admin-stat, .card, .modal-card, .notif-panel, .admin-message-panel, .admin-support-btn, .admin-contact-top-btn, .cash-profit-investor-card, .cash-profit-dashboard-card { transition: transform var(--motion-base) var(--motion-ease),opacity var(--motion-base) ease,border-color var(--motion-base) ease,background-color var(--motion-base) ease,box-shadow var(--motion-base) ease; }
@media (prefers-reduced-motion: reduce) {*, ::before, ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; scroll-behavior: auto !important; transform: none !important; filter: none !important; }}
@keyframes uiLivePulse { 
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.58; transform: scale(0.86); }
}
@keyframes uiValueUpdate { 
  0% { opacity: 0.72; transform: scale(0.985); }
  55% { opacity: 1; transform: scale(1.018); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes uiStatusFlash { 
  0% { box-shadow: rgba(255, 255, 255, 0) 0px 0px 0px 0px; }
  45% { box-shadow: rgba(255, 255, 255, 0.22) 0px 0px 0px 5px; }
  100% { box-shadow: var(--shadow); }
}
@keyframes uiCardSheen { 
  0% { left: -40%; }
  100% { left: 120%; }
}
@keyframes uiPageContentIn { 
  0% { opacity: 0; transform: translate3d(0px, 10px, 0px) scale(0.99); }
  100% { opacity: 1; transform: translate3d(0px, 0px, 0px) scale(1); }
}
.page.active > :nth-child(-n+5) { animation: uiPageContentIn 300ms var(--motion-ease) both !important; }
.page.active > :nth-child(1) { animation-delay: 0ms !important; }
.page.active > :nth-child(2) { animation-delay: 35ms !important; }
.page.active > :nth-child(3) { animation-delay: 70ms !important; }
.page.active > :nth-child(4) { animation-delay: 105ms !important; }
.page.active > :nth-child(5) { animation-delay: 140ms !important; }
@media (prefers-reduced-motion: reduce) {.page.active, .page.active > *, .market-grid > *, .asset-list > *, .live-dot, .market-price-switch, .portfolio-total.portfolio-status-flash, .admin-support-btn.has-unread .support-badge, .admin-contact-top-btn.has-unread .admin-contact-top-badge { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }}
.monthly-sim-asset-choice.active { border-color: rgb(21, 148, 71); background: rgb(239, 250, 243); box-shadow: rgba(21, 148, 71, 0.09) 0px 0px 0px 2px; }
@keyframes simulatorShortcutGlow { 
  0%, 100% { box-shadow: rgba(255, 194, 50, 0.28) 0px 4px 17px, rgba(255, 255, 255, 0.9) 0px 1px 0px inset; }
  50% { box-shadow: rgba(255, 194, 50, 0.55) 0px 5px 23px, rgba(255, 224, 142, 0.19) 0px 0px 0px 3px, rgba(255, 255, 255, 0.9) 0px 1px 0px inset; }
}
#modalBody > .monthly-investment-simulator { margin: 0px; }
.market-history-tabs button.active { color: rgb(255, 255, 255); background: linear-gradient(135deg, rgb(26, 162, 82), rgb(16, 120, 59)); box-shadow: rgba(18, 130, 65, 0.2) 0px 4px 10px; }
.dash-history-card .dash-range-tabs button.active { color: rgb(255, 255, 255); background: linear-gradient(135deg, rgb(26, 162, 82), rgb(16, 120, 59)); box-shadow: rgba(18, 130, 65, 0.2) 0px 4px 10px; }
.rbac-manager.active { border-color: rgb(182, 221, 194) !important; background: rgb(238, 248, 241) !important; box-shadow: rgb(21, 148, 71) -3px 0px inset !important; }
.rbac-editor-actions .primary { min-width: 160px; height: 42px; border-radius: 11px !important; }
.rbac-save-status.error, .rbac-add-status.error, .rbac-hint.error { color: rgb(193, 60, 60); }
@media (max-width: 650px) {.rbac-add-row .primary { grid-column: auto; }
.rbac-editor-actions .primary { min-width: 120px; }}
@keyframes contactLive { 
  50% { box-shadow: rgba(32, 183, 96, 0.047) 0px 0px 0px 7px; }
}
@keyframes userContactUnreadPulse { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
.trade-card .hidden { display: none !important; }
#profile .cash-wallet-user-card > .ghost.wide { width: 100%; min-height: 40px; margin: 0px; padding: 9px 12px; border-radius: 11px; font-size: 10px; font-weight: 800; }
.cash-invoice-modal .modal-card { width: min(920px, -24px + 100vw) !important; max-width: 920px !important; max-height: 92vh !important; padding: 18px !important; }
@media (max-width: 700px) {.cash-invoice-modal .modal-card { width: 100% !important; max-width: none !important; max-height: 94vh !important; padding: 13px !important; }}
@media (min-width: 701px) {#modal:not(.image-modal) .modal-card:has(.asset-detail-hero), #modal:not(.image-modal) .modal-card:has(.cash-invoice-only) { width: min(1120px, -48px + 100vw) !important; max-width: 1120px !important; max-height: 92vh !important; padding: 24px !important; border-radius: 22px !important; }
#modal .asset-detail-hero { gap: 18px !important; padding-bottom: 18px !important; }
#modal .asset-detail-icon { width: 70px !important; height: 70px !important; font-size: 36px !important; }
#modal .asset-detail-hero span { font-size: 12px !important; }
#modal .asset-detail-hero h3 { font-size: 25px !important; }
#modal .asset-detail-hero small { font-size: 12px !important; }
#modal .asset-detail-grid { gap: 12px !important; margin: 18px 0px !important; }
#modal .asset-detail-grid div { padding: 15px !important; border-radius: 14px !important; }
#modal .asset-detail-grid span { font-size: 12px !important; margin-bottom: 7px !important; }
#modal .asset-detail-grid b { font-size: 16px !important; }
#modal .asset-invoice-inline { padding: 14px !important; border-radius: 16px !important; }
#modal .asset-invoice-inline .invoice-inline-head { padding: 11px 13px !important; }
#modal .asset-invoice-inline .invoice-inline-head b { font-size: 16px !important; }
#modal .asset-invoice-inline .invoice-inline-head small { font-size: 12px !important; }
#modal .asset-invoice-inline .invoice-table { font-size: 15px !important; min-width: 900px !important; }
#modal .asset-invoice-inline .invoice-table th, #modal .asset-invoice-inline .invoice-table td { padding: 11px 9px !important; }
#modal .asset-invoice-inline .invoice-status { font-size: 13px !important; padding: 6px 9px !important; }}
@media (max-width: 700px) {.cash-invoice-modal .modal-card { padding: 14px !important; border-radius: 18px !important; }
.modal-card .bank-form { gap: 7px !important; padding: 2px !important; }
.modal-card .bank-form h3 { color: rgb(23, 48, 33); font-size: 20px !important; margin: 0px 0px 3px !important; }
.modal-card .bank-form > p.muted { font-size: 11px !important; line-height: 1.9 !important; margin: 0px 0px 8px !important; }
.modal-card .bank-form > label { font-size: 11px !important; margin: 7px 0px !important; }
.modal-card .bank-form input, .modal-card .bank-form select { min-height: 46px !important; padding: 11px 12px !important; border-radius: 13px !important; font-size: 14px !important; }
.modal-card .payment-info { margin: 8px 0px 12px !important; padding: 13px !important; border-radius: 17px !important; }
.modal-card .payment-info-title { font-size: 16px !important; }
.modal-card .payment-info-note { font-size: 11px !important; line-height: 1.9 !important; }
.modal-card .copy-payment-row { min-height: 54px !important; padding: 9px 11px !important; border-radius: 13px !important; }
.modal-card .copy-payment-row small { font-size: 10px !important; }
.modal-card .copy-payment-row b { font-size: 13px !important; }
.modal-card .copy-payment-row strong { font-size: 11px !important; padding: 6px 9px !important; }
.modal-card .payment-owner { font-size: 11px !important; line-height: 1.9 !important; }
.modal-card .receipt-pick { gap: 8px !important; margin: 10px 0px !important; }
.modal-card .receipt-pick button { min-height: 48px !important; border-radius: 13px !important; font-size: 11px !important; }
.modal-card .bank-form > .primary.wide, .modal-card .bank-form > .secondary.wide { min-height: 46px !important; border-radius: 13px !important; font-size: 12px !important; margin-top: 5px !important; }
.modal-card #cashWithdrawBanks { display: grid; gap: 7px; margin: 5px 0px 4px; }
.modal-card .bank-choice { margin: 0px !important; padding: 12px !important; border-radius: 14px !important; background: rgb(251, 254, 252) !important; }
.modal-card .bank-choice.selected { box-shadow: rgba(21, 148, 71, 0.08) 0px 0px 0px 2px, rgba(21, 148, 71, 0.07) 0px 7px 18px !important; }
.modal-card .bank-choice > span { gap: 5px !important; }
.modal-card .bank-choice > span b { font-size: 12px !important; }
.modal-card .bank-choice small { font-size: 10px !important; }}
#profile .cash-wallet-user-card > .ghost.wide { width: calc(100% - 32px) !important; margin: 0px 16px 16px !important; height: 42px !important; min-height: 42px !important; border-radius: 12px !important; font-size: 10px !important; font-weight: 850 !important; }
@media (max-width: 700px) {#profile .cash-wallet-user-card > .ghost.wide { width: calc(100% - 24px) !important; margin: 0px 12px 12px !important; height: 40px !important; min-height: 40px !important; }}
@container (max-width: 700px) {
  :is(#ordersList, #adminPending) .order-card .order-card-values.has-net { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 8px 0px; }
  :is(#ordersList, #adminPending) .order-card .order-card-values.has-net > span:nth-child(2n+1) { border-inline-start: 0px; padding-inline-start: 0px; }
}
:root { --green: #357b5b; --green2: #286348; --bg: #f4f6f5; --panel: #fff; --line: #e2e9e5; --text: #293d33; --muted: #687a70; --red: #bf5260; --shadow: 0 2px 8px rgba(32, 61, 45, .04); }
body { background: var(--bg) !important; }
.auth-card { padding: 20px; border-radius: 16px; border-color: var(--line); box-shadow: rgba(32, 61, 45, 0.06) 0px 6px 24px; }
.brand, .primary { background: var(--green) !important; box-shadow: none !important; }
.primary { padding: 9px 12px; border-radius: 9px; }
input, select, textarea { background: rgb(252, 253, 252); border-color: var(--line); }
input:focus, select:focus, textarea:focus { border-color: rgb(107, 155, 128); box-shadow: rgba(53, 123, 91, 0.1) 0px 0px 0px 2px; }
.auth-tabs, .trade-tabs, .admin-tabs { background: rgb(237, 242, 239); border-radius: 10px; }
.auth-tabs button, .trade-tabs button, .admin-tabs button { padding: 8px; }
.modal { background: rgba(28, 44, 35, 0.38); }
.modal-card { border-radius: 14px; box-shadow: rgba(28, 44, 35, 0.13) 0px 12px 36px; }
:root { --bg: #f4f6f8; --panel: #fff; --line: #e3e8ed; --green: #247454; --green2: #195c41; --text: #202e3b; --muted: #687787; --red: #b84153; --shadow: 0 4px 18px rgba(27,43,60,.035); }
html, body { color: var(--text); background: var(--bg) !important; }
body, button, input, select, textarea { font-family: var(--font-fa); font-variant-numeric: tabular-nums; }
.dash-range-tabs button.active { background: rgb(255, 255, 255); color: var(--green); box-shadow: rgba(32, 48, 64, 0.063) 0px 1px 4px; }
#home .madsarmaye-banner-dot.active { background: var(--green); }
label { font-size: 13px; color: var(--muted); margin: 16px 0px; }
input, select, textarea { background: rgb(255, 255, 255); border-color: var(--line); border-radius: 11px; font-size: 14px; padding: 12px; min-height: 46px; }
.primary { border-radius: 11px; min-height: 46px; font-size: 14px; background: var(--green) !important; box-shadow: none !important; }
.secondary, .ghost { border-color: var(--line); border-radius: 11px; min-height: 42px; font-size: 13px; }
#profile .cash-wallet-user-actions button, #profile .cash-wallet-user-card > .ghost.wide { font-size: 13px; min-height: 46px; }
.bottom-nav button.active { background: rgb(234, 244, 239); color: var(--green); }
.bottom-nav .ui-icon { width: 23px; height: 23px; }
.modal { background: rgba(21, 32, 43, 0.4); }
.modal-card { border-radius: 20px; padding: 24px; box-shadow: rgba(21, 32, 43, 0.125) 0px 20px 70px; }
button:focus-visible, a:focus-visible { outline: rgb(116, 165, 142) solid 3px; outline-offset: 3px; }
input:focus, select:focus, textarea:focus { border-color: rgb(107, 156, 131); box-shadow: rgba(36, 116, 84, 0.082) 0px 0px 0px 3px; }
@media (min-width: 900px) {#home.active { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); column-gap: 20px; }}
@media (max-width: 650px) {.modal-card { padding: 18px; }}
#supportDrawer .unified-contact-head b .ui-icon { width: 19px; height: 19px; margin: 0px; }
#supportDrawer .contact-tab.active { background: rgb(255, 255, 255); color: rgb(36, 116, 84); box-shadow: rgba(22, 55, 42, 0.047) 0px 1px 4px; }
#supportDrawer .contact-tab .ui-icon { width: 17px; height: 17px; margin: 0px; }
#appView > .market-topbar .top-icon-btn:not(.has-unread) .ui-icon { filter: brightness(0) saturate(100%); opacity: 0.75; }
#appView > .market-topbar .top-icon-btn .ui-icon { width: 21px; height: 21px; }
@keyframes marketTickerScroll { 
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0px); }
}
#globalLoader .loader-card { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 240px; max-width: min(400px, -40px + 100vw); box-sizing: border-box; }
#globalLoader .loader-main { display: flex; align-items: center; justify-content: center; gap: 12px; }
#globalLoader .operation-progress { display: grid; gap: 10px; direction: rtl; text-align: center; width: 100%; }
.mad-wordmark { display: block; width: 160px; height: auto; max-width: 100%; object-fit: contain; flex-shrink: 0; }
#loginView .auth-brand { width: min(260px, 100%); height: auto; margin: 4px auto 20px; }
#loginView .auth-brand .mad-wordmark { width: 100%; height: auto; border-radius: 0px; filter: none; }
#appView > .market-topbar .mad-wordmark { width: 160px; height: auto; border-radius: 0px; box-shadow: none; background: transparent; }
.admin-brand .mad-wordmark { width: 150px; height: auto; border-radius: 0px; filter: none; }
.news-brand .mad-wordmark, .site-header .brand .mad-wordmark { width: 170px; height: auto; }
@media (max-width: 430px) {#appView > .market-topbar .mad-wordmark { width: 125px; }
.admin-brand .mad-wordmark { width: 110px; }
.news-brand .mad-wordmark, .site-header .brand .mad-wordmark { width: 135px; }}
#appView > .market-topbar .brand-mini .mad-wordmark { outline: 0px; border: 0px !important; box-shadow: none !important; background: transparent !important; padding: 0px !important; }
#trade .trade-tabs button.active { background: rgb(255, 255, 255); color: rgb(36, 116, 84); box-shadow: rgba(35, 63, 46, 0.04) 0px 3px 10px; }
#trade .trade-tabs button[data-op="فروش"].active { color: rgb(184, 65, 83); }
@media (hover: hover) {#trade .trade-tabs button:not(.active):hover { background: rgba(255, 255, 255, 0.5); color: rgb(69, 94, 77); }}
html { scroll-padding-top: 80px; }
@media (min-width: 1100px) {#appView #bottomNav .ui-icon { flex-shrink: 0; margin: 0px; }
#appView #assets.active { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 20px; }}
@media (min-width: 1100px) {#appView > .market-main:has(#home.active) { padding: 20px 24px 30px !important; }
#appView #home.active { grid-template-columns: minmax(0px, 1.1fr) minmax(0px, 1fr); gap: 14px 18px; align-items: start; }}
@media (max-width: 700px) {#appView input, #appView select, #appView textarea, #loginView input, #loginView select, #loginView textarea, #adminApp input, #adminApp select, #adminApp textarea, .audit-responsive input, .audit-responsive select { font-size: 16px !important; }
#appView button:not(.madsarmaye-banner-dot):not(.monthly-sim-presets button), #adminApp .ghost, #adminApp .primary { min-height: 44px; }
.modal:not(.image-modal):not(.growth-simulator-dialog) { padding: 10px; align-items: flex-end; }
.modal:not(.image-modal):not(.growth-simulator-dialog) > .modal-card { box-sizing: border-box; width: 100%; max-width: 100%; max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; padding: 48px 16px max(20px,env(safe-area-inset-bottom)); border-radius: 20px 20px 12px 12px; }
.modal:not(.image-modal) > .modal-card > .close { min-width: 44px; min-height: 44px; top: 2px; left: 8px; z-index: 2; }
body.audit-responsive { padding: 12px; }}
#modal:not(.image-modal) > .modal-card:has(.asset-detail-hero) { box-sizing: border-box; overflow: auto; min-width: 0px; width: calc(-32px + 100vw) !important; max-width: 760px !important; max-height: calc(100dvh - 32px) !important; padding: 44px 18px 18px !important; border-radius: 18px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-hero { gap: 10px !important; padding: 0px 0px 10px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-hero > div:last-child { min-width: 0px; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-icon { flex: 0 0 auto; border-radius: 12px; width: 44px !important; height: 44px !important; font-size: 24px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-icon img { width: 28px; height: 28px; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-hero h3 { line-height: 1.7; overflow-wrap: anywhere; font-size: 18px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-hero .asset-detail-owner { color: inherit; font: inherit !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-hero span, #modal #modalBody:has(.asset-detail-hero) .asset-detail-hero small { font-size: 11px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-grid { grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 7px !important; margin: 10px 0px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-grid div { min-width: 0px; padding: 9px !important; border-radius: 10px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-grid span { font-size: 10px !important; margin-bottom: 4px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-grid b { font-size: 12px !important; overflow-wrap: anywhere; }
#modal #modalBody:has(.asset-detail-hero) .asset-invoice-inline { min-width: 0px; max-width: 100%; box-sizing: border-box; padding: 8px !important; border-radius: 12px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-inline-head { flex-wrap: wrap; gap: 6px; padding: 7px !important; font-size: 12px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-inline-head b { font-size: 13px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-inline-head small, #modal #modalBody:has(.asset-detail-hero) .invoice-page-label { font-size: 11px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-table { min-width: 680px !important; font-size: 11px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-table th, #modal #modalBody:has(.asset-detail-hero) .invoice-table td { padding: 7px 5px !important; font-size: 11px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-status { font-size: 10px !important; padding: 3px 5px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-summary { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 6px; margin-top: 8px; }
#modal #modalBody:has(.asset-detail-hero) .invoice-summary > div { padding: 7px; }
#modal #modalBody:has(.asset-detail-hero) .invoice-summary span { font-size: 10px !important; }
#modal #modalBody:has(.asset-detail-hero) .invoice-summary b { font-size: 12px !important; overflow-wrap: anywhere; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-actions { grid-template-columns: 1fr auto; gap: 8px; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-actions button { font-size: 12px; padding: 10px 14px; min-height: 44px; }
@media (max-width: 600px) {#modal:not(.image-modal) > .modal-card:has(.asset-detail-hero) { width: calc(-20px + 100vw) !important; max-height: calc(100dvh - 20px) !important; padding: 44px 12px 12px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-hero h3 { font-size: 16px !important; }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
#modal #modalBody:has(.asset-detail-hero) .asset-detail-actions { grid-template-columns: 1fr; }}
@media (max-height: 500px) and (max-width: 950px) {.modal:not(.image-modal) > .modal-card { max-height: calc(100dvh - 12px); }}
@media (min-width: 900px) {#appView #home.active { grid-template-areas: "heading heading" "capital actions" "notice actions" "banners news" "updated updated"; align-items: start; row-gap: 14px; }}
#passwordVisibilityToggle .password-eye-icon { width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; flex: 0 0 23px; }
#passwordVisibilityToggle .password-eye-icon svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentcolor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#passwordVisibilityToggle .password-eye-text { white-space: nowrap; }
#passwordVisibilityToggle:hover, #passwordVisibilityToggle:active { color: rgb(15, 125, 59) !important; }
#passwordVisibilityToggle:focus-visible { outline: rgba(21, 148, 71, 0.25) solid 2px !important; outline-offset: 2px !important; }
#puzzleBoard { position: relative; overflow: hidden; }
#puzzlePiece, #puzzleSlot { background-image: url("/icon-192.png?v=20261013") !important; background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important; }
#puzzlePiece { z-index: 3; display: block !important; }
#puzzleSlot { opacity: 0.28 !important; z-index: 1; }
@keyframes cashProfitRatePop { 
  0% { opacity: 0.55; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}
.cash-profit-dashboard-action.active { border-color: rgba(23, 132, 71, 0.2); background: rgb(255, 255, 255); box-shadow: rgba(23, 132, 71, 0.1) 0px 5px 14px; }
.cash-profit-dashboard-action.active .cash-profit-toggle-check { background: rgb(23, 132, 71); color: rgb(255, 255, 255); }
.cash-profit-method.active { border-color: rgb(23, 132, 71); background: rgb(241, 251, 245); box-shadow: rgba(23, 132, 71, 0.08) 0px 5px 15px; }
.cash-profit-method.active { border-color: rgb(23, 132, 71); background: rgb(241, 251, 245); box-shadow: rgba(23, 132, 71, 0.08) 0px 5px 15px; }