/* CpnX Journal: fixed identity, three owner-level themes. */
.brand .cpnx-icon{width:40px;height:40px;flex-shrink:0}.cpnx-word{font:800 24px Manrope,sans-serif;letter-spacing:-1px;line-height:1}.cpnx-word b{color:var(--purple)}.cpnx-word small{font:500 9px 'DM Sans',sans-serif;letter-spacing:3.6px;color:var(--muted);margin-top:7px}
footer.cpnx-footer{display:block;text-align:center;color:var(--muted);font-size:10px;line-height:1.7;padding:6px 0 0}.theme-card{max-width:1000px;margin:22px 0}.theme-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:22px}.theme-choice{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:14px;text-align:left;color:var(--text)}.theme-choice.active{border-color:var(--purple);box-shadow:0 0 0 1px var(--purple)}.theme-choice strong{display:block;margin-top:12px;font-size:12px}.theme-choice small{font-size:10px;margin-top:5px;color:var(--muted)}.theme-swatch{height:72px;border-radius:6px;border:1px solid #7774;display:flex;gap:8px;padding:10px}.theme-swatch:before{content:'';width:18%;background:#a995ff;border-radius:3px}.theme-swatch:after{content:'';flex:1;background:linear-gradient(transparent 25%,#9090aa30 25%,#9090aa30 65%,transparent 65%);border-radius:3px}.swatch-dark{background:#101116}.swatch-white{background:#f6f7fc}.swatch-redgold{background:#2b1019}.swatch-redgold:before{background:#dfb76f}.empty-account-card{padding:34px;max-width:800px;margin-bottom:24px}.empty-account-card h2{font-size:20px;margin-bottom:12px}.empty-account-card p{font-size:12px;max-width:520px;margin-bottom:22px}.empty-account-card .primary{font-size:12px}#trade-empty{margin-bottom:22px}.theme-note{padding:0 22px 20px}.settings-tabs{margin-bottom:22px}[hidden]{display:none!important}
html[data-theme=white]{color-scheme:light;--bg:#f5f6fb;--panel:#fff;--border:#dfe2ed;--muted:#70758b;--text:#23263b;--purple:#7551c9;--green:#13805f;--red:#c13d59}
html[data-theme=white] aside{background:#fff}html[data-theme=white] nav button{color:#71748a}html[data-theme=white] nav button.active{background:#eee8fb;color:#6740b4;box-shadow:inset 3px 0 #865bda}html[data-theme=white] nav button:hover{background:#f0edf8}html[data-theme=white] .avatar{background:#eee8fb;color:#7043be}
html[data-theme=white] input,html[data-theme=white] select,html[data-theme=white] textarea{background:#fafbfe;color:#29283c;border-color:#d9dce7}html[data-theme=white] .primary{background:#7954c9;color:white;border-color:#7954c9}html[data-theme=white] .secondary,html[data-theme=white] .tag{background:#f1edf8;border-color:#ded5ef;color:#725493}html[data-theme=white] .demo{background:#f1edf8;color:#765596;border-color:#ded5ef}
html[data-theme=white] .discipline{background:linear-gradient(110deg,#f0eafa,#fff);border-color:#e0d5ef}html[data-theme=white] .discipline-icon{background:#e5daf7;color:#7750ba}html[data-theme=white] .discipline-metric{border-color:#ded4eb}html[data-theme=white] .discipline-metric strong{color:#7551ad}html[data-theme=white] .discipline-metric small{color:#777082}html[data-theme=white] .discipline-foot{border-color:#e3d9ed;color:#7d718c}
html[data-theme=white] .settings-tabs,html[data-theme=white] .period{background:#fff}html[data-theme=white] .settings-tabs button.active{background:#eee8fb;color:#7350bb}html[data-theme=white] .layer-setting,html[data-theme=white] .entry-info,html[data-theme=white] .note{background:#f2eef9;border-color:#e0d7ed;color:#735793}html[data-theme=white] .layer-setting label{color:#735793}
html[data-theme=white] .day{background:#f8f9fd;border-color:#e4e5ef;color:#6d7287}html[data-theme=white] .day.profit{background:#e7f5ee;border-color:#d1e9dc;color:#237c59}html[data-theme=white] .day.loss{background:#fbecef;border-color:#f2d4dc;color:#b6516a}html[data-theme=white] th{background:#f1f0f8;color:#726587}html[data-theme=white] tbody tr:hover{background:#faf9fd}html[data-theme=white] dialog{background:#fff;color:#242638;border-color:#d7cbe9}html[data-theme=white] .net-result{background:#eaf6ef}html[data-theme=white] .simulation-metrics strong{color:#343247}html[data-theme=white] .table-edit{color:#7651b4}html[data-theme=white] .photo-preview,html[data-theme=white] .brand-preview{background:#eee8f7;border-color:#d9cae9;color:#7651b4}html[data-theme=white] .breadcrumb span{color:#555870}
html[data-theme=redgold]{color-scheme:dark;--bg:#190b10;--panel:#291219;--border:#573039;--muted:#bda0a1;--text:#faeee0;--purple:#dfb76f;--green:#7fd0aa;--red:#f19091}
html[data-theme=redgold] aside{background:#210d14}html[data-theme=redgold] nav button{color:#c09fa2}html[data-theme=redgold] nav button.active{background:#48232b;color:#edcb8d;box-shadow:inset 3px 0 #d7ae62}html[data-theme=redgold] nav button:hover{background:#371920}html[data-theme=redgold] .avatar{background:#512930;color:#ebc889}
html[data-theme=redgold] input,html[data-theme=redgold] select,html[data-theme=redgold] textarea{background:#1d0c12;border-color:#63343f;color:#f1e2d6}html[data-theme=redgold] .primary{background:#d9b16b;border-color:#eccb8e;color:#32131a}html[data-theme=redgold] .secondary,html[data-theme=redgold] .tag,html[data-theme=redgold] .demo{background:#452029;border-color:#80503b;color:#ebc58a}
html[data-theme=redgold] .discipline{background:linear-gradient(110deg,#50222d,#291219);border-color:#976243}html[data-theme=redgold] .discipline-icon{background:#64303a;color:#f1cf90}html[data-theme=redgold] .discipline-metric{border-color:#734333}html[data-theme=redgold] .discipline-metric strong{color:#edc781}html[data-theme=redgold] .discipline-metric small{color:#c4a6a1}html[data-theme=redgold] .discipline-foot{border-color:#69372c;color:#bd9792}
html[data-theme=redgold] .settings-tabs,html[data-theme=redgold] .period{background:#29121a}html[data-theme=redgold] .settings-tabs button.active{background:#5b2a32;color:#f0cc87}html[data-theme=redgold] .layer-setting,html[data-theme=redgold] .entry-info,html[data-theme=redgold] .note{background:#411d26;border-color:#80503a;color:#e4c08b}html[data-theme=redgold] .layer-setting label{color:#edcd96}
html[data-theme=redgold] .day{background:#2b141b;border-color:#55323b;color:#c0a2a0}html[data-theme=redgold] .day.profit{background:#1b382c;color:#99d8b1}html[data-theme=redgold] .day.loss{background:#481f29;border-color:#80505a;color:#efa7a4}html[data-theme=redgold] th{background:#351922;color:#d3b58f}html[data-theme=redgold] tbody tr:hover{background:#3b1b25}html[data-theme=redgold] dialog{background:#29121a;border-color:#4b654a;color:#e2efdf}html[data-theme=redgold] .table-edit{color:#e4c183}html[data-theme=redgold] .photo-preview,html[data-theme=redgold] .brand-preview{background:#512933;border-color:#81513d;color:#eac995}
@media(max-width:760px){.theme-choices{grid-template-columns:1fr}.theme-swatch{height:45px}.cpnx-word{display:none}.brand .cpnx-icon{width:36px}.empty-account-card{padding:22px}}
.booting aside,.booting main{visibility:hidden}

.delete-day{display:block;margin-top:8px;padding:3px 0;border:0;background:none;color:var(--red);font-size:9px;opacity:.8}.delete-day:hover{opacity:1;text-decoration:underline}.delete-dialog h2{font-size:21px;margin:7px 0 14px}.delete-dialog>p{font-size:12px}.delete-explanation{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:15px;font-size:11px;line-height:1.8;color:var(--muted);margin:18px 0}.delete-actions{display:flex;justify-content:flex-end;gap:10px}.danger-button{background:#a7465b;border:1px solid #c16476;border-radius:7px;color:white;font-size:11px;padding:11px 17px}.storage-card{max-width:1000px;margin-top:22px}.storage-body{padding:22px}.storage-body code{display:block;overflow-wrap:anywhere;white-space:normal;margin:17px 0;background:var(--bg);border:1px solid var(--border);padding:13px;border-radius:7px;color:var(--text);font-size:11px}.storage-body p{font-size:10px;margin-top:10px}html[data-theme=redgold] .plan-preview-banner{background:linear-gradient(110deg,#50222d,#291219);border-color:#80503b}html[data-theme=redgold] .planned-report-row{background:#32151f}html[data-theme=redgold] .planned-status,html[data-theme=redgold] .plan-fill-result,html[data-theme=redgold] .plan-date.already-planned{background:#512833;border-color:#88563c;color:#eac487}html[data-theme=redgold] .plan-date.chosen{background:#dfb76f;border-color:#efd095;color:#34151b}html[data-theme=redgold] .plan-explanation,html[data-theme=redgold] .selected-plan-date{background:#391a24;border-color:#704334;color:#ecd5b6}html[data-theme=redgold] .plan-explanation b{color:#e5bf81}html[data-theme=redgold] .plan-selection h3>span{background:#57303a;color:#e7c585}html[data-theme=redgold] .calendar-planned{background:#512833;border-color:#88563c;color:#eac487}

.cash-rupiah{display:block;color:var(--muted);font-size:11px;margin-top:6px}.cash-dialog{width:min(540px,95vw)}.cash-dialog [data-rates]{display:grid;gap:12px}.cash-dialog [data-preview]{line-height:1.8}
