:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#06111f;--bg-deep:#030711;--surface:#0d1b2cf0;--surface-raised:#102236f5;--surface-soft:#182d43b3;--ink:#f3ecdf;--muted:#aeb7b3;--line:#dac48b21;--line-blue:#5988b23d;--gold:#c7a64a;--gold-strong:#d9bd6a;--clay:#b06b4f;--emerald:#67b790;--danger:#d77870;--lapis:#174a78;--input:#040a12b8;color:var(--ink);background:var(--bg);font-synthesis:none;font-variant-numeric:tabular-nums;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(180deg, #174a7840, transparent 310px), repeating-linear-gradient(90deg, #dac48b06 0 1px, transparent 1px 34px), repeating-linear-gradient(0deg, #b06b4f04 0 1px, transparent 1px 42px), var(--bg-deep);min-width:320px;min-height:100vh;margin:0}body:before{content:"";pointer-events:none;opacity:.3;background-color:#0000;background-image:linear-gradient(135deg,#0000 0 44%,#c7a64a0b 44% 46%,#0000 46%),linear-gradient(45deg,#0000 0 46%,#b06b4f09 46% 48%,#0000 48%);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:96px 96px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:fixed;inset:0}html,body,#root{max-width:100%;overflow-x:hidden}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.75}.app-shell{z-index:1;width:min(100%,960px);min-height:100vh;margin:0 auto;padding:18px 14px 96px;position:relative}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;padding-bottom:10px;display:flex;position:relative}.app-header:after{content:"";opacity:.55;background:linear-gradient(var(--gold), var(--gold)) 0 12px / 92px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 18px 8px / 56px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 34px 4px / 24px 1px no-repeat;width:92px;height:16px;position:absolute;bottom:-1px;right:0}.title-block{min-width:0}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.brand{color:var(--gold-strong);letter-spacing:0;text-transform:uppercase;align-items:center;gap:8px;margin:0 0 4px;font-size:.78rem;font-weight:820;display:inline-flex}.brand:before{content:"";background:linear-gradient(var(--gold), var(--gold)) 0 12px / 22px 3px no-repeat, linear-gradient(var(--gold), var(--gold)) 4px 7px / 14px 3px no-repeat, linear-gradient(var(--gold), var(--gold)) 8px 2px / 6px 3px no-repeat;opacity:.9;width:22px;height:16px}h1{letter-spacing:0;color:var(--ink);margin:0;font-size:1.85rem;font-weight:760;line-height:1}.status-pill{border:1px solid var(--line-blue);min-height:34px;color:var(--ink);background:#102236b8;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.82rem;font-weight:720;display:inline-flex}.install-button{border:1px solid var(--line-blue);min-height:34px;color:var(--ink);background:#16304bb3;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.82rem;font-weight:760;display:inline-flex}.language-switch{border:1px solid var(--line-blue);max-width:156px;min-height:34px;color:var(--ink);background:#102236bd;border-radius:999px;align-items:center;gap:6px;padding:0 8px;display:inline-flex}.language-switch svg{color:var(--gold-strong);flex:none}.language-switch select{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:.8rem;font-weight:720}.status-pill.is-online svg{color:var(--emerald)}.status-pill.is-offline{color:var(--gold-strong);border-color:#c7a64a52}.ios-install-hint{border:1px solid var(--line-blue);color:#dbe8f0;background:#174a7829;border-radius:8px;align-items:center;gap:8px;width:100%;min-height:42px;margin:-4px 0 16px;padding:0 12px;font-size:.88rem;font-weight:800;display:inline-flex}.install-help{border:1px solid var(--line-blue);color:#dbe8f0;background:#174a7829;border-radius:8px;gap:8px;margin:-4px 0 10px;padding:8px 10px;display:grid}.install-help-title{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;font-size:.9rem;display:grid}.install-help-dismiss{border:1px solid var(--line-blue);min-height:30px;color:var(--muted);background:0 0;border-radius:8px;padding:0 8px;font-size:.76rem;font-weight:800}.install-help p{color:var(--muted);margin:0;font-size:.84rem;line-height:1.35}.stack{gap:14px;display:grid}.cockpit{gap:10px;display:grid}.notice-button{width:100%;min-height:38px;color:var(--gold-strong);text-align:left;background:#c7a64a17;border:1px solid #c7a64a52;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;padding:0 11px;font-size:.84rem;font-weight:730;display:inline-flex}.notice-button span{overflow-wrap:anywhere;min-width:0}.hero-balance{border:1px solid var(--line-blue);background:linear-gradient(180deg, #14426a5c, transparent), var(--surface-raised);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:82px;padding:16px;display:flex;position:relative;overflow:hidden}.hero-balance:after{content:"";opacity:.14;background:linear-gradient(var(--gold), var(--gold)) 0 28px / 104px 4px no-repeat, linear-gradient(var(--gold), var(--gold)) 18px 18px / 68px 4px no-repeat, linear-gradient(var(--gold), var(--gold)) 36px 8px / 32px 4px no-repeat;width:104px;height:34px;position:absolute;bottom:12px;right:54px}.hero-balance p{color:var(--muted);margin:0 0 6px;font-size:.82rem;font-weight:720}.hero-balance strong{color:var(--ink);overflow-wrap:anywhere;font-size:1.88rem;line-height:1;display:block}.hero-balance small{color:var(--gold-strong);margin-top:8px;font-size:.78rem;font-weight:720;display:block}.allocation-card{border:1px solid var(--line);background:#0d1b2cb8;border-radius:8px;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:center;gap:12px;padding:11px 12px;display:grid}.allocation-copy span,.allocation-copy strong{display:block}.allocation-copy span{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:700}.allocation-copy strong{color:var(--ink);margin-top:3px;font-size:.9rem;font-weight:760}.inline-link{min-height:28px;color:var(--gold-strong);background:0 0;border:0;align-items:center;margin-top:6px;padding:0;font-size:.78rem;font-weight:760;display:inline-flex}.allocation-visual{gap:7px;min-width:0;display:grid}.allocation-track{background:#f3ecdf14;border-radius:999px;gap:3px;min-width:0;height:12px;display:flex;overflow:hidden}.allocation-segment{min-width:8px;display:block}.allocation-legend{color:var(--muted);flex-wrap:wrap;gap:6px 10px;font-size:.7rem;font-weight:700;display:flex}.allocation-legend span{align-items:center;gap:5px;min-width:0;display:inline-flex}.allocation-dot{border-radius:999px;flex:none;width:7px;height:7px}.allocation-gold{background:var(--gold-strong)}.allocation-danger{background:var(--danger)}.allocation-clay{background:var(--clay)}.cockpit-grid,.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.quick-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.quick-row button{border:1px solid var(--line);min-height:38px;color:var(--gold-strong);background:#0d1b2c9e;border-radius:8px;font-size:.82rem;font-weight:720}.action-card{border:1px solid var(--line);width:100%;min-height:112px;color:var(--ink);background:var(--surface);text-align:left;border-radius:8px;justify-items:start;gap:8px;padding:16px;display:grid}.action-card svg{color:currentColor}.action-card span{font-size:1.05rem;font-weight:950}.action-card small{color:inherit;opacity:.78;line-height:1.35}.next-step-card{background:#67b79014;border:1px solid #67b7903d;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid;box-shadow:inset 4px 0 #67b79052}.next-step-card p,.next-step-card strong,.next-step-card span{display:block}.next-step-card p{color:var(--emerald);text-transform:uppercase;margin:0 0 3px;font-size:.74rem;font-weight:900}.next-step-card strong{color:var(--ink);margin-bottom:3px;font-size:.95rem}.next-step-card span{color:var(--muted);font-size:.82rem;line-height:1.35}.action-row,.utility-row,.form-actions{gap:10px;display:flex}.action-row{align-items:stretch}.utility-row{flex-wrap:wrap}.button{min-height:44px;color:var(--ink);letter-spacing:0;white-space:normal;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:0;padding:0 14px;font-weight:650;line-height:1.15;text-decoration:none;display:inline-flex}.button svg,.bottom-nav svg,.icon-button svg{flex:none}.button span{overflow-wrap:anywhere;min-width:0}.button.primary{color:#06111f;background:#83aace}.button.secondary{background:#b06b4f2e;border-color:#b06b4f57}.button.large{flex:1 1 0;min-width:0;min-height:58px}.button.compact{min-height:36px;padding:0 10px;font-size:.82rem}.update-banner{background:#c7a64a17;border:1px solid #c7a64a47;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:-4px 0 14px;padding:10px;display:grid}.update-banner strong,.update-banner span{display:block}.update-banner strong{color:var(--ink);font-size:.92rem}.update-banner span{color:var(--muted);font-size:.78rem;line-height:1.35}.update-actions{gap:8px;display:flex}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.metric-card,.form-panel,.list-panel,.summary-strip{border:1px solid var(--line);background:var(--surface);border-radius:8px;box-shadow:0 14px 32px #00000042}.cockpit-grid>*,.action-grid>*,.more-grid>*,.placeholder-grid>*{min-width:0}.metric-card{min-width:0;min-height:112px;padding:11px;position:relative;overflow:hidden}.metric-card:after{content:"";opacity:.055;background:linear-gradient(currentColor,currentColor) 0 11px/42px 2px no-repeat,linear-gradient(currentColor,currentColor) 8px 6px/26px 2px no-repeat,linear-gradient(currentColor,currentColor) 16px 1px/10px 2px no-repeat;width:42px;height:14px;position:absolute;bottom:8px;right:8px}.cockpit .metric-card{min-height:78px;padding:9px}.cockpit .metric-icon{width:26px;height:26px;margin-bottom:6px}.metric-icon{background:#dac48b0e;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;margin-bottom:14px;display:inline-flex}.metric-card p,.summary-strip span,.field>span,.transaction-date{color:var(--muted);letter-spacing:0;margin:0;font-size:.78rem;font-weight:680}.metric-card strong{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin-top:4px;font-size:1.16rem;line-height:1.08;display:block}.metric-card small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:.72rem;font-weight:700;display:block}.tone-gold .metric-icon{color:var(--gold-strong)}.tone-danger .metric-icon{color:var(--danger)}.tone-green .metric-icon{color:var(--emerald)}.tone-blue .metric-icon{color:#8ab4d6}.tone-muted .metric-icon{color:#c8d0cf}.tone-clay .metric-icon{color:var(--clay)}.mini-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1.2fr) minmax(80px,.8fr);align-items:center;gap:10px;min-height:74px;padding:10px;display:grid}.flow-bars{justify-content:flex-end;align-items:end;gap:14px;height:54px;display:flex}.flow-bars div{height:54px;color:var(--muted);place-items:end center;gap:4px;font-size:.68rem;font-weight:850;display:grid}.flow-bars span{background:var(--emerald);border-radius:8px 8px 2px 2px;width:18px;min-height:4px;display:block}.flow-bars .expense-bar span{background:var(--clay)}.summary-strip{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;display:grid;overflow:hidden}.summary-strip div{background:#16304b57;min-width:0;padding:14px}.summary-strip strong{overflow-wrap:anywhere;margin-top:6px;font-size:1.1rem;display:block}.about-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.about-grid div{background:#16304b52;border-radius:8px;min-width:0;padding:10px}.about-grid span{color:var(--muted);margin-bottom:5px;font-size:.78rem;font-weight:850;display:block}.about-grid strong{overflow-wrap:anywhere;display:block}.compact-strip{box-shadow:none;background:0 0;border:0}.compact-strip div{border-radius:8px}.form-panel{gap:14px;padding:14px;display:grid}.field{gap:7px;min-width:0;display:grid}.field input,.field select,.field textarea{border:1px solid var(--line-blue);width:100%;min-height:46px;color:var(--ink);background:var(--input);border-radius:8px;outline:none;padding:10px 12px}.field textarea{resize:vertical}.field>.field-hint{color:var(--subtle);font-size:.76rem;font-weight:650;line-height:1.35}.two-column,.three-column,.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.three-column{grid-template-columns:repeat(3,minmax(0,1fr))}.import-filters{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.review-mode-toggle{align-self:end;min-height:47px}.two-column.compact{align-items:end}.check-row{border:1px solid var(--line-blue);background:var(--input);min-height:46px;color:var(--ink);border-radius:8px;align-items:center;gap:10px;padding:0 12px;font-weight:800;display:inline-flex}.segmented{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.segmented input{opacity:0;pointer-events:none;position:absolute}.segmented span{border:1px solid var(--line-blue);background:var(--input);min-height:46px;color:var(--muted);text-align:center;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 10px;font-size:.9rem;font-weight:850;display:flex}.form-error{color:#ffd5d5;background:#f28f8f1a;border:1px solid #f28f8f47;border-radius:8px;margin:0;padding:10px 12px;font-weight:750}.form-success{color:#d6fff2;background:#66c2a51a;border:1px solid #66c2a547;border-radius:8px;margin:0;padding:10px 12px;font-weight:750}.guard-panel,.chart-panel,.import-panel,.batch-list{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:14px;display:grid;box-shadow:0 14px 32px #00000038}.wizard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.wizard-grid article,.import-kind-panel,.setup-flow article,.preview-list div{background:#16304b52;border:1px solid #dac48b1a;border-radius:8px;gap:8px;min-width:0;padding:12px;display:grid}.wizard-grid article>span{color:#07111f;background:var(--gold-strong);border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;font-size:.8rem;font-weight:950;display:inline-flex}.wizard-grid strong,.import-kind-panel>strong,.setup-flow strong,.preview-summary strong{color:var(--ink)}.wizard-grid p,.wizard-grid small,.preview-summary small,.preview-list small,.setup-flow span{color:var(--muted);font-size:.82rem;line-height:1.35}.import-kind-panel{gap:10px}.preview-summary{gap:4px;display:grid}.preview-list{gap:8px;display:grid}.preview-list div{grid-template-columns:minmax(82px,auto) minmax(88px,auto) minmax(0,1fr);align-items:center}.preview-list span{color:var(--muted);font-size:.78rem;font-weight:800}.setup-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.preset-card{border:1px solid var(--line-blue);min-width:0;color:var(--ink);text-align:left;background:#16304b52;border-radius:8px;gap:5px;padding:11px;display:grid}.preset-card span{color:var(--gold-strong);font-size:.72rem;font-weight:760}.preset-card strong{font-size:.92rem}.preset-card small{color:var(--emerald);font-size:.78rem;font-weight:760}.preset-card p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.32}.section-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-title p{color:var(--muted);margin:0 0 4px;font-size:.78rem;font-weight:850}.section-title h2{color:var(--ink);margin:0;font-size:1.25rem;line-height:1.1}.guard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.guard-stats div{background:#16304b52;border-radius:8px;min-width:0;padding:10px}.guard-stats span,.muted-copy,.batch-list p,.bank-row small{color:var(--muted);font-size:.84rem}.guard-stats strong{overflow-wrap:anywhere;margin-top:4px;display:block}.guard-note{color:var(--gold-strong);margin:0;font-weight:800}.next-actions{gap:10px;display:grid}.next-actions strong{font-weight:760}.tool-details{border-top:1px solid var(--line);padding-top:10px}.tool-details summary{min-height:34px;color:var(--gold-strong);cursor:pointer;align-items:center;gap:8px;font-weight:850;display:flex}.sub-form,.review-controls{gap:10px;margin-top:10px;display:grid}.split-bar{background:#dac48b14;border-radius:999px;width:100%;height:14px;display:flex;overflow:hidden}.split-bar span{min-width:0}.split-treasury,.legend-treasury{background:var(--gold-strong)}.split-monthly,.legend-monthly{background:var(--emerald)}.split-debt,.legend-debt{background:var(--danger)}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:10px;font-size:.8rem;font-weight:800;display:flex}.chart-legend span{align-items:center;gap:6px;display:inline-flex}.chart-legend i{border-radius:999px;width:10px;height:10px;display:inline-block}.mini-charts{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px;display:grid}.bar-chart{background:#16304b52;border-radius:8px;justify-content:center;align-items:end;gap:18px;min-height:124px;padding:10px;display:flex}.bar-column{height:104px;color:var(--muted);place-items:end center;gap:6px;font-size:.72rem;font-weight:850;display:grid}.bar-column span{background:var(--emerald);border-radius:8px 8px 2px 2px;width:28px;min-height:4px;display:block}.bar-column.expense span{background:var(--clay)}.progress-chart{background:#16304b52;border-radius:8px;align-content:center;gap:8px;min-height:124px;padding:12px;display:grid}.progress-chart span{color:var(--muted);font-size:.8rem;font-weight:850}.progress-track{background:#dac48b1a;border-radius:999px;height:12px;overflow:hidden}.progress-track i{background:#8ab4d6;border-radius:999px;height:100%;display:block}.bank-row{border-bottom:1px solid var(--line);gap:10px;min-width:0;padding:14px;display:grid}.bank-row:last-child{border-bottom:0}.bank-row-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.bank-row p{color:var(--ink);overflow-wrap:anywhere;margin:0}.import-table-wrap{width:100%;overflow-x:auto}.import-table{border-collapse:collapse;width:100%;min-width:620px}.import-table th,.import-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px}.import-table th{color:var(--muted);text-transform:uppercase;font-size:.74rem;font-weight:760}.import-table td{color:var(--ink);font-size:.82rem}.import-table td:nth-child(2){width:40%}.import-table td strong,.import-table td span{overflow-wrap:anywhere;min-width:0;display:block}.import-table td span:not(.badge){color:var(--muted);margin-top:3px;font-size:.74rem;line-height:1.3}.import-table .positive-money{color:var(--emerald);font-weight:760}.import-table .negative-money{color:var(--ink);font-weight:760}.import-edit-row>td{background:#16304b42;padding:0}.import-edit-row .bank-row{border-bottom:0}.link-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.link-row select{border:1px solid var(--line-blue);min-width:0;min-height:46px;color:var(--ink);background:var(--input);border-radius:8px;padding:0 10px}.list-panel{display:grid;overflow:hidden}.debt-row,.transaction-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:14px;display:flex}.debt-row:last-child,.transaction-row:last-child{border-bottom:0}.debt-row>div:first-child,.transaction-main{min-width:0}.row-title{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.row-title strong,.transaction-main strong{overflow-wrap:anywhere}.debt-row p,.transaction-main p,.empty-state p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0;line-height:1.35}.badge{border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:.72rem;font-weight:850;display:inline-flex}.badge-muted{color:#c8d0cf;background:#dac48b1a}.badge-row{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.icon-actions{flex:none;gap:6px;display:inline-flex}.icon-button{border:1px solid var(--line);width:38px;height:38px;color:var(--ink);background:#16304b80;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-button.danger{color:var(--danger)}.icon-button:disabled{opacity:.38;cursor:not-allowed}.transaction-row{align-items:flex-start}.transaction-side{justify-items:end;gap:8px;display:grid}.amount-positive{color:var(--emerald)}.amount-negative{color:var(--gold-strong)}.empty-state{color:var(--muted);text-align:center;justify-items:center;gap:8px;padding:32px 18px;display:grid}.empty-state strong{color:var(--ink);font-size:1rem}.more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.more-card{border:1px solid var(--line);min-height:118px;color:var(--ink);background:var(--surface);text-align:left;border-radius:8px;justify-items:start;gap:7px;padding:14px;display:grid}.more-card svg{color:var(--gold-strong)}.more-card span{font-weight:900}.more-card small{color:var(--muted);line-height:1.35}.stage-list{gap:8px;display:grid;position:relative}.stage-list:before{content:"";background:linear-gradient(var(--gold-strong), #dac48b14);opacity:.4;width:1px;position:absolute;top:14px;bottom:14px;left:24px}.principle-list{gap:8px;display:grid}.principle-list article{background:#67b7900f;border:1px solid #67b7902e;border-radius:8px;gap:3px;padding:10px;display:grid}.principle-list span{color:var(--muted);font-size:.84rem;line-height:1.35}.stage-row{border:1px solid var(--line);background:#16304b52;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:10px;display:grid;position:relative}.stage-row>span{border:1px solid var(--line);width:28px;height:28px;color:var(--muted);background:var(--input);z-index:1;border-radius:6px;justify-content:center;align-items:center;font-size:.8rem;font-weight:950;display:inline-flex;position:relative}.stage-row strong{margin-bottom:3px;display:block}.stage-row p{color:var(--muted);margin:0;line-height:1.35}.placeholder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.placeholder-grid article{border:1px solid var(--line);background:#16304b52;border-radius:8px;gap:4px;padding:10px;display:grid}.placeholder-grid span,.disclaimer{color:var(--muted);font-size:.84rem;line-height:1.45}.disclaimer{border:1px solid var(--line-blue);background:#174a781f;border-radius:8px;margin:0;padding:12px}.file-input{display:none}.bottom-nav{width:min(100%,960px);padding:8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:10;background:#030711f5;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-width:0;min-height:48px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-items:center;gap:4px;font-size:.72rem;font-weight:650;display:grid}.bottom-nav span{text-overflow:ellipsis;max-width:100%;overflow:hidden}:root[dir=rtl] .app-header:after{left:0;right:auto}:root[dir=rtl] .brand:before{transform:scaleX(-1)}:root[dir=rtl] .hero-balance:after,:root[dir=rtl] .metric-card:after{left:8px;right:auto}:root[dir=rtl] .next-step-card{box-shadow:inset -4px 0 #67b79052}:root[dir=rtl] .stage-list:before{left:auto;right:24px}:root[dir=rtl] .stage-row.active-stage{box-shadow:inset -3px 0 #c7a64a94}:root[dir=rtl] .transaction-side{justify-items:start}@media (width>=680px){.app-shell{width:min(100%,1040px);padding:28px 22px 112px}.bottom-nav{width:min(100%,1040px)}.action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cockpit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.form-panel{padding:18px}}@media (width<=420px){h1{font-size:1.7rem}.app-header{display:grid}.header-actions{justify-content:flex-start}.action-row,.form-actions,.utility-row{flex-direction:column}.form-actions{display:grid}.two-column,.three-column,.filter-bar,.mini-charts,.guard-stats,.link-row,.next-step-card,.update-banner,.about-grid,.wizard-grid,.preview-list div,.setup-flow,.preset-grid{grid-template-columns:1fr}.import-table{min-width:0}.import-table thead{display:none}.import-table,.import-table tbody,.import-table tr,.import-table td{width:100%;display:block}.import-table tr{border-bottom:1px solid var(--line);padding:8px 0}.import-table td{border-bottom:0;padding:4px 10px}.import-table td:first-child,.import-table td:nth-child(3),.import-table td:nth-child(4),.import-table td:nth-child(5){align-items:center;width:auto;max-width:100%;margin-right:6px;display:inline-flex}.import-table td:nth-child(2){width:100%}.update-actions{grid-template-columns:1fr auto;display:grid}.transaction-row{display:grid}.transaction-side{justify-content:space-between;align-items:center;display:flex}.placeholder-grid,.more-grid{grid-template-columns:1fr}}@media (width>=920px){.app-shell{padding-bottom:36px;padding-left:98px}.bottom-nav{border-top:0;border-right:1px solid var(--line-strong);grid-template-columns:1fr;align-content:start;gap:8px;width:76px;height:100vh;padding:26px 8px;inset:0 auto 0 max(0px,50% - 560px)}.bottom-nav button{min-height:64px}.bottom-nav button.active{box-shadow:inset 2px 0 #d1ae5dcc}}html body{background:linear-gradient(180deg, #122335a3, #03040700 320px), linear-gradient(90deg, #f1eee806 0 1px, transparent 1px 96px), var(--bg-deep)}body .app-header{border-bottom:1px solid #27313d}body .brand{color:var(--gold-strong);text-transform:uppercase;gap:7px}body .brand:after{content:"";background:var(--gold-strong);opacity:.75;width:32px;height:1px;display:inline-block}body h1{font-weight:680}body :is(.hero-balance,.metric-card,.allocation-card,.form-panel,.import-panel,.list-panel,.summary-strip,.batch-list,.guard-panel,.chart-panel,.transaction-row,.bank-row,.debt-row,.more-card,.action-card,.preset-card,.placeholder-card,.principle-list article,.setup-guide-card,.import-context-card){box-shadow:none;background:#0b1017;border-color:#303a47}body .hero-balance{border-top:1px solid var(--gold-strong);background:linear-gradient(#12385a33,#0b1017f5),#0b1017;min-height:96px}body .hero-balance strong{letter-spacing:0;font-size:clamp(1.9rem,7vw,2.72rem);font-weight:720}body .metric-card{min-height:92px;position:relative}body .metric-card:before{content:"";background:0 0;width:2px;position:absolute;inset:0 auto 0 0}body .metric-icon{width:27px;height:27px;color:var(--muted);background:#0f1620;border-color:#303a47;border-radius:3px}body .metric-card strong,body .summary-strip strong,body .more-card span,body .action-card span{font-weight:680}body .notice-button,body .next-step-card{color:var(--ink);background:#0d1116;border-color:#303a47;box-shadow:inset 2px 0 #d1ae5dcc}body .action-card.primary-action{color:#07090d;background:#d1ae5d}body .button,body .bottom-nav button,body .status-pill,body .install-button,body .language-switch{font-weight:640}body .action-grid .button.primary,body .action-grid .button.secondary,body .action-grid .button.ghost{box-shadow:none;background:#0b1017}body .action-grid .button.primary{color:var(--gold-strong);border-color:#d1ae5db8}body .action-grid .button.secondary{color:#e7c3ba;border-color:#9e5e4f9e}body .allocation-track,body .split-bar,body .progress-track,body .allocation-segment,body .split-bar span,body .progress-track i{border-radius:1px}body .bottom-nav button.active{background:#11100c}:root{--bg:#07090d;--bg-deep:#030407;--surface:#0d1219;--surface-raised:#111823;--surface-soft:#151d28;--ink:#f1eee8;--muted:#98a2ad;--subtle:#727d89;--line:#26313d;--line-blue:#2d4053;--line-strong:#3a4654;--gold:#a8863f;--gold-strong:#d1ae5d;--clay:#9e5e4f;--emerald:#5fb485;--danger:#c96565;--lapis:#12385a;--input:#080c12}body{background:linear-gradient(180deg, #12385a38, #03040700 360px), linear-gradient(90deg, #a8863f09 0 1px, transparent 1px 80px), linear-gradient(0deg, #98a2ad07 0 1px, transparent 1px 80px), var(--bg-deep)}body:before{opacity:.08;background-color:#0000;background-image:linear-gradient(135deg,#0000 0 47%,#d1ae5d17 47% 48%,#0000 48%),linear-gradient(45deg,#0000 0 47%,#12385a2e 47% 48%,#0000 48%);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:128px 128px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box}.app-shell{width:min(100%,1120px);padding:18px 12px 88px}.app-header{border-bottom-color:var(--line-strong);align-items:center;margin-bottom:12px;padding:0 0 12px}.app-header:after{opacity:.38;background:linear-gradient(var(--gold-strong), var(--gold-strong)) 0 8px / 118px 1px no-repeat, linear-gradient(var(--gold-strong), var(--gold-strong)) 26px 4px / 66px 1px no-repeat, linear-gradient(var(--gold-strong), var(--gold-strong)) 46px 0 / 26px 1px no-repeat;width:118px;height:10px}.brand{color:var(--gold-strong);letter-spacing:0;margin-bottom:5px;font-size:.72rem;font-weight:760}.brand:before{background:linear-gradient(var(--gold-strong), var(--gold-strong)) 0 11px / 18px 2px no-repeat, linear-gradient(var(--gold-strong), var(--gold-strong)) 4px 6px / 10px 2px no-repeat, linear-gradient(var(--gold-strong), var(--gold-strong)) 7px 1px / 4px 2px no-repeat;width:18px;height:14px}h1{font-size:clamp(1.48rem,5vw,2.35rem);font-weight:720;line-height:1.03}.header-actions{gap:7px}.status-pill,.install-button,.language-switch,.install-help-dismiss{border-color:var(--line-strong);min-height:34px;color:var(--ink);background:#0d1219eb;border-radius:4px;font-size:.78rem;font-weight:680}.install-button{color:var(--gold-strong)}.language-switch{max-width:164px}.language-switch select{font-weight:680}.install-help,.ios-install-hint,.update-banner,.disclaimer{border-color:var(--line-strong);background:#111823eb;border-radius:4px}.cockpit,.stack{gap:10px}.notice-button,.next-step-card{min-height:40px;color:var(--gold-strong);background:#d1ae5d14;border-color:#d1ae5d73;border-radius:4px;box-shadow:inset 3px 0 #d1ae5d80}.hero-balance{border-color:var(--line-strong);background:linear-gradient(180deg, #12385a59, #12385a0d), var(--surface-raised);min-height:104px;box-shadow:none;border-top:2px solid #d1ae5d9e;border-radius:4px;padding:16px}.hero-balance:after,.metric-card:after{opacity:.1}.hero-balance p,.allocation-copy span,.metric-card p,.summary-strip span,.field>span,.transaction-date,.section-title p,.import-table th,.about-grid span{color:var(--muted);letter-spacing:0;font-weight:680}.hero-balance strong{font-size:clamp(2rem,8vw,3rem);font-weight:760}.hero-balance small{color:var(--gold-strong);font-weight:660}.metric-card,.form-panel,.list-panel,.summary-strip,.guard-panel,.chart-panel,.import-panel,.batch-list,.allocation-card,.action-card,.more-card,.wizard-grid article,.import-kind-panel,.setup-flow article,.preview-list div,.preset-card,.principle-list article,.stage-row,.placeholder-grid article,.mini-panel{border-color:var(--line);background:var(--surface);box-shadow:none;border-radius:4px}.form-panel,.import-panel,.batch-list,.guard-panel,.chart-panel{padding:14px}.allocation-card{border-color:var(--line-strong);background:#0d1219e6;padding:10px 12px}.allocation-copy strong,.section-title h2,.metric-card strong,.empty-state strong{font-weight:720}.allocation-track,.split-bar,.progress-track{background:#f1eee814;border-radius:2px;height:10px}.allocation-segment,.split-bar span,.progress-track i{border-radius:0}.allocation-dot,.chart-legend i{border-radius:2px}.action-grid{gap:7px}.button,.quick-row button,.icon-button,.check-row,.segmented span,.field input,.field select,.field textarea,.link-row select,.badge,.stage-row>span,.about-grid div,.guard-stats div,.compact-strip div,.bar-chart,.progress-chart{border-radius:4px}.button{border-color:var(--line-strong);min-height:42px;padding:0 12px;font-size:.9rem;font-weight:700}.button.primary{color:#07090d;background:linear-gradient(#d8bd73,#b89246);border-color:#d8bd73}.button.secondary{color:#f0d7cf;background:#9e5e4f21;border-color:#9e5e4f8c}.button.ghost{border-color:var(--line-strong);color:var(--ink);background:#0d12198a}.button:hover,.icon-button:hover,.more-card:hover,.action-card:hover,.preset-card:hover{border-color:#d1ae5d8c}.button:focus-visible,.icon-button:focus-visible,.more-card:focus-visible,.action-card:focus-visible,.preset-card:focus-visible,.bottom-nav button:focus-visible,.language-switch:focus-within{outline-offset:2px;outline:2px solid #d1ae5dcc}.action-card{background:var(--surface-raised);min-height:104px;padding:14px}.action-card.primary-action{color:#07090d;background:linear-gradient(#d8bd73,#b89246)}.action-card span,.more-card span{font-weight:760}.cockpit-grid{gap:7px}.metric-card{min-height:104px;padding:12px}.cockpit .metric-card{background:#0d1219;min-height:84px;padding:10px}.metric-icon{background:#f1eee809;border:1px solid #f1eee814;border-radius:4px;width:28px;height:28px;margin-bottom:8px}.cockpit .metric-icon{width:26px;height:26px}.metric-card strong{font-size:1.18rem}.summary-strip{border-color:var(--line-strong);background:var(--surface)}.summary-strip div,.about-grid div,.guard-stats div,.compact-strip div,.bar-chart,.progress-chart,.wizard-grid article,.import-kind-panel,.setup-flow article,.preview-list div,.preset-card,.principle-list article,.stage-row,.placeholder-grid article{background:#151d28b8}.field input,.field select,.field textarea,.link-row select{border-color:var(--line-strong);background:var(--input);min-height:44px;color:var(--ink)}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold-strong);box-shadow:0 0 0 2px #d1ae5d29}.segmented span{border-color:var(--line-strong);background:var(--input);min-height:44px;color:var(--muted);font-weight:720}.segmented input:checked+span{color:#07090d;background:linear-gradient(#d8bd73,#b89246);border-color:#d8bd73}.check-row{border-color:var(--line-strong);background:var(--input);min-height:44px;font-weight:700}.form-error,.form-success{border-radius:4px;font-weight:680}.guard-note{color:var(--gold-strong);font-weight:720}.wizard-grid article>span{color:#07090d;background:var(--gold-strong);border-radius:4px}.preset-card{border-color:var(--line-strong)}.preset-card span,.tool-details summary,.inline-link{color:var(--gold-strong);font-weight:720}.section-title svg{color:var(--gold-strong)}.section-title h2{font-size:1.12rem}.muted-copy,.batch-list p,.bank-row small,.placeholder-grid span,.disclaimer,.principle-list span,.stage-row p,.more-card small,.action-card small{color:var(--muted);line-height:1.42}.import-table{min-width:640px}.import-table th,.import-table td{border-bottom-color:var(--line)}.import-table th{background:#151d28db}.import-table .negative-money,.amount-negative{color:#e4cda0}.import-table .positive-money,.amount-positive{color:var(--emerald)}.badge{border:1px solid #0000;min-height:22px;padding:0 7px;font-weight:720}.badge-active{color:#06120c;background:var(--emerald)}.badge-muted{color:var(--muted);border-color:var(--line-strong);background:#0d1219b3}.badge-warning{color:#07090d;background:var(--gold-strong)}.icon-button{border-color:var(--line-strong);background:#0d1219b8;width:36px;height:36px}.debt-row,.transaction-row,.bank-row{border-bottom-color:var(--line)}.empty-state{padding:28px 16px}.more-grid,.placeholder-grid,.preset-grid{gap:8px}.more-card{background:var(--surface-raised);min-height:104px}.principle-list article{background:#5fb4850b;border-color:#5fb4853d}.stage-list:before{background:linear-gradient(var(--gold-strong), #d1ae5d0d)}.stage-row.active-stage{border-color:#d1ae5d7a;box-shadow:inset 3px 0 #d1ae5db8}.stage-row.active-stage>span{color:#07090d;background:var(--gold-strong);border-color:var(--gold-strong)}.bottom-nav{border-top-color:var(--line-strong);background:#030407f7;width:min(100%,1120px);padding-top:7px}.bottom-nav button{border-radius:4px;min-height:48px;font-weight:680}.bottom-nav button.active{color:var(--gold-strong);background:#d1ae5d14;box-shadow:inset 0 2px #d1ae5dbf}@media (width>=680px){.app-shell{width:min(100%,1120px);padding:26px 22px 104px}.bottom-nav{width:min(100%,1120px)}.form-panel,.import-panel,.batch-list,.guard-panel,.chart-panel{padding:16px}}@media (width<=420px){.app-shell{padding:14px 10px 84px}.app-header{gap:10px}.header-actions{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;width:100%;display:grid}.language-switch{max-width:none}.install-button span,.status-pill span{text-overflow:ellipsis;max-width:72px;overflow:hidden}.hero-balance{min-height:96px}.allocation-card{grid-template-columns:1fr}.metric-card{min-height:88px}}.action-grid .button.primary,.action-grid .button.secondary{background:var(--surface-raised);color:var(--ink)}.action-grid .button.primary{color:var(--gold-strong);border-color:#d1ae5d8c;box-shadow:inset 0 2px #d1ae5da6}.action-grid .button.secondary{color:#eacdc4;border-color:#9e5e4f8c;box-shadow:inset 0 2px #9e5e4f8c}.action-grid .button.ghost{box-shadow:inset 0 1px #f1eee80a}@media (width>=920px){.app-shell{padding-bottom:36px;padding-left:98px}.bottom-nav{border-top:0;border-right:1px solid var(--line-strong);grid-template-columns:1fr;align-content:start;gap:8px;width:76px;height:100vh;margin:0;padding:26px 8px;inset:0 auto 0 max(0px,50% - 560px)}.bottom-nav button{min-height:64px}.bottom-nav button.active{box-shadow:inset 2px 0 #d1ae5dcc}}html body{--bg:#060a10;--bg-deep:#030509;--surface:#090e14;--surface-raised:#0b1118;--surface-soft:#101722;--ink:#f2efe9;--muted:#9aa4ad;--subtle:#6f7a84;--line:#202934;--line-blue:#263748;--line-strong:#2d3744;--gold:#9d8549;--gold-strong:#b99a52;--clay:#87564e;--emerald:#5fa47e;--danger:#b85f5f;--lapis:#10263b;background:linear-gradient(180deg, #10263b9e, #03050900 240px), var(--bg-deep)}html body:before,body .app-header:after,body .brand:before,body .hero-balance:after,body .metric-card:after{display:none}body :is(.app-shell,.cockpit,.stack){gap:9px}body .app-header{border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:12px}body .brand{color:#c0a761;text-transform:uppercase;gap:8px;margin-bottom:4px;font-size:.68rem;font-weight:620}body .brand:after{content:"";background:#806d3c;width:30px;height:1px;display:inline-block}body h1{letter-spacing:0;font-size:clamp(1.55rem,4.6vw,2rem);font-weight:640}body :is(.hero-balance,.metric-card,.allocation-card,.form-panel,.import-panel,.list-panel,.summary-strip,.batch-list,.guard-panel,.chart-panel,.transaction-row,.bank-row,.debt-row,.more-card,.action-card,.preset-card,.placeholder-card,.principle-list article,.setup-guide-card,.import-context-card){border-color:var(--line-strong);background:var(--surface);box-shadow:none;border-radius:2px}body .hero-balance{border-top:1px solid var(--line-strong);background:#0a1017;border-left:2px solid #405a70cc;min-height:94px;padding:14px}body .hero-balance p,body .metric-card p,body .allocation-copy span,body .summary-strip span,body .field>span,body .section-title p,body .import-table th,body .about-grid span{color:#9aa4ad;font-weight:560}body .hero-balance strong{font-size:clamp(1.82rem,6.8vw,2.5rem);font-weight:650}body .hero-balance small{color:#c9b36e;font-weight:560}body .allocation-copy strong,body .metric-card strong,body .summary-strip strong,body .more-card span,body .action-card span{font-weight:640}body .allocation-track,body .split-bar,body .progress-track{background:#141a22;border-radius:1px;height:8px}body .allocation-segment,body .split-bar span,body .progress-track i{border-radius:0}body .metric-card{min-height:88px;padding:12px}body .metric-card:before{width:2px}body .tone-gold:before{background:#b99a5285}body .tone-danger:before,body .tone-clay:before{background:#87564e85}body .tone-green:before{background:#5fa47e85}body .tone-blue:before,body .tone-muted:before{background:#6f7a846b}body .metric-icon{color:#89939e;background:#0d131b;border-color:#29323d;border-radius:2px;width:25px;height:25px;margin-bottom:8px}body .metric-icon svg,body .button svg,body .bottom-nav svg,body .icon-button svg,body .status-pill svg,body .install-button svg{stroke-width:1.7px}body .notice-button,body .next-step-card{border-color:var(--line-strong);color:#d9d3c7;background:#0a0f15;border-radius:2px;min-height:38px;box-shadow:inset 2px 0 #9d8549b8}body .notice-button span,body .next-step-card span{font-weight:570}body :is(.button,.icon-button,.status-pill,.install-button,.language-switch,input,select,textarea){border-radius:2px}body .button{border-color:var(--line-strong);color:#e8e4dd;background:#0a0f15;min-height:42px;font-size:.9rem;font-weight:570}body .button.primary,body .action-grid .button.primary{color:#cdb36d;box-shadow:none;background:#0a0f15;border-color:#b99a5294}body .button.secondary,body .action-grid .button.secondary{color:#d8b2aa;box-shadow:none;background:#0a0f15;border-color:#87564e8a}body .button.ghost,body .action-grid .button.ghost{color:#e8e4dd;box-shadow:none;background:#0a0f15}body .button:hover,body .icon-button:hover,body .more-card:hover,body .action-card:hover,body .preset-card:hover{border-color:#465464;transform:none}body .status-pill,body .install-button,body .language-switch{border-color:var(--line-strong);color:#d7d1c5;background:#090e14;min-height:33px;font-size:.76rem;font-weight:570}body .install-button{color:#cdb36d}body .bottom-nav{border-color:var(--line);background:#030509fa;gap:4px}body .bottom-nav button{color:#8d98a3;background:0 0;border:1px solid #0000;border-radius:2px;min-height:48px;font-size:.72rem;font-weight:560}body .bottom-nav button.active{color:#cdb36d;background:0 0;border-color:#0000;box-shadow:inset 0 2px #b99a52d9}body .badge{border-radius:2px;font-weight:570}body .badge-warning{background:#b99a52}@media (width<=420px){body .app-shell{padding:12px 10px 78px}body .header-actions{gap:6px}body .hero-balance{min-height:88px}body .metric-card{min-height:84px}}@media (width>=920px){body .bottom-nav button.active{box-shadow:inset 2px 0 #b99a52d9}}body .app-shell{padding-top:20px}body .app-header{border-bottom-color:#9aabbc2e}body .brand:after{background:linear-gradient(90deg,#c7aa64e6,#c7aa6400);width:38px}body .hero-balance{background:linear-gradient(145deg,#162d44e0,#080d14f5 58%),repeating-linear-gradient(0deg,#f4f0e808 0 1px,#0000 1px 18px),#0b1119;border:1px solid #91a6bc4d;border-left:3px solid #c7aa64bd;border-radius:7px;grid-template-columns:minmax(0,1fr) minmax(174px,.56fr) auto;align-items:center;gap:14px;min-height:132px;padding:18px 16px;display:grid;box-shadow:0 20px 48px #00000052,inset 0 1px #ffffff0f}body .hero-balance-main{min-width:0}body .hero-balance p{color:#b8c6d2;margin-bottom:8px;font-size:.78rem;font-weight:590}body .hero-balance strong{text-shadow:0 1px #0009;font-size:clamp(2.28rem,8.8vw,3.5rem);font-weight:680;line-height:.98}body .hero-balance small{color:#d8c078;margin-top:10px;font-size:.82rem;display:block}body .hero-balance>.icon-button{background:#080d14b8;align-self:start}body .hero-composition-row span{color:#9da9b4;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;font-weight:570;overflow:hidden}body .hero-composition-row i{background:#e5decf17;height:5px;display:block;overflow:hidden}body .hero-composition-row b{min-width:0;height:100%;display:block}body .hero-composition-gold b{background:linear-gradient(90deg,#8c743f,#cfb46c)}body .hero-composition-danger b{background:linear-gradient(90deg,#7f4649,#c56d6a)}body .hero-composition-clay b{background:linear-gradient(90deg,#76504a,#a96d61)}body .allocation-card,body .metric-card,body .next-step-card{background:linear-gradient(180deg, #121d2ac7, #080d14f0), var(--surface);border-radius:7px;box-shadow:inset 0 1px #ffffff0b,0 12px 26px #00000029}body .allocation-card{border-color:#9aabbc3d;min-height:90px;padding:14px}body .allocation-track{background:#e5decf14;height:9px}body .allocation-gold{background:linear-gradient(90deg,#a68a4d,#c7aa64)}body .allocation-clay{background:linear-gradient(90deg,#8f5a51,#b9786b)}body .allocation-danger{background:linear-gradient(90deg,#934e50,#c56d6a)}body .button{letter-spacing:0;border-radius:6px;min-height:44px}body .button.ghost,body .action-grid .button.ghost{background:#0c121bdb;border-color:#9aabbc47}body .metric-card{border-color:#9aabbc38;min-height:94px;padding:13px}body .metric-icon{background:#050a118a}body .metric-card strong{font-size:1.15rem}body .next-step-card{border-left:3px solid #c7aa649e}body .bottom-nav{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#02050af5;border-color:#9aabbc2e}body .bottom-nav button.active{color:#dbc37a;background:0 0}@media (width<=620px){body .hero-balance{grid-template-columns:minmax(0,1fr) auto;min-height:0}body .hero-balance>.icon-button{grid-area:1/2}body .hero-composition{grid-area:2/1/auto/-1}}@media (width<=420px){body .app-shell{padding:14px 10px 78px}body .hero-balance{padding:15px 13px}body .hero-balance strong{font-size:clamp(2.1rem,11vw,2.8rem)}body .hero-composition-row{grid-template-columns:86px minmax(0,1fr)}}@media (width>=920px){body .bottom-nav{background:#02050af0}}html body:before,html body:after{content:"";pointer-events:none;display:block;position:fixed;inset:-22vh -18vw}html body:before{z-index:0;filter:blur(24px)saturate(1.14);opacity:.5;background:radial-gradient(circle at 18% 24%,#5c809e52,#0000 21rem),radial-gradient(circle at 76% 18%,#dec27b2e,#0000 18rem),radial-gradient(circle at 58% 88%,#b16e6121,#0000 24rem);animation:21s ease-in-out infinite alternate arkadAmbientBreath;transform:translate(-1.5%,-1%)scale(1)}html body:after{z-index:0;mix-blend-mode:screen;opacity:.18;background:linear-gradient(112deg,#0000 0 34%,#fff7e00f 41%,#0000 49% 100%) 0 0/170% 170%,repeating-linear-gradient(96deg,#0000 0 22px,#ccdbe605 22px 23px,#0000 23px 58px) 0 0/180px 180px;animation:38s linear infinite arkadMetalDrift}body .app-shell{z-index:1;position:relative}body :is(.hero-balance,.allocation-card,.metric-card,.next-step-card,.notice-button,.button,.status-pill,.install-button,.language-switch){position:relative;overflow:hidden}body :is(.hero-balance,.allocation-card,.metric-card,.next-step-card,.notice-button,.button):after{content:"";pointer-events:none;opacity:.18;background:linear-gradient(118deg,#0000 0 28%,#fff7e017 44%,#0000 58% 100%);animation:14s cubic-bezier(.33,0,.22,1) infinite arkadSurfaceSweep;display:block;position:absolute;inset:0;transform:translate(-124%)}body .hero-balance:after{opacity:.22;animation-duration:17s}body .allocation-card:after{animation-delay:-5s}body .metric-card:nth-child(2n):after{animation-delay:-7s}body .metric-card:nth-child(3n):after{animation-delay:-11s}body .button:nth-child(2n):after{animation-delay:-3s}body .button:nth-child(3n):after{animation-delay:-9s}body .hero-balance{background:linear-gradient(140deg,#213d56e0,#090f18f5 54%),linear-gradient(100deg,#fff4d212,#0000 42%),repeating-linear-gradient(0deg,#ffffff07 0 1px,#0000 1px 20px),#0a111a;border-color:#d2e0ec47 #d2e0ec47 #d2e0ec47 #dec27bd1;box-shadow:0 22px 56px #0000005c,inset 0 1px #ffffff14,inset 0 -1px #0000006b}body .hero-balance small,body .inline-link{color:#e0c782}body .hero-composition-row i,body .allocation-track,body .split-bar,body .progress-track{box-shadow:inset 0 1px #ffffff0f,inset 0 -1px #00000080}body .hero-composition-row b,body .allocation-segment,body .split-bar span,body .progress-track i{box-shadow:inset 0 1px #ffffff38,inset 0 -1px #00000057}body .metric-card{transition:border-color .22s,background .22s,transform .22s}body .metric-card:hover{border-color:#dec27b57;transform:translateY(-1px)}body .metric-icon{background:linear-gradient(145deg,#ffffff0f,#ffffff03),#050a1199;border-color:#bccad738}body .button{transition:border-color .19s,transform .19s,box-shadow .19s;box-shadow:inset 0 1px #ffffff14,inset 0 -1px #00000073}body .button:hover{transform:translateY(-1px);box-shadow:0 10px 24px #0003,inset 0 1px #ffffff17}body .button.primary,body .action-grid .button.primary{background:linear-gradient(#dec27b3d,#94763a26),linear-gradient(100deg,#fff7e014,#0000 45%),#11161d}body .button.secondary,body .action-grid .button.secondary{background:linear-gradient(#b16e6133,#6d3e381f),linear-gradient(100deg,#ffebe40f,#0000 45%),#11161d}body .bottom-nav{box-shadow:0 -16px 34px #00000042}body .bottom-nav button.active{color:#ead38d;text-shadow:0 0 16px #dec27b2e}@keyframes arkadAmbientBreath{0%{opacity:.36;transform:translate(-2%,-1%)scale(.985)rotate(-.6deg)}42%{opacity:.58;transform:translate(1.2%,.6%)scale(1.018)rotate(.4deg)}to{opacity:.46;transform:translate(-.6%,1.4%)scale(1.006)rotate(-.2deg)}}@keyframes arkadMetalDrift{0%{background-position:0 0,0 0}to{background-position:100% 62%,180px 90px}}@keyframes arkadSurfaceSweep{0%,58%{transform:translate(-124%)}76%,to{transform:translate(124%)}}@media (prefers-reduced-motion:reduce){html body:before,html body:after,body :is(.hero-balance,.allocation-card,.metric-card,.next-step-card,.notice-button,.button):after{animation:none}body :is(.button,.metric-card):hover{transform:none}}body :is(.metric-icon,.icon-button){border-radius:3px}body :is(.metric-icon svg,.button svg,.bottom-nav svg,.icon-button svg,.status-pill svg,.install-button svg,.section-title svg,.segmented svg,.more-card svg,.action-card svg){stroke-width:1.55px;stroke-linecap:square;stroke-linejoin:miter}body .bottom-nav svg{stroke-width:1.45px}body .metric-icon{color:#9aa7b3;width:26px;height:26px}html body{--bg-deep:#05070a;--surface:#0b0f13;--surface-raised:#10151a;--surface-soft:#151b21;--ink:#efeee9;--muted:#a4abb2;--subtle:#777f87;--line:#9da9b42e;--line-blue:#798fa03d;--line-strong:#b1bbc542;--gold:#8f8263;--gold-strong:#a99a73;--clay:#82766f;--emerald:#78907f;--danger:#90706d;background:radial-gradient(circle at 18% 0,#5f718047,#0000 34rem),radial-gradient(circle at 86% 12%,#8b826d1a,#0000 26rem),linear-gradient(#0f1a24e6,#05070a8f 310px,#05070a 760px),#05070a}html body:before{filter:blur(28px)saturate(.72);opacity:.42;background:radial-gradient(circle at 18% 24%,#6274822e,#0000 22rem),radial-gradient(circle at 76% 18%,#9e957e1a,#0000 18rem),radial-gradient(circle at 58% 88%,#636f7914,#0000 24rem)}html body:after{opacity:.12;background:linear-gradient(112deg,#0000 0 35%,#e0e4e609 42%,#0000 50% 100%),repeating-linear-gradient(96deg,#0000 0 22px,#b9c3cc03 22px 23px,#0000 23px 58px)}body .brand,body .hero-balance small,body .inline-link,body .install-button,body .bottom-nav button.active{color:#b6aa88}body .brand:after{background:linear-gradient(90deg,#a69a78b8,#a69a7800)}body .hero-balance{background:linear-gradient(145deg,#192530db,#080b0ff7 58%),linear-gradient(100deg,#dee2e209,#0000 44%),repeating-linear-gradient(0deg,#ffffff05 0 1px,#0000 1px 20px),#0b0f13;border-color:#b0bcc63d #b0bcc63d #b0bcc63d #a99a7394}body .hero-balance strong{color:#f0ede5;text-shadow:0 1px #000000bd}body :is(.allocation-card,.metric-card,.next-step-card,.form-panel,.import-panel,.list-panel,.summary-strip,.batch-list,.guard-panel,.chart-panel){background:linear-gradient(155deg, #161f28c7, #080b0ff5 64%), linear-gradient(96deg, #e1e4e406, transparent 46%), var(--surface);border-color:#a4b0bb33}body :is(.hero-balance,.allocation-card,.metric-card,.next-step-card,.notice-button,.button):after{opacity:.12;background:linear-gradient(118deg,#0000 0 30%,#e2e5e50b 44%,#0000 58% 100%)}body .hero-balance:after{opacity:.14}body .button,body .button.ghost,body .action-grid .button.ghost{color:#e5e2dc;background:linear-gradient(#1c242cb8,#090c10eb),#0b0f13;border-color:#a4b0bb3d}body .button.secondary,body .action-grid .button.secondary{color:#d5d0c8;background:linear-gradient(#48413d33,#201d1c14),#0d1115;border-color:#9b918a57}body .button:hover,body .icon-button:hover,body .more-card:hover,body .action-card:hover,body .preset-card:hover{border-color:#c2cad15c}body .metric-card:hover{border-color:#a99a7340}body .metric-icon,body .icon-button{color:#9ca5ad;background:linear-gradient(145deg,#e8ebeb0b,#e8ebeb02),#070a0dad;border-color:#a4b0bb33}body .tone-gold:before,body .tone-danger:before,body .tone-clay:before,body .tone-green:before,body .tone-blue:before,body .tone-muted:before{background:#97a1a95c}body .tone-gold .metric-icon{color:#b2a47e}body .tone-danger .metric-icon{color:#a88682}body .tone-green .metric-icon{color:#8da394}body .tone-clay .metric-icon,body .tone-blue .metric-icon,body .tone-muted .metric-icon{color:#9ca5ad}body .allocation-dot.allocation-gold{background:#a99a73}body .allocation-dot.allocation-clay{background:#9099a1}body .allocation-dot.allocation-danger{background:#9a7a76}body .status-pill svg{color:#78907f}body .bottom-nav button.active{text-shadow:none;box-shadow:inset 0 2px #a99a7394}@media (width>=920px){body .bottom-nav button.active{box-shadow:inset 2px 0 #a99a7394}}html body{--bg-deep:#030405;--surface:#080a0c;--surface-raised:#0d1013;--surface-soft:#14181c;--input:#05080b;--ink:#f0eee7;--muted:#a3a7aa;--subtle:#73777b;--line:#bec4c729;--line-blue:#9da9b12e;--line-strong:#d6dada47;--gold:#8e805e;--gold-strong:#b8a677;--clay:#8d8780;--emerald:#7d9587;--danger:#9a7570;background:radial-gradient(circle at 52% -12%,#8790942e,#0000 31rem),radial-gradient(circle at 92% 12%,#b8a67714,#0000 26rem),linear-gradient(117deg,#ffffff0b 0 1px,#0000 1px 46%) 0 0/180px 180px,linear-gradient(#0a0d10 0,#050708 44%,#030405 100%);animation:18s ease-in-out infinite alternate arkadAlloyBreath}html body:before{opacity:.42;filter:none;background:linear-gradient(115deg,#0000 0 42%,#eeefec09 48%,#0000 56% 100%),repeating-linear-gradient(90deg,#0000 0 47px,#b4babc05 47px 48px,#0000 48px 96px),repeating-linear-gradient(0deg,#0000 0 39px,#b8a67703 39px 40px,#0000 40px 88px);animation:34s linear infinite arkadMetalDrift}html body:after{opacity:.22;background:radial-gradient(circle at 18% 18%,#ffffff0d,#0000 18rem),radial-gradient(circle at 68% 92%,#b8a6770e,#0000 24rem);animation:16s ease-in-out infinite alternate arkadAmbientBreath}@keyframes arkadAlloyBreath{0%{background-position:0 0,0 0,0 0,0 0}to{background-position:0 0,0 0,72px 44px,0 0}}body .app-shell{width:min(100%,940px);padding-top:18px}body .app-header{border-bottom-color:#c9cfd121;align-items:center;margin-bottom:12px;padding-bottom:12px}body .app-header:after,body .hero-balance:after,body .metric-card:after{content:none}body .brand{color:#b8a677;font-size:.74rem;font-weight:760}body .brand:before{opacity:.78;background:linear-gradient(currentColor,currentColor) 0 0/2px 18px no-repeat,linear-gradient(currentColor,currentColor) 8px 3px/2px 15px no-repeat,linear-gradient(currentColor,currentColor) 16px 7px/2px 11px no-repeat;width:18px;height:18px}body h1{font-size:clamp(1.45rem,4.5vw,2rem);font-weight:720}body .header-actions{gap:7px}body :is(.status-pill,.install-button,.language-switch){color:#d7d5ce;background:linear-gradient(#ffffff0e,#ffffff03),#080a0cc2;border-color:#b8bec12e;border-radius:6px;min-height:34px}body .cockpit{gap:9px}body .hero-balance{background:linear-gradient(139deg,#1f2427d6,#080a0cfa 58%),linear-gradient(90deg,#b8a6771c,#0000 32%),repeating-linear-gradient(90deg,#ffffff05 0 1px,#0000 1px 46px),#080a0c;border-color:#d6dada29 #d6dada29 #d6dada29 #b8a67794;border-left-style:solid;border-left-width:2px;border-radius:6px;min-height:126px;padding:16px;box-shadow:0 18px 44px #0000005c,inset 0 1px #ffffff0b}body .hero-balance p,body .metric-card p,body .allocation-copy span{color:#a3a7aa;font-size:.76rem;font-weight:690}body .hero-balance strong{color:#f4f1ea;letter-spacing:0;margin-top:2px;font-size:clamp(2rem,8vw,3rem);font-weight:720}body .hero-balance small{color:#b8a677;font-size:.82rem}body .hero-composition{gap:7px;min-width:min(220px,36%);display:grid}body .hero-composition-row{grid-template-columns:minmax(68px,auto) minmax(56px,1fr);align-items:center;gap:8px;display:grid}body .hero-composition-row span{color:#a3a7aa;white-space:nowrap;font-size:.7rem;font-weight:670}body .hero-composition-row i{background:#ffffff14;border-radius:999px;height:3px}body .hero-composition-row b{border-radius:inherit;height:100%;display:block}body .hero-balance>.icon-button{align-self:flex-start;width:40px;height:40px}body .daily-allowance-panel{background:linear-gradient(90deg,#b8a67721,#0000 28%),linear-gradient(#ffffff0d,#ffffff02),#080a0c;border:1px solid #d6dada2b;border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:84px;padding:12px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a}body .notice-button{min-height:42px}body .treasure-room-hero{isolation:isolate;background:radial-gradient(circle at 50% 28%,#b8a67738,#0000 16rem),radial-gradient(circle at 50% 76%,#d6dada14,#0000 18rem),linear-gradient(#0507081a,#030405db 74%,#030405f5),#030405;min-height:366px;margin-inline:-10px;position:relative;overflow:hidden}body .treasure-room-hero:before{content:"";pointer-events:none;z-index:1;mix-blend-mode:screen;opacity:.34;background:linear-gradient(90deg,#ffffff0f,#0000 12% 88%,#ffffff09),linear-gradient(#ffffff0d,#0000 22% 78%,#00000080);position:absolute;inset:0}body .treasure-room-hero:after{content:"";pointer-events:none;z-index:1;background:linear-gradient(#0000,#0304058a);height:28%;position:absolute;inset:auto 0 0}body .treasure-room-canvas{z-index:0;touch-action:pan-y;width:100%;height:366px;display:block;position:relative}body .treasure-room-readout{z-index:2;pointer-events:none;text-shadow:0 2px 16px #000000b8;max-width:min(270px,100% - 72px);position:absolute;top:15px;left:14px}body .treasure-room-readout p,body .treasure-room-readout span,body .treasure-room-zones span{color:#a8acae;margin:0;font-size:.72rem;font-weight:720;display:block}body .treasure-room-readout strong{color:#f3f0e8;overflow-wrap:anywhere;margin-top:5px;font-size:clamp(2.15rem,10vw,3.25rem);font-weight:730;line-height:.96;display:block}body .treasure-room-readout span{color:#c2b388;margin-top:8px;font-size:.78rem}body .treasure-room-account{z-index:3;color:#c8c7c0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#ffffff16,#ffffff05),#04060894;border:1px solid #d6dada2e;border-radius:6px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex;position:absolute;top:16px;right:14px}body .treasure-room-zones{z-index:3;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid;position:absolute;bottom:10px;left:10px;right:10px}body .treasure-room-zones button{color:#f0eee7;text-align:left;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#ffffff13,#ffffff03),#040608ad;border:1px solid #d6dada26;border-radius:6px;min-width:0;min-height:58px;padding:9px}body .treasure-room-zones button:first-child{background:linear-gradient(#b8a6772e,#b8a6770a),#040608ad;border-color:#b8a6776b}body .treasure-room-zones strong{color:#f3f0e8;overflow-wrap:anywhere;margin-top:5px;font-size:clamp(.94rem,3.7vw,1.15rem);font-weight:730;line-height:1;display:block}body .daily-allowance-panel:before{content:"";pointer-events:none;background:linear-gradient(110deg,#0000 0 37%,#ffffff0a 48%,#0000 60% 100%);animation:12s ease-in-out infinite arkadSurfaceSweep;position:absolute;inset:0}body .daily-allowance-icon{color:#c2b388;background:#b8a67713;border:1px solid #b8a67747;border-radius:5px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}body .daily-allowance-copy{min-width:0}body .daily-allowance-copy span,body .daily-allowance-copy small{display:block}body .daily-allowance-copy span{color:#a3a7aa;font-size:.76rem;font-weight:700}body .daily-allowance-copy strong{color:#f4f1ea;overflow-wrap:anywhere;margin-top:2px;font-size:clamp(1.45rem,6vw,2.15rem);font-weight:730;line-height:1;display:block}body .daily-allowance-copy small{color:#b8b3a4;overflow-wrap:anywhere;margin-top:7px;font-size:.76rem;font-weight:680}body .daily-allowance-rule{opacity:.7;grid-auto-flow:column;align-items:end;gap:5px;height:42px;display:grid}body .daily-allowance-rule i{background:linear-gradient(#d6dadac7,#b8a6772e);border-radius:999px;width:2px;height:100%;display:block}body .daily-allowance-rule i:nth-child(2){height:76%}body .daily-allowance-rule i:nth-child(3){height:58%}body .daily-allowance-rule i:nth-child(4){height:42%}body .daily-allowance-rule i:nth-child(5){height:26%}body .action-grid{gap:8px}body .button,body .button.ghost,body .action-grid .button.ghost,body .button.primary,body .action-grid .button.primary,body .button.secondary,body .action-grid .button.secondary{color:#ece9e1;background:linear-gradient(#ffffff12,#ffffff03),#080a0c;border-color:#c9cfd133;border-radius:6px;min-height:50px;font-weight:720;box-shadow:inset 0 1px #ffffff0a}body .button.primary,body .action-grid .button.primary{color:#eadfbd;background:linear-gradient(#b8a67738,#b8a6770d),#080a0c;border-color:#b8a6777a}body .button.secondary,body .action-grid .button.secondary{background:linear-gradient(#a0a6aa21,#a0a6aa05),#080a0c;border-color:#a4aaae47}body .allocation-card,body .metric-card,body .next-step-card,body .form-panel,body .import-panel,body .list-panel,body .summary-strip,body .batch-list,body .guard-panel,body .chart-panel{background:linear-gradient(155deg,#191e22c7,#07090bfa 62%),repeating-linear-gradient(90deg,#ffffff05 0 1px,#0000 1px 56px),#080a0c;border-color:#c9cfd126;border-radius:6px;box-shadow:0 16px 36px #00000047,inset 0 1px #ffffff09}body .allocation-card{min-height:72px;padding:12px}body .allocation-track{background:#ffffff13;border-radius:2px;height:8px}body .allocation-segment{min-width:6px}body .allocation-legend{color:#9da2a5;font-size:.68rem}body .cockpit-grid{gap:8px}body .cockpit .metric-card,body .metric-card{min-height:96px;padding:12px}body .metric-card:before{opacity:.85;width:2px}body .metric-icon,body .icon-button{color:#a4aaad;background:#ffffff08;border-color:#c9cfd124;border-radius:5px;width:30px;height:30px}body .cockpit .metric-icon{margin-bottom:9px}body .metric-card strong{color:#f0eee7;margin-top:6px;font-size:clamp(1.2rem,5.2vw,1.55rem);font-weight:720}body .metric-card small{color:#9da2a5;margin-top:7px;font-size:.72rem}body .tone-gold .metric-icon,body .hero-composition-gold span{color:#b8a677}body .tone-green .metric-icon,body .hero-composition-green span{color:#7d9587}body .tone-danger .metric-icon,body .hero-composition-danger span{color:#9a7570}body .tone-clay .metric-icon,body .tone-blue .metric-icon,body .tone-muted .metric-icon,body .hero-composition-clay span{color:#a4aaad}body .hero-composition-gold b,body .allocation-gold{background:linear-gradient(90deg,#7d7257,#b8a677)}body .hero-composition-green b{background:linear-gradient(90deg,#65766c,#7d9587)}body .hero-composition-danger b,body .allocation-danger{background:linear-gradient(90deg,#755d5a,#9a7570)}body .hero-composition-clay b,body .allocation-clay{background:linear-gradient(90deg,#6b7073,#a4aaad)}body .field input,body .field select,body .field textarea,body .link-row select{background:linear-gradient(#ffffff09,#fff0),#05080b;border-color:#c9cfd12e;border-radius:6px}body .field input:focus,body .field select:focus,body .field textarea:focus{border-color:#b8a67785;box-shadow:0 0 0 3px #b8a67721}body .bottom-nav{background:linear-gradient(#ffffff09,#fff0),#030405f5;border-top-color:#c9cfd129}body .bottom-nav button{color:#8f9498;border-radius:6px;min-height:52px;font-weight:680}body .bottom-nav button.active{color:#d0c399;background:#b8a67713;box-shadow:inset 0 2px #b8a67780}@media (width<=620px){body .app-header{grid-template-columns:minmax(0,1fr);align-items:flex-start;display:grid}body .header-actions{justify-content:flex-start;width:100%;max-width:none}body .language-switch{min-width:82px;max-width:104px;min-height:40px;padding:0 7px}body .language-switch select{width:auto;min-width:44px;max-width:62px}body .install-button,body .status-pill{width:40px;min-height:40px;padding:0}body .install-button span,body .status-pill span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}body .hero-balance{grid-template-columns:minmax(0,1fr) auto;min-height:120px;display:grid}body .hero-composition{grid-column:1/-1;min-width:0}body .daily-allowance-panel{grid-template-columns:auto minmax(0,1fr)}body .daily-allowance-rule{display:none}body .treasure-room-hero,body .treasure-room-canvas{height:344px;min-height:344px}body .treasure-room-zones{grid-template-columns:repeat(2,minmax(0,1fr))}body .treasure-room-zones button{min-height:52px;padding:8px}}@media (width<=390px){body .app-shell{padding-inline:10px}body .action-grid,body .cockpit-grid{gap:7px}body .button,body .button.primary,body .button.secondary,body .button.ghost{padding-inline:9px;font-size:.86rem}body .daily-allowance-panel,body .hero-balance,body .allocation-card,body .metric-card{border-radius:5px}body .treasure-room-hero,body .treasure-room-canvas{height:326px;min-height:326px}body .treasure-room-readout{left:10px}body .treasure-room-zones{gap:6px;left:8px;right:8px}}@media (prefers-reduced-motion:reduce){html body,html body:before,html body:after,body .daily-allowance-panel:before{animation:none}}
