/* Money management only. Existing calculator selectors and font sizes retained. */
body[data-layout="money-studio"] .landing-shell { width: min(1180px,calc(100% - 32px)); }
body[data-layout="money-studio"] .landing-card.site-card { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body[data-page="tools"] .nx-mm-studio { --nx-mm-motion-ready: 1; display: grid; gap: 22px; }
body[data-page="tools"] .nx-mm-studio :is(h1,h2,h3,p) { white-space: normal !important; word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important; -webkit-hyphens: none !important; }
body[data-page="tools"] .nx-mm-studio .nx-mm-hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); gap: 24px; align-items: center; min-height: 370px; padding: clamp(24px,3.3vw,40px); border: 1px solid rgba(116,183,205,.22); border-radius: 28px; background: radial-gradient(ellipse at 0 5%,rgba(68,154,176,.13),transparent 64%),linear-gradient(135deg,#112432,#0a1625 70%,#101c2d); overflow: hidden; box-shadow: inset 0 1px rgba(223,249,255,.04),0 18px 45px rgba(0,4,12,.13); }
body[data-page="tools"] .nx-mm-studio .mm-hero-copy-v3 { padding: 0; min-width: 0; }
body[data-page="tools"] .nx-mm-studio .mm-hero-copy-v3 h1 { max-width: none !important; text-wrap: balance !important; }
body[data-page="tools"] .nx-mm-studio .mm-hero-copy-v3 > p { text-align: justify; text-justify: inter-word; }
body[data-page="tools"] .nx-mm-studio .mini-label { color: #8fd7e1; }
body[data-page="tools"] .nx-mm-studio .mm-unit-switch { display: inline-flex; align-self: flex-start; flex-wrap: wrap; gap: 5px; padding: 5px; margin-top: 21px; border: 1px solid rgba(127,187,208,.2); border-radius: 14px; background: rgba(6,21,33,.55); }
body[data-page="tools"] .nx-mm-studio .mm-unit-btn { min-height: 44px; min-width: 70px; padding: 8px 15px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #a3bbc9; box-shadow: none; }
body[data-page="tools"] .nx-mm-studio .mm-unit-btn:is(.is-active,[aria-pressed="true"]) { border-color: rgba(132,211,226,.3); background: linear-gradient(140deg,rgba(42,107,130,.45),rgba(37,72,104,.45)); color: #e5f6f8; box-shadow: inset 0 1px rgba(211,245,250,.05); }
body[data-page="tools"] .nx-mm-studio .mm-mode-note { color: #8dabbf; margin-top: 10px; }
body[data-page="tools"] .nx-mm-studio .mm-hero-feature-row { gap: 15px !important; margin-top: 23px; }
body[data-page="tools"] .nx-mm-studio .mm-hero-feature { gap: 7px !important; }
body[data-page="tools"] .nx-mm-studio .mm-feature-icon { color: #8fd3df !important; }
body[data-page="tools"] .nx-mm-studio .mm-hero-feature small { color: #88a3b8; }
body[data-page="tools"] .nx-mm-studio .nx-mm-visual { position: relative; width: 100%; min-width: 0; aspect-ratio: 1.3; min-height: 260px; isolation: isolate; }
body[data-page="tools"] .nx-mm-studio .nx-mm-plane { position: absolute; inset: 35% -5% -9%; background-image: linear-gradient(rgba(117,185,204,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(117,185,204,.08) 1px,transparent 1px); background-size: 28px 28px; transform: perspective(450px) rotateX(60deg) rotateZ(-17deg); mask-image: radial-gradient(ellipse,#000,transparent 69%); -webkit-mask-image: radial-gradient(ellipse,#000,transparent 69%); }
body[data-page="tools"] .nx-mm-studio .nx-mm-orbit { position: absolute; inset: 18% 15%; border: 1px solid rgba(128,198,215,.12); border-radius: 50%; transform: rotate(-25deg); box-shadow: 0 0 0 19px rgba(124,194,211,.025); }
body[data-page="tools"] .nx-mm-studio .nx-mm-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
body[data-page="tools"] .nx-mm-studio .nx-mm-shield { transform-origin: 210px 150px; animation: nx-mm-shield 7s ease-in-out infinite; }
body[data-page="tools"] .nx-mm-studio .nx-mm-trace { animation: nx-mm-trace 12s linear infinite; }
body[data-page="tools"] .nx-mm-studio .nx-mm-node { position: absolute; color: #a8c7d4; padding: 6px 10px; background: rgba(14,36,51,.88); border: 1px solid rgba(128,191,213,.18); border-radius: 8px; white-space: nowrap; }
body[data-page="tools"] .nx-mm-studio .nx-mm-node-capital { left: 0; top: 9%; }
body[data-page="tools"] .nx-mm-studio .nx-mm-node-risk { right: 0; top: 9%; }
body[data-page="tools"] .nx-mm-studio .nx-mm-node-size { left: 50%; bottom: -1%; transform: translateX(-50%); }
body[data-page="tools"] .nx-mm-studio .nx-mm-section-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
body[data-page="tools"] .nx-mm-studio .nx-mm-section-label > strong { color: #9bbdcd; font-weight: 600; }
body[data-page="tools"] .nx-mm-studio .nx-mm-jumps { display: flex; flex-wrap: wrap; gap: 5px 10px; }
body[data-page="tools"] .nx-mm-studio .nx-mm-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 11px; color: #a8cad6; text-decoration: none; border: 1px solid rgba(128,191,211,.13); border-radius: 10px; background: rgba(14,34,48,.5); }
body[data-page="tools"] .nx-mm-studio .mm-grid-v3 { gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
body[data-page="tools"] .nx-mm-studio .mm-card { scroll-margin-top: 105px; padding: 25px 23px 22px; border: 1px solid rgba(115,177,200,.23); border-radius: 23px; background: radial-gradient(ellipse at 100% 0,rgba(68,144,167,.08),transparent 65%),linear-gradient(145deg,#0f2030,#0a1625); box-shadow: inset 0 1px rgba(223,249,255,.025); }
body[data-page="tools"] .nx-mm-studio .mm-card-head { min-height: 78px; margin-bottom: 17px; gap: 11px; }
body[data-page="tools"] .nx-mm-studio .mm-card-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; border-color: rgba(136,199,218,.17); background: rgba(71,151,181,.07); box-shadow: none; color: #91badd; }
body[data-page="tools"] .nx-mm-studio .mm-card[data-mm-card="budget"] .mm-card-icon { color: #81cbdc; }
body[data-page="tools"] .nx-mm-studio .mm-card[data-mm-card="position"] .mm-card-icon { color: #b0a3df; }
body[data-page="tools"] .nx-mm-studio .mm-card-icon svg { width: 21px; height: 21px; }
body[data-page="tools"] .nx-mm-studio .mm-form-grid-v3 { gap: 14px; }
body[data-page="tools"] .nx-mm-studio .mm-form-grid-v3 label { grid-template-columns: minmax(0,1fr); align-items: start; gap: 7px; }
body[data-page="tools"] .nx-mm-studio .mm-form-grid-v3 label > span { min-width: 0; }
body[data-page="tools"] .nx-mm-studio .mm-form-grid-v3 input { min-height: 46px; border-radius: 11px; border-color: rgba(123,182,205,.23); background: rgba(5,18,31,.7); color: #e6f2f7; box-shadow: inset 0 1px rgba(190,234,247,.025); direction: ltr; text-align: start; font-variant-numeric: tabular-nums; }
body[data-page="tools"] .nx-mm-studio .mm-form-grid-v3 input:focus-visible { border-color: #72c8dc; box-shadow: 0 0 0 3px rgba(88,185,206,.12); outline: 1px solid transparent; }
body[data-page="tools"] .nx-mm-studio .mm-form-grid-v3 input.is-invalid { border-color: #d67b82; box-shadow: 0 0 0 3px rgba(214,123,130,.1); }
body[data-page="tools"] .nx-mm-studio .mm-section-label { padding-top: 20px; margin: auto 0 8px; color: #87ccda; }
body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 { border-color: rgba(119,194,210,.25); border-radius: 13px; background: #0a1c2a; }
body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 > div { min-height: 95px; padding: 14px 9px; background: linear-gradient(140deg,rgba(27,66,83,.28),rgba(10,29,45,.4)); }
body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 > div + div { border-color: rgba(117,183,201,.2); }
body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 strong { color: #a0deeb; }
body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 span { color: #9db6c8; }
body[data-page="tools"] .nx-mm-studio .mm-note-box { margin-top: 13px; padding: 11px 10px; border-color: rgba(114,173,195,.13); background: rgba(7,22,35,.5); }
body[data-page="tools"] .nx-mm-studio .mm-note-box p { text-align: justify; text-justify: inter-word; }
body[data-page="tools"] .nx-mm-studio .mm-note-icon { color: #79abba; }
body[data-page="tools"] .nx-mm-studio .mm-pill-row { gap: 6px; }
body[data-page="tools"] .nx-mm-studio .mm-pill { min-height: 44px; border-color: rgba(124,183,207,.2); background: rgba(7,23,36,.6); box-shadow: none; }
body[data-page="tools"] .nx-mm-studio .mm-pill:is(.is-active,[aria-pressed="true"]) { border-color: rgba(128,204,223,.4); background: linear-gradient(140deg,rgba(50,120,147,.5),rgba(39,78,112,.55)); box-shadow: none; }
body[data-page="tools"] .nx-mm-studio .mm-bottom-strip-v3 { gap: 18px; margin: 0; }
body[data-page="tools"] .nx-mm-studio :is(.mm-bottom-cta,.mm-bottom-guide) { padding: 21px; border: 1px solid rgba(115,177,199,.19); border-radius: 19px; background: linear-gradient(140deg,#102230,#0a1928); }
body[data-page="tools"] .nx-mm-studio .mm-bottom-cta .nx-btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 9px 14px; border: 1px solid rgba(125,193,214,.22); border-radius: 11px; background: rgba(27,61,80,.5); color: #cde5ed; text-decoration: none; }
body[data-page="tools"] .nx-mm-studio .mm-guide-icon { color: #8ec5d3; }
body[data-page="tools"] .nx-mm-studio .mm-disclaimer { padding: 0 10px; margin: 0; }
body[data-page="tools"] .nx-mm-studio .nx-mm-no-js { border: 1px solid rgba(215,172,111,.3); border-radius: 12px; padding: 13px; background: rgba(90,64,28,.15); color: #d7c29d; }
body[data-page="tools"] .nx-mm-studio :is(a,button):focus-visible { outline: 2px solid #8ed6e3; outline-offset: 4px; }
body[data-page="tools"] .nx-mm-studio[data-money-motion="active"] [data-money-reveal="pending"] { opacity: 0; transform: translateY(10px); }
body[data-page="tools"] .nx-mm-studio [data-money-reveal] { transition: opacity .7s ease,transform .7s ease; }
body[data-page="tools"] .nx-mm-studio [data-money-reveal="seen"] { opacity: 1; transform: none; }
body[data-page="tools"] .nx-mm-studio[data-money-visual="paused"] :is(.nx-mm-shield,.nx-mm-trace) { animation-play-state: paused; }
@keyframes nx-mm-shield { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes nx-mm-trace { to { stroke-dashoffset: -440; } }
@media (max-width:1180px) {
 body[data-page="tools"] .nx-mm-studio .mm-grid-v3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body[data-page="tools"] .nx-mm-studio .mm-grid-v3 > .mm-card:last-child { grid-column: 1/-1; }
 body[data-page="tools"] .nx-mm-studio .mm-card[data-mm-card="position"] .mm-form-grid-v3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:1000px) {
 body[data-page="tools"] .nx-mm-studio .nx-mm-hero { grid-template-columns: minmax(0,1.2fr) minmax(220px,.8fr); gap: 20px; }
 body[data-page="tools"] .nx-mm-studio .mm-hero-feature-row { grid-template-columns: 1fr; gap: 9px !important; }
 body[data-page="tools"] .nx-mm-studio .mm-hero-feature { flex-direction: row; align-items: center; justify-content: flex-start; text-align: start; }
 body[data-page="tools"] .nx-mm-studio .mm-feature-icon { margin: 0 !important; }
 body[data-page="tools"] .nx-mm-studio .mm-hero-feature small { max-width: none; }
}
@media (max-width:760px) {
 body[data-layout="money-studio"] .landing-shell { width: min(1180px,calc(100% - 20px)); }
 body[data-page="tools"] .nx-mm-studio .nx-mm-hero { grid-template-columns: 1fr; padding: 25px 22px 20px; gap: 15px; border-radius: 23px; }
 body[data-page="tools"] .nx-mm-studio .nx-mm-visual { max-width: 350px; min-height: 230px; justify-self: center; }
 body[data-page="tools"] .nx-mm-studio .mm-hero-feature-row { margin-top: 17px; }
 body[data-page="tools"] .nx-mm-studio .nx-mm-jumps { width: 100%; }
 body[data-page="tools"] .nx-mm-studio .nx-mm-jumps a { flex: 1 1 auto; justify-content: center; }
 body[data-page="tools"] .nx-mm-studio .mm-grid-v3 { grid-template-columns: 1fr; }
 body[data-page="tools"] .nx-mm-studio .mm-grid-v3 > .mm-card:last-child { grid-column: auto; }
 body[data-page="tools"] .nx-mm-studio .mm-card[data-mm-card="position"] .mm-form-grid-v3 { grid-template-columns: 1fr; }
 body[data-page="tools"] .nx-mm-studio .mm-card { padding: 22px 20px; }
 body[data-page="tools"] .nx-mm-studio .mm-card-head { min-height: 0; }
 body[data-page="tools"] .nx-mm-studio .mm-section-label { margin-top: 0; }
 body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3.cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 > div + div { border-top: 0; border-inline-start: 1px solid rgba(117,183,201,.2); }
 body.is-en[data-page="tools"] .nx-mm-studio :is(.mm-hero-copy-v3 > p,.mm-note-box p) { text-align: start; }
}
@media (max-width:360px) {
 body[data-page="tools"] .nx-mm-studio .mm-unit-switch { align-self: stretch; }
 body[data-page="tools"] .nx-mm-studio .mm-unit-btn { flex: 1; min-width: 0; }
 body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3.cols-2 { grid-template-columns: 1fr; }
 body[data-page="tools"] .nx-mm-studio .mm-result-grid-v3 > div + div { border-inline-start: 0; border-top: 1px solid rgba(117,183,201,.2); }
}
@media (prefers-reduced-motion:reduce), print {
 body[data-page="tools"] .nx-mm-studio [data-money-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
 body[data-page="tools"] .nx-mm-studio :is(.nx-mm-shield,.nx-mm-trace) { animation: none !important; }
}
@media print {
 body[data-page="tools"] .nx-mm-studio .nx-mm-visual { display: none; }
 body[data-page="tools"] .nx-mm-studio .nx-mm-hero { display: block; }
 body[data-page="tools"] .nx-mm-studio .mm-card { break-inside: avoid; }
}
