/* CHRONA / Prism. Liquid-glass interface, no image or font dependencies. */
:root {
  color-scheme: light;
  --text:#202b43; --muted:#697791; --dim:#8793a9;
  --violet:#7753de; --mint:#0b9e8b; --blue:#386fd6;
  --red:#d95372; --orange:#d98c37; --line:rgba(255,255,255,.72);
  --surface:rgba(255,255,255,.48); --surface2:rgba(255,255,255,.65); --surface3:#fff;
  --radius:29px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",sans-serif;
  font-optical-sizing:auto;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;color:var(--text);font-size:14px;background:#e9edf8;
 background-image:radial-gradient(ellipse 560px 450px at 8% 20%,rgba(187,154,248,.48),transparent 75%),radial-gradient(ellipse 540px 500px at 50% 30%,rgba(157,244,225,.43),transparent 78%),radial-gradient(ellipse 680px 550px at 92% 27%,rgba(148,187,255,.48),transparent 73%),radial-gradient(ellipse 560px 440px at 80% 87%,rgba(255,205,170,.31),transparent 75%),linear-gradient(125deg,#f4f0ff 0%,#ecfaf8 48%,#edf2ff 100%);background-attachment:fixed}
body::before{content:"";position:fixed;pointer-events:none;inset:0;opacity:.16;z-index:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.73' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E")}
button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8d7cf2;outline-offset:3px}h1,h2,h3,p{margin:0}
.app-shell{position:relative;isolation:isolate;max-width:1830px;margin:auto;padding:23px clamp(16px,2.65vw,46px) 0}
.app-shell::before,.app-shell::after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(7px)}
.app-shell::before{width:215px;height:215px;top:340px;left:-95px;background:radial-gradient(circle at 35% 35%,rgba(185,132,255,.46),rgba(185,132,255,0) 72%)}
.app-shell::after{width:310px;height:310px;right:0;top:100px;background:radial-gradient(circle,rgba(142,193,255,.35),transparent 72%)}
/* Floating top navigation */
.topbar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 17px 13px 21px;border:1px solid rgba(255,255,255,.85);border-radius:23px;background:linear-gradient(125deg,rgba(255,255,255,.82),rgba(255,255,255,.46));box-shadow:0 12px 35px rgba(92,108,158,.09),inset 0 1px rgba(255,255,255,.96),0 1px 2px rgba(255,255,255,.6);-webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%)}
.brand{display:flex;align-items:center;gap:12px;min-width:210px}
.brand-mark{width:41px;height:41px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#8261e8,#bba2ff 53%,#5cd7cc);box-shadow:0 5px 15px #7f66ca4b,inset 0 1px 2px #ffffffab;transform:rotate(-9deg);position:relative}
.brand-mark::before{content:"";width:26px;height:26px;border:1px solid #ffffffac;border-radius:10px;position:absolute}
.brand-mark-inner{width:15px;height:15px;border-radius:5px;background:#ffffffde;box-shadow:0 0 0 3px #ffffff35;transform:rotate(45deg)}
.brand-name{font-size:22px;font-weight:820;letter-spacing:-1.25px;line-height:1;color:#2b3152}
.brand-accent{color:#9675ef}.brand-name small{display:block;letter-spacing:2.05px;font-size:8px;font-weight:750;margin-top:6px;color:#9096b3}
.header-middle,.header-actions{display:flex;align-items:center;gap:11px;font-size:12px;color:#5f6f85}
.header-middle{background:rgba(247,249,255,.6);padding:10px 17px;border:1px solid #ffffffa3;border-radius:22px;white-space:nowrap}
.live-dot,.balance-live-dot,.badge-dot{background:#32c3a3;width:7px;height:7px;display:inline-block;border-radius:50%;box-shadow:0 0 0 4px #3cdcb12b;flex:none}
.header-separator{height:16px;width:1px;background:#bac1d2;margin:0 4px}.workspace-label{color:#8a93a6}.header-actions{gap:8px}
.currency-switch{display:flex;background:rgba(218,224,242,.65);padding:4px;border:1px solid #ffffffd9;border-radius:14px;margin-right:4px;box-shadow:inset 0 2px 5px #7e90b512}
.currency-switch button{height:31px;min-width:34px;border-radius:10px;background:transparent;color:#7f8ba4;font-weight:650}
.currency-switch button.active{color:#5b4cb2;background:linear-gradient(160deg,#fff,#f1edff);box-shadow:0 3px 8px #7f7f9d29,inset 0 1px #fff}
.btn,.icon-button{background:rgba(255,255,255,.52);color:#53627e;border:1px solid #ffffffb3;box-shadow:0 3px 10px #7183ae0f,inset 0 1px #fff;border-radius:12px;transition:transform .2s,background .2s}
.btn:hover,.icon-button:hover{background:#fff;transform:translateY(-1px)}.btn.small{padding:10px 12px;font-size:11px;font-weight:700}
.icon-button{width:35px;height:35px;font-size:18px;display:grid;place-items:center}
/* Landing heading and highlights */
.workspace-title{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:42px 4px 31px}
.eyebrow{display:flex;align-items:center;gap:8px;color:#8365c4;letter-spacing:2px;font-size:10px;font-weight:800}
.eyebrow-line{height:2px;width:23px;border-radius:10px;background:linear-gradient(90deg,#ad88f5,#72d0e6)}
h1{font-size:clamp(32px,3.2vw,48px);letter-spacing:-2.5px;line-height:1.08;font-weight:810;margin-top:11px;color:#26304a}
.title-period{color:#a386f5}.workspace-title p{color:#78849c;font-size:13px;margin-top:11px;line-height:1.45}
.top-summary{display:flex;align-items:center;gap:8px}
.summary-figure{min-width:112px;padding:15px 17px;background:rgba(255,255,255,.49);border:1px solid #ffffffd4;border-radius:17px;box-shadow:inset 0 1px 1px #fff,0 7px 24px #7786b418;backdrop-filter:blur(20px)}
.summary-figure small{display:block;color:#8491aa;font-size:9px;font-weight:750;letter-spacing:.8px;margin-bottom:8px;white-space:nowrap}
.summary-figure strong{display:block;color:#34425d;font-size:20px;letter-spacing:-.65px;white-space:nowrap;font-weight:780}
.summary-figure strong.violet{color:#7858db}.summary-figure strong.mint{color:#069f8b}
/* Distinct translucent glass panes */
.dashboard{display:grid;grid-template-columns:minmax(290px,.99fr) minmax(310px,1.02fr) minmax(395px,1.48fr);gap:16px;align-items:stretch}
.panel{--tint:119,91,220;--pale:232,220,255;position:relative;min-width:0;display:flex;flex-direction:column;min-height:850px;padding:23px 21px 18px;border-radius:var(--radius);overflow:hidden;isolation:isolate;
  border:1px solid rgba(255,255,255,.81);background:linear-gradient(154deg,rgba(var(--pale),.51) 0%,rgba(255,255,255,.55) 25%,rgba(255,255,255,.46) 64%,rgba(var(--pale),.22) 100%);box-shadow:0 18px 50px rgba(66,74,121,.10),inset 1px 1px 1px #ffffffed,inset -1px -1px 1px rgba(255,255,255,.32);-webkit-backdrop-filter:blur(32px) saturate(170%);backdrop-filter:blur(32px) saturate(170%)}
.panel::before{content:"";position:absolute;inset:0 0 auto;height:155px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 0% 0%,rgba(var(--tint),.22),transparent 75%)}
.panel::after{content:"";height:1px;position:absolute;top:3px;left:24px;right:24px;z-index:-1;background:linear-gradient(90deg,transparent,rgba(255,255,255,.98),transparent)}
.task-panel{--tint:143,101,227;--pale:233,220,255}.finance-panel{--tint:34,191,158;--pale:206,247,233}.insights-panel{--tint:81,137,249;--pale:211,228,255}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:11px;margin-bottom:22px;position:relative}
.panel-index{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:1.45px;color:rgba(var(--tint),.93)}
.panel-index::before{content:"";width:18px;height:18px;border-radius:7px;background:rgba(var(--tint),.15);box-shadow:inset 0 0 0 1px rgba(var(--tint),.13)}
.panel-head h2{font-weight:790;font-size:25px;letter-spacing:-1.15px;margin-top:12px;color:#252d47}
.add-btn{position:relative;width:43px;height:43px;border-radius:15px;font-size:30px;font-weight:300;display:grid;place-items:center;line-height:1;padding-bottom:3px;box-shadow:inset 0 1px 1px #ffffff8e,0 7px 14px #6370a029;transition:transform .2s,box-shadow .2s}
.add-btn:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 10px 18px #6370a043}
.add-btn.lavender{background:linear-gradient(145deg,#b59cfa,#8d71e2);color:white}.add-btn.green{background:linear-gradient(145deg,#68dfc2,#29b7a5);color:#fff}
/* Tasks */
.task-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:19px}
.task-stat{border:1px solid #ffffffc4;background:linear-gradient(155deg,#ffffffc2,#ffffff5e);box-shadow:0 6px 17px rgba(102,76,159,.06),inset 0 1px #fff;border-radius:15px;padding:14px 11px;min-width:0}
.task-stat small{display:block;font-size:10px;color:#8a88a5;margin-bottom:9px;font-weight:640}.task-stat strong{font-size:25px;font-weight:790;line-height:1}.task-stat strong.purple{color:#8c67e2}.task-stat strong.urgent{color:#e1769a}.task-stat strong.completed{color:#1caf9d}
.segmented{display:flex;gap:3px;padding:4px;background:rgba(188,195,221,.27);border:1px solid #ffffffaa;border-radius:14px;box-shadow:inset 0 2px 5px rgba(109,116,149,.08)}
.segmented button{flex:1;border-radius:10px;background:transparent;color:#8290a7;font-size:11px;font-weight:700;white-space:nowrap;padding:10px 5px;transition:background .2s,color .2s}
.segmented button.active{color:#6653a8;background:linear-gradient(145deg,#fff,#f6f0ff);box-shadow:0 3px 8px #81759d23,inset 0 1px #fff}
.task-filters{margin-bottom:27px}.graph-filters button.active{color:#396ab9;background:linear-gradient(145deg,#fff,#eaf2ff)}
.section-subhead{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#8891aa;font-size:10px;font-weight:800;letter-spacing:1.15px;margin-bottom:14px}
.section-subhead>span:last-child:not(:first-child){letter-spacing:0;text-transform:none;color:#9ca4b5;font-weight:650}
.task-list{flex:1;display:flex;flex-direction:column;gap:8px;min-height:210px}
.task-row{position:relative;display:flex;align-items:flex-start;gap:10px;padding:13px 11px;background:rgba(255,255,255,.60);border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 13px rgba(112,91,156,.06),inset 0 1px #fff;border-radius:16px;cursor:pointer;transition:transform .18s,background .18s,box-shadow .18s}
.task-row:hover{transform:translateY(-2px);background:#ffffffc9;box-shadow:0 9px 22px #8c75b823}.task-row.selected{border-color:#a79af1}
.task-title-line{display:flex;align-items:center;gap:8px;min-width:0}.task-quest-marker{display:none;flex:0 0 auto;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;font-weight:900;font-size:13px;line-height:1;text-shadow:0 1px 0 rgba(0,0,0,.25)}.task-quest-marker.open{background:#f0d586;color:#4a2f00;border:1px solid #b58c2f}.task-quest-marker.done{background:#585d67;color:#eceff4;border:1px solid #8c92a0}.task-element-btn{flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;border:1px solid rgba(122,130,168,.32);background:rgba(255,255,255,.75);color:#66718b;box-shadow:inset 0 1px rgba(255,255,255,.95);transition:transform .16s,background .16s,border-color .16s,color .16s;cursor:pointer}.task-element-btn:hover{transform:translateY(-1px);background:#fff}.task-element-btn.selected{background:color-mix(in srgb,var(--element-color,#7f8cff) 14%, white);border-color:color-mix(in srgb,var(--element-color,#7f8cff) 55%, #ffffff);color:color-mix(in srgb,var(--element-color,#7f8cff) 75%, #2b2f45)}.task-element-icon{font-size:16px;line-height:1}.element-picker .settings-example{margin-bottom:14px}.element-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px}.element-option{display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;border:1px solid rgba(123,131,173,.24);background:#ffffffcf;color:#32445c;cursor:pointer;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}.element-option:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(117,125,166,.14)}.element-option.active{border-color:color-mix(in srgb,var(--element-color,#7f8cff) 70%, #fff);background:color-mix(in srgb,var(--element-color,#7f8cff) 14%, #fff);box-shadow:0 12px 24px color-mix(in srgb,var(--element-color,#7f8cff) 18%, transparent)}.element-option.clear.active{border-color:#9fa8bb;background:#eef1f7}.element-option-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.84);border:1px solid rgba(118,127,160,.2);font-size:18px}body[data-theme="theme16"] .task-quest-marker{display:inline-flex}
.task-check{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1.5px solid #c1b6de;border-radius:7px;background:#ffffffb5;color:white;font-size:13px;line-height:1;margin-top:1px;padding:0}.task-check.done{background:linear-gradient(130deg,#4ecbb0,#1cafac);border-color:transparent;font-weight:850}
.task-body{flex:1;min-width:0}.task-title{color:#303a53;font-size:12.5px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.task-title.done{text-decoration:line-through;color:#9da6b5}
.task-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}.task-date{font-size:10px;color:#8b91a9;display:flex;align-items:center;gap:5px}.task-date.overdue{color:#c85776}
.priority{font-size:9px;line-height:1.2;padding:4px 7px;border-radius:6px;white-space:nowrap;font-weight:730}.priority.high{color:#c75278;background:#ffe5ed}.priority.medium{color:#b27c32;background:#fff0d8}.priority.low{color:#7b63c9;background:#ece6ff}
.task-amount{font-size:10px;color:#9464cf;font-weight:720}.task-amount.positive{color:#099e83}.task-edit{background:transparent;color:#9ba1b3;font-size:18px;padding:0 4px;line-height:1.1}.task-edit:hover{color:#6b5bcc}
.panel-bottom-add{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;padding:12px;border-radius:13px;border:1px dashed #b4a4e6;background:rgba(242,235,255,.57);color:#815fcc;font-size:11px;font-weight:760;transition:background .18s}.panel-bottom-add:hover{background:#e7ddff}.panel-bottom-add span{font-size:17px}
.panel-footnote{display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.5;color:#8b91a4;border-top:1px solid #ffffffc7;padding-top:15px;margin-top:19px}.footnote-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.footnote-dot.violet{background:#aa81ee}.footnote-dot.mint{background:#28c6a7}
/* Finance */
.balance-card{height:194px;position:relative;overflow:hidden;isolation:isolate;border-radius:23px;padding:23px 20px;margin-bottom:12px;color:#fff;background:linear-gradient(125deg,#16ad9c 0%,#28c8ab 48%,#5cdac5 100%);box-shadow:0 14px 30px rgba(13,158,142,.18),inset 0 1px 2px #ffffff80;border:1px solid rgba(255,255,255,.42)}
.balance-card::after{position:absolute;content:"";width:220px;height:220px;right:-110px;top:-145px;border-radius:50%;border:48px solid #ffffff12;box-shadow:0 0 0 35px #ffffff0c;z-index:-1}
.balance-top{display:flex;justify-content:space-between;position:relative;z-index:1;font-size:10px;font-weight:830;letter-spacing:1.8px;color:#e5fffa}.balance-decor{font-size:26px;color:#e2fff8;line-height:16px}
.balance-value{position:relative;z-index:1;font-size:clamp(31px,2.6vw,40px);letter-spacing:-1.7px;font-weight:810;margin-top:14px;white-space:nowrap;text-shadow:0 1px 1px #118e8e22}
.balance-hint{position:relative;z-index:1;display:flex;align-items:center;gap:9px;font-size:10px;color:#e2fff8;margin-top:8px}.balance-live-dot{background:white;box-shadow:0 0 0 3px #ffffff33;width:5px;height:5px}
.balance-graphic{height:94px;position:absolute;left:0;right:0;bottom:-1px;opacity:.63}.balance-graphic svg{width:100%;height:100%}
.money-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:28px}
.money-stat{border-radius:17px;background:rgba(255,255,255,.67);border:1px solid #ffffffde;box-shadow:inset 0 1px #fff;padding:13px 11px;min-width:0}
.stat-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#8192a6;white-space:nowrap;font-weight:750}.stat-icon{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border-radius:8px;font-size:13px}.stat-icon.income{background:#d7f7e9;color:#0da787}.stat-icon.expense{background:#ffebef;color:#d46e82}.hint-range{font-size:9px;color:#a1aabb;font-weight:550}.money-stat strong{display:block;margin-top:10px;font-size:clamp(16px,1.7vw,22px);letter-spacing:-.7px;font-weight:810;white-space:nowrap}
.categories{display:flex;flex-direction:column;gap:12px;min-height:115px;margin-bottom:19px}.category-line{display:grid;grid-template-columns:17px 1fr auto;gap:7px;align-items:center}.category-icon{font-size:12px}.category-name{font-size:11px;color:#64738b;font-weight:580}.category-price{font-size:11px;color:#3b465b;font-weight:760;white-space:nowrap}.category-bar{height:6px;overflow:hidden;border-radius:20px;background:#ffffffbb;box-shadow:inset 0 1px 3px #7a8d9e1a;margin-top:7px}.category-bar>span{height:100%;display:block;border-radius:20px;box-shadow:inset 0 1px 1px #ffffff60}
.transaction-section{margin-top:3px}.text-action{background:none;color:#0f9e8c;font-size:10px;font-weight:800}.transactions{flex:1;display:flex;flex-direction:column;gap:2px}
.transaction-row{display:flex;align-items:center;gap:10px;padding:11px 5px;border-bottom:1px solid #ffffffa8;border-radius:11px;cursor:pointer;transition:background .18s}.transaction-row:hover{background:#ffffffa4}.transaction-icon{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;font-size:15px}.transaction-info{flex:1;min-width:0}.transaction-name{font-size:12px;color:#3c485f;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-meta{color:#92a0af;font-size:10px;margin-top:4px}.transaction-amount{font-size:12px;font-weight:760;white-space:nowrap}.transaction-amount.income{color:#0b9d86}.transaction-amount.expense{color:#cf6b80}
/* Analytics */
.insights-panel .panel-head{margin-bottom:19px}.panel-badge{display:inline-flex;align-items:center;gap:8px;border-radius:19px;padding:9px 12px;background:#ffffffa6;border:1px solid #fff;box-shadow:inset 0 1px white;color:#487ac6;font-size:10px;font-weight:850;letter-spacing:1px;white-space:nowrap}.panel-badge .badge-dot{width:6px;height:6px;background:#5b97f5;box-shadow:0 0 0 3px #b5d0ff}
.analytics-description{font-size:12px;line-height:1.7;color:#7687a5;margin-top:-4px;margin-bottom:25px;max-width:480px}.analytics-controls{display:flex;justify-content:space-between;align-items:center;gap:10px}.chart-title-label{display:block;font-size:10px;color:#8293ae;letter-spacing:1.2px;font-weight:820}.chart-amount{display:block;font-size:26px;font-weight:810;letter-spacing:-.95px;margin-top:8px;color:#263a5a}.graph-filters{flex:0 0 auto}.graph-filters button{font-size:10px;padding:9px 8px}
.chart-legend{display:flex;align-items:center;flex-wrap:wrap;gap:18px;color:#8996aa;font-size:10px;margin:21px 0 0}.chart-legend span{display:flex;gap:7px;align-items:center}.legend-line{display:inline-block;width:20px;height:0;border-top:3px solid #4d87e7;border-radius:4px}.legend-line.forecast{border-color:#eeaa67;border-top-style:dashed}.legend-task{display:inline-block;width:9px;height:9px;border-radius:2px;background:#8d7ae7;transform:rotate(45deg)}
.chart-wrap{position:relative;margin-top:12px;height:335px;min-height:335px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,.18));border:1px solid rgba(255,255,255,.7);padding:4px 3px;box-shadow:inset 0 1px #ffffffd6}
.chart-render,.chart-render svg{width:100%;height:100%;display:block}.chart-render svg{overflow:visible}.chart-grid{stroke:#b6cbe7;stroke-width:.7;stroke-dasharray:3 6;opacity:.6}.chart-axis-text{fill:#8c9bb1;font-size:10px;font-family:inherit}.chart-dot{cursor:pointer;outline:0}.chart-dot:focus-visible{stroke:#6285dd;stroke-width:4}
.chart-tooltip{position:absolute;pointer-events:none;z-index:10;background:#fffffff2;border:1px solid #fff;border-radius:12px;box-shadow:0 10px 28px #657bae3d;padding:10px 12px;color:#32435e;font-size:10px;line-height:1.8;min-width:145px;max-width:230px;backdrop-filter:blur(10px)}.chart-tooltip strong{font-size:12px}.chart-tooltip span{color:#8897a8}.chart-instructions{margin-top:9px;color:#96a1b5;font-size:10px}
.selected-day{margin-top:19px;padding:16px;border:1px solid #ffffffdc;background:linear-gradient(130deg,#e4eeffba,#ffffff82);border-radius:17px;box-shadow:inset 0 1px white}.selected-day-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.selected-day-title strong{font-size:12px;color:#34496d}.selected-day-title span{font-size:10px;color:#487fd0;font-weight:750}.selected-day-body{color:#8898b0;font-size:11px;line-height:1.6}.day-event{display:flex;align-items:flex-start;gap:8px;padding-top:9px;margin-top:9px;border-top:1px solid #ffffffdb}.day-event>span{color:#7a7bd5;font-size:13px}.day-event div{flex:1;min-width:0}.day-event b{display:block;color:#344763;font-size:11px;overflow-wrap:anywhere}.day-event small{display:block;margin-top:4px;color:#889bb2;font-size:10px}.day-event .event-impact{white-space:nowrap;color:#6980cf;font-size:10px;font-weight:740;margin-left:auto}
.upcoming-heading{margin-top:28px}.upcoming-list{display:flex;flex-direction:column;gap:9px;min-height:128px}.upcoming-row{display:flex;align-items:center;gap:10px;padding:11px;background:#ffffff9e;border:1px solid #ffffffdb;border-radius:16px;box-shadow:0 5px 12px #7698ce12;cursor:pointer;transition:transform .18s,background .18s}.upcoming-row:hover{transform:translateY(-2px);background:#fff}.upcoming-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:43px;height:45px;flex-shrink:0;background:linear-gradient(140deg,#d3e3ff,#eff5ff);border:1px solid #fff;border-radius:12px;color:#4d79c5}.upcoming-date strong{font-size:19px;line-height:1}.upcoming-date small{font-size:9px;text-transform:uppercase;margin-top:5px}.upcoming-info{flex:1;min-width:0}.upcoming-info b{display:block;font-size:11px;color:#3e516e;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.upcoming-info small{display:block;font-size:10px;color:#8e9bb1;margin-top:5px}.upcoming-money{white-space:nowrap;color:#cc7185;font-size:11px;font-weight:780}.upcoming-money.positive{color:#0d9d87}
.insights-footer{display:flex;align-items:flex-start;gap:12px;margin-top:auto;padding:14px 15px;background:linear-gradient(110deg,#ffffff91,#dfebff99);border:1px solid #ffffffea;border-radius:16px;box-shadow:inset 0 1px #fff}.insight-symbol{font-size:23px;color:#7c89e0}.insights-footer b{font-size:11px;color:#49649c}.insights-footer p{font-size:10px;color:#8c9db3;line-height:1.6;margin-top:5px}
.page-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:22px 4px 26px;color:#7d90a7;font-size:10px}.page-footer span:first-child{font-weight:800;letter-spacing:1px;color:#7f82aa}.page-footer button{background:transparent;text-decoration:underline;color:#7c65ce;font-size:10px}
.empty-state{padding:24px 12px;text-align:center;background:#ffffff83;border:1px dashed #b9c4e0;border-radius:14px;color:#8795a9;font-size:11px;line-height:1.65}.empty-icon{display:block;font-size:20px;margin-bottom:6px}
/* Glass modal */
.modal-backdrop[hidden],.chart-tooltip[hidden]{display:none}.modal-backdrop{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;background:#45527177;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.modal{width:min(100%,475px);max-height:min(91vh,790px);overflow:auto;padding:26px;background:linear-gradient(145deg,#fffffff0,#edf0ffea);border:1px solid #fff;border-radius:27px;box-shadow:0 28px 85px #27385a52,inset 0 2px 1px #fff;backdrop-filter:blur(25px)}.modal-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.modal h3{margin-top:10px;font-size:26px;letter-spacing:-1px}.close-button{width:36px;height:36px;border-radius:13px;background:#fff;color:#737f9d;border:1px solid #fff;font-size:23px;box-shadow:0 3px 11px #8a96bb1f}
.form-fields{display:flex;flex-direction:column;gap:15px}.field-label{display:block;margin-bottom:8px;color:#576680;font-weight:700;font-size:11px}.form-control{width:100%;background:#ffffffc4;color:#2a3651;border:1px solid #fff;border-radius:12px;padding:12px;font-size:13px;outline:0;box-shadow:inset 0 1px 3px #64789e11}.form-control:focus{border-color:#a79bf1;box-shadow:0 0 0 3px #b3a9ff33}.form-control::placeholder{color:#aab5c4}textarea.form-control{min-height:75px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.input-helper{display:block;font-size:10px;color:#8b9bb1;margin-top:6px;line-height:1.6}
.form-actions{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:22px}.form-actions-right{display:flex;gap:9px;margin-left:auto}.primary-btn,.danger-btn,.secondary-btn{padding:12px 17px;border-radius:12px;font-size:12px;font-weight:760}.primary-btn{background:linear-gradient(135deg,#a38cf2,#805fd7);color:white;box-shadow:0 6px 14px #8f78d438}.primary-btn.mint{background:linear-gradient(135deg,#42d8b4,#1fa799);box-shadow:0 6px 14px #34ab9936}.secondary-btn{background:#ffffffcf;color:#5b6b86;border:1px solid #fff}.danger-btn{background:#ffe4eb;color:#c65476}.toast{position:fixed;left:50%;bottom:22px;z-index:100;transform:translate(-50%,120px);opacity:0;pointer-events:none;padding:12px 18px;background:#34435fe9;color:white;font-size:12px;border-radius:14px;border:1px solid #ffffff88;box-shadow:0 14px 33px #263a6763;backdrop-filter:blur(20px);transition:transform .25s,opacity .25s}.toast.visible{opacity:1;transform:translate(-50%,0)}
.settings-explanation{color:#6d7d93;font-size:12px;line-height:1.7;margin-bottom:17px}.settings-example{background:#ffffffae;color:#7b8aa4;font-size:11px;line-height:1.6;padding:13px;border-radius:12px}.setting-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.chart-day-selected{fill:#7b86df;stroke:#fff;stroke-width:2.3}.chart-task-marker{cursor:pointer}.chart-task-marker:hover{filter:brightness(1.12)}
@media(min-width:1560px){.panel{padding:28px 26px 20px}.dashboard{gap:19px}.chart-wrap{height:355px;min-height:355px}.task-row{padding:14px}.task-list{gap:10px}}
@media(max-width:1350px){.app-shell{padding-inline:19px}.dashboard{grid-template-columns:minmax(270px,1fr) minmax(298px,1.05fr) minmax(355px,1.37fr);gap:12px}.panel{padding:22px 16px}.panel-head h2{font-size:23px}.money-stat strong{font-size:17px}.header-middle{display:none}}
@media(max-width:1100px){.dashboard{grid-template-columns:minmax(260px,1fr) minmax(280px,1.09fr)}.insights-panel{grid-column:1/-1;min-height:650px}.insights-panel .upcoming-list{display:grid;grid-template-columns:repeat(2,1fr)}.insights-panel .chart-wrap{height:370px;min-height:370px}.insights-panel .insights-footer{margin-top:24px}.top-summary{gap:6px}.summary-figure{min-width:100px;padding:12px 13px}}
@media(max-width:740px){.app-shell{padding:12px 13px 0}.topbar{padding:12px;flex-wrap:wrap;gap:12px;border-radius:20px}.brand{min-width:0}.header-actions{margin-left:auto}.workspace-title{align-items:flex-start;flex-direction:column;padding:30px 5px 26px}.top-summary{width:100%}.summary-figure{flex:1;min-width:0}.dashboard{grid-template-columns:1fr;gap:14px}.panel{min-height:0;padding:22px 19px;border-radius:25px}.insights-panel{grid-column:auto;min-height:0}.task-list{min-height:90px}.insights-panel .upcoming-list{grid-template-columns:1fr}.insights-panel .chart-wrap{height:300px;min-height:300px}.panel-footnote{margin-top:16px}.page-footer{line-height:1.7}}
@media(max-width:480px){.app-shell{padding-inline:10px}.brand-name{font-size:19px}.header-actions{width:100%;justify-content:space-between;margin-left:0}.currency-switch{margin-right:0}.workspace-title h1{font-size:33px;letter-spacing:-1.6px}.workspace-title p{font-size:12px}.summary-figure{padding:12px 9px}.summary-figure small{font-size:8px;letter-spacing:0}.summary-figure strong{font-size:16px}.panel{padding:20px 14px}.panel-head h2{font-size:23px}.balance-value{font-size:35px}.graph-filters button{padding:9px 6px}.chart-legend{gap:12px}.chart-wrap{height:270px!important;min-height:270px!important}.chart-title-label{font-size:9px}.chart-amount{font-size:22px}.money-stat strong{font-size:17px}.form-row{grid-template-columns:1fr}.modal{padding:20px}.selected-day-title{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Wallets: equal-size compact colored liquid-glass tiles */
.finance-panel{container-type:inline-size;container-name:finance}
.wallets-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-1px;margin-bottom:10px}
.wallets-heading .section-subhead{margin:0;flex:1}
.wallet-section-note{font-size:9px;color:#8aa3a8;white-space:nowrap}
.wallets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;align-content:start}
.wallet-tile{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:101px;aspect-ratio:1.06/1;padding:10px 10px 9px;overflow:hidden;text-align:left;color:var(--wallet-ink);border-radius:16px;border:1px solid #ffffff74;background:linear-gradient(145deg,color-mix(in srgb,var(--wallet-color) 82%,white),var(--wallet-color));box-shadow:inset 0 1px 1px #ffffff8f,0 6px 12px #507c9630;transition:transform .2s,box-shadow .2s}
.wallet-tile::before{content:"";position:absolute;pointer-events:none;z-index:-1;inset:-35% -40% auto -15%;height:92%;border-radius:50%;background:radial-gradient(ellipse,#ffffff70,transparent 70%);filter:blur(7px)}
.wallet-tile::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 1px 1px 1px #fff8,inset -1px -1px 1px #fff3}
.wallet-tile:hover{transform:translateY(-3px);box-shadow:inset 0 1px 1px #fff9,0 10px 18px #52738a33}
.wallet-top{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:auto}
.wallet-sheen-dot{display:block;width:15px;height:15px;border-radius:6px;background:#ffffff4b;border:1px solid #ffffff65;box-shadow:inset 0 1px #fff7}
.wallet-currency{display:grid;place-items:center;min-width:23px;height:23px;padding:0 4px;font-weight:800;font-size:14px;background:#ffffff42;border:1px solid #ffffff60;border-radius:8px;line-height:1;flex:none}
.wallet-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:10px;line-height:1.15;font-weight:690;opacity:.9;margin-top:9px}
.wallet-balance{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:clamp(13px,1.1vw,19px);font-weight:820;letter-spacing:-.5px;margin-top:5px;line-height:1.12;font-variant-numeric:tabular-nums}
.wallet-add{align-items:center;justify-content:center;text-align:center;gap:8px;border:1px dashed #7db4a8b3;background:linear-gradient(150deg,#ffffff9c,#dcf7f0a3);color:#518c82;box-shadow:inset 0 1px 1px #fff}
.wallet-add::before{display:none}.wallet-add span:last-child{font-size:10px;font-weight:710;line-height:1.2}
.wallet-add-symbol{font-size:22px;font-weight:400;width:30px;height:30px;display:grid;place-items:center;background:#fff9;border:1px solid #fff;border-radius:11px}
@container finance (min-width:440px){.wallets-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.finance-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:17px}
.finance-action{padding:10px 12px;border-radius:13px;font-size:12px;font-weight:780;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ffffffb9;box-shadow:inset 0 1px #fff,0 5px 12px #547e9414;transition:transform .18s}
.finance-action:hover{transform:translateY(-2px)}.finance-action span{display:grid;place-items:center;width:20px;height:20px;font-size:18px;line-height:1;border-radius:7px;background:#ffffff80}
.finance-action.income-action{background:linear-gradient(125deg,#d5f7e9d9,#bdf0dec4);color:#168d75}.finance-action.expense-action{background:linear-gradient(125deg,#ffe7e8e8,#fbd8e4c1);color:#bb6284}
.wallet-currency-hint{font-size:10px;color:#70978f;line-height:1.4;margin:-8px 0 14px 2px}
.wallet-color-controls{display:flex;gap:13px;align-items:center;flex-wrap:wrap}
.wallet-color-picker{width:53px;height:40px;background:#ffffffb5;border-radius:11px;padding:4px;cursor:pointer;border:1px solid #fff}
.wallet-swatch-list{display:flex;flex-wrap:wrap;gap:6px;flex:1}.wallet-swatch{width:26px;height:26px;flex:none;border-radius:9px;background:var(--swatch);border:2px solid #fff;box-shadow:0 2px 5px #5a739c3c}.wallet-swatch.selected{outline:2px solid #4b6398;outline-offset:1px}
.wallet-preview{position:relative;display:flex;flex-direction:column;gap:8px;padding:15px 17px;min-height:88px;border-radius:17px;background:linear-gradient(135deg,color-mix(in srgb,var(--wallet-color) 78%,white),var(--wallet-color));color:var(--wallet-ink);box-shadow:inset 0 1px #ffffff80,0 7px 13px #5b72941a}
.wallet-preview #walletPreviewName{font-size:12px;font-weight:700;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wallet-preview #walletPreviewBalance{font-size:22px;letter-spacing:-.7px}
.wallet-preview #walletPreviewCurrency{position:absolute;right:15px;top:15px;display:grid;place-items:center;width:25px;height:25px;background:#ffffff4c;border:1px solid #fff6;border-radius:9px;font-weight:770}
@media(max-width:480px){.wallets-grid{gap:7px}.wallet-tile{padding:9px;min-height:97px}.wallet-balance{font-size:17px}.wallet-section-note{font-size:9px}}

/* Categories control and wallet details page */
.category-subhead,.section-subhead.inline{display:flex;align-items:center;justify-content:space-between;gap:10px}
.subhead-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.text-action{cursor:pointer}
.text-action#categoryManageBtn{padding:0;border:none;background:transparent}
.wallet-view{margin-top:16px}
.wallet-page-panel{padding:24px 24px 22px}
.wallet-page-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.wallet-page-title-wrap{display:flex;gap:16px;align-items:flex-start}
.wallet-back-btn{padding:10px 14px;border-radius:14px;border:1px solid #ffffffd0;background:#ffffffb7;color:#5e7091;box-shadow:inset 0 1px #fff,0 5px 11px #55739414;font-size:12px;font-weight:760;white-space:nowrap}
.wallet-page-title{margin-top:6px;font-size:30px;letter-spacing:-1px;color:#243352}.wallet-page-subtitle{margin-top:5px;color:#7a89a3;font-size:13px}
.wallet-page-actions{display:flex;gap:8px;flex-wrap:wrap}
.wallet-page-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,color-mix(in srgb,var(--wallet-color) 80%,white),var(--wallet-color));color:var(--wallet-ink);box-shadow:inset 0 1px 1px #ffffff85,0 10px 24px #596f9f24;margin-bottom:14px}
.wallet-page-hero::before{content:"";position:absolute;inset:-25% auto auto -5%;width:55%;height:100%;background:radial-gradient(ellipse,#ffffff73,transparent 70%);filter:blur(10px);pointer-events:none}
.wallet-hero-main,.wallet-hero-side{position:relative;z-index:1}.wallet-hero-label{display:block;font-size:10px;font-weight:700;opacity:.82;letter-spacing:.12em;margin-bottom:8px}.wallet-hero-main strong{font-size:36px;letter-spacing:-1.2px}.wallet-hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.wallet-hero-side span{display:grid;place-items:center;min-width:44px;height:44px;padding:0 10px;border-radius:14px;background:#ffffff44;border:1px solid #ffffff5d;font-size:24px;font-weight:800}.wallet-hero-side small{font-size:12px;opacity:.85}
.wallet-page-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.wallet-page-stat{min-width:0}
.wallet-page-chart-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:10px}.wallet-chart-caption{margin-top:4px;color:#7a8ba7;font-size:12px}
.wallet-range-filters{flex-wrap:wrap}.wallet-range-filters button{min-width:54px}
.wallet-chart-wrap{height:360px;min-height:360px;margin-bottom:18px}.wallet-guide-text{font-size:11px;fill:#6b7fa1;font-weight:700}.wallet-ops-head{margin-bottom:10px}.wallet-transactions-list{max-height:none}
.wallet-transaction-row{cursor:pointer}
.category-manager-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}.category-manager-block{display:flex;flex-direction:column;gap:10px}.category-manager-list{display:flex;flex-direction:column;gap:8px}.category-manager-row{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:16px;background:#ffffffbd;border:1px solid #fff;box-shadow:inset 0 1px #fff,0 6px 12px #58759d14}.category-manager-badge{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;font-size:16px;font-weight:700}.category-manager-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.category-manager-info b{font-size:13px;color:#33415f}.category-manager-info small{font-size:11px;color:#8898af}.secondary-btn.tiny{padding:9px 12px;font-size:11px}
@media(max-width:1100px){.wallet-page-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-page-header{flex-direction:column}.wallet-page-actions{width:100%;justify-content:flex-end}}
@media(max-width:740px){.wallet-page-panel{padding:20px 16px}.wallet-page-title-wrap{flex-direction:column;gap:10px}.wallet-page-title{font-size:27px}.wallet-page-hero{flex-direction:column;align-items:flex-start}.wallet-hero-side{align-items:flex-start}.wallet-page-stats{grid-template-columns:1fr}.wallet-chart-wrap{height:310px;min-height:310px}.category-manager-layout{grid-template-columns:1fr}}
@media(max-width:480px){.wallet-page-header{gap:12px}.wallet-page-title{font-size:24px}.wallet-hero-main strong{font-size:30px}.wallet-hero-side span{width:auto;min-width:38px;height:38px;font-size:20px}.wallet-range-filters button{padding:8px 8px;min-width:48px;font-size:11px}.wallet-chart-wrap{height:280px;min-height:280px}}

/* Wallet mini charts and transfers */
.finance-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.finance-action{padding:10px 5px;gap:4px;font-size:11px;min-width:0}
.finance-action span{width:18px;height:18px;flex-shrink:0}
.finance-action.transfer-action{background:linear-gradient(135deg,#dbeafeeb,#d4ddffcc);color:#5075b8}
.finance-action.transfer-action span{font-size:15px}
.wallet-tile{min-height:115px;aspect-ratio:1/1.08;justify-content:flex-start;padding:10px;}
.wallet-tile .wallet-top{margin-bottom:3px}
.wallet-tile .wallet-name{margin-top:5px}
.wallet-tile .wallet-balance{margin-top:4px}
.wallet-sparkline{display:block;flex:none;width:100%;height:26px;min-height:26px;margin-top:auto;color:var(--wallet-ink);opacity:.84;overflow:visible}
.wallet-add{aspect-ratio:1/1.08}
.wallet-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.wallet-switch-item{display:flex;align-items:center;gap:6px;padding:9px 12px;border-radius:15px;border:1px solid #fff;background:#ffffff8a;color:#657693;font-size:12px;font-weight:720;box-shadow:0 4px 13px #7484ab12;transition:transform .2s,background .2s}
.wallet-switch-item:hover{transform:translateY(-1px);background:white}
.wallet-switch-item.selected{background:#e2e7f9;color:#354f94;border-color:#c3d1f4}
.wallet-switch-item span{height:9px;width:9px;flex:none;border-radius:50%;border:1px solid #fff6}
.wallet-switch-item small{opacity:.7;font-size:10px}
.transfer-transaction-row .transfer-icon{background:#e1e8ff;color:#5578d1}
.transfer-transaction-row .transaction-amount{font-size:11px;white-space:normal;text-align:right;max-width:45%}
.transfer-help{border-radius:12px;padding:11px 13px;border:1px solid #ffffffd5;background:#e7efffc7;color:#55739f;font-size:11px;line-height:1.5}
.wallet-page-panel{min-height:0}
.wallet-guide{pointer-events:none}
@media (max-width:480px){.wallet-tile{padding:8px;min-height:111px}.wallet-sparkline{height:24px;min-height:24px}.finance-action{font-size:10px;padding:10px 3px;gap:3px}.finance-action span{width:17px;height:17px}.wallet-range-filters{justify-content:flex-start}}
/* Explicitly honor hidden on views: author display:grid overrides the browser default otherwise. */
[hidden]{display:none!important}
.wallet-switch-add{border-style:dashed;color:#5b7cba;background:#edf4ff97}

/* v5: compact wallet detail overlay, background remains visible */
.wallet-view:not([hidden]){
  position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;
  margin:0;padding:clamp(12px,3vh,28px) 16px;
  background:rgba(28,41,68,.53);-webkit-backdrop-filter:blur(9px) saturate(.85);backdrop-filter:blur(9px) saturate(.85);
  animation:wallet-fade .2s ease-out;
}
.wallet-view .wallet-page-panel{
  width:min(790px,100%);max-width:100%;max-height:min(89vh,860px);overflow-y:auto;overscroll-behavior:contain;
  border:1px solid rgba(255,255,255,.85);border-radius:27px;
  box-shadow:0 32px 110px rgba(12,27,61,.43),inset 0 1px 2px rgba(255,255,255,.95);
  background:linear-gradient(145deg,rgba(249,251,255,.95),rgba(227,237,251,.95));
  padding:23px 25px 19px;
  animation:wallet-rise .25s cubic-bezier(.2,.7,.25,1);
}
.wallet-view .wallet-page-header{align-items:center;margin-bottom:13px}
.wallet-view .wallet-page-title-wrap{gap:13px;align-items:center}
.wallet-view .wallet-page-title{font-size:24px;letter-spacing:-.6px}
.wallet-view .wallet-page-subtitle{font-size:11px}
.wallet-view .wallet-page-actions{align-items:center;flex-wrap:nowrap;width:auto}
.wallet-close-btn{height:34px;width:34px;display:grid;place-items:center;font-size:23px;
  background:rgba(255,255,255,.7);color:#5a6f90;border:1px solid white;border-radius:12px;
  box-shadow:0 4px 13px rgba(58,79,125,.14);cursor:pointer}
.wallet-close-btn:hover{background:#fff}
.wallet-view .wallet-switcher{gap:6px;margin-bottom:12px}
.wallet-view .wallet-switch-item{padding:7px 10px;font-size:11px;border-radius:12px}
.wallet-view .wallet-page-hero{padding:12px 17px;border-radius:18px;margin-bottom:10px}
.wallet-view .wallet-hero-main strong{font-size:28px}
.wallet-view .wallet-hero-side{gap:6px}.wallet-view .wallet-hero-side span{min-width:35px;height:35px;font-size:19px;border-radius:11px}
.wallet-view .wallet-page-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.wallet-view .wallet-page-stat{padding:10px 13px}.wallet-view .wallet-page-stat strong{font-size:17px}
.wallet-view .wallet-page-chart-head{margin-bottom:6px;gap:8px}
.wallet-view .wallet-chart-caption{font-size:10px}
.wallet-view .wallet-range-filters{gap:3px}.wallet-view .wallet-range-filters button{min-width:40px;padding:8px 7px;font-size:10px}
.wallet-view .wallet-chart-wrap{height:245px!important;min-height:245px!important;margin-bottom:12px}
.wallet-view #walletDetailChart,.wallet-view #walletDetailChart svg{width:100%;height:100%;display:block}
.wallet-view .wallet-ops-head{margin-bottom:6px}
.wallet-view .wallet-transactions-list{max-height:none}
@keyframes wallet-fade{from{opacity:0}to{opacity:1}}
@keyframes wallet-rise{from{opacity:.5;transform:translateY(15px) scale(.975)}to{opacity:1;transform:none}}
@media(max-width:740px){
 .wallet-view:not([hidden]){padding:9px 8px;align-items:center}
 .wallet-view .wallet-page-panel{max-height:94dvh;padding:15px 14px;border-radius:21px}
 .wallet-view .wallet-page-title-wrap{flex-direction:row;gap:8px}
 .wallet-view .wallet-page-header{flex-direction:row;align-items:center}
 .wallet-view .wallet-page-actions{width:auto}
 .wallet-view .wallet-back-btn{padding:8px 9px;font-size:10px}
 .wallet-view .wallet-page-title{font-size:20px}
 .wallet-view .wallet-page-subtitle{display:none}
 .wallet-view .wallet-page-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
 .wallet-view .wallet-page-stat{padding:9px 7px}.wallet-view .wallet-page-stat small{font-size:8px}.wallet-view .wallet-page-stat strong{font-size:13px}
 .wallet-view .wallet-chart-wrap{height:230px!important;min-height:230px!important}
}
@media(max-width:480px){.wallet-view .wallet-chart-wrap{height:208px!important;min-height:208px!important}}
@media(prefers-reduced-motion:reduce){.wallet-view,.wallet-view .wallet-page-panel{animation:none}}
/* Prevent flexbox from collapsing wallet contents in a short mobile viewport. */
.wallet-view .wallet-page-panel > *{flex-shrink:0}
.wallet-view .wallet-page-hero{min-height:96px}
@media(max-width:740px){.wallet-view .wallet-page-hero{min-height:116px}}

.storage-warning{margin-top:14px;padding:11px 17px;border-radius:14px;color:#925e2c;background:#fff0d2d9;border:1px solid #f5d89c;box-shadow:0 6px 20px #927e4220;font-size:12px;line-height:1.6}

/* Theme selector */
.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.theme-option{text-align:left;padding:12px;border-radius:18px;border:1px solid #fff;background:#ffffffc5;box-shadow:inset 0 1px #fff,0 8px 18px #5d7aa81f;display:flex;flex-direction:column;gap:8px;color:#31415e;cursor:pointer}
.theme-option strong{font-size:14px}.theme-option small{font-size:11px;color:#7788a5;line-height:1.4}.theme-option.selected{outline:2px solid #698de8;box-shadow:0 0 0 4px #698de822,inset 0 1px #fff,0 8px 18px #5d7aa81f}
.theme-thumb{display:block;height:78px;border-radius:14px;border:1px solid #ffffffb0;box-shadow:inset 0 1px #ffffffb0;overflow:hidden}
.theme-thumb.theme1{background:linear-gradient(120deg,#f8fbff,#dfe8fb 45%,#eff6ff)}
.theme-thumb.theme2{background:linear-gradient(90deg,#efb132 0 33.33%,#fff 33.33% 66.66%,#131313 66.66%)}
.theme-thumb.theme3{background:conic-gradient(from 90deg at 60% 40%,#ff00aa,#00e5ff,#fff700,#57ff00,#ff6a00,#ff00aa),repeating-linear-gradient(135deg,transparent 0 8px,#00000018 8px 10px)}
.theme-thumb.theme4{background:linear-gradient(180deg,#8fd2ff,#c3ecff 36%,#95c676 37%,#5d8a4e 62%,#203124 100%)}
.wallet-hover-zone{cursor:pointer}
.wallet-chart-wrap{position:relative}
@media(max-width:560px){.theme-grid{grid-template-columns:1fr}}

/* Theme 2: monolith orange/white/black */
body[data-theme="theme2"]{background:linear-gradient(180deg,#f8efe0,#efe5d7)}
body[data-theme="theme2"] .app-shell::before,body[data-theme="theme2"] .app-shell::after{display:none}
body[data-theme="theme2"] .topbar,body[data-theme="theme2"] .summary-figure,body[data-theme="theme2"] .wallet-page-panel{background:#ffffffd9;border-color:#ffffff}
body[data-theme="theme2"] .task-panel{background:linear-gradient(180deg,#f7c341,#efb02a);color:#4a3604;border-color:#f4ca63;box-shadow:0 18px 42px #d09b1a40}
body[data-theme="theme2"] .task-panel h2,body[data-theme="theme2"] .task-panel .panel-index,body[data-theme="theme2"] .task-panel .section-subhead,body[data-theme="theme2"] .task-panel .task-row,body[data-theme="theme2"] .task-panel .panel-footnote{color:#4a3604}
body[data-theme="theme2"] .finance-panel{background:linear-gradient(180deg,#ffffff,#fafafa);border-color:#ececec;box-shadow:0 18px 42px #c6c6c620}
body[data-theme="theme2"] .insights-panel{background:linear-gradient(180deg,#171717,#0f0f0f);border-color:#242424;color:#f1f4fa;box-shadow:0 20px 50px #0000005a}
body[data-theme="theme2"] .insights-panel h2,body[data-theme="theme2"] .insights-panel .panel-index,body[data-theme="theme2"] .insights-panel .chart-title-label,body[data-theme="theme2"] .insights-panel .section-subhead,body[data-theme="theme2"] .insights-panel .selected-day,body[data-theme="theme2"] .insights-panel .upcoming-row,body[data-theme="theme2"] .insights-panel .insights-footer{color:#eef2fc}
body[data-theme="theme2"] .insights-panel .analytics-description,body[data-theme="theme2"] .insights-panel .chart-instructions,body[data-theme="theme2"] .insights-panel .upcoming-row small,body[data-theme="theme2"] .insights-panel .selected-day small{color:#aeb8cb}
body[data-theme="theme2"] .insights-panel .chart-wrap,body[data-theme="theme2"] .insights-panel .selected-day,body[data-theme="theme2"] .insights-panel .upcoming-row,body[data-theme="theme2"] .insights-panel .insights-footer{background:#ffffff0a;border-color:#ffffff1f}

/* Theme 3: acid abstract */
body[data-theme="theme3"]{background:radial-gradient(circle at 10% 20%,#ff9d00 0,#ff9d0000 16%),radial-gradient(circle at 90% 10%,#00d9ff 0,#00d9ff00 20%),linear-gradient(135deg,#17001f,#0a0f1d 42%,#100e03);color:#eaf2ff}
body[data-theme="theme3"] .topbar,body[data-theme="theme3"] .summary-figure,body[data-theme="theme3"] .wallet-page-panel{background:#130d24cc;border-color:#ffffff24;color:#eff4ff}
body[data-theme="theme3"] .task-panel,body[data-theme="theme3"] .finance-panel,body[data-theme="theme3"] .insights-panel{color:#f5fbff;border-color:#ffffff18;box-shadow:0 25px 60px #00000040;position:relative;overflow:hidden}
body[data-theme="theme3"] .task-panel{background:linear-gradient(160deg,#22073a,#121a55)}
body[data-theme="theme3"] .finance-panel{background:linear-gradient(160deg,#08293f,#351043)}
body[data-theme="theme3"] .insights-panel{background:linear-gradient(160deg,#2b0909,#1c223b)}
body[data-theme="theme3"] .task-panel::before,body[data-theme="theme3"] .finance-panel::before,body[data-theme="theme3"] .insights-panel::before{content:"";position:absolute;inset:-8%;pointer-events:none;background:repeating-linear-gradient(135deg,#ffffff14 0 7px,transparent 7px 22px),repeating-linear-gradient(35deg,#ff00c81c 0 9px,transparent 9px 26px),radial-gradient(circle at 20% 15%,#00f0ff55 0 8%,transparent 12%),radial-gradient(circle at 80% 25%,#ffe60066 0 7%,transparent 12%),radial-gradient(circle at 35% 75%,#5dff3f44 0 10%,transparent 16%);mix-blend-mode:screen}
body[data-theme="theme3"] .panel h2,body[data-theme="theme3"] .panel-index,body[data-theme="theme3"] .section-subhead,body[data-theme="theme3"] .chart-title-label,body[data-theme="theme3"] .chart-amount,body[data-theme="theme3"] .transaction-name,body[data-theme="theme3"] .wallet-name,body[data-theme="theme3"] .wallet-balance,body[data-theme="theme3"] .task-title,body[data-theme="theme3"] .selected-day,body[data-theme="theme3"] .upcoming-row{color:#f8fbff}
body[data-theme="theme3"] .task-meta,body[data-theme="theme3"] .transaction-meta,body[data-theme="theme3"] .analytics-description,body[data-theme="theme3"] .chart-instructions,body[data-theme="theme3"] .wallet-section-note{color:#d8e1ff}
body[data-theme="theme3"] .task-row,body[data-theme="theme3"] .money-stat,body[data-theme="theme3"] .transaction-row,body[data-theme="theme3"] .upcoming-row,body[data-theme="theme3"] .selected-day,body[data-theme="theme3"] .balance-card{background:#ffffff12;border-color:#ffffff1c;color:#fff}

/* Theme 4: scenic */
body[data-theme="theme4"]{background:linear-gradient(180deg,#99d2ff,#d9efff 35%,#9fc980 62%,#6d8f63 100%)}
body[data-theme="theme4"] .app-shell::before{width:360px;height:160px;left:3%;top:120px;border-radius:45%;background:radial-gradient(ellipse,#ffffff96 0,#ffffff00 70%);filter:blur(18px)}
body[data-theme="theme4"] .app-shell::after{width:300px;height:180px;right:3%;top:80px;border-radius:50%;background:radial-gradient(ellipse,#ffffff84 0,#ffffff00 68%);filter:blur(18px)}
body[data-theme="theme4"] .panel{position:relative;overflow:hidden}
body[data-theme="theme4"] .task-panel{background:linear-gradient(180deg,#7fcbff 0,#9fe4ff 38%,#5cc1cf 39%,#2079b4 40%,#2ba5c0 48%,#f4d39a 49%,#d6c07f 58%,#54b97b 59%,#2c7d4a 100%)}
body[data-theme="theme4"] .task-panel::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 76%,#235d3d 0 3%,transparent 3.4%),radial-gradient(circle at 84% 78%,#1f5f41 0 3%,transparent 3.4%),linear-gradient(120deg,transparent 0 16%,#275f3e 16% 18%,transparent 18% 100%),linear-gradient(60deg,transparent 0 82%,#f3efd7 82% 85%,transparent 85% 100%);opacity:.7}
body[data-theme="theme4"] .finance-panel{background:linear-gradient(180deg,#bde0ff 0,#f7fcff 32%,#b8d68f 33%,#7dad63 64%,#6ca15d 100%)}
body[data-theme="theme4"] .finance-panel::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(150deg,transparent 0 52%,#c66d44 52% 57%,transparent 57%),linear-gradient(210deg,transparent 0 57%,#c66d44 57% 62%,transparent 62%),linear-gradient(180deg,transparent 0 61%,#fff8ef 61% 75%,transparent 75%),radial-gradient(circle at 72% 68%,#835437 0 6%,transparent 6.5%);opacity:.75}
body[data-theme="theme4"] .insights-panel{background:linear-gradient(180deg,#0f1c22 0,#213438 34%,#182923 58%,#0a120d 100%);color:#f0f6ed}
body[data-theme="theme4"] .insights-panel::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 48% 18%,#d7efbe18 0 8%,transparent 15%),linear-gradient(180deg,transparent 0 52%,#58462c 52% 56%,transparent 56%),radial-gradient(circle at 44% 57%,#ffbf4d 0 1.5%,#ffbf4d00 5%),radial-gradient(circle at 57% 67%,#ffbf4d 0 1.5%,#ffbf4d00 5%),linear-gradient(90deg,transparent 0 46%,#81623f 46% 47%,transparent 47% 54%,#81623f 54% 55%,transparent 55% 100%);opacity:.9}
body[data-theme="theme4"] .insights-panel h2,body[data-theme="theme4"] .insights-panel .panel-index,body[data-theme="theme4"] .insights-panel .chart-title-label,body[data-theme="theme4"] .insights-panel .section-subhead,body[data-theme="theme4"] .insights-panel .selected-day,body[data-theme="theme4"] .insights-panel .upcoming-row{color:#eef8ef}
body[data-theme="theme4"] .insights-panel .analytics-description,body[data-theme="theme4"] .insights-panel .chart-instructions,body[data-theme="theme4"] .insights-panel .upcoming-row small{color:#c8d6c9}
body[data-theme="theme4"] .insights-panel .chart-wrap,body[data-theme="theme4"] .insights-panel .selected-day,body[data-theme="theme4"] .insights-panel .upcoming-row,body[data-theme="theme4"] .insights-panel .insights-footer{background:#ffffff12;border-color:#ffffff1d}

/* General theme text safety */
body[data-theme="theme2"] .task-row,body[data-theme="theme4"] .task-row,body[data-theme="theme4"] .finance-panel .transaction-row,body[data-theme="theme4"] .finance-panel .money-stat,body[data-theme="theme4"] .finance-panel .balance-card{background:#ffffffc5}
body[data-theme="theme2"] .wallet-view .wallet-page-panel,body[data-theme="theme3"] .wallet-view .wallet-page-panel,body[data-theme="theme4"] .wallet-view .wallet-page-panel{color:#32435e}

/* v7 currency breakdown */
.balance-card{height:auto;min-height:264px;padding:22px 17px 20px}
.balance-value{font-size:clamp(27px,2.6vw,37px);margin-top:10px}
.balance-breakdown{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:13px}
.balance-currency-item{display:flex;flex-direction:column;gap:5px;min-width:0;padding:8px 7px;border:1px solid #ffffff45;border-radius:12px;background:#ffffff26;backdrop-filter:blur(5px);color:#fff}
.balance-currency-item.selected{background:#ffffff4a;border-color:#ffffff95}
.balance-currency-item span{font-size:9px;opacity:.91;font-weight:750;letter-spacing:.06em}
.balance-currency-item strong{font-size:clamp(10px,1vw,15px);font-weight:780;white-space:nowrap;letter-spacing:-.4px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}
.balance-hint{margin-top:11px}.balance-graphic{opacity:.28;z-index:0}
.transfer-rate-section{display:block;padding:13px;border:1px solid #ffffffcd;background:#e6f0ffbf;border-radius:14px}
.transfer-rate-section[hidden]{display:none!important}
#transferToAmount[readonly]{background:#e9f2facc;color:#4c7191;cursor:default}
/* Existing theme 3's white overlay must not erase the currency balance */
body[data-theme="theme3"] .balance-card{background:linear-gradient(125deg,#4b0078,#2225a1 60%,#008a9d);border:1px solid #c4f1ff6e}
body[data-theme="theme4"] .finance-panel .balance-card{background:linear-gradient(125deg,#16796e,#38ac93 65%,#79b8a6);color:white}
@media(max-width:480px){.balance-card{padding:17px 12px 15px}.balance-currency-item{padding:8px 5px}.balance-currency-item strong{font-size:11px}}

/* Theme state scoped to both root and body for embedded previews. */
html[data-theme="theme2"] body{background-color:#f4ecdd}
html[data-theme="theme3"] body{background-color:#11071e}
html[data-theme="theme4"] body{background-color:#a6d1bf}

/* v7 readability polish for strongly contrasting themes */
body[data-theme="theme3"] .workspace-title h1{color:#f8f3ff}
body[data-theme="theme3"] .workspace-title p{color:#d8cfeb}
body[data-theme="theme3"] .brand-name{color:#e9e2ff}
body[data-theme="theme3"] .header-middle,body[data-theme="theme3"] .header-actions{color:#e6defa}
body[data-theme="theme3"] .finance-panel .category-price,body[data-theme="theme3"] .finance-panel .category-name{color:#f7fcff}
body[data-theme="theme3"] .finance-panel .money-stat strong,body[data-theme="theme3"] .finance-panel .transaction-amount{color:#f6f9ff}
body[data-theme="theme3"] .insights-panel .chart-amount{color:#f5f8ff}
body[data-theme="theme4"] .insights-panel .chart-amount,body[data-theme="theme4"] .insights-panel .upcoming-info b,body[data-theme="theme4"] .insights-panel .selected-day-title strong,body[data-theme="theme4"] .insights-panel .insights-footer b{color:#f2f7ed}
body[data-theme="theme4"] .insights-panel .chart-instructions,body[data-theme="theme4"] .insights-panel .selected-day-title span,body[data-theme="theme4"] .insights-panel .upcoming-info small{color:#d4e1d4}
body[data-theme="theme4"] .finance-panel .panel-head h2,body[data-theme="theme4"] .task-panel .panel-head h2{color:#193b48}
@media(max-width:480px){.header-actions{gap:5px;min-width:0}.header-actions .btn.small{padding:9px 8px;font-size:10px}.header-actions .icon-button{width:30px;height:32px;flex-shrink:0}}

/* v8: two additional visual styles. Original four remain unchanged. */
.theme-thumb.theme5 {background-image:linear-gradient(90deg,#d5ffff44,#e7fffc22),url("https://images.unsplash.com/photo-1672841828271-54340a6fbcd3?auto=format&fit=crop&w=1000&q=80");background-size:cover;background-position:center}
.theme-thumb.theme6 {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%201150%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%20%3ClinearGradient%20id%3D%22base%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23110527%22%2F%3E%3Cstop%20offset%3D%220.58%22%20stop-color%3D%22%23071a35%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23120517%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23faee00%22%2F%3E%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%23ff24ab%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2304ffcd%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3Cpattern%20id%3D%22dashes%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%2229%22%20height%3D%2229%22%20patternTransform%3D%22rotate%2828%29%22%3E%3Cline%20x1%3D%220%22%20y1%3D%2214%22%20x2%3D%2230%22%20y2%3D%2214%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.17%22%20stroke-width%3D%228%22%2F%3E%3C%2Fpattern%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23base%29%22%2F%3E%0A%3Cg%20transform%3D%22rotate%280%20320%20575%29%22%3E%3Cpolygon%20points%3D%220%2C55%20270%2C0%20395%2C160%2098%2C340%22%20fill%3D%22%23faee00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22390%2C0%20600%2C82%20580%2C330%20290%2C170%22%20fill%3D%22%23ff24ab%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2230%2C335%20220%2C225%20380%2C360%20158%2C530%22%20fill%3D%22%23ff871e%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22430%2C300%20600%2C190%20730%2C400%20515%2C535%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%220%2C625%20260%2C490%20435%2C695%20200%2C800%22%20fill%3D%22%23adff00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22370%2C570%20670%2C510%20615%2C845%20290%2C740%22%20fill%3D%22%23faee00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2235%2C920%20200%2C720%20420%2C940%20150%2C1090%22%20fill%3D%22%23ff24ab%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22405%2C880%20625%2C735%20710%2C1150%20370%2C1130%22%20fill%3D%22%23ff871e%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22100%2C90%20170%2C58%20195%2C126%20126%2C170%22%20fill%3D%22%23adff00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22310%2C426%20366%2C393%20440%2C465%20372%2C527%22%20fill%3D%22%23ff24ab%22%20stroke%3D%22%2318172f%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2286%2C686%20130%2C655%20165%2C716%20119%2C749%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22475%2C940%20535%2C914%20583%2C983%20518%2C1028%22%20fill%3D%22%23adff00%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%22234%22%20cy%3D%22140%22%20r%3D%2234%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22510%22%20cy%3D%22450%22%20r%3D%2246%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22545%22%20r%3D%2225%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22455%22%20cy%3D%22710%22%20r%3D%2242%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%221060%22%20r%3D%2229%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23ff24ab%22%20stroke-width%3D%2221%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23151129%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%2304ffcd%22%20stroke-width%3D%2222%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%2F%3E%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23dashes%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:cover;background-position:center}

/* Theme 5: actual, attributed Unsplash photographs. Internet access required for photographs.
 * A transparent wash ensures that the app remains legible above busy backgrounds. */
body[data-theme="theme5"]{background:linear-gradient(155deg,#e5f0f9,#d8e7e8 45%,#d7dcde 100%)}
body[data-theme="theme5"] .task-panel{background:linear-gradient(180deg,#f5ffffdd 0%,#f1f9f6cc 44%,#e8f7ff7c 100%),url("https://images.unsplash.com/photo-1672841828271-54340a6fbcd3?auto=format&fit=crop&w=1000&q=80") center center/cover no-repeat;border-color:#d8fbff;box-shadow:0 19px 44px #2a699530}
body[data-theme="theme5"] .finance-panel{background:linear-gradient(180deg,#fffffff0 0%,#f6fff3d9 52%,#eff9d69c 100%),url("https://images.unsplash.com/photo-1771073005377-226e1294d962?auto=format&fit=crop&w=1000&q=80") center center/cover no-repeat;border-color:#f7fff5;box-shadow:0 18px 43px #355e3e25}
body[data-theme="theme5"] .insights-panel{background:linear-gradient(180deg,#0b1527db 0%,#111f2bd7 48%,#11271eb6 100%),url("https://images.unsplash.com/photo-1729939089025-fb7b903c56d0?auto=format&fit=crop&w=1000&q=80") center center/cover no-repeat;border-color:#203a42;box-shadow:0 23px 60px #0c23283d;color:#f1f6ef}
body[data-theme="theme5"] .task-panel .task-row,body[data-theme="theme5"] .finance-panel .transaction-row,body[data-theme="theme5"] .finance-panel .money-stat,body[data-theme="theme5"] .finance-panel .category-entry{background:#ffffffc7;border-color:#ffffff85;backdrop-filter:blur(8px)}
body[data-theme="theme5"] .insights-panel h2,body[data-theme="theme5"] .insights-panel .panel-index,body[data-theme="theme5"] .insights-panel .section-subhead,body[data-theme="theme5"] .insights-panel .chart-amount,body[data-theme="theme5"] .insights-panel .chart-title-label,body[data-theme="theme5"] .insights-panel .upcoming-info b,body[data-theme="theme5"] .insights-panel .insights-footer b,body[data-theme="theme5"] .insights-panel .selected-day-title strong{color:#f6fff5}
body[data-theme="theme5"] .insights-panel .analytics-description,body[data-theme="theme5"] .insights-panel .chart-instructions,body[data-theme="theme5"] .insights-panel .selected-day-title span,body[data-theme="theme5"] .insights-panel .upcoming-info small,body[data-theme="theme5"] .insights-panel .chart-legend{color:#d4e9e5}
body[data-theme="theme5"] .insights-panel .chart-wrap,body[data-theme="theme5"] .insights-panel .selected-day,body[data-theme="theme5"] .insights-panel .upcoming-row,body[data-theme="theme5"] .insights-panel .insights-footer{background:#09182385;border-color:#c2e7de22;backdrop-filter:blur(11px);color:#f6fff5}
body[data-theme="theme5"] .insights-panel .chart-axis-text{fill:#e0edf0}

/* Theme 6: acid geometry inspired by street-art pigments but with purely
 * abstract polygonal composition, no lettering or graffiti marks. */
body[data-theme="theme6"]{background:radial-gradient(circle at 0 0,#fd1e9b,#0d0720 31%),radial-gradient(circle at 100% 100%,#00ddff,#120c2b 40%),#0d081b;color:#faffff}
body[data-theme="theme6"] .topbar,body[data-theme="theme6"] .summary-figure{background:#151129dc;color:#faffff;border-color:#edff2e55;box-shadow:0 14px 34px #09031980}
body[data-theme="theme6"] .workspace-title h1,body[data-theme="theme6"] .workspace-title p,body[data-theme="theme6"] .brand-name{color:#f8f9ff}
body[data-theme="theme6"] .panel{position:relative;overflow:hidden;border:2px solid #f7ff27bb;box-shadow:0 25px 58px #03030882,0 0 20px #f70bd234;color:#ffffff;background:#141020}
body[data-theme="theme6"] .panel::before{content:"";pointer-events:none;position:absolute;inset:0;z-index:0;opacity:.92;filter:saturate(1.2)}
body[data-theme="theme6"] .task-panel::before{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%201150%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%20%3ClinearGradient%20id%3D%22base%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23110527%22%2F%3E%3Cstop%20offset%3D%220.58%22%20stop-color%3D%22%23071a35%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23120517%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23faee00%22%2F%3E%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%23ff24ab%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2304ffcd%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3Cpattern%20id%3D%22dashes%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%2229%22%20height%3D%2229%22%20patternTransform%3D%22rotate%2828%29%22%3E%3Cline%20x1%3D%220%22%20y1%3D%2214%22%20x2%3D%2230%22%20y2%3D%2214%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.17%22%20stroke-width%3D%228%22%2F%3E%3C%2Fpattern%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23base%29%22%2F%3E%0A%3Cg%20transform%3D%22rotate%280%20320%20575%29%22%3E%3Cpolygon%20points%3D%220%2C55%20270%2C0%20395%2C160%2098%2C340%22%20fill%3D%22%23faee00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22390%2C0%20600%2C82%20580%2C330%20290%2C170%22%20fill%3D%22%23ff24ab%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2230%2C335%20220%2C225%20380%2C360%20158%2C530%22%20fill%3D%22%23ff871e%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22430%2C300%20600%2C190%20730%2C400%20515%2C535%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%220%2C625%20260%2C490%20435%2C695%20200%2C800%22%20fill%3D%22%23adff00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22370%2C570%20670%2C510%20615%2C845%20290%2C740%22%20fill%3D%22%23faee00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2235%2C920%20200%2C720%20420%2C940%20150%2C1090%22%20fill%3D%22%23ff24ab%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22405%2C880%20625%2C735%20710%2C1150%20370%2C1130%22%20fill%3D%22%23ff871e%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22100%2C90%20170%2C58%20195%2C126%20126%2C170%22%20fill%3D%22%23adff00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22310%2C426%20366%2C393%20440%2C465%20372%2C527%22%20fill%3D%22%23ff24ab%22%20stroke%3D%22%2318172f%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2286%2C686%20130%2C655%20165%2C716%20119%2C749%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22475%2C940%20535%2C914%20583%2C983%20518%2C1028%22%20fill%3D%22%23adff00%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%22234%22%20cy%3D%22140%22%20r%3D%2234%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22510%22%20cy%3D%22450%22%20r%3D%2246%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22545%22%20r%3D%2225%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22455%22%20cy%3D%22710%22%20r%3D%2242%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%221060%22%20r%3D%2229%22%20fill%3D%22%2304ffcd%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23ff24ab%22%20stroke-width%3D%2221%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23151129%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%2304ffcd%22%20stroke-width%3D%2222%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%2F%3E%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23dashes%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/cover no-repeat}
body[data-theme="theme6"] .finance-panel::before{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%201150%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%20%3ClinearGradient%20id%3D%22base%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23110527%22%2F%3E%3Cstop%20offset%3D%220.58%22%20stop-color%3D%22%23071a35%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23120517%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2300e3ff%22%2F%3E%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%23ffbf00%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c400ff%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3Cpattern%20id%3D%22dashes%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%2229%22%20height%3D%2229%22%20patternTransform%3D%22rotate%2828%29%22%3E%3Cline%20x1%3D%220%22%20y1%3D%2214%22%20x2%3D%2230%22%20y2%3D%2214%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.17%22%20stroke-width%3D%228%22%2F%3E%3C%2Fpattern%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23base%29%22%2F%3E%0A%3Cg%20transform%3D%22rotate%2812%20320%20575%29%22%3E%3Cpolygon%20points%3D%220%2C55%20270%2C0%20395%2C160%2098%2C340%22%20fill%3D%22%2300e3ff%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22390%2C0%20600%2C82%20580%2C330%20290%2C170%22%20fill%3D%22%23ffbf00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2230%2C335%20220%2C225%20380%2C360%20158%2C530%22%20fill%3D%22%2308fa49%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22430%2C300%20600%2C190%20730%2C400%20515%2C535%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%220%2C625%20260%2C490%20435%2C695%20200%2C800%22%20fill%3D%22%23ff477b%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22370%2C570%20670%2C510%20615%2C845%20290%2C740%22%20fill%3D%22%2300e3ff%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2235%2C920%20200%2C720%20420%2C940%20150%2C1090%22%20fill%3D%22%23ffbf00%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22405%2C880%20625%2C735%20710%2C1150%20370%2C1130%22%20fill%3D%22%2308fa49%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22100%2C90%20170%2C58%20195%2C126%20126%2C170%22%20fill%3D%22%23ff477b%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22310%2C426%20366%2C393%20440%2C465%20372%2C527%22%20fill%3D%22%23ffbf00%22%20stroke%3D%22%2318172f%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2286%2C686%20130%2C655%20165%2C716%20119%2C749%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22475%2C940%20535%2C914%20583%2C983%20518%2C1028%22%20fill%3D%22%23ff477b%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%22234%22%20cy%3D%22140%22%20r%3D%2234%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22510%22%20cy%3D%22450%22%20r%3D%2246%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22545%22%20r%3D%2225%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22455%22%20cy%3D%22710%22%20r%3D%2242%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%221060%22%20r%3D%2229%22%20fill%3D%22%23c400ff%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23ffbf00%22%20stroke-width%3D%2221%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23151129%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%23c400ff%22%20stroke-width%3D%2222%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%2F%3E%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23dashes%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/cover no-repeat}
body[data-theme="theme6"] .insights-panel::before{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%201150%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%20%3ClinearGradient%20id%3D%22base%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23110527%22%2F%3E%3Cstop%20offset%3D%220.58%22%20stop-color%3D%22%23071a35%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23120517%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff7300%22%2F%3E%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%2300ffe5%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23faf109%22%2F%3E%3C%2FlinearGradient%3E%0A%20%3Cpattern%20id%3D%22dashes%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%2229%22%20height%3D%2229%22%20patternTransform%3D%22rotate%2828%29%22%3E%3Cline%20x1%3D%220%22%20y1%3D%2214%22%20x2%3D%2230%22%20y2%3D%2214%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.17%22%20stroke-width%3D%228%22%2F%3E%3C%2Fpattern%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23base%29%22%2F%3E%0A%3Cg%20transform%3D%22rotate%28-8%20320%20575%29%22%3E%3Cpolygon%20points%3D%220%2C55%20270%2C0%20395%2C160%2098%2C340%22%20fill%3D%22%23ff7300%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22390%2C0%20600%2C82%20580%2C330%20290%2C170%22%20fill%3D%22%2300ffe5%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2230%2C335%20220%2C225%20380%2C360%20158%2C530%22%20fill%3D%22%23d70aff%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22430%2C300%20600%2C190%20730%2C400%20515%2C535%22%20fill%3D%22%23faf109%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%220%2C625%20260%2C490%20435%2C695%20200%2C800%22%20fill%3D%22%239fff06%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22370%2C570%20670%2C510%20615%2C845%20290%2C740%22%20fill%3D%22%23ff7300%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2235%2C920%20200%2C720%20420%2C940%20150%2C1090%22%20fill%3D%22%2300ffe5%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22405%2C880%20625%2C735%20710%2C1150%20370%2C1130%22%20fill%3D%22%23d70aff%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22100%2C90%20170%2C58%20195%2C126%20126%2C170%22%20fill%3D%22%239fff06%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22310%2C426%20366%2C393%20440%2C465%20372%2C527%22%20fill%3D%22%2300ffe5%22%20stroke%3D%22%2318172f%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2286%2C686%20130%2C655%20165%2C716%20119%2C749%22%20fill%3D%22%23faf109%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%22475%2C940%20535%2C914%20583%2C983%20518%2C1028%22%20fill%3D%22%239fff06%22%20stroke%3D%22%23151028%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%22234%22%20cy%3D%22140%22%20r%3D%2234%22%20fill%3D%22%23faf109%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22510%22%20cy%3D%22450%22%20r%3D%2246%22%20fill%3D%22%23faf109%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22545%22%20r%3D%2225%22%20fill%3D%22%23faf109%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22455%22%20cy%3D%22710%22%20r%3D%2242%22%20fill%3D%22%23faf109%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%221060%22%20r%3D%2229%22%20fill%3D%22%23faf109%22%20stroke%3D%22%23160d28%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%2300ffe5%22%20stroke-width%3D%2221%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M-35%20410%20L110%20360%20L220%20450%20L395%20348%20L532%20470%20L678%20400%22%20fill%3D%22none%22%20stroke%3D%22%23151129%22%20stroke-width%3D%226%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%23faf109%22%20stroke-width%3D%2222%22%20stroke-linejoin%3D%22bevel%22%2F%3E%3Cpath%20d%3D%22M25%20866%20L135%20809%20L271%20869%20L385%20794%20L566%20900%20L668%20850%22%20fill%3D%22none%22%20stroke%3D%22%2317102e%22%20stroke-width%3D%225%22%2F%3E%3Crect%20width%3D%22640%22%20height%3D%221150%22%20fill%3D%22url%28%23dashes%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/cover no-repeat}
body[data-theme="theme6"] .panel > *{position:relative;z-index:1}
body[data-theme="theme6"] .panel-head h2,body[data-theme="theme6"] .panel-index,body[data-theme="theme6"] .section-subhead,body[data-theme="theme6"] .chart-title-label,body[data-theme="theme6"] .chart-amount{color:#ffffff;text-shadow:0 2px 6px #0b0626c7}
body[data-theme="theme6"] .analytics-description,body[data-theme="theme6"] .chart-instructions,body[data-theme="theme6"] .wallet-section-note,body[data-theme="theme6"] .panel-footnote,body[data-theme="theme6"] .chart-legend{color:#f2f6fa;text-shadow:0 1px 4px #050510}
body[data-theme="theme6"] .task-row,body[data-theme="theme6"] .money-stat,body[data-theme="theme6"] .transaction-row,body[data-theme="theme6"] .category-entry,body[data-theme="theme6"] .upcoming-row,body[data-theme="theme6"] .selected-day,body[data-theme="theme6"] .chart-wrap,body[data-theme="theme6"] .insights-footer{background:#0d082bd9!important;border:1px solid #ffffff38;color:#f9faff;backdrop-filter:blur(5px)}
body[data-theme="theme6"] .task-title,body[data-theme="theme6"] .transaction-name,body[data-theme="theme6"] .category-name,body[data-theme="theme6"] .category-price,body[data-theme="theme6"] .upcoming-info b,body[data-theme="theme6"] .selected-day-title strong,body[data-theme="theme6"] .insights-footer b,body[data-theme="theme6"] .money-stat strong{color:#f8fdff}
body[data-theme="theme6"] .task-meta,body[data-theme="theme6"] .transaction-meta,body[data-theme="theme6"] .upcoming-info small,body[data-theme="theme6"] .selected-day-title span{color:#dbe5f1}
body[data-theme="theme6"] .balance-card{background:linear-gradient(125deg,#2e0b62,#260a70 55%,#111a55);border:1px solid #8cfffb8f}
body[data-theme="theme6"] .finance-panel .wallet-tile{z-index:1}
body[data-theme="theme6"] .wallet-view .wallet-page-panel{color:#32435e;border-color:#edf5ff}

/* CHRONA v9 — task dates, priority and calendar */
.calendar-open-btn{display:flex;align-items:center;gap:10px;width:100%;padding:12px 13px;margin:-7px 0 17px;border-radius:15px;color:#7159bf;font-size:12px;font-weight:790;letter-spacing:.02em;text-align:left;background:linear-gradient(120deg,#e9defef0,#ffffffb8);border:1px solid #ffffffdc;box-shadow:inset 0 1px #fff,0 6px 15px #8e73c321;transition:transform .18s,background .18s}
.calendar-open-btn:hover{transform:translateY(-2px);background:linear-gradient(120deg,#e1d2ff,#ffffffde)}
.calendar-open-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;color:#fff;background:linear-gradient(140deg,#ad90f5,#8066d7);font-size:18px}
.calendar-open-arrow{margin-left:auto;opacity:.7;font-size:17px}
#taskList .task-row{border-left:3px solid var(--task-color,#9877e9)}
#taskList .task-date,#taskList .task-time-display{color:var(--task-color,#8670cc);font-weight:760}
#taskList .task-time-display{font-size:10px;white-space:nowrap;display:inline-flex;align-items:center;gap:3px}
#taskList .task-time-display::before{content:'◷';font-size:12px}
#taskList .task-date.overdue{color:#c8507a}
#taskList .priority.vibe{color:#6c66ad;background:#e9e8fb}
.task-color-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.task-color-picker input[type=color]{flex:none}
.task-swatch-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.task-swatch{height:23px;width:23px;border-radius:8px;border:2px solid #fff;box-shadow:0 3px 7px #54648424}
.task-period-fields{display:flex;flex-direction:column;gap:10px;padding:13px;border-radius:15px;background:#ffffff80;border:1px solid #ffffffcc}
.task-period-fields .form-row{align-items:start}
.vibe-note{padding:13px 15px;border-radius:14px;background:#eeedfd;border:1px solid #dedbfa;color:#6156ad;font-size:12px;line-height:1.5}

/* Calendar overlay, matching the wallet popup. */
.calendar-overlay:not([hidden]){position:fixed;inset:0;z-index:43;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(23,32,56,.61);backdrop-filter:blur(11px) saturate(.8);-webkit-backdrop-filter:blur(11px) saturate(.8);animation:wallet-fade .18s ease-out}
.cal-modal{width:min(1120px,100%);height:min(850px,94dvh);min-height:0;max-height:96vh;display:flex;flex-direction:column;overflow:hidden;padding:24px 27px 20px;border-radius:29px;color:#293b59;background:linear-gradient(132deg,#f9fbfff8,#e9eefdf5 60%,#f8fbffed);border:1px solid #ffffffef;box-shadow:0 36px 115px #0a173957;animation:wallet-rise .22s ease-out}
.cal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}
.cal-header h2{font-size:28px;letter-spacing:-1.1px;margin:8px 0 2px;color:#243650}.cal-header p{font-size:12px;color:#7f91a7}
.cal-header-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.cal-header-actions .primary-btn{white-space:nowrap}
.cal-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:15px}
.cal-navigation{display:flex;gap:5px;align-items:center;padding:3px;border-radius:13px;background:#ffffffbb;border:1px solid white}
.cal-navigation button{min-width:35px;height:32px;padding:0 10px;border-radius:10px;color:#556a92;font-size:13px;font-weight:800;transition:background .18s}
.cal-navigation button:first-child,.cal-navigation button:last-child{font-size:22px}
.cal-navigation button:hover{background:#e6ebff}
.cal-period-title{font-size:16px;letter-spacing:-.3px;color:#314363;text-transform:capitalize}
.cal-view-switch{max-width:100%}.cal-view-switch button{min-width:66px;padding:9px 11px}
.cal-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border-radius:19px;border:1px solid #ffffffed;background:#ffffffa8;box-shadow:inset 0 1px #fff}
.cal-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;min-height:100%;background:#e1e8f5}
.cal-weekday{padding:10px 0;text-align:center;font-size:10px;letter-spacing:.08em;font-weight:840;color:#7d8da8;background:#f1f5fe;border-bottom:1px solid #dae4f3}
.cal-month-day{position:relative;min-height:93px;padding:6px 6px 7px;min-width:0;background:rgba(255,255,255,.84);border-bottom:1px solid #e2eaf5;border-right:1px solid #e2eaf5}
.cal-month-day.outside{background:#e8edf7ae;opacity:.65}
.cal-month-day.today{background:#f1ecff}
.cal-day-number{display:grid;place-items:center;width:25px;height:25px;line-height:1;border-radius:9px;font-size:12px;font-weight:770;color:#526585;margin-bottom:4px}
.cal-month-day.today .cal-day-number{background:#8068d9;color:#fff;box-shadow:0 3px 9px #a186e04a}
.cal-month-events{display:flex;flex-direction:column;gap:3px;min-width:0}
.cal-month-event{display:flex;align-items:center;max-width:100%;min-width:0;max-height:18px;overflow:hidden;text-align:left;padding:3px 5px;border-radius:5px;border-left:3px solid color-mix(in srgb,var(--task-color),black 12%);background:color-mix(in srgb,var(--task-color) 78%,white);color:#ffffff;font-size:9px;font-weight:760;box-shadow:inset 0 1px #ffffff49;cursor:pointer;transition:filter .14s}
.cal-month-event:hover{filter:brightness(.92)}.cal-month-event span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cal-month-event.is-done{opacity:.45}
.cal-more{color:#806dd5;text-align:left;font-size:10px;font-weight:750;padding:1px 3px}
.cal-timeline-shell{height:100%;display:flex;flex-direction:column;min-width:100%;overflow:hidden}
.cal-timeline-shell.is-week{min-width:720px}
.cal-timeline-header{display:flex;align-items:center;min-height:48px;flex:0 0 48px;border-bottom:1px solid #dce5f3;background:#f4f7fded}
.cal-time-head-spacer{width:61px;flex:0 0 61px;text-align:center;font-size:10px;font-weight:780;color:#91a2bb}
.cal-time-head-day{display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;flex:1;min-width:0;border-left:1px solid #e2eaf4;height:100%;color:#687b9a}
.cal-time-head-day strong{font-size:15px}.cal-time-head-day small{font-size:10px;text-transform:capitalize}
.cal-time-head-day.today{background:#eee9ff;color:#7059c5}
.cal-time-scroller{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.cal-timeline-body{display:flex;min-width:100%}
.cal-hour-axis{width:61px;flex:0 0 61px;position:relative;background:#f6f9ff;border-right:1px solid #dce7f3}
.cal-hour-label{position:absolute;right:9px;transform:translateY(-7px);color:#8294ae;font-size:10px;font-variant-numeric:tabular-nums}
.cal-time-columns{flex:1;display:grid;min-width:0}
.cal-time-column{position:relative;min-width:0;border-right:1px solid #dfe8f3;background:repeating-linear-gradient(to bottom,#ffffff88 0,#ffffff88 53px,#cbd9e9a1 53px,#cbd9e9a1 54px)}
.cal-time-event{display:flex;flex-direction:column;gap:3px;position:absolute;z-index:2;overflow:hidden;padding:6px 7px;text-align:left;border-radius:8px;color:#fff;background:linear-gradient(125deg,var(--task-color),color-mix(in srgb,var(--task-color) 70%,black));border-left:3px solid #ffffff8a;box-shadow:0 3px 9px #4d638524;cursor:pointer}
.cal-time-event strong{font-size:11px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cal-time-event small{font-size:10px;color:#ffffffdf;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cal-time-event.is-done{opacity:.52}
.cal-vibe-section{flex:none;margin-top:12px;border-top:1px solid #dce3f3;padding-top:10px}
.cal-vibe-label{font-size:11px;font-weight:820;letter-spacing:.03em;color:#7776ad;margin-bottom:8px}
.cal-vibe-label small{padding:2px 6px;background:#eceaff;border-radius:8px}
.cal-vibe-list{display:flex;flex-wrap:wrap;gap:7px;max-height:65px;overflow:auto}
.cal-vibe-task{display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:10px;background:#ffffffbe;border:1px solid #fff;color:#58647e;font-size:11px;font-weight:730;box-shadow:0 2px 8px #9eabd01a}
.cal-vibe-dot{width:8px;height:8px;border-radius:3px;background:var(--task-color);flex:none}
.cal-vibe-empty{font-size:10px;color:#a0adc0}
@media(max-width:740px){.calendar-overlay:not([hidden]){padding:8px}.cal-modal{width:100%;height:96dvh;max-height:96dvh;padding:15px 12px;border-radius:22px}.cal-header h2{font-size:22px}.cal-header p{display:none}.cal-header-actions .primary-btn{padding:9px 10px;font-size:11px}.cal-toolbar{gap:8px}.cal-period-title{order:-1;width:100%;font-size:14px}.cal-view-switch button{padding:8px 10px;min-width:53px}.cal-content{border-radius:13px}.cal-month-day{min-height:80px;padding:4px 3px}.cal-month-event{font-size:8px;padding:2px 3px}.cal-day-number{width:22px;height:22px;font-size:10px}.cal-vibe-section{margin-top:7px;padding-top:8px}.task-period-fields .form-row{grid-template-columns:1fr}}


/* V10 / exhaustive thematic redesigns. Original six themes retained. */
/* Fix black monolith: not just headings; every dashboard label must read on black. */
body[data-theme="theme2"] .insights-panel :is(h2,h3,p,small,span,b,strong,label,.analytics-description,.panel-index,.chart-title-label,.chart-amount,.chart-instructions,.chart-legend,.section-subhead,.upcoming-info,.upcoming-money,.event-impact,.selected-day-title,.day-event,.insights-footer,.insight-symbol){color:#fff!important;}
body[data-theme="theme2"] .insights-panel :is(.chart-axis-text){fill:#f7f8fc!important;}
body[data-theme="theme2"] .insights-panel :is(.chart-grid){stroke:#ffffff37!important;}
body[data-theme="theme2"] .insights-panel .chart-tooltip{color:#243554!important;background:#fff!important;}
body[data-theme="theme2"] .insights-panel .chart-tooltip :is(span,strong){color:#243554!important;}
body[data-theme="theme2"] .insights-panel :is(.segmented button,.panel-badge){color:#f2f4ff!important;background:#30343d;}
body[data-theme="theme2"] .insights-panel .segmented button.active{color:#111b2c!important;background:#e2ecff!important;}

/* Theme 6: unapologetically yellow, bright angular figures everywhere. */
body[data-theme="theme6"]{background:#ffe500!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20490%20680%22%20width%3D%22490%22%20height%3D%22680%22%3E%0A%3Crect%20width%3D%22490%22%20height%3D%22680%22%20fill%3D%22%23ffe500%22%2F%3E%0A%3Cg%20stroke%3D%22%231a153a%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22miter%22%3E%0A%3Cpolygon%20points%3D%22-20%2C25%20135%2C-10%20194%2C112%2044%2C168%22%20fill%3D%22%23ed0ae2%22%2F%3E%3Cpolygon%20points%3D%22269%2C22%20455%2C44%20479%2C178%20317%2C194%20245%2C117%22%20fill%3D%22%2300e7ff%22%2F%3E%0A%3Cpolygon%20points%3D%2220%2C244%20170%2C202%20219%2C300%2068%2C389%22%20fill%3D%22%235dff2c%22%2F%3E%3Cpolygon%20points%3D%22290%2C238%20450%2C216%20516%2C335%20344%2C369%20265%2C322%22%20fill%3D%22%23ff5c16%22%2F%3E%0A%3Cpolygon%20points%3D%22-40%2C451%20116%2C417%20204%2C543%2070%2C604%22%20fill%3D%22%235420fa%22%2F%3E%3Cpolygon%20points%3D%22260%2C441%20426%2C386%20518%2C530%20325%2C584%22%20fill%3D%22%23ff149c%22%2F%3E%0A%3Cpolygon%20points%3D%22163%2C89%20242%2C108%20215%2C176%20146%2C165%22%20fill%3D%22%23ff7315%22%2F%3E%3Cpolygon%20points%3D%22139%2C355%20250%2C379%20209%2C450%20117%2C428%22%20fill%3D%22%2308ceff%22%2F%3E%0A%3Cpolygon%20points%3D%22420%2C591%20510%2C630%20445%2C701%20364%2C661%22%20fill%3D%22%237c2cff%22%2F%3E%0A%3Ccircle%20cx%3D%22232%22%20cy%3D%22251%22%20r%3D%2235%22%20fill%3D%22%23fefffd%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%22645%22%20r%3D%2238%22%20fill%3D%22%2308ebdb%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2315123d%22%20stroke-width%3D%2210%22%3E%3Cpath%20d%3D%22M-18%20189L106%20216%20217%20174%20330%20212%20509%20190%22%2F%3E%3Cpath%20d%3D%22M-15%20405L105%20400%20202%20475%20325%20407%20510%20424%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E")!important;background-size:490px 680px!important;color:#151338;}
body[data-theme="theme6"]::before{opacity:0;}
body[data-theme="theme6"] .app-shell::before,body[data-theme="theme6"] .app-shell::after{display:none;}
body[data-theme="theme6"] .topbar{background:#171339!important;border:3px solid #13ecfb;box-shadow:7px 7px 0 #ff00a8;}
body[data-theme="theme6"] .panel{background:#ffe500!important;border:5px solid #10103a!important;border-radius:6px!important;box-shadow:10px 10px 0 #ff00a8!important;}
body[data-theme="theme6"] .panel::before{inset:0;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20490%20680%22%20width%3D%22490%22%20height%3D%22680%22%3E%0A%3Crect%20width%3D%22490%22%20height%3D%22680%22%20fill%3D%22%23ffe500%22%2F%3E%0A%3Cg%20stroke%3D%22%231a153a%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22miter%22%3E%0A%3Cpolygon%20points%3D%22-20%2C25%20135%2C-10%20194%2C112%2044%2C168%22%20fill%3D%22%23ed0ae2%22%2F%3E%3Cpolygon%20points%3D%22269%2C22%20455%2C44%20479%2C178%20317%2C194%20245%2C117%22%20fill%3D%22%2300e7ff%22%2F%3E%0A%3Cpolygon%20points%3D%2220%2C244%20170%2C202%20219%2C300%2068%2C389%22%20fill%3D%22%235dff2c%22%2F%3E%3Cpolygon%20points%3D%22290%2C238%20450%2C216%20516%2C335%20344%2C369%20265%2C322%22%20fill%3D%22%23ff5c16%22%2F%3E%0A%3Cpolygon%20points%3D%22-40%2C451%20116%2C417%20204%2C543%2070%2C604%22%20fill%3D%22%235420fa%22%2F%3E%3Cpolygon%20points%3D%22260%2C441%20426%2C386%20518%2C530%20325%2C584%22%20fill%3D%22%23ff149c%22%2F%3E%0A%3Cpolygon%20points%3D%22163%2C89%20242%2C108%20215%2C176%20146%2C165%22%20fill%3D%22%23ff7315%22%2F%3E%3Cpolygon%20points%3D%22139%2C355%20250%2C379%20209%2C450%20117%2C428%22%20fill%3D%22%2308ceff%22%2F%3E%0A%3Cpolygon%20points%3D%22420%2C591%20510%2C630%20445%2C701%20364%2C661%22%20fill%3D%22%237c2cff%22%2F%3E%0A%3Ccircle%20cx%3D%22232%22%20cy%3D%22251%22%20r%3D%2235%22%20fill%3D%22%23fefffd%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%22645%22%20r%3D%2238%22%20fill%3D%22%2308ebdb%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2315123d%22%20stroke-width%3D%2210%22%3E%3Cpath%20d%3D%22M-18%20189L106%20216%20217%20174%20330%20212%20509%20190%22%2F%3E%3Cpath%20d%3D%22M-15%20405L105%20400%20202%20475%20325%20407%20510%20424%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E")!important;background-position:center top!important;background-size:490px 680px!important;opacity:.95;filter:none!important;}
body[data-theme="theme6"] .panel::after{display:none;}
body[data-theme="theme6"] .summary-figure{background:#141435!important;border:2px solid #07eafa;}
body[data-theme="theme6"] .balance-card{background:#160e47!important;}
body[data-theme="theme6"] .task-row,body[data-theme="theme6"] .money-stat,body[data-theme="theme6"] .transaction-row,body[data-theme="theme6"] .category-entry,body[data-theme="theme6"] .upcoming-row,body[data-theme="theme6"] .selected-day,body[data-theme="theme6"] .chart-wrap,body[data-theme="theme6"] .insights-footer{border:2px solid #16f9ff!important;background:#15112eeb!important;border-radius:5px!important;backdrop-filter:none!important;}
body[data-theme="theme6"] .task-stats .task-stat,body[data-theme="theme6"] .segmented{border:2px solid #1b1247;background:#fffbdbfa;}
body[data-theme="theme6"] .workspace-title h1,body[data-theme="theme6"] .workspace-title p{color:#160a39;text-shadow:2px 2px 0 #ffffff;}
body[data-theme="theme6"] .brand-name{color:#faffff;}
body[data-theme="theme6"] .theme-option.selected{border-color:#ff00d2;}
body[data-theme="theme6"] .calendar-open-btn{background:#fff11e;border:3px solid #181439;border-radius:4px;color:#171139;box-shadow:5px 5px #ff13a1;}
body[data-theme="theme6"] :is(.add-btn,.finance-action){border-radius:3px;}
.theme-thumb.theme6{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20490%20680%22%20width%3D%22490%22%20height%3D%22680%22%3E%0A%3Crect%20width%3D%22490%22%20height%3D%22680%22%20fill%3D%22%23ffe500%22%2F%3E%0A%3Cg%20stroke%3D%22%231a153a%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22miter%22%3E%0A%3Cpolygon%20points%3D%22-20%2C25%20135%2C-10%20194%2C112%2044%2C168%22%20fill%3D%22%23ed0ae2%22%2F%3E%3Cpolygon%20points%3D%22269%2C22%20455%2C44%20479%2C178%20317%2C194%20245%2C117%22%20fill%3D%22%2300e7ff%22%2F%3E%0A%3Cpolygon%20points%3D%2220%2C244%20170%2C202%20219%2C300%2068%2C389%22%20fill%3D%22%235dff2c%22%2F%3E%3Cpolygon%20points%3D%22290%2C238%20450%2C216%20516%2C335%20344%2C369%20265%2C322%22%20fill%3D%22%23ff5c16%22%2F%3E%0A%3Cpolygon%20points%3D%22-40%2C451%20116%2C417%20204%2C543%2070%2C604%22%20fill%3D%22%235420fa%22%2F%3E%3Cpolygon%20points%3D%22260%2C441%20426%2C386%20518%2C530%20325%2C584%22%20fill%3D%22%23ff149c%22%2F%3E%0A%3Cpolygon%20points%3D%22163%2C89%20242%2C108%20215%2C176%20146%2C165%22%20fill%3D%22%23ff7315%22%2F%3E%3Cpolygon%20points%3D%22139%2C355%20250%2C379%20209%2C450%20117%2C428%22%20fill%3D%22%2308ceff%22%2F%3E%0A%3Cpolygon%20points%3D%22420%2C591%20510%2C630%20445%2C701%20364%2C661%22%20fill%3D%22%237c2cff%22%2F%3E%0A%3Ccircle%20cx%3D%22232%22%20cy%3D%22251%22%20r%3D%2235%22%20fill%3D%22%23fefffd%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%22645%22%20r%3D%2238%22%20fill%3D%22%2308ebdb%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2315123d%22%20stroke-width%3D%2210%22%3E%3Cpath%20d%3D%22M-18%20189L106%20216%20217%20174%20330%20212%20509%20190%22%2F%3E%3Cpath%20d%3D%22M-15%20405L105%20400%20202%20475%20325%20407%20510%20424%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E")!important;background-size:150px 200px!important;background-position:center!important;}

/* Theme 7 : an engineered cyberpunk cockpit, rigid edges, real HUD panels. */
body[data-theme="theme7"]{font-family:"Arial Narrow","Segoe UI",Arial,sans-serif;color:#e9f8ff;background:#080e17;background-image:linear-gradient(90deg,#09101a 0,#141e2b 65%,#070d17 100%),repeating-linear-gradient(0deg,#09d7ee0a 0 1px,transparent 1px 70px);}
body[data-theme="theme7"]::before{opacity:0;}
body[data-theme="theme7"] .app-shell::before,body[data-theme="theme7"] .app-shell::after{display:none;}
body[data-theme="theme7"] .app-shell{max-width:1920px;}
body[data-theme="theme7"] :is(.topbar,.panel,.summary-figure,.modal,.cal-modal,.wallet-view .wallet-page-panel){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
body[data-theme="theme7"] :is(.topbar,.summary-figure){border-radius:0!important;background:#101e2a!important;border:1px solid #3e6875!important;box-shadow:inset 0 2px #64e6f0a6,0 8px 0 #06090f!important;}
body[data-theme="theme7"] .topbar{border-left:8px solid #ffcb3e!important;}
body[data-theme="theme7"] .brand-mark{background:#ffca29;transform:none;border-radius:3px;box-shadow:inset 0 0 0 5px #1a2a32;}
body[data-theme="theme7"] .brand-mark-inner{background:#152131;}
body[data-theme="theme7"] :is(.brand-name,.workspace-title h1,.panel-head h2,.panel-index,.chart-title-label,.section-subhead,.chart-amount,.summary-figure strong){color:#e9faff!important;text-shadow:none!important;}
body[data-theme="theme7"] :is(.workspace-title p,.eyebrow,.summary-figure small,.header-middle,.header-actions,.workspace-label,.analytics-description,.chart-legend,.chart-instructions,.wallet-section-note,.panel-footnote){color:#9cbdc8!important;}
body[data-theme="theme7"] .title-period,body[data-theme="theme7"] .brand-accent{color:#f8cf36!important;}
body[data-theme="theme7"] .header-middle{background:#172838;border:1px solid #486473;border-radius:0;}
body[data-theme="theme7"] .panel{border-radius:0!important;background:#14212f!important;border:2px solid #415d6e!important;box-shadow:inset 0 0 0 4px #090f17,0 17px 0 #060b10,0 25px 38px #0008!important;clip-path:polygon(0 0,calc(100% - 23px) 0,100% 23px,100% 100%,22px 100%,0 calc(100% - 22px));color:#e9f5ff;}
body[data-theme="theme7"] .panel::before{inset:0;opacity:.55;filter:none!important;z-index:-1;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20620%20740%22%20width%3D%22620%22%20height%3D%22740%22%3E%0A%3Crect%20width%3D%22620%22%20height%3D%22740%22%20fill%3D%22%23101c2a%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%23386678%22%20stroke-width%3D%222%22%20opacity%3D%22.50%22%3E%0A%3Cpath%20d%3D%22M-20%2070H205L230%2095H470L495%20120H650%22%2F%3E%3Cpath%20d%3D%22M-20%20145H100L145%20190H355L383%20160H650%22%2F%3E%0A%3Cpath%20d%3D%22M0%20305H150L192%20264H340L390%20320H650%22%2F%3E%3Cpath%20d%3D%22M-20%20470H100L120%20450H295L335%20495H650%22%2F%3E%0A%3Cpath%20d%3D%22M0%20608H165L205%20568H430L472%20608H650%22%2F%3E%0A%3Cpath%20d%3D%22M82%200V40L110%2068V135%22%2F%3E%3Cpath%20d%3D%22M520%200V65L480%2090V225%22%2F%3E%3Cpath%20d%3D%22M280%20740V685L320%20650V490%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22%2343dcef%22%20opacity%3D%22.80%22%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%2268%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22470%22%20cy%3D%22120%22%20r%3D%224%22%2F%3E%3Ccircle%20cx%3D%22390%22%20cy%3D%22320%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22205%22%20cy%3D%22568%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22650%22%20r%3D%225%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f5c447%22%20stroke-width%3D%223%22%20opacity%3D%22.65%22%3E%3Cpath%20d%3D%22M-8%20225H58L96%20260H190%22%2F%3E%3Cpath%20d%3D%22M415%20380H515L550%20345H630%22%2F%3E%3Cpath%20d%3D%22M-8%20680H65L100%20645H180%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%23ffbd34%22%20opacity%3D%22.25%22%3E%3Crect%20x%3D%2232%22%20y%3D%22340%22%20width%3D%2275%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%2232%22%20y%3D%22354%22%20width%3D%2242%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%22487%22%20y%3D%22535%22%20width%3D%2282%22%20height%3D%225%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center top/620px 740px repeat!important;}
body[data-theme="theme7"] .panel::after{top:0;left:0;right:0;height:6px;background:repeating-linear-gradient(90deg,#ffcd39 0 36px,#101a25 36px 45px,#ffcd39 45px 53px,#0a1825 53px 61px);}
body[data-theme="theme7"] .task-panel{--tint:242,199,62;}
body[data-theme="theme7"] .finance-panel{--tint:79,239,211;}
body[data-theme="theme7"] .insights-panel{--tint:32,227,251;}
body[data-theme="theme7"] .panel-index{font-size:10px;letter-spacing:2.2px;}
body[data-theme="theme7"] .panel-index::before{width:15px;height:15px;border-radius:0;background:#ffcc3b;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);}
body[data-theme="theme7"] .panel-head h2{font-size:25px;letter-spacing:-1px;text-transform:uppercase;}
body[data-theme="theme7"] :is(.task-row,.task-stat,.money-stat,.transaction-row,.category-entry,.upcoming-row,.selected-day,.insights-footer,.chart-wrap,.balance-card,.calendar-open-btn,.segmented){background:#0b1522ed!important;border:1px solid #3a6c79!important;border-radius:3px!important;box-shadow:inset 0 1px #51bfd133!important;}
body[data-theme="theme7"] .insights-panel .chart-wrap{padding:10px;border:7px solid #09111d!important;outline:2px solid #538b99;background:repeating-linear-gradient(0deg,#04151e 0 3px,#081f2a 3px 6px)!important;box-shadow:inset 0 0 20px #00d7ef34,0 0 0 4px #162c3c!important;}
body[data-theme="theme7"] .insights-panel .chart-wrap::before{content:"MONITOR // SYS.03   ▲   SIGNAL STABLE";position:absolute;top:1px;left:11px;color:#50e8f3;font:700 8px monospace;letter-spacing:1.5px;z-index:2;pointer-events:none;}
body[data-theme="theme7"] .insights-panel .chart-grid{stroke:#27b6ce36;}
body[data-theme="theme7"] .insights-panel .chart-axis-text{fill:#b4e3e9;}
body[data-theme="theme7"] :is(.task-title,.transaction-name,.category-name,.category-price,.upcoming-info b,.selected-day-title strong,.money-stat strong,.task-stat strong,.balance-value,.chart-amount){color:#eafaff!important;}
body[data-theme="theme7"] :is(.task-meta,.transaction-meta,.upcoming-info small,.selected-day-title span,.section-subhead>span:last-child,.hint-range){color:#b4ced5!important;}
body[data-theme="theme7"] :is(.btn,.icon-button,.wallet-close-btn,.calendar-open-btn,.add-btn,.finance-action,.text-action,.segmented button,.primary-btn,.secondary-btn,.panel-bottom-add,.cal-navigation button){border-radius:2px!important;box-shadow:none!important;}
body[data-theme="theme7"] :is(.btn,.icon-button,.segmented button,.secondary-btn,.panel-bottom-add){color:#c3f7fa!important;background:#223341!important;border:1px solid #568a95!important;}
body[data-theme="theme7"] :is(.btn:hover,.secondary-btn:hover,.segmented button.active){background:#ffcc36!important;color:#071321!important;}
body[data-theme="theme7"] .currency-switch{background:#132434;border:1px solid #56848c;border-radius:2px;}
body[data-theme="theme7"] .currency-switch button.active{background:#ffcd39;color:#12232f;}
body[data-theme="theme7"] :is(.wallet-tile,.wallet-add){border-radius:3px!important;border:1px solid #a6d8d4!important;}
body[data-theme="theme7"] .wallet-tile::after{border-radius:0;box-shadow:inset 0 0 0 3px #16263752;}
body[data-theme="theme7"] .balance-card{background:#092c36!important;border-left:5px solid #1dffdd!important;}
body[data-theme="theme7"] .balance-card :is(span,strong,small){color:#eef9fb!important;}
body[data-theme="theme7"] .balance-graphic{filter:hue-rotate(90deg);}
body[data-theme="theme7"] .form-control,body[data-theme="theme7"] .modal,body[data-theme="theme7"] .cal-modal,body[data-theme="theme7"] .wallet-view .wallet-page-panel{background:#122433!important;color:#e8f8fd!important;border:2px solid #54838d!important;border-radius:3px!important;box-shadow:inset 0 2px #1ecade88,0 20px 50px #020814b8!important;}
body[data-theme="theme7"] .modal :is(h3,.field-label,.input-helper,.settings-explanation),body[data-theme="theme7"] .cal-modal :is(h2,h3,p),body[data-theme="theme7"] .wallet-view .wallet-page-panel :is(h2,h3,.wallet-page-subtitle,.wallet-chart-caption){color:#edfaff!important;}
body[data-theme="theme7"] .wallet-view .wallet-page-panel :is(.summary-figure,.transaction-row,.chart-wrap){background:#081a27!important;}
body[data-theme="theme7"] .cal-content,body[data-theme="theme7"] .cal-time-column,body[data-theme="theme7"] .cal-month-day{background:#101f2f;border-color:#366879;}
body[data-theme="theme7"] .cal-weekday,body[data-theme="theme7"] .cal-timeline-header,body[data-theme="theme7"] .cal-hour-axis{background:#182b3e;color:#d8f4f5;}
body[data-theme="theme7"] .cal-day-number,body[data-theme="theme7"] .cal-hour-label,body[data-theme="theme7"] .cal-period-title{color:#d8f4f5;}
body[data-theme="theme7"] .cal-month-day.today{background:#244251;}
body[data-theme="theme7"] .theme-option{background:#183042;color:#fff;border-color:#618995;border-radius:2px;}
body[data-theme="theme7"] .theme-option small{color:#a7cbd3;}
.theme-thumb.theme7{background:#122333 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20620%20740%22%20width%3D%22620%22%20height%3D%22740%22%3E%0A%3Crect%20width%3D%22620%22%20height%3D%22740%22%20fill%3D%22%23101c2a%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%23386678%22%20stroke-width%3D%222%22%20opacity%3D%22.50%22%3E%0A%3Cpath%20d%3D%22M-20%2070H205L230%2095H470L495%20120H650%22%2F%3E%3Cpath%20d%3D%22M-20%20145H100L145%20190H355L383%20160H650%22%2F%3E%0A%3Cpath%20d%3D%22M0%20305H150L192%20264H340L390%20320H650%22%2F%3E%3Cpath%20d%3D%22M-20%20470H100L120%20450H295L335%20495H650%22%2F%3E%0A%3Cpath%20d%3D%22M0%20608H165L205%20568H430L472%20608H650%22%2F%3E%0A%3Cpath%20d%3D%22M82%200V40L110%2068V135%22%2F%3E%3Cpath%20d%3D%22M520%200V65L480%2090V225%22%2F%3E%3Cpath%20d%3D%22M280%20740V685L320%20650V490%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22%2343dcef%22%20opacity%3D%22.80%22%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%2268%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22470%22%20cy%3D%22120%22%20r%3D%224%22%2F%3E%3Ccircle%20cx%3D%22390%22%20cy%3D%22320%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22205%22%20cy%3D%22568%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22650%22%20r%3D%225%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f5c447%22%20stroke-width%3D%223%22%20opacity%3D%22.65%22%3E%3Cpath%20d%3D%22M-8%20225H58L96%20260H190%22%2F%3E%3Cpath%20d%3D%22M415%20380H515L550%20345H630%22%2F%3E%3Cpath%20d%3D%22M-8%20680H65L100%20645H180%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%23ffbd34%22%20opacity%3D%22.25%22%3E%3Crect%20x%3D%2232%22%20y%3D%22340%22%20width%3D%2275%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%2232%22%20y%3D%22354%22%20width%3D%2242%22%20height%3D%225%22%2F%3E%3Crect%20x%3D%22487%22%20y%3D%22535%22%20width%3D%2282%22%20height%3D%225%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/200px 200px;box-shadow:inset 0 0 0 5px #09121c;}

/* Theme 8: carved island wood and aged parchment, no glass, no rigid boxes. */
body[data-theme="theme8"]{font-family:Georgia,"Times New Roman",serif;color:#352313;background:#45331d;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20490%22%20width%3D%22320%22%20height%3D%22490%22%3E%0A%3Crect%20width%3D%22320%22%20height%3D%22490%22%20fill%3D%22%23b18450%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%2369421e%22%20opacity%3D%22.28%22%3E%0A%3Cpath%20stroke-width%3D%223%22%20d%3D%22M0%2017C63%208%2060%2032%20135%2022S230%2019%20320%2024M0%2074Q100%2095%20185%2070T320%2080M0%20126C90%20118%20118%20134%20190%20131S276%20120%20320%20130M0%20214Q115%20190%20195%20215T320%20202M0%20300Q80%20282%20160%20298T320%20295M0%20412C70%20402%20130%20429%20230%20411T320%20418M0%20467C100%20451%20160%20475%20320%20461%22%2F%3E%0A%3Cpath%20stroke-width%3D%221.5%22%20d%3D%22M0%2039Q75%2054%20160%2040T320%2043M0%2097Q140%20111%20225%2098T320%20105M0%20164Q110%20148%20220%20167T320%20162M0%20240Q95%20221%20190%20243T320%20245M0%20273C80%20285%20165%20261%20320%20276M0%20362Q88%20348%20166%20371T320%20358M0%20438Q145%20418%20320%20439%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%235b371b%22%20opacity%3D%22.3%22%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2228%22%20ry%3D%2211%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2213%22%20ry%3D%225%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%223%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2233%22%20ry%3D%2211%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2215%22%20ry%3D%225%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%0A%3Cg%20stroke%3D%22%23e1b87e%22%20opacity%3D%22.37%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2058H320M0%20347H320%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E");background-size:320px 490px;}
body[data-theme="theme8"]::before{opacity:0;}
body[data-theme="theme8"] .app-shell::before,body[data-theme="theme8"] .app-shell::after{display:none;}
body[data-theme="theme8"] :is(.topbar,.summary-figure,.panel,.modal,.cal-modal,.wallet-view .wallet-page-panel){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
body[data-theme="theme8"] :is(.topbar,.summary-figure){background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;border:none!important;border-radius:6px 25px 9px 19px!important;box-shadow:inset 0 0 0 5px #79542b,0 10px 25px #24170788!important;}
body[data-theme="theme8"] .topbar{position:relative;padding-top:22px;padding-bottom:18px;}
body[data-theme="theme8"] .topbar::before{content:"◈ ◈ ◈ ◈ ◈ ◈ ◈ ◈ ◈";position:absolute;top:4px;left:32px;right:32px;text-align:center;letter-spacing:13px;font-size:7px;color:#8b5d2c;pointer-events:none;}
body[data-theme="theme8"] .brand-name,body[data-theme="theme8"] .brand-name small,body[data-theme="theme8"] .workspace-title h1,body[data-theme="theme8"] .workspace-title p,body[data-theme="theme8"] .eyebrow{color:#f5dda8!important;text-shadow:0 2px 4px #261606a1;}
body[data-theme="theme8"] .brand-mark{border-radius:50%;background:#94602d;transform:rotate(15deg);box-shadow:inset 0 0 0 4px #d6a96a,0 4px 5px #37200b;}
body[data-theme="theme8"] .header-middle{background:#cba773;border:0;border-radius:40px;color:#432f1a;}
body[data-theme="theme8"] .workspace-label{color:#65482d;}
body[data-theme="theme8"] .summary-figure :is(strong,small){color:#4a311a!important;text-shadow:none!important;}
body[data-theme="theme8"] .panel{position:relative;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20490%22%20width%3D%22320%22%20height%3D%22490%22%3E%0A%3Crect%20width%3D%22320%22%20height%3D%22490%22%20fill%3D%22%23b18450%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%2369421e%22%20opacity%3D%22.28%22%3E%0A%3Cpath%20stroke-width%3D%223%22%20d%3D%22M0%2017C63%208%2060%2032%20135%2022S230%2019%20320%2024M0%2074Q100%2095%20185%2070T320%2080M0%20126C90%20118%20118%20134%20190%20131S276%20120%20320%20130M0%20214Q115%20190%20195%20215T320%20202M0%20300Q80%20282%20160%20298T320%20295M0%20412C70%20402%20130%20429%20230%20411T320%20418M0%20467C100%20451%20160%20475%20320%20461%22%2F%3E%0A%3Cpath%20stroke-width%3D%221.5%22%20d%3D%22M0%2039Q75%2054%20160%2040T320%2043M0%2097Q140%20111%20225%2098T320%20105M0%20164Q110%20148%20220%20167T320%20162M0%20240Q95%20221%20190%20243T320%20245M0%20273C80%20285%20165%20261%20320%20276M0%20362Q88%20348%20166%20371T320%20358M0%20438Q145%20418%20320%20439%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%235b371b%22%20opacity%3D%22.3%22%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2228%22%20ry%3D%2211%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2213%22%20ry%3D%225%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%223%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2233%22%20ry%3D%2211%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2215%22%20ry%3D%225%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%0A%3Cg%20stroke%3D%22%23e1b87e%22%20opacity%3D%22.37%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2058H320M0%20347H320%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/320px 490px repeat!important;border:none!important;border-radius:6px 23px 7px 18px!important;clip-path:polygon(0.6% 0,99.4% 0.6%,100% 9%,99.6% 97%,98.8% 100%,0.4% 99.2%,0 91%,0 5%);box-shadow:inset 0 0 0 9px #614322, inset 0 0 0 13px #d1a374,0 18px 30px #2113017a!important;}
body[data-theme="theme8"] .panel::before{content:"";inset:14px 13px;pointer-events:none;opacity:.28;filter:none;z-index:-1;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;}
body[data-theme="theme8"] .panel::after{top:8px;height:4px;left:24px;right:24px;background:repeating-linear-gradient(90deg,#5b3b1e 0 10px,#c69b62 10px 13px,#5b3b1e 13px 23px);}
body[data-theme="theme8"] .panel-head h2{color:#fbe2ae!important;text-shadow:1px 2px 2px #533113;letter-spacing:-.4px;}
body[data-theme="theme8"] .panel-index{color:#f3d49e!important;letter-spacing:2px;}
body[data-theme="theme8"] .panel-index::before{background:#e4b16c;border:2px solid #624021;transform:rotate(45deg);border-radius:3px;}
body[data-theme="theme8"] :is(.section-subhead,.wallet-section-note,.analytics-description,.chart-instructions,.chart-legend,.panel-footnote,.wallet-currency-hint){color:#f0d29e!important;text-shadow:0 1px 2px #583517;}
body[data-theme="theme8"] :is(.task-row,.task-stat,.money-stat,.transaction-row,.category-entry,.upcoming-row,.selected-day,.insights-footer,.chart-wrap,.balance-card,.calendar-open-btn,.segmented){background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;border:0!important;border-radius:9px 22px 7px 18px!important;box-shadow:inset 0 0 0 2px #80582c,inset 2px 3px 7px #7b522a53,2px 6px 10px #2613006a!important;color:#3f2d17;}
body[data-theme="theme8"] :is(.task-title,.transaction-name,.category-name,.category-price,.upcoming-info b,.selected-day-title strong,.money-stat strong,.balance-value,.task-stat strong,.chart-amount){color:#382512!important;text-shadow:none!important;}
body[data-theme="theme8"] :is(.task-meta,.transaction-meta,.upcoming-info small,.selected-day-title span,.task-stat small,.hint-range){color:#77532a!important;}
body[data-theme="theme8"] :is(.btn,.icon-button,.calendar-open-btn,.add-btn,.finance-action,.panel-bottom-add,.segmented button,.primary-btn,.secondary-btn,.cal-navigation button,.wallet-close-btn,.text-action){font-family:Georgia,serif;border:0!important;border-radius:5px 14px 3px 9px!important;box-shadow:inset 1px 2px 2px #eed4a177,2px 4px 2px #26150277!important;}
body[data-theme="theme8"] :is(.btn,.icon-button,.add-btn,.primary-btn,.secondary-btn,.panel-bottom-add,.finance-action,.cal-navigation button,.wallet-close-btn){background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20490%22%20width%3D%22320%22%20height%3D%22490%22%3E%0A%3Crect%20width%3D%22320%22%20height%3D%22490%22%20fill%3D%22%23b18450%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%2369421e%22%20opacity%3D%22.28%22%3E%0A%3Cpath%20stroke-width%3D%223%22%20d%3D%22M0%2017C63%208%2060%2032%20135%2022S230%2019%20320%2024M0%2074Q100%2095%20185%2070T320%2080M0%20126C90%20118%20118%20134%20190%20131S276%20120%20320%20130M0%20214Q115%20190%20195%20215T320%20202M0%20300Q80%20282%20160%20298T320%20295M0%20412C70%20402%20130%20429%20230%20411T320%20418M0%20467C100%20451%20160%20475%20320%20461%22%2F%3E%0A%3Cpath%20stroke-width%3D%221.5%22%20d%3D%22M0%2039Q75%2054%20160%2040T320%2043M0%2097Q140%20111%20225%2098T320%20105M0%20164Q110%20148%20220%20167T320%20162M0%20240Q95%20221%20190%20243T320%20245M0%20273C80%20285%20165%20261%20320%20276M0%20362Q88%20348%20166%20371T320%20358M0%20438Q145%20418%20320%20439%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%235b371b%22%20opacity%3D%22.3%22%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2228%22%20ry%3D%2211%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2213%22%20ry%3D%225%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%223%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2233%22%20ry%3D%2211%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2215%22%20ry%3D%225%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%0A%3Cg%20stroke%3D%22%23e1b87e%22%20opacity%3D%22.37%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2058H320M0%20347H320%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/320px 490px repeat!important;color:#fff1c8!important;text-shadow:1px 1px #4b2a0d;}
body[data-theme="theme8"] :is(.btn:hover,.icon-button:hover,.panel-bottom-add:hover,.finance-action:hover){filter:brightness(1.12);}
body[data-theme="theme8"] .segmented{padding:5px;background:#a5783e!important;}
body[data-theme="theme8"] .segmented button{background:#996a3588!important;color:#f6d5a6!important;}
body[data-theme="theme8"] .segmented button.active{background:#ead6a9!important;color:#4e3117!important;text-shadow:none;}
body[data-theme="theme8"] .currency-switch{background:#9c6c39;border:none;border-radius:10px;}
body[data-theme="theme8"] .currency-switch button{color:#ebd0a0;}
body[data-theme="theme8"] .currency-switch button.active{color:#452811;background:#ebd1a1;}
body[data-theme="theme8"] .wallet-tile{border:0!important;border-radius:8px 19px 5px 14px!important;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20490%22%20width%3D%22320%22%20height%3D%22490%22%3E%0A%3Crect%20width%3D%22320%22%20height%3D%22490%22%20fill%3D%22%23b18450%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%2369421e%22%20opacity%3D%22.28%22%3E%0A%3Cpath%20stroke-width%3D%223%22%20d%3D%22M0%2017C63%208%2060%2032%20135%2022S230%2019%20320%2024M0%2074Q100%2095%20185%2070T320%2080M0%20126C90%20118%20118%20134%20190%20131S276%20120%20320%20130M0%20214Q115%20190%20195%20215T320%20202M0%20300Q80%20282%20160%20298T320%20295M0%20412C70%20402%20130%20429%20230%20411T320%20418M0%20467C100%20451%20160%20475%20320%20461%22%2F%3E%0A%3Cpath%20stroke-width%3D%221.5%22%20d%3D%22M0%2039Q75%2054%20160%2040T320%2043M0%2097Q140%20111%20225%2098T320%20105M0%20164Q110%20148%20220%20167T320%20162M0%20240Q95%20221%20190%20243T320%20245M0%20273C80%20285%20165%20261%20320%20276M0%20362Q88%20348%20166%20371T320%20358M0%20438Q145%20418%20320%20439%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%235b371b%22%20opacity%3D%22.3%22%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2228%22%20ry%3D%2211%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2213%22%20ry%3D%225%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%223%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2233%22%20ry%3D%2211%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2215%22%20ry%3D%225%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%0A%3Cg%20stroke%3D%22%23e1b87e%22%20opacity%3D%22.37%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2058H320M0%20347H320%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/320px 490px repeat!important;box-shadow:inset 0 0 0 4px var(--wallet-color),inset 0 0 0 7px #65411c,2px 5px 8px #3b1e0b8c!important;color:#fce9bb!important;}
body[data-theme="theme8"] .wallet-tile::before{display:none!important;}
body[data-theme="theme8"] .wallet-tile::after{box-shadow:none!important;}
body[data-theme="theme8"] .wallet-tile .wallet-top .wallet-currency{background:#e7cc9e!important;color:#513619!important;}
body[data-theme="theme8"] .balance-card{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;}
body[data-theme="theme8"] .balance-card :is(span,small,strong){color:#50351b!important;text-shadow:none!important;}
body[data-theme="theme8"] .insights-panel .chart-wrap{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;}
body[data-theme="theme8"] .chart-grid{stroke:#866e4f5e;}
body[data-theme="theme8"] .chart-axis-text{fill:#60462c;}
body[data-theme="theme8"] .form-control,body[data-theme="theme8"] .modal,body[data-theme="theme8"] .cal-modal,body[data-theme="theme8"] .wallet-view .wallet-page-panel{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;color:#3e2814!important;border:0!important;border-radius:7px 21px 6px 17px!important;box-shadow:inset 0 0 0 5px #95652f,0 18px 55px #271808c9!important;font-family:Georgia,serif;}
body[data-theme="theme8"] :is(.modal h3,.modal .field-label,.modal .input-helper,.cal-modal h2,.cal-modal h3,.cal-modal p,.wallet-view .wallet-page-panel h2,.wallet-view .wallet-page-panel h3,.wallet-view .wallet-page-subtitle){color:#442b13!important;}
body[data-theme="theme8"] .wallet-view .wallet-page-panel :is(.summary-figure,.transaction-row,.chart-wrap){background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;}
body[data-theme="theme8"] .cal-content,body[data-theme="theme8"] .cal-time-column,body[data-theme="theme8"] .cal-month-day{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px repeat!important;border-color:#9d7844;}
body[data-theme="theme8"] .cal-weekday,body[data-theme="theme8"] .cal-timeline-header,body[data-theme="theme8"] .cal-hour-axis{background:#c3a06d;color:#503519;}
body[data-theme="theme8"] .cal-day-number,body[data-theme="theme8"] .cal-hour-label,body[data-theme="theme8"] .cal-period-title{color:#543719;}
body[data-theme="theme8"] .cal-month-day.today{background:#ddc089!important;}
body[data-theme="theme8"] .theme-option{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20220%20330%22%20width%3D%22220%22%20height%3D%22330%22%3E%0A%3Crect%20width%3D%22220%22%20height%3D%22330%22%20fill%3D%22%23e8ce97%22%2F%3E%0A%3Cg%20opacity%3D%22.16%22%20fill%3D%22none%22%20stroke%3D%22%238c632a%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2014Q100%2030%20220%2017M0%2052Q140%2039%20220%2059M0%20117Q87%20105%20220%20119M0%20175Q112%20162%20220%20184M0%20233Q134%20218%20220%20238M0%20291Q130%20283%20220%20300%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%239b7041%22%20opacity%3D%22.12%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2227%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%22183%22%20cy%3D%22165%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2271%22%20cy%3D%22280%22%20r%3D%2219%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/220px 330px;border-color:#896333;color:#543319;border-radius:7px;}
body[data-theme="theme8"] .theme-option small{color:#79552e;}
body[data-theme="theme8"] .theme-option.selected{outline-color:#9a622c;}
body[data-theme="theme8"] .panel .selected-day :is(strong,span,small){color:#4d331c!important;}
.theme-thumb.theme8{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20490%22%20width%3D%22320%22%20height%3D%22490%22%3E%0A%3Crect%20width%3D%22320%22%20height%3D%22490%22%20fill%3D%22%23b18450%22%2F%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%2369421e%22%20opacity%3D%22.28%22%3E%0A%3Cpath%20stroke-width%3D%223%22%20d%3D%22M0%2017C63%208%2060%2032%20135%2022S230%2019%20320%2024M0%2074Q100%2095%20185%2070T320%2080M0%20126C90%20118%20118%20134%20190%20131S276%20120%20320%20130M0%20214Q115%20190%20195%20215T320%20202M0%20300Q80%20282%20160%20298T320%20295M0%20412C70%20402%20130%20429%20230%20411T320%20418M0%20467C100%20451%20160%20475%20320%20461%22%2F%3E%0A%3Cpath%20stroke-width%3D%221.5%22%20d%3D%22M0%2039Q75%2054%20160%2040T320%2043M0%2097Q140%20111%20225%2098T320%20105M0%20164Q110%20148%20220%20167T320%20162M0%20240Q95%20221%20190%20243T320%20245M0%20273C80%20285%20165%20261%20320%20276M0%20362Q88%20348%20166%20371T320%20358M0%20438Q145%20418%20320%20439%22%2F%3E%0A%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%235b371b%22%20opacity%3D%22.3%22%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2228%22%20ry%3D%2211%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%22189%22%20rx%3D%2213%22%20ry%3D%225%22%20transform%3D%22rotate%28-9%2076%20189%29%22%20stroke-width%3D%223%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2233%22%20ry%3D%2211%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%224%22%2F%3E%3Cellipse%20cx%3D%22249%22%20cy%3D%22373%22%20rx%3D%2215%22%20ry%3D%225%22%20transform%3D%22rotate%285%20249%20373%29%22%20stroke-width%3D%222%22%2F%3E%3C%2Fg%3E%0A%3Cg%20stroke%3D%22%23e1b87e%22%20opacity%3D%22.37%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2058H320M0%20347H320%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/140px 150px;box-shadow:inset 0 0 0 6px #684322;}

/* Keep the theme picker usable even when a dark theme is active. */
body[data-theme="theme7"] .theme-grid .theme-option,body[data-theme="theme8"] .theme-grid .theme-option{min-height:134px;}
@media(max-width:740px){body[data-theme="theme7"] .panel{clip-path:none;border-radius:2px!important;}body[data-theme="theme8"] .panel{clip-path:none;}}

/* V10 polishing: clarity for yellow geometry and faithful material language. */
body[data-theme="theme6"] .panel-head{padding:13px 14px;background:#19123eed!important;border:2px solid #09ecf8!important;border-radius:3px;}
body[data-theme="theme6"] .panel-head h2,body[data-theme="theme6"] .panel-head .panel-index{color:#fff!important;}
body[data-theme="theme6"] .section-subhead{color:#fff!important;background:#18133ae9!important;padding:7px 8px;border-left:4px solid #01ddeb;}
body[data-theme="theme6"] .section-subhead>span:last-child{color:#fff!important;}
body[data-theme="theme6"] .analytics-controls{padding:8px;background:#151339ef!important;border:2px solid #f700b6!important;border-radius:4px;}
body[data-theme="theme6"] .chart-title-label,body[data-theme="theme6"] .chart-amount{color:#fff!important;}
body[data-theme="theme6"] .analytics-description,body[data-theme="theme6"] .chart-instructions,body[data-theme="theme6"] .chart-legend,body[data-theme="theme6"] .panel-footnote{color:#16103a!important;text-shadow:1px 1px #fff!important;font-weight:800;}
body[data-theme="theme6"] .wallet-section-note{color:#fff!important;}
body[data-theme="theme6"] .finance-panel .wallets-heading{background:#16133ced;}
body[data-theme="theme6"] .wallets-heading .section-subhead{background:transparent!important;}

/* Cyberpunk: all cards, not just the three main panes, use the same mechanical vocabulary. */
body[data-theme="theme7"] .wallet-tile{background:linear-gradient(145deg,#22303d,#101e2b 70%,#152c37)!important;color:#e5faff!important;border:2px solid #3b7f8d!important;border-left:5px solid var(--wallet-color)!important;box-shadow:inset 0 0 0 2px #070f19,3px 4px 0 #050c13!important;}
body[data-theme="theme7"] .wallet-tile::before{display:none;}
body[data-theme="theme7"] .wallet-tile .wallet-sheen-dot{border-radius:0;background:var(--wallet-color);box-shadow:0 0 12px var(--wallet-color);}
body[data-theme="theme7"] .wallet-tile .wallet-currency{color:#ffca36!important;background:#142632!important;border:1px solid #5b8b98;border-radius:2px;}
body[data-theme="theme7"] .wallet-tile .wallet-name,body[data-theme="theme7"] .wallet-tile .wallet-balance{color:#dffaff!important;}
body[data-theme="theme7"] .wallet-tile .wallet-sparkline{color:#29e6e6!important;}
body[data-theme="theme7"] .wallet-tile.wallet-add{border:2px dashed #57a6b5!important;background:#182634!important;color:#85d9e6!important;}
body[data-theme="theme7"] .wallet-tile.wallet-add span{color:#b8ecf2;}
body[data-theme="theme7"] .wallet-tile.wallet-add .wallet-add-symbol{background:#12222d!important;border-color:#65afbc;border-radius:2px;}
body[data-theme="theme7"] .finance-panel .finance-action{background:#122737!important;border:1px solid #4c8a98!important;color:#e4faff!important;}
body[data-theme="theme7"] .finance-action.income-action{border-left:4px solid #00edb1!important;}
body[data-theme="theme7"] .finance-action.expense-action{border-left:4px solid #fb5379!important;}
body[data-theme="theme7"] .finance-action.transfer-action{border-left:4px solid #ffd036!important;}
body[data-theme="theme7"] .finance-action span{border-radius:0;background:#234050;}
body[data-theme="theme7"] #chart svg path[stroke="#598ee8"],body[data-theme="theme7"] #walletDetailChart svg path[stroke="#5b82ea"]{stroke:#35e6df!important;}
body[data-theme="theme7"] #chart svg path[stroke="#ebac70"]{stroke:#ffcf3a!important;}
body[data-theme="theme7"] #chart svg circle[fill="#598ee8"]{fill:#35e6df!important;}
body[data-theme="theme7"] .wallet-chart-wrap{background:repeating-linear-gradient(0deg,#061720 0 3px,#0e2831 3px 5px)!important;border:4px solid #335e72!important;}
body[data-theme="theme7"] .wallet-view .wallet-page-panel .chart-grid{stroke:#3b718133;}
body[data-theme="theme7"] .wallet-view .wallet-page-hero{background:linear-gradient(120deg,#112a35,#183b42)!important;border:2px solid var(--wallet-color)!important;border-radius:3px!important;}
body[data-theme="theme7"] .wallet-view .wallet-page-hero :is(span,strong,small){color:#e2faff!important;}

/* Primordial: no boxed metal/glass edging, warm cut timber and etched leather. */
body[data-theme="theme8"] .panel{box-shadow:inset 0 0 40px #4a29099c,0 18px 30px #2113017a!important;}
body[data-theme="theme8"] .panel-head h2{font-variant:small-caps;letter-spacing:1px;}
body[data-theme="theme8"] .panel-head .add-btn{background:#71451f!important;color:#f9dca3!important;border-radius:50% 18% 52% 22%!important;transform:rotate(-8deg);}
body[data-theme="theme8"] .panel-head .add-btn:hover{transform:rotate(0deg) scale(1.05);}
body[data-theme="theme8"] .panel .analytics-description,body[data-theme="theme8"] .panel .chart-instructions,body[data-theme="theme8"] .panel .chart-legend,body[data-theme="theme8"] .panel .wallet-section-note{color:#fce6bb!important;text-shadow:0 1px 3px #3b2009;}
body[data-theme="theme8"] .panel .section-subhead{color:#fbe4b4!important;}
body[data-theme="theme8"] #chart svg path[stroke="#598ee8"],body[data-theme="theme8"] #walletDetailChart svg path[stroke="#5b82ea"]{stroke:#78411e!important;}
body[data-theme="theme8"] #chart svg path[stroke="#ebac70"]{stroke:#bb783d!important;}
body[data-theme="theme8"] #chart svg circle[fill="#598ee8"]{fill:#78411e!important;}
body[data-theme="theme8"] .wallet-view .wallet-page-hero{background:linear-gradient(140deg,#c99b57,#8b5629)!important;border:0!important;border-radius:8px 24px 8px 21px!important;box-shadow:inset 0 0 0 3px #613a1c,3px 5px 12px #361b0c7a!important;}
body[data-theme="theme8"] .wallet-view .wallet-page-hero :is(span,strong,small){color:#f7e5bd!important;}
body[data-theme="theme8"] .wallet-view :is(.wallet-switch-item,.wallet-back-btn){background:#ab7e48!important;color:#f9e1ae!important;border:0!important;border-radius:9px 4px 15px 8px!important;box-shadow:inset 1px 1px 2px #e6bc7b,2px 2px 2px #381e0b!important;}
body[data-theme="theme8"] :is(.priority,.panel-badge,.task-time-display,.task-amount){font-family:Georgia,serif;border-radius:3px 8px 3px 9px!important;}
body[data-theme="theme8"] .task-row{border-left:3px solid #6c4422!important;}
body[data-theme="theme8"] .task-check{border:2px solid #86663e;background:#e6cb97;border-radius:2px 6px 3px 7px;}
body[data-theme="theme8"] .wallet-view .wallet-chart-wrap{background:#dec190!important;}
body[data-theme="theme8"] .modal-backdrop,body[data-theme="theme8"] .wallet-view:not([hidden]),body[data-theme="theme8"] .calendar-overlay:not([hidden]){background:#221408b0;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}

/* v11 / Calendar time is vertical in all three views, not horizontal. */
.cal-modal{width:min(1340px,calc(100vw - 24px));height:min(940px,96dvh);max-height:96dvh}
.cal-month-grid{display:flex;flex-direction:column;min-width:920px;min-height:0;background:#e4ebf5}
.cal-month-heading-row,.cal-month-week-row{display:grid;grid-template-columns:51px repeat(7,minmax(0,1fr));width:100%;min-width:920px}
.cal-month-heading-row{position:sticky;top:0;z-index:7;min-height:35px;background:#eef3fc}
.cal-month-heading-row .cal-weekday{min-height:35px;display:grid;place-items:center;padding:0;border-right:1px solid #d9e4f3}
.cal-month-heading-row .cal-time-head-spacer{width:auto;flex:none;display:grid;place-items:center;border-right:1px solid #d9e4f3;font-size:9px}
.cal-month-week-row{border-bottom:1px solid #c6d5e8}
.cal-month-hour-axis{position:relative;min-height:222px;padding-top:29px;background:#eff4fb;border-right:1px solid #d9e4f3}
.cal-month-hour-label{position:absolute;right:5px;transform:translateY(-5px);color:#667b98;font-size:9px;font-weight:680;font-variant-numeric:tabular-nums}
.cal-month-hour-axis .cal-hour-label{top:calc(29px + var(--cal-hour-top,0px))}
.cal-month-week-row .cal-month-hour-axis .cal-hour-label{transform:translateY(-5px)}
.cal-month-day{display:flex;flex-direction:column;gap:0;min-width:0;min-height:222px;padding:0;border-right:1px solid #dce5f2;border-bottom:0;background:#ffffffde;overflow:hidden}
.cal-month-day.outside{opacity:.70}
.cal-month-day.today{background:#f0eaff}
.cal-month-day .cal-day-number{height:29px;min-height:29px;margin:0 0 0 5px;padding:0;width:28px;flex:none;z-index:3}
.cal-month-day-timeline{position:relative;overflow:hidden;background:repeating-linear-gradient(to bottom,#f5f8ff9c 0px,#f5f8ff9c 15px,#b8cae2 15px,#b8cae2 16px)}
.cal-month-day.today .cal-month-day-timeline{background:repeating-linear-gradient(to bottom,#e9e9ff8a 0px,#e9e9ff8a 15px,#b9b8e8 15px,#b9b8e8 16px)}
.cal-month-event{position:absolute;display:flex;align-items:center;max-width:none;min-width:0;min-height:5px;max-height:none;margin:0!important;padding:0 4px;border-radius:4px;border-left:2px solid #ffffffb0;background:color-mix(in srgb,var(--task-color) 87%,#273650);box-shadow:inset 0 1px #ffffff4d;z-index:2;font-size:9px;line-height:1.15}
.cal-month-event span{width:100%;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.cal-time-column{background:repeating-linear-gradient(to bottom,#ffffffbd 0px,#ffffffbd 107px,#b6cbe0 107px,#b6cbe0 108px)}
.cal-time-column.today{background:repeating-linear-gradient(to bottom,#f3f0ffb8 0px,#f3f0ffb8 107px,#b0b8df 107px,#b0b8df 108px)}
.cal-hour-axis{background:repeating-linear-gradient(to bottom,#f5f8ff 0px,#f5f8ff 107px,#dfebfa 107px,#dfebfa 108px)}
.cal-hour-label{font-size:10px;color:#5e7093}
.cal-time-event{min-width:0;padding:6px 8px;box-shadow:0 2px 5px #354c5c25}
.cal-time-event strong{font-size:11px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.cal-time-event small{font-size:10px}
.cal-timeline-shell.is-week{min-width:880px}
.cal-timeline-shell.is-day{min-width:0}
.cal-content{min-height:0}
/* Font with dependable Cyrillic glyphs, including я and ф, across all themes. */
body .task-panel,body .task-panel *{font-family:Arial,"Helvetica Neue","Noto Sans",sans-serif!important;font-feature-settings:"locl" 1;font-variant-ligatures:none}
/* Quiet landscape and photographic landscape: keep fields vivid and clearly visible. */
body[data-theme="theme4"] .task-panel{background:linear-gradient(180deg,#a7dcff 0%,#c5eaff 32%,#7dccd7 32.5%,#269cba 47%,#f5dfa0 48%,#e8d59b 57%,#70bc77 58%,#58a566 100%)!important}
body[data-theme="theme4"] .finance-panel{background:linear-gradient(180deg,#b9e4ff 0%,#e3f5fe 26%,#b4e299 26.5%,#98c77c 57%,#73b46c 100%)!important}
body[data-theme="theme4"] .finance-panel::before{opacity:.28!important}
body[data-theme="theme4"] .task-panel::before{opacity:.32!important}
body[data-theme="theme5"] .task-panel{background:linear-gradient(180deg,#ffffff27 0%,#f5ffff15 45%,#d9f5ff32 100%),url("https://images.unsplash.com/photo-1672841828271-54340a6fbcd3?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat!important}
body[data-theme="theme5"] .finance-panel{background:linear-gradient(180deg,#ffffff25 0%,#fffff40e 50%,#d1f0b52e 100%),url("https://images.unsplash.com/photo-1771073005377-226e1294d962?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat!important}
body[data-theme="theme5"] .insights-panel{background:linear-gradient(180deg,#07182528 0%,#0b191f32 50%,#081e1442 100%),url("https://images.unsplash.com/photo-1729939089025-fb7b903c56d0?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat!important}
body[data-theme="theme5"] .task-panel :is(.task-row,.task-stat,.calendar-open-btn),body[data-theme="theme5"] .finance-panel :is(.transaction-row,.money-stat,.category-entry){background:#fffffff0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body[data-theme="theme5"] .finance-panel :is(.panel-head,.wallets-heading,.category-subhead,.transaction-section){border-radius:12px;padding:7px;background:#ffffffd3;color:#2b4750}
body[data-theme="theme5"] .finance-panel .panel-head h2{color:#24423b}
body[data-theme="theme5"] .insights-panel :is(.chart-wrap,.selected-day,.upcoming-row,.insights-footer){background:#091722ae!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* Cyberpunk: three separate machines with distinct color-coded chassis. */
body[data-theme="theme7"] .dashboard > .task-panel{background:linear-gradient(156deg,#443010 0%,#291e15 36%,#221914 100%)!important;border-color:#f8b73b!important;box-shadow:inset 0 0 0 4px #1e180e,0 17px 0 #100d08,0 25px 38px #0009!important}
body[data-theme="theme7"] .dashboard > .finance-panel{background:linear-gradient(160deg,#0a3c35,#0c2928 44%,#112625 100%)!important;border-color:#26d6a4!important;box-shadow:inset 0 0 0 4px #09211c,0 17px 0 #06110f,0 25px 38px #0009!important}
body[data-theme="theme7"] .dashboard > .insights-panel{background:linear-gradient(160deg,#162c56,#121e3e 48%,#18162f 100%)!important;border-color:#7b91ff!important;box-shadow:inset 0 0 0 4px #121a33,0 17px 0 #0a0b1b,0 25px 38px #0009!important}
body[data-theme="theme7"] .dashboard > .panel::before{opacity:.13!important;mix-blend-mode:screen!important}
body[data-theme="theme7"] .dashboard > .task-panel::after{background:repeating-linear-gradient(90deg,#ffc64d 0 38px,#261c14 38px 48px)!important}
body[data-theme="theme7"] .dashboard > .finance-panel::after{background:repeating-linear-gradient(90deg,#20e9b2 0 38px,#082925 38px 48px)!important}
body[data-theme="theme7"] .dashboard > .insights-panel::after{background:repeating-linear-gradient(90deg,#8caaff 0 38px,#161a38 38px 48px)!important}
body[data-theme="theme7"] .task-panel :is(.task-row,.task-stat,.calendar-open-btn,.segmented){background:#322413eb!important;border-color:#b48436!important}
body[data-theme="theme7"] .finance-panel :is(.transaction-row,.money-stat,.category-entry,.segmented){background:#102f2aef!important;border-color:#347e6d!important}
body[data-theme="theme7"] .insights-panel :is(.upcoming-row,.selected-day,.insights-footer,.segmented){background:#141d40ef!important;border-color:#455fba!important}
body[data-theme="theme7"] .task-panel .panel-index{color:#ffc84b!important}
body[data-theme="theme7"] .finance-panel .panel-index{color:#38efc4!important}
body[data-theme="theme7"] .insights-panel .panel-index{color:#a5b9ff!important}
body[data-theme="theme7"] .insights-panel .chart-wrap{outline-color:#7791f5!important;border-color:#131a37!important}
@media(max-width:740px){.cal-modal{width:100%;height:97dvh;max-height:97dvh;padding:15px 12px}.cal-month-grid,.cal-month-heading-row,.cal-month-week-row{min-width:900px}.cal-timeline-shell.is-week{min-width:880px}}

/* Offline landscape illustration under the photographs: visible meadows without network. */
body[data-theme="theme5"] .finance-panel{background-image:linear-gradient(180deg,#ffffff12,#ffffed05 56%,#f3ffdc12),url("https://images.unsplash.com/photo-1771073005377-226e1294d962?auto=format&fit=crop&w=1200&q=85"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20680%201500%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%3ClinearGradient%20id%3D%22sky%22%20x1%3D%220%22%20x2%3D%220%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238acbfd%22%2F%3E%3Cstop%20offset%3D%220.37%22%20stop-color%3D%22%23d3effd%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f9f5d4%22%2F%3E%3C%2FlinearGradient%3E%0A%3ClinearGradient%20id%3D%22meadow%22%20x1%3D%220%22%20x2%3D%220.6%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b1d76a%22%2F%3E%3Cstop%20offset%3D%220.42%22%20stop-color%3D%22%238ec961%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23427a39%22%2F%3E%3C%2FlinearGradient%3E%0A%3ClinearGradient%20id%3D%22hill%22%20x1%3D%220%22%20x2%3D%220.6%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b5d98b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%236dab50%22%2F%3E%3C%2FlinearGradient%3E%0A%3Cfilter%20id%3D%22soft%22%3E%3CfeGaussianBlur%20stdDeviation%3D%229%22%2F%3E%3C%2Ffilter%3E%0A%3Cfilter%20id%3D%22tiny%22%3E%3CfeGaussianBlur%20stdDeviation%3D%222%22%2F%3E%3C%2Ffilter%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%22680%22%20height%3D%221500%22%20fill%3D%22url%28%23sky%29%22%2F%3E%0A%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%22.85%22%20filter%3D%22url%28%23soft%29%22%3E%3Cellipse%20cx%3D%22120%22%20cy%3D%22120%22%20rx%3D%22130%22%20ry%3D%2225%22%2F%3E%3Cellipse%20cx%3D%22475%22%20cy%3D%22180%22%20rx%3D%22205%22%20ry%3D%2235%22%2F%3E%3Cellipse%20cx%3D%22240%22%20cy%3D%22310%22%20rx%3D%22120%22%20ry%3D%2222%22%2F%3E%3C%2Fg%3E%0A%3Cpath%20d%3D%22M-80%20480L80%20235L186%20338L310%20143L432%20320L548%20195L755%20495Z%22%20fill%3D%22%237299a9%22%2F%3E%0A%3Cpath%20d%3D%22M-80%20480L80%20235L186%20338L310%20143L432%20320L548%20195L755%20495Z%22%20fill%3D%22%2392b0c5%22%20opacity%3D%22.35%22%20transform%3D%22translate%280%2026%29%22%2F%3E%0A%3Cpath%20d%3D%22M25%20322L80%20235L131%20291L105%20283L92%20298L76%20275L55%20309Z%20M237%20267L310%20143L392%20276L353%20251L337%20281L306%20249L283%20270Z%20M488%20276L548%20195L621%20295L575%20273L552%20285L533%20270Z%22%20fill%3D%22%23f4f7f9%22%2F%3E%0A%3Cpath%20d%3D%22M0%20433C107%20403%20206%20407%20298%20425C402%20435%20485%20388%20680%20417V865H0Z%22%20fill%3D%22%23739f72%22%2F%3E%0A%3Cpath%20d%3D%22M0%20503C159%20461%20220%20503%20351%20476C490%20451%20584%20469%20680%20439V1500H0Z%22%20fill%3D%22url%28%23hill%29%22%2F%3E%0A%3Cpath%20d%3D%22M0%20615C210%20547%20315%20572%20428%20530C530%20497%20605%20535%20680%20510V1500H0Z%22%20fill%3D%22url%28%23meadow%29%22%2F%3E%0A%3Cpath%20d%3D%22M0%20905C132%20854%20278%20823%20387%20792C497%20772%20600%20803%20680%20767V1500H0Z%22%20fill%3D%22%235a9947%22%20opacity%3D%22.75%22%2F%3E%0A%3Cpath%20d%3D%22M0%201182C153%201103%20275%201127%20431%201054C552%20994%20624%201029%20680%20970V1500H0Z%22%20fill%3D%22%233c8241%22%20opacity%3D%22.7%22%2F%3E%0A%3Cpath%20d%3D%22M-80%201462C141%201298%20253%201210%20375%201076C436%201000%20535%20894%20746%20840%22%20fill%3D%22none%22%20stroke%3D%22%23c7b780%22%20stroke-width%3D%2262%22%20opacity%3D%22.56%22%2F%3E%0A%3Cpath%20d%3D%22M-80%201455C141%201298%20258%201200%20379%201075C439%201002%20539%20893%20748%20839%22%20fill%3D%22none%22%20stroke%3D%22%23e8d6a5%22%20stroke-width%3D%2230%22%20opacity%3D%22.5%22%2F%3E%0A%3C%21--%20Chalet%20situated%20slightly%20above%20center%20so%20it%20remains%20visible%20behind%20widgets%20--%3E%0A%3Cg%20transform%3D%22translate%28294%20443%29%22%3E%0A%3Cellipse%20cx%3D%220%22%20cy%3D%22155%22%20rx%3D%22136%22%20ry%3D%2217%22%20fill%3D%22%23417a47%22%20opacity%3D%22.24%22%20filter%3D%22url%28%23tiny%29%22%2F%3E%0A%3Cpath%20d%3D%22M-107%2056L0%20-21L113%2056Z%22%20fill%3D%22%236b4a32%22%2F%3E%0A%3Cpath%20d%3D%22M-121%2056L0%20-32L128%2057L110%2067L0%20-12L-107%2069Z%22%20fill%3D%22%23713b25%22%2F%3E%0A%3Crect%20x%3D%22-86%22%20y%3D%2257%22%20width%3D%22174%22%20height%3D%22105%22%20fill%3D%22%23eacda4%22%20stroke%3D%22%23996e3f%22%20stroke-width%3D%225%22%2F%3E%0A%3Cpath%20d%3D%22M-88%2056H88V70H-88Z%22%20fill%3D%22%23986e45%22%2F%3E%0A%3Crect%20x%3D%22-45%22%20y%3D%2287%22%20width%3D%2243%22%20height%3D%2242%22%20fill%3D%22%235a887c%22%20stroke%3D%22%236d4028%22%20stroke-width%3D%226%22%2F%3E%0A%3Crect%20x%3D%2224%22%20y%3D%2287%22%20width%3D%2240%22%20height%3D%2242%22%20fill%3D%22%235a887c%22%20stroke%3D%22%236d4028%22%20stroke-width%3D%226%22%2F%3E%0A%3Cpath%20d%3D%22M-23%2087V129M44%2087V129%22%20stroke%3D%22%23eedcb6%22%20stroke-width%3D%224%22%2F%3E%0A%3Crect%20x%3D%22-6%22%20y%3D%22126%22%20width%3D%2234%22%20height%3D%2236%22%20fill%3D%22%23765037%22%2F%3E%0A%3Cpath%20d%3D%22M-94%20163H95%22%20stroke%3D%22%23654a31%22%20stroke-width%3D%228%22%2F%3E%0A%3C%2Fg%3E%0A%3C%21--%20Alpine%20meadow%20wildflowers%20and%20grass%20lines%20--%3E%0A%3Cg%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%22.34%22%20stroke%3D%22%23d3ed9e%22%20stroke-width%3D%223%22%3E%0A%3Cpath%20d%3D%22M18%20925q40%20-20%2069%200M150%20997q65%20-31%20126%20-12M396%20831q50%20-14%20104%200M511%201120q64%20-15%20124%200M51%201213q68%20-29%20142%20-20M368%201375q82%20-31%20164%20-18%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%20fill%3D%22%23ffecb9%22%20opacity%3D%22.85%22%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%22830%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%22196%22%20cy%3D%221120%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22540%22%20cy%3D%221210%22%20r%3D%227%22%2F%3E%3Ccircle%20cx%3D%22434%22%20cy%3D%22995%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%22637%22%20cy%3D%22742%22%20r%3D%225%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%23f8f7ee%22%20opacity%3D%22.7%22%3E%3Ccircle%20cx%3D%22105%22%20cy%3D%22790%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22366%22%20cy%3D%221141%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22595%22%20cy%3D%22969%22%20r%3D%224%22%2F%3E%3Ccircle%20cx%3D%22240%22%20cy%3D%221284%22%20r%3D%226%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E")!important;background-position:center,center,center!important;background-size:cover,cover,cover!important;background-repeat:no-repeat!important}
body[data-theme="theme4"] .finance-panel{background-image:linear-gradient(180deg,#ffffff12,#ffffee0b 70%,#ffffff0b),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20680%201500%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%3ClinearGradient%20id%3D%22sky%22%20x1%3D%220%22%20x2%3D%220%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238acbfd%22%2F%3E%3Cstop%20offset%3D%220.37%22%20stop-color%3D%22%23d3effd%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f9f5d4%22%2F%3E%3C%2FlinearGradient%3E%0A%3ClinearGradient%20id%3D%22meadow%22%20x1%3D%220%22%20x2%3D%220.6%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b1d76a%22%2F%3E%3Cstop%20offset%3D%220.42%22%20stop-color%3D%22%238ec961%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23427a39%22%2F%3E%3C%2FlinearGradient%3E%0A%3ClinearGradient%20id%3D%22hill%22%20x1%3D%220%22%20x2%3D%220.6%22%20y1%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b5d98b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%236dab50%22%2F%3E%3C%2FlinearGradient%3E%0A%3Cfilter%20id%3D%22soft%22%3E%3CfeGaussianBlur%20stdDeviation%3D%229%22%2F%3E%3C%2Ffilter%3E%0A%3Cfilter%20id%3D%22tiny%22%3E%3CfeGaussianBlur%20stdDeviation%3D%222%22%2F%3E%3C%2Ffilter%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%22680%22%20height%3D%221500%22%20fill%3D%22url%28%23sky%29%22%2F%3E%0A%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%22.85%22%20filter%3D%22url%28%23soft%29%22%3E%3Cellipse%20cx%3D%22120%22%20cy%3D%22120%22%20rx%3D%22130%22%20ry%3D%2225%22%2F%3E%3Cellipse%20cx%3D%22475%22%20cy%3D%22180%22%20rx%3D%22205%22%20ry%3D%2235%22%2F%3E%3Cellipse%20cx%3D%22240%22%20cy%3D%22310%22%20rx%3D%22120%22%20ry%3D%2222%22%2F%3E%3C%2Fg%3E%0A%3Cpath%20d%3D%22M-80%20480L80%20235L186%20338L310%20143L432%20320L548%20195L755%20495Z%22%20fill%3D%22%237299a9%22%2F%3E%0A%3Cpath%20d%3D%22M-80%20480L80%20235L186%20338L310%20143L432%20320L548%20195L755%20495Z%22%20fill%3D%22%2392b0c5%22%20opacity%3D%22.35%22%20transform%3D%22translate%280%2026%29%22%2F%3E%0A%3Cpath%20d%3D%22M25%20322L80%20235L131%20291L105%20283L92%20298L76%20275L55%20309Z%20M237%20267L310%20143L392%20276L353%20251L337%20281L306%20249L283%20270Z%20M488%20276L548%20195L621%20295L575%20273L552%20285L533%20270Z%22%20fill%3D%22%23f4f7f9%22%2F%3E%0A%3Cpath%20d%3D%22M0%20433C107%20403%20206%20407%20298%20425C402%20435%20485%20388%20680%20417V865H0Z%22%20fill%3D%22%23739f72%22%2F%3E%0A%3Cpath%20d%3D%22M0%20503C159%20461%20220%20503%20351%20476C490%20451%20584%20469%20680%20439V1500H0Z%22%20fill%3D%22url%28%23hill%29%22%2F%3E%0A%3Cpath%20d%3D%22M0%20615C210%20547%20315%20572%20428%20530C530%20497%20605%20535%20680%20510V1500H0Z%22%20fill%3D%22url%28%23meadow%29%22%2F%3E%0A%3Cpath%20d%3D%22M0%20905C132%20854%20278%20823%20387%20792C497%20772%20600%20803%20680%20767V1500H0Z%22%20fill%3D%22%235a9947%22%20opacity%3D%22.75%22%2F%3E%0A%3Cpath%20d%3D%22M0%201182C153%201103%20275%201127%20431%201054C552%20994%20624%201029%20680%20970V1500H0Z%22%20fill%3D%22%233c8241%22%20opacity%3D%22.7%22%2F%3E%0A%3Cpath%20d%3D%22M-80%201462C141%201298%20253%201210%20375%201076C436%201000%20535%20894%20746%20840%22%20fill%3D%22none%22%20stroke%3D%22%23c7b780%22%20stroke-width%3D%2262%22%20opacity%3D%22.56%22%2F%3E%0A%3Cpath%20d%3D%22M-80%201455C141%201298%20258%201200%20379%201075C439%201002%20539%20893%20748%20839%22%20fill%3D%22none%22%20stroke%3D%22%23e8d6a5%22%20stroke-width%3D%2230%22%20opacity%3D%22.5%22%2F%3E%0A%3C%21--%20Chalet%20situated%20slightly%20above%20center%20so%20it%20remains%20visible%20behind%20widgets%20--%3E%0A%3Cg%20transform%3D%22translate%28294%20443%29%22%3E%0A%3Cellipse%20cx%3D%220%22%20cy%3D%22155%22%20rx%3D%22136%22%20ry%3D%2217%22%20fill%3D%22%23417a47%22%20opacity%3D%22.24%22%20filter%3D%22url%28%23tiny%29%22%2F%3E%0A%3Cpath%20d%3D%22M-107%2056L0%20-21L113%2056Z%22%20fill%3D%22%236b4a32%22%2F%3E%0A%3Cpath%20d%3D%22M-121%2056L0%20-32L128%2057L110%2067L0%20-12L-107%2069Z%22%20fill%3D%22%23713b25%22%2F%3E%0A%3Crect%20x%3D%22-86%22%20y%3D%2257%22%20width%3D%22174%22%20height%3D%22105%22%20fill%3D%22%23eacda4%22%20stroke%3D%22%23996e3f%22%20stroke-width%3D%225%22%2F%3E%0A%3Cpath%20d%3D%22M-88%2056H88V70H-88Z%22%20fill%3D%22%23986e45%22%2F%3E%0A%3Crect%20x%3D%22-45%22%20y%3D%2287%22%20width%3D%2243%22%20height%3D%2242%22%20fill%3D%22%235a887c%22%20stroke%3D%22%236d4028%22%20stroke-width%3D%226%22%2F%3E%0A%3Crect%20x%3D%2224%22%20y%3D%2287%22%20width%3D%2240%22%20height%3D%2242%22%20fill%3D%22%235a887c%22%20stroke%3D%22%236d4028%22%20stroke-width%3D%226%22%2F%3E%0A%3Cpath%20d%3D%22M-23%2087V129M44%2087V129%22%20stroke%3D%22%23eedcb6%22%20stroke-width%3D%224%22%2F%3E%0A%3Crect%20x%3D%22-6%22%20y%3D%22126%22%20width%3D%2234%22%20height%3D%2236%22%20fill%3D%22%23765037%22%2F%3E%0A%3Cpath%20d%3D%22M-94%20163H95%22%20stroke%3D%22%23654a31%22%20stroke-width%3D%228%22%2F%3E%0A%3C%2Fg%3E%0A%3C%21--%20Alpine%20meadow%20wildflowers%20and%20grass%20lines%20--%3E%0A%3Cg%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%22.34%22%20stroke%3D%22%23d3ed9e%22%20stroke-width%3D%223%22%3E%0A%3Cpath%20d%3D%22M18%20925q40%20-20%2069%200M150%20997q65%20-31%20126%20-12M396%20831q50%20-14%20104%200M511%201120q64%20-15%20124%200M51%201213q68%20-29%20142%20-20M368%201375q82%20-31%20164%20-18%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%20fill%3D%22%23ffecb9%22%20opacity%3D%22.85%22%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%22830%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%22196%22%20cy%3D%221120%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22540%22%20cy%3D%221210%22%20r%3D%227%22%2F%3E%3Ccircle%20cx%3D%22434%22%20cy%3D%22995%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%22637%22%20cy%3D%22742%22%20r%3D%225%22%2F%3E%3C%2Fg%3E%0A%3Cg%20fill%3D%22%23f8f7ee%22%20opacity%3D%22.7%22%3E%3Ccircle%20cx%3D%22105%22%20cy%3D%22790%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22366%22%20cy%3D%221141%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22595%22%20cy%3D%22969%22%20r%3D%224%22%2F%3E%3Ccircle%20cx%3D%22240%22%20cy%3D%221284%22%20r%3D%226%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E")!important;background-position:center,center!important;background-size:cover,cover!important;background-repeat:no-repeat!important}

/* v12: financial analysis dashboard and category-colored expense shadows */
.finance-analysis-launch{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;padding:11px 14px;margin:0 0 18px;border:1px solid #a6dcd6d6;border-radius:14px;background:linear-gradient(115deg,#e7fbf5f0,#eaf2ffdc);color:#138c84;font-size:12px;font-weight:820;letter-spacing:.02em;box-shadow:inset 0 1px white,0 6px 15px #3a899c15;transition:transform .18s,box-shadow .18s;cursor:pointer}
.finance-analysis-launch:hover{transform:translateY(-2px);box-shadow:0 9px 22px #3a899c25}
.finance-analysis-launch:focus-visible{outline:3px solid #5598e8;outline-offset:3px}
.finance-analysis-launch-symbol{font-size:18px;font-weight:500}.finance-analysis-launch-arrow{opacity:.75;font-size:15px}
.finance-analysis-overlay:not([hidden]){position:fixed;inset:0;z-index:45;display:flex;align-items:center;justify-content:center;padding:20px;background:#1a2d4a9c;backdrop-filter:blur(11px) saturate(.82);-webkit-backdrop-filter:blur(11px) saturate(.82);animation:wallet-fade .18s ease-out}
.fa-modal{--fa-ink:#293955;--fa-muted:#8191a9;--fa-border:#ffffffdb;--fa-panel:#ffffffb8;color:var(--fa-ink);width:min(1170px,100%);max-height:min(93dvh,1020px);display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #fff;border-radius:29px;background:linear-gradient(145deg,#fafdfff9 0%,#ebf1fdf9 65%,#f8fcfff9 100%);box-shadow:0 35px 112px #0916317c,inset 0 1px white;animation:wallet-rise .23s ease-out}
.fa-head{padding:22px 27px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #dfe9f4;flex:none}
.fa-head-start{min-width:0}.fa-eyebrow,.fa-overline{display:block;font-size:10px;letter-spacing:.14em;color:#7c91b3;font-weight:850}.fa-head h2{font-size:30px;letter-spacing:-1.1px;margin:6px 0;color:var(--fa-ink)}.fa-head p{font-size:12px;color:var(--fa-muted);line-height:1.6}
.fa-close{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid #fff;border-radius:14px;background:#ffffffc9;box-shadow:0 6px 14px #8695b41e;font-size:26px;color:#637597;cursor:pointer}
.fa-content{padding:18px 25px 26px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.fa-section{padding:21px;border:1px solid var(--fa-border);background:var(--fa-panel);border-radius:21px;box-shadow:inset 0 1px white,0 8px 26px #7591b31b;margin-bottom:17px;min-width:0}
.fa-section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:17px}.fa-section-top>div:first-child{min-width:0}.fa-section-top h3{font-size:21px;letter-spacing:-.6px;color:var(--fa-ink);margin:6px 0 5px}.fa-section-top p{color:var(--fa-muted);font-size:11px;line-height:1.6;max-width:700px}
.fa-total{padding:12px 17px;text-align:right;border:1px solid #fff;border-radius:14px;background:#e4f8f1;flex:none;min-width:135px}.fa-total small{display:block;font-size:9px;font-weight:820;letter-spacing:.1em;color:#5f9d88}.fa-total strong{display:block;color:#16957e;margin-top:4px;font-size:22px;font-weight:850;letter-spacing:-.7px}
.fa-income-distribution{display:flex;height:18px;border-radius:18px;overflow:hidden;background:#e4ecf6;gap:2px;box-shadow:inset 0 2px 3px #7387aa21;margin-bottom:15px}.fa-income-distribution span{display:block;min-width:0;box-shadow:inset 0 1px 1px #ffffff83}
.fa-income-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fa-income-item{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #ffffffc4;background:#f8fbffba;border-radius:14px;min-width:0}.fa-category-dot{flex:none;width:33px;height:33px;border-radius:11px;background:color-mix(in srgb,var(--category-color) 15%,white);color:var(--category-color);font-size:16px;font-weight:820;display:grid;place-items:center}.fa-income-title{flex:1;min-width:0}.fa-income-title b{display:block;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.fa-income-title small{display:block;color:var(--fa-muted);font-size:10px;margin-top:3px}.fa-income-item>strong{font-size:12px;white-space:nowrap;letter-spacing:-.2px}.fa-empty{padding:26px 12px;color:var(--fa-muted);text-align:center;font-size:12px;background:#fff9;border:1px dashed #ccd7e8;border-radius:14px}
.fa-expense-top{align-items:center}.fa-period{display:flex;align-items:center;gap:4px;flex:none;padding:4px;border:1px solid #ffffffdc;border-radius:13px;background:#e8eef8}.fa-period button{min-width:41px;padding:9px 10px;border-radius:9px;font-size:11px;color:#8291a8;font-weight:770;cursor:pointer}.fa-period button.active{background:#fff;box-shadow:0 4px 12px #506d9e22;color:#5176c4}.fa-period button:focus-visible{outline:2px solid #6e9cdb}
.fa-expense-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);align-items:stretch;gap:14px}.fa-chart-card{min-width:0;padding:16px 16px 13px;border:1px solid #fff;background:linear-gradient(155deg,#ffffffeb,#f1f6fce6);border-radius:18px;box-shadow:inset 0 1px #fff,0 5px 17px #7891ad16}.fa-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}.fa-card-heading span{font-size:10px;color:#8495af;font-weight:840;letter-spacing:.08em}.fa-card-heading h4{font-size:23px;color:#2c3e61;letter-spacing:-.8px;margin-top:5px}.fa-card-heading>small{font-size:10px;color:#8e9fb5;white-space:nowrap;text-align:right;padding-top:3px}
.fa-svg-stage{position:relative;min-height:0;aspect-ratio:710/318;border-radius:12px;background:linear-gradient(180deg,#fbfdff,#edf4fce8);border:1px solid #dfe9f4;overflow:hidden}.fa-svg-chart,.fa-svg-chart svg{width:100%;height:100%;display:block}.fa-svg-chart svg{outline:none;cursor:crosshair}.fa-svg-chart svg:focus-visible{outline:2px solid #76a5e2;outline-offset:-2px}
.fa-shadow-piece{transition:fill-opacity .17s}.fa-shadow-piece:hover{fill-opacity:.85}
.fa-tooltip{position:absolute;pointer-events:none;z-index:5;min-width:174px;max-width:250px;padding:11px 12px;border-radius:12px;background:#233752ee;color:#fff;border:1px solid #ffffff33;box-shadow:0 12px 24px #1a2e4b38;font-size:10px;line-height:1.55;display:flex;flex-direction:column;gap:4px}.fa-tooltip[hidden]{display:none}.fa-tooltip strong{font-size:12px}.fa-tooltip span{color:#d9e7fd}.fa-tooltip b{color:#fff}.fa-tooltip>div{color:#e3eafe;display:flex;align-items:center;gap:7px}.fa-tooltip i{display:inline-block;flex:none;width:8px;height:8px;border-radius:3px}
.fa-chart-foot{color:#91a0b4;font-size:10px;line-height:1.5;margin-top:8px}
.fa-pie-card{display:flex;flex-direction:column}.fa-pie-stage{display:grid;place-items:center;min-height:190px;max-height:245px;margin:0 auto;width:min(240px,100%);aspect-ratio:1}.fa-pie-stage svg{display:block;width:100%;height:100%;overflow:visible}.fa-pie-sector{transform-origin:120px 120px;transition:transform .15s,filter .15s;outline:none}.fa-pie-sector:hover,.fa-pie-sector:focus{filter:brightness(1.1);transform:scale(1.035)}.fa-pie-sector path,.fa-pie-sector circle{stroke:#fff;stroke-width:2.8}
.fa-pie-empty{border:2px dashed #dbe3ef;border-radius:100%;height:170px;width:170px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:#9aabc4}.fa-pie-empty span{font-size:44px;line-height:1}.fa-pie-empty strong{font-size:12px}.fa-pie-empty small{font-size:10px}
.fa-pie-legend{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-height:175px;overflow:auto;padding-right:4px}.fa-pie-legend-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#657692}.fa-pie-legend-row i{display:inline-block;width:10px;height:10px;border-radius:3px;flex:none}.fa-pie-legend-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fa-pie-legend-row strong{color:#334969}
.fa-compare-caption{display:grid;place-items:center;flex:none;min-width:68px;min-height:38px;border-radius:12px;background:#e4ebf9;color:#5879b8;font-weight:850;letter-spacing:.12em;font-size:12px}
.fa-month-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.fa-compare-key{display:flex;align-items:center;gap:8px;font-size:11px}.fa-compare-key i{width:24px;flex:none;height:0;border-top:3px solid #5c96e8;border-radius:3px}.fa-compare-key.previous i{border-top:3px dashed #e2a36e}.fa-compare-key span{color:#73849d}.fa-compare-key strong{color:#354660;white-space:nowrap}.fa-compare-diff{margin-left:auto;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:10px;background:#e9f5f2}.fa-compare-diff small{font-size:10px;color:#7f9d99}.fa-compare-diff strong{font-size:13px;color:#168b7c}.fa-compare-diff.negative{background:#fff0f0}.fa-compare-diff.negative strong{color:#c46d72}.fa-month-stage{aspect-ratio:1040/300;min-height:195px}
/* Themed finance analysis surfaces: readable across all existing styles. */
body[data-theme="theme2"] .finance-analysis-launch{background:#191919;color:#fff;border-color:#3a3a3a}
body[data-theme="theme3"] .finance-analysis-launch,body[data-theme="theme6"] .finance-analysis-launch{background:linear-gradient(125deg,#d5ff18,#fa55e6);color:#170c32;border:2px solid #222}
body[data-theme="theme7"] .finance-analysis-launch{background:#061b19;color:#70ffe6;border:1px solid #50eac2;border-radius:2px;box-shadow:inset 0 0 0 2px #112a27;font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:.13em}
body[data-theme="theme8"] .finance-analysis-launch{background:#ba8745;color:#3a2513;border:4px ridge #694421;border-radius:10px 22px 5px 17px;font-family:Georgia,serif}
body[data-theme="theme7"] .finance-analysis-overlay:not([hidden]){background:#050b10d9;backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-theme="theme7"] .fa-modal{--fa-ink:#d6f5f7;--fa-muted:#88b1b9;--fa-border:#2f7b82;--fa-panel:#112830;background:#0c1c26;color:var(--fa-ink);border-radius:3px;border:2px solid #3e9fa8;box-shadow:0 0 0 5px #06121b,0 0 32px #00d6c634}
body[data-theme="theme7"] .fa-head{border-color:#23515b}body[data-theme="theme7"] .fa-head h2,body[data-theme="theme7"] .fa-section-top h3{color:#ddfaf8}
body[data-theme="theme7"] .fa-chart-card,body[data-theme="theme7"] .fa-income-item{background:#172d38;border:1px solid #296878;border-radius:3px}
body[data-theme="theme7"] .fa-svg-stage,body[data-theme="theme7"] .fa-period,body[data-theme="theme7"] .fa-total{background:#0d202b;border:1px solid #285d6a;border-radius:2px}
body[data-theme="theme7"] .fa-card-heading h4,body[data-theme="theme7"] .fa-income-item>strong,body[data-theme="theme7"] .fa-income-title b,body[data-theme="theme7"] .fa-pie-legend-row strong,body[data-theme="theme7"] .fa-compare-key strong{color:#e5fffa}
body[data-theme="theme7"] .fa-period button.active{background:#38b9b3;color:#061a21;border-radius:2px}
body[data-theme="theme7"] .fa-close{background:#16313d;color:#dff;border-radius:2px;border-color:#478c94}
body[data-theme="theme8"] .finance-analysis-overlay:not([hidden]){background:#211406ca;backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-theme="theme8"] .fa-modal{--fa-ink:#3d2815;--fa-muted:#786042;--fa-border:#8d683b;--fa-panel:#e9ce99;color:#3b2716;background:repeating-linear-gradient(92deg,#e6cb95 0 22px,#e0c48d 22px 24px,#e9d19f 24px 43px);border:7px ridge #835523;border-radius:12px 26px 6px 20px;box-shadow:0 22px 82px #130a03a8;font-family:Georgia,serif}
body[data-theme="theme8"] .fa-head{border-bottom-color:#9c784d}body[data-theme="theme8"] .fa-head h2,body[data-theme="theme8"] .fa-section-top h3{color:#3b2714}
body[data-theme="theme8"] .fa-chart-card,body[data-theme="theme8"] .fa-income-item{background:#f2dfb3;border:2px solid #b3905c;border-radius:10px 14px 5px 16px}
body[data-theme="theme8"] .fa-svg-stage,body[data-theme="theme8"] .fa-period,body[data-theme="theme8"] .fa-total{background:#ecd6a7;border:1px solid #bd9e69}body[data-theme="theme8"] .fa-card-heading h4,body[data-theme="theme8"] .fa-income-item>strong,body[data-theme="theme8"] .fa-income-title b,body[data-theme="theme8"] .fa-pie-legend-row strong,body[data-theme="theme8"] .fa-compare-key strong{color:#50351d}
body[data-theme="theme8"] .fa-close{color:#4b2e14;background:#e6c28d;border-color:#80552d}
@media(max-width:900px){.fa-modal{max-height:96dvh}.fa-content{padding:13px}.fa-head{padding:16px 18px 13px}.fa-section{padding:15px}.fa-expense-grid{grid-template-columns:1fr}.fa-pie-card{display:grid;grid-template-columns:auto 1fr;column-gap:16px}.fa-pie-card .fa-card-heading{grid-column:1/-1}.fa-pie-stage{width:180px;min-height:180px}.fa-pie-legend{max-height:200px;margin-top:0;align-self:center}}
@media(max-width:600px){.finance-analysis-overlay:not([hidden]){padding:6px}.fa-modal{width:100%;max-height:98dvh;border-radius:20px}.fa-content{padding:9px}.fa-head h2{font-size:23px}.fa-head p{font-size:10px}.fa-section{padding:13px;border-radius:16px;margin-bottom:9px}.fa-section-top{flex-direction:column;gap:9px}.fa-section-top h3{font-size:18px}.fa-expense-top{align-items:stretch}.fa-total{align-self:flex-start}.fa-income-rows{grid-template-columns:1fr}.fa-period{align-self:flex-start}.fa-period button{padding:8px 7px;min-width:37px}.fa-chart-card{padding:10px 9px}.fa-svg-stage{aspect-ratio:710/370;min-height:175px}.fa-month-stage{aspect-ratio:1040/390;min-height:150px}.fa-pie-card{display:flex}.fa-month-summary{gap:7px}.fa-compare-key{font-size:10px}.fa-compare-diff{margin-left:0}.fa-card-heading h4{font-size:18px}.fa-card-heading>small{font-size:9px}.fa-pie-stage{width:175px}.fa-pie-legend{width:100%;margin-top:9px}}
@media(prefers-reduced-motion:reduce){.finance-analysis-overlay,.fa-modal,.fa-shadow-piece{animation:none!important;transition:none!important}}

/* v13: text wrapping in calendar events */
.cal-month-event,.cal-time-event{align-items:flex-start;justify-content:flex-start}
.cal-month-event span{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-overflow:clip;line-height:1.17;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;max-height:100%}
.cal-time-event strong{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-overflow:clip;-webkit-line-clamp:5;line-clamp:5}
.cal-time-event small{white-space:normal;overflow-wrap:anywhere}
/* Align all three dashboard columns to the reliable Cyrillic font of the task column. */
body .dashboard :is(.task-panel,.finance-panel,.insights-panel),
body .dashboard :is(.task-panel,.finance-panel,.insights-panel) *{font-family:Arial,"Helvetica Neue","Noto Sans",sans-serif!important;font-variant-ligatures:none}

/* v13: manually managed FX quotes, separate mark-to-market estimate and realized FX ledger */
.fx-rate-card{position:relative;margin-top:12px;padding:16px;border:1px solid #ffffffc9;border-radius:19px;background:linear-gradient(145deg,#fffffff0,#e9f3ffdd);box-shadow:0 8px 22px #738cb01d;color:#3c5271}
.fx-rate-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.fx-rate-eyebrow{font-size:9px;font-weight:800;letter-spacing:.13em;color:#7793b6}
.fx-rate-heading h3{font-size:17px;margin-top:3px;color:#304864;font-weight:800}
.fx-rate-symbol{font-size:24px;color:#5f86c5}
.fx-rate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fx-rate-fields label{min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 9px;border:1px solid #d3e0f3;border-radius:12px;background:#fff;color:#557291;font-size:12px;font-weight:780;white-space:nowrap}
.fx-rate-input{min-width:0;width:100%;max-width:95px;padding:6px 5px;background:#f3f7fe;border:1px solid #dce7f4;border-radius:7px;font-size:14px;font-weight:780;color:#264e75;outline-offset:2px;appearance:textfield}
.fx-rate-input::-webkit-outer-spin-button,.fx-rate-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.fx-rate-total{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0 5px;font-size:11px;color:#597396}
.fx-rate-total strong{font-size:11px;text-align:right;color:#234e70}
.fx-rate-help{font-size:10px;line-height:1.5;color:#6c83a1;margin:8px 0 11px}
.fx-ledger-title{font-size:9px;font-weight:820;color:#6f84a3;letter-spacing:.11em;border-top:1px solid #dce7f3;padding-top:12px;margin-bottom:8px}
.fx-ledger{display:flex;flex-direction:column;gap:6px}
.fx-ledger-entry{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px;border:1px solid #e0eafa;background:#ffffffd8;border-radius:10px;color:#526684;text-align:left;font-size:10px}
.fx-ledger-entry strong{font-size:11px;white-space:nowrap}
.fx-ledger-entry.positive strong{color:#138d74}.fx-ledger-entry.negative strong{color:#bc4b66}
.fx-empty{font-size:10px;color:#8797af;line-height:1.45}
.fx-transaction-row{border-left:3px solid #9db9c9}
@media(max-width:480px){.fx-rate-card{padding:12px}.fx-rate-fields{gap:6px}.fx-rate-fields label{padding:6px 4px;font-size:10px}.fx-rate-input{font-size:12px}.fx-rate-total{flex-wrap:wrap}}
/* Theme-aware FX card, so it remains readable in each of the eight modes. */
body[data-theme="theme2"] .fx-rate-card{background:#ffffff;color:#304158;border-color:#e2e6ed}
body[data-theme="theme3"] .fx-rate-card,body[data-theme="theme6"] .fx-rate-card{background:#170f36ed;color:#f5efff;border:2px solid #ed57ff;box-shadow:0 8px 24px #08001665}
body[data-theme="theme3"] .fx-rate-heading h3,body[data-theme="theme6"] .fx-rate-heading h3{color:#ffffff}
body[data-theme="theme3"] .fx-rate-total strong,body[data-theme="theme6"] .fx-rate-total strong{color:#f4edff}
body[data-theme="theme4"] .fx-rate-card,body[data-theme="theme5"] .fx-rate-card{background:#ffffffec;border-color:#fff}
body[data-theme="theme7"] .fx-rate-card{background:#0c212a;color:#bcffdd;border:2px solid #4caf96;border-radius:4px;box-shadow:inset 0 0 0 2px #113a3d,0 6px 22px #0009}
body[data-theme="theme7"] .fx-rate-heading h3,body[data-theme="theme7"] .fx-rate-total strong{color:#a1ffd7}
body[data-theme="theme7"] .fx-rate-fields label,body[data-theme="theme7"] .fx-ledger-entry{background:#122e35;border:1px solid #3b796b;color:#b8ffdb;border-radius:2px}
body[data-theme="theme7"] .fx-rate-input{background:#04171f;color:#a5e7ff;border:1px solid #38777d;border-radius:1px}
body[data-theme="theme7"] .fx-rate-help,body[data-theme="theme7"] .fx-rate-eyebrow,body[data-theme="theme7"] .fx-ledger-title{color:#8fc5b6}
body[data-theme="theme8"] .fx-rate-card{background:repeating-linear-gradient(95deg,#e3c68c 0 24px,#dbc087 24px 27px,#e9d49b 27px 48px);border:5px ridge #8a632d;border-radius:10px 20px 7px 14px;color:#4b321b}
body[data-theme="theme8"] .fx-rate-heading h3,body[data-theme="theme8"] .fx-rate-total strong{color:#4b321b}
body[data-theme="theme8"] .fx-rate-fields label,body[data-theme="theme8"] .fx-ledger-entry{background:#e6d19d;border:1px solid #9b783e;border-radius:2px 9px;color:#674321}
body[data-theme="theme8"] .fx-rate-input{background:#f4e5b6;border:1px solid #9e773c;color:#3e2812;border-radius:2px 7px}

/* v14 finance / contacts / geography */
.finance-panel>.finance-analysis-launch{margin:-7px 0 17px;min-height:42px}
.insight-shortcuts{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin:-7px 0 17px}
.insight-open-btn{display:flex;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 10px;border:1px solid #c4ddfb;border-radius:13px;color:#4673ad;background:linear-gradient(130deg,#e9effff0,#fff9);font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
.insight-open-btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.insight-open-btn.geo-short{font-size:10px;padding:8px 10px}
.contacts-overlay:not([hidden]),.geography-overlay:not([hidden]){position:fixed;inset:0;z-index:47;display:flex;align-items:center;justify-content:center;padding:16px;background:#152a46a6;-webkit-backdrop-filter:blur(11px);backdrop-filter:blur(11px)}
.contacts-modal,.geo-modal{display:flex;flex-direction:column;width:min(1090px,100%);max-height:94dvh;min-height:0;overflow:hidden;color:#2d3e5c;border:1px solid #fffd;border-radius:25px;background:linear-gradient(140deg,#fafdfff9,#e6f0fbfb);box-shadow:0 32px 100px #0a1a39a6}
.contacts-head,.geo-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 15px;border-bottom:1px solid #cedbea;flex:none}
.contacts-head small,.geo-head small{font-size:10px;color:#8192ac;font-weight:820;letter-spacing:.1em}
.contacts-head h2,.geo-head h2{font-size:26px;line-height:1.2;margin:4px 0 6px}
.contacts-head p,.geo-head p{font-size:11px;color:#8799b1;line-height:1.5}
.contacts-layout{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);overflow:hidden;min-height:0;flex:1}
.contacts-list-pane{border-right:1px solid #d8e2f2;background:#e9f0fba8;overflow-y:auto;padding:16px 12px}
.contacts-list-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 4px 15px;font-size:12px}
.contact-new-btn,.contact-primary,.contact-loan-actions button,.contact-loan-record button:not(.contact-loan-delete){font-size:11px;padding:9px 12px;border-radius:11px;color:#fff;background:#5d85d1;font-weight:730;cursor:pointer}
.contacts-list{display:flex;flex-direction:column;gap:8px}
.contacts-list-item{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:left;padding:10px;border:1px solid #ffffffcc;border-radius:15px;background:#fff9;cursor:pointer;color:#354c70}
.contacts-list-item.active{background:#e4ecff;border-color:#95b2e8}
.contacts-list-avatar{width:46px;height:46px;flex:none;border:1px solid #dce4f3;border-radius:12px;background:#f3f6ff;display:grid;place-items:center;color:#9aacc7;font-size:20px;overflow:hidden}
.contacts-list-avatar img,.contact-photo-box img{width:100%;height:100%;object-fit:cover}
.contacts-list-text{min-width:0;display:flex;flex-direction:column;gap:4px}
.contacts-list-text strong{font-size:12px;overflow-wrap:anywhere}
.contacts-list-text small{font-size:10px;color:#8b9bb4}
.contacts-list-text>span{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.contact-debt{display:inline-block;font-size:10px;font-weight:790;line-height:1.45;padding:3px 7px;border-radius:8px;white-space:normal}
.contact-debt.owed-to-me{background:#daf8e9;color:#11875c}
.contact-debt.owed-by-me{background:#ffe4e3;color:#c03d47}
.contact-settled{color:#8899aa;font-size:10px}
.contacts-empty{padding:22px 9px;font-size:11px;color:#8092ae;text-align:center}
.contacts-editor{min-width:0;overflow-y:auto;padding:20px 22px 25px}
.contacts-editor-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}
.contacts-editor-top h3,.contact-loans-head h3{font-size:18px;color:#304668}
.contact-remove,.contact-photo-remove,.contact-loan-delete{font-size:10px;color:#b56a6b;cursor:pointer}
.contact-form{display:flex;flex-direction:column;gap:13px}
.contact-details-row{display:grid;grid-template-columns:166px minmax(0,1fr);gap:17px}
.contact-photo-wrap{display:flex;flex-direction:column;align-items:center;gap:8px}
.contact-photo-box{width:164px;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;gap:7px;cursor:pointer;color:#7f94b0;background:#f5f8fd;border:1px solid #a9bad0;border-radius:8px}
.contact-photo-symbol{font-size:37px}.contact-photo-box small{font-size:11px}
.contact-data-fields{display:grid;grid-template-columns:1fr;gap:9px}
.contact-data-fields label,.contact-notes-field,.geo-side>label{display:flex;flex-direction:column;gap:5px;color:#8191a7;font-size:10px;font-weight:720}
.contact-form input:not([type=file]),.contact-form textarea,.geo-side select,.geo-side input[type=text]{width:100%;min-width:0;padding:10px 12px;background:#fff;border:1px solid #d6e0ee;border-radius:10px;outline:none;font-size:13px;color:#2d466b;font-family:Arial,sans-serif}
.contact-form input:focus,.contact-form textarea:focus,.geo-side select:focus{border-color:#7b9de3}
.contact-notes-field textarea{resize:vertical;min-height:76px}
.contact-form-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}
.contact-form-foot small{font-size:10px;max-width:320px;line-height:1.5;color:#8294aa}
.contact-loan-panel{border-top:1px solid #d7e1ee;margin-top:19px;padding-top:19px}
.contact-loans-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.contact-loan-actions{display:flex;gap:6px;flex-wrap:wrap}.contact-loan-actions button:last-child{background:#ac6677}
.contact-debts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.contact-loans-list{display:flex;flex-direction:column;gap:6px}
.contact-loan-record{display:flex;align-items:center;gap:8px;padding:10px;background:#fff9;border:1px solid #fff;border-radius:10px}
.contact-loan-record>span{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.contact-loan-record b{font-size:11px}.contact-loan-record small{font-size:10px;color:#8b9aaf}
.contact-loan-record>strong{white-space:nowrap;font-size:12px}.contact-loan-record>strong.positive{color:#129a6c}.contact-loan-record>strong.negative{color:#bf6264}
.contact-loan-hint{display:block;color:#8295aa;font-size:10px;line-height:1.6;margin-top:12px}
.geo-modal{width:min(1280px,100%)}
.geo-body{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:0;min-height:0;overflow:hidden;flex:1}
.geo-main{min-width:0;overflow-y:auto;padding:14px 16px 17px}
.geo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;color:#758aab;font-size:11px}
.geo-toolbar>div{display:flex;gap:7px;align-items:center}
.geo-toolbar button{min-width:29px;height:28px;padding:4px 8px;cursor:pointer;border-radius:8px;background:#e5eef9;border:1px solid #d6e2f2;color:#52739c}
.geo-map-stage{background:#d9eaf7;border:1px solid #aac1de;border-radius:16px;overflow:hidden;aspect-ratio:1100/550}
.geo-map-stage svg{width:100%;height:100%;display:block}
.geo-country-group{outline:none;cursor:pointer}.geo-country-base{stroke:#817136;stroke-width:.6;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:filter .12s}
.geo-country-group:hover .geo-country-base,.geo-country-group:focus .geo-country-base{filter:brightness(1.14);stroke:#103255;stroke-width:2.2}
.geo-country-group.selected .geo-country-base{stroke:#053a5e;stroke-width:2.5;filter:brightness(1.06)}
.geo-overlay{pointer-events:none}
.geo-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin:13px 0 8px;font-size:10px;color:#617b9e}
.geo-legend span{display:flex;align-items:center;gap:4px}.geo-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.geo-source{font-size:9px;color:#879bb1}
.geo-side{padding:18px 16px;min-width:0;border-left:1px solid #d9e5f2;background:#f9fbffab;overflow-y:auto}
.geo-side h3{margin-bottom:15px;font-size:18px}
.geo-side select{width:100%;font-size:11px}
.geo-mark-editor{margin-top:20px;display:flex;flex-direction:column;gap:8px}.geo-mark-editor>strong,.geo-overlays strong{font-size:11px;color:#627eaa;margin-bottom:6px}
.geo-status-choice{display:flex;align-items:center;gap:9px;cursor:pointer;padding:9px 6px;border:1px solid #e1e9f3;border-radius:10px;background:#ffffffad;font-size:11px;line-height:1.35;color:#516c8e}
.geo-status-choice:has(input:checked){border-color:#80a8d7;background:#e9f2ff}
.geo-color-swatch{display:inline-block;flex:none;width:20px;height:20px;border-radius:5px;border:1px solid #ffffffae}
.geo-color-swatch.prison{background-image:repeating-linear-gradient(0deg,transparent 0 4px,#e6315b 4px 6px),repeating-linear-gradient(90deg,transparent 0 4px,#e6315b 4px 6px)!important}
.geo-color-swatch.danger{position:relative;overflow:hidden}
.geo-color-swatch.danger::after{content:"☠";position:absolute;inset:0;display:grid;place-items:center;color:#f5d6df;font-size:12px;line-height:1}
.geo-overlays{display:flex;flex-direction:column;gap:10px;margin-top:11px;padding-top:14px;border-top:1px solid #d7e1ef}
.geo-overlays label{display:flex;align-items:center;gap:9px;font-size:11px;color:#506c8a;cursor:pointer}
.geo-check-style{font-weight:950;color:#07864d;font-size:16px}
.geo-instructions{margin:20px 0;font-size:11px;line-height:1.7;color:#8294af}
body[data-theme="theme2"] .insight-open-btn{background:#303030;border-color:#686868;color:white}
body[data-theme="theme7"] .insight-open-btn,body[data-theme="theme7"] .contacts-modal,body[data-theme="theme7"] .geo-modal{background:#0e2631;border:1px solid #4d8d9a;color:#defafa;border-radius:3px}
body[data-theme="theme7"] .contacts-list-pane,body[data-theme="theme7"] .geo-side{background:#14313d}body[data-theme="theme7"] .contacts-head h2,body[data-theme="theme7"] .geo-head h2,body[data-theme="theme7"] .contacts-editor h3{color:#8cebe8}
body[data-theme="theme8"] .insight-open-btn,body[data-theme="theme8"] .contacts-modal,body[data-theme="theme8"] .geo-modal{background:#dfbd83;color:#422b16;border:4px ridge #8c6437;border-radius:9px 23px 7px 18px;font-family:Georgia,serif}
@media(max-width:900px){.contacts-layout{grid-template-columns:210px minmax(0,1fr)}.geo-body{grid-template-columns:minmax(0,1fr) 250px}.geo-main{padding:10px}}
@media(max-width:650px){.contacts-overlay:not([hidden]),.geography-overlay:not([hidden]){padding:5px}.contacts-modal,.geo-modal{max-height:98dvh;border-radius:18px}.contacts-head,.geo-head{padding:14px 12px}.contacts-head h2,.geo-head h2{font-size:20px}.contacts-head p,.geo-head p{font-size:10px}.contacts-layout{display:flex;flex-direction:column;overflow-y:auto}.contacts-list-pane{flex:none;max-height:160px;padding:9px;border-right:0;border-bottom:1px solid #d6e1ee}.contacts-list{flex-direction:row;overflow-x:auto}.contacts-list-item{flex:none;width:190px}.contacts-editor{overflow:visible;padding:12px}.contact-details-row{grid-template-columns:108px minmax(0,1fr);gap:10px}.contact-photo-box{width:105px}.contact-form-foot{flex-direction:column;align-items:flex-start}.geo-body{display:flex;flex-direction:column;overflow-y:auto}.geo-main{flex:none}.geo-side{border-left:0;border-top:1px solid #ced9e9;overflow:visible}.geo-map-stage{min-height:185px}.geo-mark-editor{margin-top:9px;display:grid;grid-template-columns:1fr 1fr}.geo-mark-editor>strong,.geo-overlays{grid-column:1/-1}.geo-status-choice{font-size:10px}.insight-shortcuts{gap:5px}.insight-open-btn{font-size:11px;padding:8px 5px}.insight-open-btn.geo-short{font-size:9px}}

/* v15: integrate exchange valuation inside the current-balance surface */
.finance-panel .balance-card{height:auto;min-height:285px;overflow:hidden;padding-bottom:17px}
.finance-panel .balance-card>.fx-rate-card{position:relative;z-index:2;margin:15px 0 0;padding:12px 13px;border:1px solid #ffffff83;border-radius:15px;background:#ffffff24;color:#fff;box-shadow:inset 0 1px #ffffff55;backdrop-filter:none;-webkit-backdrop-filter:none}
.finance-panel .balance-card>.fx-rate-card .fx-rate-heading{margin-bottom:8px}
.finance-panel .balance-card>.fx-rate-card .fx-rate-heading h3{color:#fff;font-size:14px}
.finance-panel .balance-card>.fx-rate-card .fx-rate-eyebrow{color:#e8fff9;font-size:8px}
.finance-panel .balance-card>.fx-rate-card .fx-rate-symbol{color:#e1fff9;font-size:19px}
.finance-panel .balance-card>.fx-rate-card .fx-rate-fields label{background:#ffffffd9;border:1px solid #fff;box-shadow:none;color:#255c61;padding:6px 5px}
.finance-panel .balance-card>.fx-rate-card .fx-rate-input{background:#ffffffed;color:#174852;border-color:#c4ded9}
.finance-panel .balance-card>.fx-rate-card .fx-rate-total{color:#e5fff9;margin:9px 0 5px;align-items:start}
.finance-panel .balance-card>.fx-rate-card .fx-rate-total strong{color:#fff;font-size:11px}
.finance-panel .balance-card>.fx-rate-card .fx-rate-help{color:#e2fff7;font-size:9px;margin:6px 0 9px}
.finance-panel .balance-card>.fx-rate-card .fx-ledger-title{color:#e3fff7;border-color:#ffffff56;padding-top:8px;margin-bottom:6px}
.finance-panel .balance-card>.fx-rate-card .fx-ledger{max-height:130px;overflow-y:auto;gap:5px}
.finance-panel .balance-card>.fx-rate-card .fx-ledger-entry{background:#ffffffdd;color:#3a5e65;border-color:#ffffffb0}
.finance-panel .balance-card>.fx-rate-card .fx-empty{color:#ecfff9}
.finance-panel .balance-card>.balance-graphic{pointer-events:none;z-index:0}
body[data-theme="theme2"] .finance-panel .balance-card>.fx-rate-card,
body[data-theme="theme3"] .finance-panel .balance-card>.fx-rate-card,
body[data-theme="theme4"] .finance-panel .balance-card>.fx-rate-card,
body[data-theme="theme5"] .finance-panel .balance-card>.fx-rate-card,
body[data-theme="theme6"] .finance-panel .balance-card>.fx-rate-card,
body[data-theme="theme7"] .finance-panel .balance-card>.fx-rate-card,
body[data-theme="theme8"] .finance-panel .balance-card>.fx-rate-card{background:#ffffff26;border:1px solid #ffffff70;color:#fff;box-shadow:inset 0 1px #ffffff50;border-radius:13px}
body[data-theme="theme7"] .finance-panel .balance-card>.fx-rate-card{border-radius:2px;background:#123e37;border:1px solid #59baa0}
body[data-theme="theme8"] .finance-panel .balance-card>.fx-rate-card{background:#54371844;border:2px solid #e2c58f}
/* Spending rises are adverse, spending reductions favorable. */
.fa-compare-diff.negative strong{color:#d44054!important}
.fa-compare-diff.positive strong{color:#129d75!important}
.fa-compare-diff.neutral strong{color:#64748b!important}
/* Expense category detail drilldown */
.fa-category-open-link{padding:3px 0;background:transparent;border:0;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;cursor:pointer;text-align:left}
.fa-category-open-link:hover{text-decoration:underline;text-underline-offset:3px}
.fa-category-open-link:focus-visible,.fa-pie-legend-action:focus-visible{outline:2px solid #6487df;outline-offset:3px}
.fa-pie-legend-action{width:100%;cursor:pointer;text-align:left;border:1px solid transparent;font:inherit}
.fa-pie-legend-action:hover{background:#e8f0ff80;border-color:#aecaf1}
.fa-pie-sector{cursor:pointer}
.expense-drilldown{display:flex;flex-direction:column;gap:12px;min-width:0}
.expense-drilldown-controls{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#60738f}
.expense-drilldown-controls label{font-size:11px;font-weight:800}
.expense-drilldown-controls small{font-size:10px;line-height:1.4}
.expense-drilldown-summary{display:flex;flex-direction:column;gap:5px;background:#ebf3ff;border:1px solid #d9e6fa;padding:13px;border-radius:13px;color:#647790}
.expense-drilldown-summary strong{font-size:19px;color:#354d74}
.expense-drilldown-summary small{font-size:10px}
.expense-drilldown-list{display:flex;flex-direction:column;gap:7px;max-height:43vh;overflow-y:auto;padding-right:2px}
.expense-drilldown-row{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;border:1px solid #dfe7f4;border-radius:12px;background:#ffffffda;color:#344f73;text-align:left;padding:10px;cursor:pointer;font-family:Arial,sans-serif}
.expense-drilldown-row:hover{background:#edf4ff}
.expense-drilldown-row>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}
.expense-drilldown-row strong{font-size:12px;overflow-wrap:anywhere}
.expense-drilldown-row small{font-size:10px;color:#7990ac;overflow-wrap:anywhere}
.expense-drilldown-row b{color:#cd5776;font-size:11px;white-space:nowrap}
.expense-drilldown-dot{width:8px;height:24px;border-radius:7px}
#modalBackdrop:has(.expense-drilldown) .modal{width:min(620px,100%);max-height:90dvh;overflow-y:auto}
/* Fully readable Cyrillic in contacts and geographical controls, including theme 8. */
.contacts-modal,.contacts-modal *, .geo-modal,.geo-modal *{font-family:Arial,"Helvetica Neue","Noto Sans",sans-serif!important;font-variant-ligatures:none!important}
.geo-blue-symbol,.geo-blue-legend{font-weight:950;color:#1268dc!important;font-size:17px;line-height:1}
.geo-travel-mark,.geo-property-mark{pointer-events:none}
@media(max-width:540px){.finance-panel .balance-card>.fx-rate-card{padding:9px}.expense-drilldown-row{grid-template-columns:7px minmax(0,1fr);}.expense-drilldown-row b{grid-column:2}}

/* v16 · Currency quotes live IN the balance surface, not in separate white cards. */
.finance-panel .balance-card>.fx-rate-card,
body[data-theme] .finance-panel .balance-card>.fx-rate-card{
  padding:0;margin:16px 0 0;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:inherit;
}
.finance-panel .balance-card .fx-rate-fields{
  display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;
}
.finance-panel .balance-card .fx-rate-fields .fx-rate-tile{
  box-sizing:border-box;flex:1 1 102px;min-width:100px;max-width:100%;
  display:flex;flex-direction:column;justify-content:center;gap:5px;
  padding:10px 11px;border-radius:14px;
  background:rgba(9,67,65,.17)!important;
  border:1px solid rgba(255,255,255,.35)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.12)!important;
  color:#fff!important;cursor:text;white-space:normal;
}
.finance-panel .balance-card .fx-rate-code{
  font-weight:840;letter-spacing:.09em;color:#eafff9;font-size:11px;
}
.finance-panel .balance-card .fx-rate-edit{
  display:flex;align-items:center;gap:4px;min-width:0;
  color:#eefff9;font-size:10px;font-weight:650;white-space:nowrap;
}
.finance-panel .balance-card .fx-rate-input{
  flex:1 1 20px;min-width:28px;width:100%;max-width:none;
  padding:2px 0;border:0!important;border-bottom:1px solid rgba(255,255,255,.48)!important;
  border-radius:0!important;background:transparent!important;color:#fff!important;
  font:800 14px/1.35 Arial, sans-serif;text-align:center;
  box-shadow:none!important;outline-offset:3px;
}
.finance-panel .balance-card .fx-rate-input:focus-visible{outline:2px solid #cafff4}
.finance-panel .balance-card .fx-rate-add{
  align-self:stretch;flex:0 0 42px;min-height:64px;
  border:1px dashed rgba(255,255,255,.52);
  border-radius:14px;background:rgba(9,67,65,.12);
  color:#fff;font-size:28px;font-weight:400;cursor:pointer;
  transition:background .16s, transform .16s;
}
.finance-panel .balance-card .fx-rate-add:hover{background:rgba(255,255,255,.2);transform:translateY(-1px)}
.finance-panel .balance-card .fx-rate-add:focus-visible{outline:2px solid #fff;outline-offset:2px}
.finance-panel .balance-card .fx-ledger-title{
  margin-top:13px;padding-top:11px;margin-bottom:7px;
  border-color:rgba(255,255,255,.38);color:rgba(255,255,255,.94);
}
.finance-panel .balance-card .fx-ledger-entry,
body[data-theme] .finance-panel .balance-card .fx-ledger-entry{
  background:rgba(9,67,65,.14)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  color:#fff!important;border-radius:10px;
}
.finance-panel .balance-card .fx-ledger-entry.positive strong{color:#d1fff5!important}
.finance-panel .balance-card .fx-ledger-entry.negative strong{color:#ffe2e9!important}
.finance-panel .balance-card .fx-empty{color:rgba(255,255,255,.87)!important}
body[data-theme="theme7"] .finance-panel .balance-card .fx-rate-tile,
body[data-theme="theme7"] .finance-panel .balance-card .fx-rate-add,
body[data-theme="theme7"] .finance-panel .balance-card .fx-ledger-entry{border-radius:2px!important}
body[data-theme="theme8"] .finance-panel .balance-card .fx-rate-tile,
body[data-theme="theme8"] .finance-panel .balance-card .fx-rate-add{border-radius:7px 14px 5px 12px!important}
@media(max-width:420px){.finance-panel .balance-card .fx-rate-fields .fx-rate-tile{flex-basis:calc(50% - 5px);min-width:90px}.finance-panel .balance-card .fx-rate-add{min-height:44px}}

/* CHRONA v17: financial planning suite. Keeps the active site's theme. */
.chrona-features-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 16px}
.chrona-features-shortcuts button{border:1px solid #fff9;border-radius:11px;padding:9px 3px;font:700 10px Arial,sans-serif;color:#326d79;background:#ffffff91;cursor:pointer;min-width:0;white-space:nowrap;box-shadow:0 3px 11px #4e849520}
.chrona-features-shortcuts button:hover{transform:translateY(-2px);background:#fff}
.chrona-feature-overlay:not([hidden]){position:fixed;inset:0;z-index:43;display:flex;align-items:center;justify-content:center;background:#1c2b46a6;backdrop-filter:blur(9px);padding:18px}
.chr-feature-modal{display:flex;flex-direction:column;gap:12px;max-height:93dvh;overflow:hidden;min-height:0;width:min(1090px,100%);padding:23px 26px 16px;border:1px solid #fff;border-radius:26px;background:linear-gradient(155deg,#f9fbff,#e9f1fa);color:#2a3b56;box-shadow:0 27px 100px #1c3156a6;font-family:Arial,'Helvetica Neue',sans-serif}
.chr-feature-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.chr-feature-head h2{font-size:27px;letter-spacing:-.7px;margin:7px 0 0;color:#233852}
.chr-feature-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.chr-feature-tabs button{padding:11px 6px;border:1px solid #dfe8f5;border-radius:12px;background:#ffffffa8;color:#647998;font-size:12px;font-family:inherit;font-weight:700;cursor:pointer}
.chr-feature-tabs button.selected{background:#557bd6;color:white;border-color:#557bd6;box-shadow:0 6px 15px #698dd440}
.chr-feature-body{overflow:auto;min-height:0;padding:2px 3px 17px;display:flex;flex-direction:column;gap:15px;overscroll-behavior:contain}
.chr-feature-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.chr-feature-toolbar>b,.chr-feature-toolbar>div>b{font-size:16px}.chr-feature-toolbar p{margin:5px 0 0}
.chr-help{font-size:11px;color:#788ca7;line-height:1.65}
.chr-feature-toolbar button.primary-btn{flex-shrink:0;padding:11px 14px}
.chr-periods{display:flex;gap:6px}.chr-periods button,.chr-row-edit,.chr-feature-title-row button{background:#f4f8ff;border:1px solid #cfdef1;border-radius:10px;color:#5478ab;font:700 11px Arial,sans-serif;cursor:pointer;padding:9px 11px}
.chr-periods button.active{background:#557bd6;border-color:#557bd6;color:#fff}
.chr-feature-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.chr-feature-summary>div{border-radius:16px;padding:15px;background:#ffffffb7;border:1px solid white;min-width:0}
.chr-feature-summary small{display:block;color:#7f91aa;font-size:10px;line-height:1.4;letter-spacing:.035em;font-weight:750}
.chr-feature-summary strong{display:block;font-size:clamp(17px,2.1vw,26px);font-weight:800;margin-top:7px;overflow-wrap:anywhere;color:#3d66b5}
.chr-feature-summary .good strong{color:#259a81}.chr-feature-summary .bad strong{color:#d97575}
.chr-forecast-chart{position:relative;min-height:286px;padding:11px;background:linear-gradient(180deg,#ffffffbd,#f2f8ffae);border:1px solid #fff;border-radius:18px}
#chrForecastSVG,#chrForecastSVG svg{display:block;width:100%;height:280px}
.chr-forecast-tip{pointer-events:none;position:absolute;z-index:2;top:15px;min-width:170px;display:flex;flex-direction:column;gap:5px;border-radius:12px;border:1px solid #fff;background:#fffffff0;padding:9px 11px;box-shadow:0 11px 28px #314c7430;font-size:11px;color:#435675}
.chr-forecast-tip[hidden]{display:none}
.chr-feature-legend{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;color:#7286a0;font-size:12px}
.chr-feature-legend span{display:flex;align-items:center;gap:7px}.chr-feature-legend i{width:20px;height:3px;border-radius:8px}
.chr-feature-card{padding:17px;border:1px solid #fff;border-radius:16px;background:#ffffffae;box-shadow:0 7px 18px #4c75a411;color:#2f4764}
.chr-feature-card h3{margin:0 0 10px;font-size:16px;line-height:1.35}.chr-feature-card p{font-size:12px;color:#647a98;line-height:1.6;margin:6px 0}
.chr-feature-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chr-feature-grid-two p b{color:#3d5673}
.chr-repeat-list{display:flex;flex-direction:column;gap:8px}
.chr-repeat-row{display:flex;align-items:center;gap:11px;padding:13px}.chr-repeat-row>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.chr-repeat-row>div>b{font-size:14px;overflow-wrap:anywhere}.chr-repeat-row small{font-size:11px;color:#7990a7}.chr-repeat-symbol{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#d5e7ff;color:#477ec0;font-weight:900;font-size:19px;flex-shrink:0}.chr-repeat-row>strong{font-size:14px;white-space:nowrap}
.chr-planned-list{display:flex;flex-direction:column;gap:7px;max-height:250px;overflow-y:auto}.chr-planned-list>div{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #d8e4f3;padding:8px 0}.chr-planned-list span{display:flex;flex-direction:column;gap:3px}.chr-planned-list small{color:#7d8da4}.chr-planned-list button{border:0;border-radius:8px;background:#cfebdf;color:#236e55;padding:8px 13px;font-weight:700;cursor:pointer}
.chr-inline-checkbox{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;color:#455c7a;margin:8px 0}.chr-inline-checkbox input{width:17px;height:17px}
.chr-goals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.chr-goal-card{display:flex;flex-direction:column;gap:10px;min-width:0}.chr-feature-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.chr-feature-title-row h3{margin:0;overflow-wrap:anywhere}.chr-goal-number{font-size:22px;color:var(--goal-color,#5688e4)}.chr-goal-number small{font-size:12px;color:#8596aa}
.chr-goal-progress{height:11px;border-radius:20px;background:#d7e3f0;overflow:hidden}.chr-goal-progress span{display:block;height:100%;border-radius:20px;background:var(--goal-color,#5688e4)}.chr-goal-metrics{display:flex;justify-content:space-between;font-size:11px;color:#7c8ea6}.chr-goal-monthly{font-size:12px;color:#536e89}.chr-goal-monthly strong{color:#286b7b}
.chr-networth-breakdown{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.chr-networth-breakdown>div{display:flex;flex-direction:column;gap:6px;border:1px solid #fff;border-radius:13px;background:#ffffffa8;padding:12px 9px;font-size:11px;color:#8190a5;min-width:0}.chr-networth-breakdown strong{font-size:14px;color:#2d5f85;overflow-wrap:anywhere}
.chr-contact-links{margin-top:16px;padding:13px;border-radius:15px;border:1px solid #d2e1f1;background:#ffffffa4}.chr-contact-links h3{font-size:15px;color:#3e5976}.chr-contact-links .chr-feature-title-row>div{display:flex;gap:6px}.chr-contact-linked-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:11px}.chr-contact-linked-grid>div{display:flex;flex-direction:column;gap:5px}.chr-contact-linked-grid>div>b{font-size:12px;color:#5b7090}.chr-contact-linked-grid button{border:1px solid #e1eaf4;background:#fff;border-radius:9px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;color:#4a627e;cursor:pointer}.chr-contact-linked-grid button span{font-size:11px;font-weight:700}.chr-contact-linked-grid button small{color:#8195aa;white-space:nowrap}.chr-contact-linked-grid p{color:#8b9baf;font-size:11px}
.cal-time-event{touch-action:none}.cal-month-event{touch-action:none}.cal-event-resize{position:absolute;bottom:0;left:0;right:0;height:9px;background:repeating-linear-gradient(90deg,transparent 0 35%,#fff9 35% 65%,transparent 65% 100%) center center/30px 2px no-repeat;cursor:ns-resize;border-bottom:2px solid #ffffffa6}.chr-dragging{z-index:99!important;opacity:.74;box-shadow:0 8px 18px #162a5480!important;cursor:grabbing!important}
body[data-theme="theme7"] .chrona-features-shortcuts button{background:#103c3c;border-color:#1b857c;color:#80ecca;border-radius:2px}
body[data-theme="theme8"] .chrona-features-shortcuts button{background:#dbc49a;border-color:#96744b;color:#654224;font-family:Arial,sans-serif}
body[data-theme="theme7"] .chr-feature-modal{border-radius:8px;background:#0c2031;color:#d7f7ff;border-color:#2b8296;box-shadow:0 0 45px #06111b}
body[data-theme="theme7"] .chr-feature-modal h2,body[data-theme="theme7"] .chr-feature-card h3{color:#c8f6fc}
body[data-theme="theme7"] .chr-feature-card,body[data-theme="theme7"] .chr-feature-summary>div,body[data-theme="theme7"] .chr-forecast-chart{background:#102b3d;border:1px solid #32728d;color:#d4eaf4}
body[data-theme="theme7"] .chr-feature-card p,body[data-theme="theme7"] .chr-help,body[data-theme="theme7"] .chr-feature-summary small{color:#adc1d5}
body[data-theme="theme8"] .chr-feature-modal{background:linear-gradient(135deg,#d9b98c,#e8d6ae);border:7px ridge #866138;border-radius:7px;color:#60452a}
body[data-theme="theme8"] .chr-feature-card,body[data-theme="theme8"] .chr-feature-summary>div,body[data-theme="theme8"] .chr-forecast-chart{background:#ecd6a9;border:1px solid #a17c49}
@media(max-width:780px){.chrona-feature-overlay:not([hidden]){padding:7px}.chr-feature-modal{padding:15px 12px;max-height:97dvh;border-radius:20px}.chr-feature-tabs button{padding:9px 3px;font-size:10px}.chr-feature-head h2{font-size:22px}.chr-feature-summary{gap:5px}.chr-feature-summary>div{padding:10px 8px}.chr-feature-summary strong{font-size:15px}.chr-feature-summary small{font-size:8px}.chr-feature-grid-two,.chr-goals-grid,.chr-contact-linked-grid{grid-template-columns:1fr}.chr-networth-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.chr-feature-toolbar{flex-wrap:wrap;align-items:flex-start}.chr-forecast-chart{min-height:220px}.chr-forecast-chart svg{height:206px!important}.chr-forecast-tip{position:static;margin-top:9px}.chr-repeat-row{flex-wrap:wrap}.chr-repeat-row .chr-row-edit{font-size:10px}.chr-periods button{padding:8px 6px}.chrona-features-shortcuts button{font-size:9px}}
.chr-task-conflicts{border:1px solid #edca82;background:#fff1d4;color:#8c651b;padding:10px 12px;border-radius:11px;font:12px/1.5 Arial,sans-serif}
.chr-task-conflicts[hidden]{display:none}
.chr-history-empty{text-align:center;color:#7388a3;font:12px/1.7 Arial,sans-serif}
@media(max-width:740px){.cal-header-actions{flex-wrap:wrap}.cal-header-actions #calendarReminderToggle{font-size:10px;padding:8px 10px}}
.chr-goal-good{color:#229777}.chr-goal-bad{color:#bf6c6c}


/* CHRONA v18: unified, fully Cyrillic typography across every theme and overlay. */
html,body,body *,body *::before,body *::after{
  font-family:Arial,"Helvetica Neue","Noto Sans","DejaVu Sans",sans-serif!important;
  font-variant-ligatures:none;
}
/* Independent ASAP scheduling mode for tasks. */
.task-asap-line{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  padding:11px 14px;margin:2px 0 12px;border-radius:14px;
  border:1px solid #cbd6ff;background:#e9edffbd;color:#4d50a3}
.task-asap-toggle{display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-weight:800;font-size:13px;letter-spacing:0}
.task-asap-toggle input{width:18px;height:18px;min-width:18px;accent-color:#765ee2;cursor:pointer}
.task-asap-toggle:has(input:disabled){opacity:.46;cursor:not-allowed}
.task-asap-explain{font-size:11px;color:#717da0;line-height:1.4}
.task-row.is-asap{border-left:3px solid var(--task-color,#8166e8);padding-left:8px;
  background:linear-gradient(90deg,color-mix(in srgb,var(--task-color,#8166e8) 10%,transparent),transparent 80%)}
.task-row.is-asap .task-date{color:var(--task-color,#8166e8);font-weight:800}
.cal-asap-section{background:#f3f0ffb5;border:1px solid #d9d2ff;border-radius:14px;padding:12px}
.cal-asap-section .cal-vibe-label{color:#7255bb}
@media(max-width:520px){.task-asap-explain{flex-basis:100%}}


/* v19: theme4 right-column extra huts and campfire */
body[data-theme="theme4"] .insights-panel::after{content:"";position:absolute;inset:0;pointer-events:none;
background:
linear-gradient(180deg,transparent 0 76%,#6f4f2b 76% 82%,transparent 82%),
linear-gradient(135deg,transparent 0 77%,#5d3d22 77% 80%,transparent 80%),
linear-gradient(225deg,transparent 0 77%,#5d3d22 77% 80%,transparent 80%),
radial-gradient(circle at 49% 83%,#ffb24d 0 1.1%,#ff7a00 1.2% 2.3%,#ff7a0000 3.4%),
radial-gradient(circle at 49% 83.2%,#ffd97b55 0 4.2%,transparent 7.5%),
linear-gradient(90deg,transparent 0 41.8%,#8b6037 41.8% 42.3%,transparent 42.3% 55.9%,#8b6037 55.9% 56.4%,transparent 56.4%),
linear-gradient(180deg,transparent 0 78%,#4c3723 78% 88%,transparent 88%),
linear-gradient(150deg,transparent 0 77.3%,#8a6240 77.3% 81.8%,transparent 81.8%),
linear-gradient(210deg,transparent 0 77.3%,#8a6240 77.3% 81.8%,transparent 81.8%),
linear-gradient(180deg,transparent 0 77.8%,#57412e 77.8% 88.6%,transparent 88.6%),
linear-gradient(150deg,transparent 0 75.6%,#6e533d 75.6% 79.4%,transparent 79.4%),
linear-gradient(210deg,transparent 0 75.6%,#6e533d 75.6% 79.4%,transparent 79.4%);
background-size:100% 100%,100% 100%,100% 100%,100% 100%,100% 100%,100% 100%,12% 18%,12% 18%,12% 18%,9% 14%,9% 14%,9% 14%;
background-position:center,center,center,center,center,center,28% 81%,28% 81%,28% 81%,62% 83%,62% 83%,62% 83%;
background-repeat:no-repeat;opacity:.96}

.geo-friends-mark,.geo-property-mark{pointer-events:none}
.geo-blue-symbol,.geo-blue-legend{font-weight:950;color:#1268dc!important;font-size:17px;line-height:1}

/* v20: default caveman illustration for an empty contact-photo slot. */
.contact-photo-box{position:relative}
.contact-photo-box .contact-default-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 37%;z-index:0}
.contact-photo-box .contact-photo-caption{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:8px 4px 7px;background:linear-gradient(transparent,#382414dc);color:#fff9db;text-align:center;font-size:11px;font-weight:800;letter-spacing:.015em;text-shadow:0 1px 3px #1b0a05}
.contact-photo-box:focus-within .contact-photo-caption,.contact-photo-box:hover .contact-photo-caption{background:linear-gradient(transparent,#23150fe8);color:#fff}
.contacts-list-avatar>img{object-fit:cover;object-position:center}
/* The default is a visual placeholder, never a stored photo. */

/* v20: map markings are independent icons; danger gets one skull at the country centre. */
.geo-icon-mark{pointer-events:none}
.geo-legend-fill.danger,.geo-color-swatch.danger{position:relative;background:#7c183d!important}
.geo-legend-fill.danger::after,.geo-color-swatch.danger::after{content:'☠';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:10px;line-height:1}
.geo-legend{align-items:center}
.geo-legend>span{white-space:normal}
.geo-blue-legend{font-size:15px!important}

/* v20: geography inherits the full carved-wood-and-parchment treatment of theme 8. */
body[data-theme="theme8"] .geography-overlay:not([hidden]){
  background:rgba(30,19,7,.78);
  -webkit-backdrop-filter:blur(3px) sepia(.3);
  backdrop-filter:blur(3px) sepia(.3);
}
body[data-theme="theme8"] .geo-modal{
  color:#382510!important;
  font-family:Arial,'Helvetica Neue',sans-serif!important;
  background:
    repeating-linear-gradient(96deg,transparent 0 44px,rgba(82,49,20,.04) 44px 46px,transparent 46px 82px),
    linear-gradient(145deg,#d6b47a,#f2dfaf 42%,#d9b985 85%,#b58b54);
  border:7px ridge #805527!important;
  border-radius:12px 24px 10px 20px!important;
  box-shadow:0 32px 110px #211206bc,inset 0 0 0 2px #f7e5b6,inset 0 0 35px #82512352!important;
}
body[data-theme="theme8"] .geo-head{
  color:#3d2814;
  border-bottom:4px double #927043;
  background:repeating-linear-gradient(0deg,#8c653a 0 2px,#ad8048 2px 5px,#876136 5px 7px);
  padding:19px 24px 17px;
}
body[data-theme="theme8"] .geo-head h2{color:#ffedbd!important;text-shadow:1px 2px 1px #4b2c0f;font-weight:900}
body[data-theme="theme8"] .geo-head p,body[data-theme="theme8"] .geo-head small{color:#f6dfb1!important}
body[data-theme="theme8"] .geo-head .fa-close{color:#fff1c5!important;background:#604324!important;border:2px solid #d3a66c!important;border-radius:4px!important}
body[data-theme="theme8"] .geo-main{
  background:repeating-linear-gradient(15deg,transparent 0 47px,#9b6d3420 47px 49px,transparent 49px 90px),linear-gradient(150deg,#eed9ac,#e0c18b);
}
body[data-theme="theme8"] .geo-side{
  background:repeating-linear-gradient(0deg,rgba(91,55,25,.035) 0 2px,transparent 2px 7px),linear-gradient(170deg,#f3e1b5,#d6b17c);
  border-left:4px ridge #9f7541;
  color:#4d311b;
}
body[data-theme="theme8"] .geo-side h3,body[data-theme="theme8"] .geo-mark-editor strong,body[data-theme="theme8"] .geo-overlays strong{color:#543018!important}
body[data-theme="theme8"] .geo-toolbar{color:#614324}
body[data-theme="theme8"] .geo-toolbar button,
body[data-theme="theme8"] .geo-side select{
  background:linear-gradient(#f6e5bd,#d9b77b)!important;
  color:#55351a!important;
  border:2px solid #a9814c!important;
  border-radius:5px 11px 5px 9px!important;
  font-weight:800;
}
body[data-theme="theme8"] .geo-side>label{color:#6b4928}
body[data-theme="theme8"] .geo-map-stage{
  border:6px ridge #986c37!important;
  border-radius:4px 13px 4px 14px!important;
  background:#e9d3a0!important;
  box-shadow:inset 0 0 36px #75512b50,0 7px 16px #6b441c32;
}
body[data-theme="theme8"] .geo-country-base{stroke:#795d35;stroke-width:.85}
body[data-theme="theme8"] .geo-country-group.selected .geo-country-base{stroke:#42250f;stroke-width:2.6}
body[data-theme="theme8"] .geo-legend{color:#614222!important;border-top:2px solid #a88451;padding-top:13px;margin-top:16px}
body[data-theme="theme8"] .geo-source,body[data-theme="theme8"] .geo-instructions{color:#805c35!important}
body[data-theme="theme8"] .geo-color-swatch{border:2px solid #f5dfac;border-radius:3px}
body[data-theme="theme8"] .geo-status-choice,
body[data-theme="theme8"] .geo-overlays label{
  background:linear-gradient(105deg,#f4e0b3cc,#dfc190b8)!important;
  color:#563a1e!important;
  border:2px solid #b29362!important;
  border-radius:4px 10px 4px 8px!important;
  box-shadow:inset 0 1px #fff5dbad;
  padding:9px 10px;
}
body[data-theme="theme8"] .geo-status-choice:has(input:checked),
body[data-theme="theme8"] .geo-overlays label:has(input:checked){
  background:#cda46e!important;
  box-shadow:inset 0 0 0 2px #b38142!important;
  border-color:#805526!important;
}
body[data-theme="theme8"] .geo-overlays{border-top:3px double #987344;padding-top:14px}
body[data-theme="theme8"] .geo-status-choice input,body[data-theme="theme8"] .geo-overlays input{accent-color:#7f5830}
@media(max-width:650px){body[data-theme="theme8"] .geo-side{border-left:0;border-top:4px ridge #9f7541}}


/* CHRONA v21 — selectable page-wide landscape scenes */
#landscapeBackdrop{position:fixed;inset:0;z-index:0;pointer-events:none;background-repeat:no-repeat;background-size:cover;background-position:center;transition:opacity .3s ease}
.app-shell{z-index:1}
body[data-theme="theme4"] .dashboard>.panel,body[data-theme="theme5"] .dashboard>.panel{cursor:default}
body[data-theme="theme4"] .dashboard>.panel .panel-head h2,body[data-theme="theme5"] .dashboard>.panel .panel-head h2{cursor:copy}
body[data-theme="theme4"] .dashboard>.panel,body[data-theme="theme5"] .dashboard>.panel{outline-offset:4px}
body.landscape-chosen .workspace-title{background:transparent}
/* Child categories are listed in the editor, never as extra parent totals. */
.category-manager-row.category-sub-row{margin-left:17px;padding-left:13px;border-left:2px solid #88a8d5;background:#edf3ffa1}
.fa-pie-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;min-height:21px;margin:6px 0 8px;font-size:10px;color:#7287a4}
.fa-pie-navigation strong{color:#354f75;font-size:12px}
.fa-pie-navigation span{color:#8a9bb3}
.fa-pie-back{border:1px solid #bfd1eb;border-radius:8px;background:#e5efffff;color:#456aa2;font:700 11px Arial,sans-serif;padding:7px 11px;cursor:pointer}
.fa-pie-back:hover{background:#d8e6ff}
.fa-pie-hint{font-size:10px;color:#8395ad;line-height:1.5}
body[data-theme="theme7"] .fa-pie-back{background:#132f40;border-color:#4b92aa;color:#aaf4fc}
body[data-theme="theme8"] .fa-pie-back{background:#d9bc82;border-color:#96743c;color:#4b301e}

.category-create-actions{display:inline-flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.category-create-actions .text-action{font-size:10px;white-space:nowrap}
@media(max-width:600px){.category-create-actions{justify-content:flex-start}.category-manager-layout .section-subhead.inline{flex-wrap:wrap}}


/* CHRONA v22: separate historic prison status from murder/kidnapping danger. */
.geo-legend-fill.prison,.geo-color-swatch.prison{
  background-color:#7c183d!important;
  background-image:repeating-linear-gradient(0deg,transparent 0 5px,#ff7093 5px 7px),repeating-linear-gradient(90deg,transparent 0 5px,#ff7093 5px 7px)!important;
  border-color:#ffc1d0!important;
}
.geo-prison-grid{pointer-events:none}

/* Acid Chaos: every visible task gets a unique hue, kept distinct across filters. */
body[data-theme="theme3"] .task-panel #taskList .task-row{
  background:linear-gradient(115deg,hsl(var(--acid-hue) 100% 64%),hsl(calc(var(--acid-hue) + 22) 100% 76%))!important;
  border:2px solid hsl(var(--acid-hue) 100% 83%)!important;
  border-left:5px solid hsl(var(--acid-hue) 100% 45%)!important;
  color:#1b1230!important;
  box-shadow:inset 0 1px 0 #ffffff86,0 5px 16px #0603138f!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body[data-theme="theme3"] .task-panel #taskList .task-row:hover{
  filter:brightness(1.06);transform:translateY(-2px);
  box-shadow:inset 0 1px 0 #ffffffbd,0 9px 23px #090316d9!important;
}
body[data-theme="theme3"] .task-panel #taskList .task-row :is(.task-title,.task-meta,.task-date,.task-time-display,.task-amount,.task-edit){
  color:#191126!important;text-shadow:none!important;
}
body[data-theme="theme3"] .task-panel #taskList .task-row .task-title.done{color:#4b3c57!important}
body[data-theme="theme3"] .task-panel #taskList .task-row .priority{
  background:#181028e3!important;color:#fff!important;border:1px solid #ffffff7a;
}
body[data-theme="theme3"] .task-panel #taskList .task-row .task-check:not(.done){
  background:#fffc!important;border:2px solid #27142b!important;
}

/* Acid Chaos: readable event details below the main balance chart. */
body[data-theme="theme3"] .insights-panel .selected-day,
body[data-theme="theme3"] .insights-panel .upcoming-row{
  background:#150c35ed!important;border:1px solid #b98bff8a!important;
  box-shadow:inset 0 1px #ffffff1c,0 5px 16px #09031784!important;
}
body[data-theme="theme3"] .insights-panel .selected-day-title strong,
body[data-theme="theme3"] .insights-panel .day-event b,
body[data-theme="theme3"] .insights-panel .upcoming-info b,
body[data-theme="theme3"] .insights-panel .selected-day-body{
  color:#d1ffff!important;text-shadow:none!important;
}
body[data-theme="theme3"] .insights-panel .selected-day-title span,
body[data-theme="theme3"] .insights-panel .upcoming-date,
body[data-theme="theme3"] .insights-panel .day-event>span{
  color:#fff58b!important;text-shadow:none!important;
}
body[data-theme="theme3"] .insights-panel .day-event small,
body[data-theme="theme3"] .insights-panel .upcoming-info small{
  color:#e5d7ff!important;text-shadow:none!important;
}
body[data-theme="theme3"] .insights-panel .day-event .event-impact,
body[data-theme="theme3"] .insights-panel .upcoming-money{
  color:#ff9cdb!important;text-shadow:none!important;
}
body[data-theme="theme3"] .insights-panel .upcoming-money.positive{color:#9effd7!important}
body[data-theme="theme3"] .insights-panel .upcoming-date{
  background:#26154d!important;border:1px solid #7f64bf!important;
}


/* v23: automatic FX quotes with a per-currency manual override */
.finance-panel .balance-card .fx-rate-tile{cursor:default!important}
.finance-panel .balance-card .fx-rate-tile-head{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap}
.finance-panel .balance-card .fx-manual-label{display:flex;align-items:center;gap:4px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;cursor:pointer!important;white-space:normal;color:#e8fff9!important;font:600 8px/1.25 Arial,sans-serif!important;max-width:100%}
.finance-panel .balance-card .fx-manual-label input{width:12px;height:12px;flex:none;accent-color:#b6fce6;cursor:pointer}
.finance-panel .balance-card .fx-rate-edit{width:100%;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;justify-content:flex-start}
.finance-panel .balance-card .fx-rate-input:disabled{opacity:1!important;cursor:default;color:#fff!important;-webkit-text-fill-color:#fff!important;border-bottom:1px dotted #ffffff66!important}
.finance-panel .balance-card .fx-rate-input:not(:disabled){border-bottom:2px solid #c1ffee!important}
.finance-panel .balance-card .fx-rate-tile:has(.fx-manual-label input:checked){outline:1px solid rgba(255,235,154,.62)}
.finance-panel .balance-card .fx-auto-status{position:relative;display:flex;gap:5px;flex-wrap:wrap;align-items:center;justify-content:flex-start;margin-top:6px;color:rgba(244,255,254,.86);font:600 9px/1.35 Arial,sans-serif}
.finance-panel .balance-card .fx-auto-status .fx-auto-label{flex:1 1 auto;min-width:90px}
.finance-panel .balance-card .fx-auto-status button{border:1px solid #ffffff65;background:#ffffff19;color:#fff;cursor:pointer;border-radius:7px;padding:1px 6px;font-size:13px}
.finance-panel .balance-card .fx-auto-status a{font-size:8px;text-decoration:underline;text-underline-offset:2px;color:#ecfffb!important;white-space:nowrap}
.fx-add-manual-option{display:flex;align-items:center;gap:8px;font-size:12px;color:#4f6687;cursor:pointer}
.fx-add-manual-option input{width:16px;height:16px;accent-color:#408e9f}
@media(max-width:520px){.finance-panel .balance-card .fx-rate-tile-head{align-items:flex-start}.finance-panel .balance-card .fx-manual-label{font-size:8px!important}}


/* v24: planning tools at the bottom of the financial column. */
.finance-panel > .chrona-features-shortcuts{
  flex-shrink:0;
  margin:16px 0 0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.52);
}

/* v24: strictly square frames for 2 / 3 / 5 / 6. Preserve glass #1,
   minimalist landscapes #4, mechanical cyberpunk #7 and prehistoric #8. */
body:is([data-theme="theme2"],[data-theme="theme3"],[data-theme="theme5"],[data-theme="theme6"]) :is(
  .topbar,.header-middle,.currency-switch,.currency-switch button,.btn,.icon-button,
  .brand-mark,.summary-figure,.panel,.add-btn,
  .calendar-open-btn,.finance-analysis-launch,.chrona-features-shortcuts button,
  .task-stat,.segmented,.segmented button,.task-row,.task-check,.task-edit,
  .panel-bottom-add,.wallet-tile,.wallet-add,.finance-action,.balance-card,
  .balance-breakdown>*,.balance-item,.fx-rate-card,.fx-rate-tile,.fx-rate-add,
  .money-stat,.stat-icon,.category-bar,.transaction-row,.transaction-icon,
  .chart-wrap,.chart-tooltip,.selected-day,.upcoming-row,.upcoming-date,.insights-footer,
  .panel-badge,.insight-open-btn,.empty-state,.storage-warning,
  .wallet-page-panel,.wallet-page-hero,.wallet-switch-item,.wallet-close-btn,
  .wallet-page-stat,.wallet-back-btn,.wallet-ops-head,
  .cal-modal,.cal-day,.cal-event,.cal-week-event,.cal-month-event,
  .fa-modal,.fa-section,.fa-chart-card,.fa-period,.fa-total,.fa-pie-stage,
  .contacts-modal,.geo-modal,.contact-photo-box,.contacts-list-item,
  .contact-loan-record,.geo-map-stage,.geo-status-choice,
  .chr-feature-modal,.chr-feature-tabs button,.chr-feature-card,
  .chr-feature-summary>div,.chr-row-edit,.chr-goal-card,
  .modal,.modal-backdrop .form-control,.primary-btn,.secondary-btn,
  .theme-option,.theme-thumb,.form-control,.input-helper,
  input:not([type="radio"]):not([type="checkbox"]),textarea,select
){border-radius:0!important}

body:is([data-theme="theme2"],[data-theme="theme3"],[data-theme="theme5"],[data-theme="theme6"]) .panel-index::before{border-radius:0!important}


/* === v25: seven new test themes === */
.theme-thumb.theme10{background:linear-gradient(180deg,#fff7f3,#ffdfe5 42%,#cce8d8 43%,#6ca17f 100%)}
.theme-thumb.theme16{background:linear-gradient(145deg,#5a3a14,#b7883a 34%,#dac084 35%,#6d7a46 62%,#203842 100%)}


body[data-theme="theme10"]{background:linear-gradient(180deg,#fff6f2,#fcebe8 30%,#ebf1e6 72%,#dce7d8);color:#30423d}
body[data-theme="theme10"] .topbar,body[data-theme="theme10"] .summary-figure,body[data-theme="theme10"] .wallet-page-panel{background:#fffef0c7;border-color:#f1d6da;color:#35453d;box-shadow:0 18px 36px #cab8b22e}
body[data-theme="theme10"] .panel{position:relative;overflow:hidden;box-shadow:0 18px 36px #caafb32c;border-color:#eadad4}
body[data-theme="theme10"] .task-panel{background:linear-gradient(180deg,#fff8fb,#ffeef3)}
body[data-theme="theme10"] .finance-panel{background:linear-gradient(180deg,#fffdf7,#f6f6ea)}
body[data-theme="theme10"] .insights-panel{background:linear-gradient(180deg,#eef4ec,#e4efe2)}
body[data-theme="theme10"] .panel::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 16%,#ffd3de65 0 4%,transparent 4.2%),radial-gradient(circle at 24% 22%,#ffd3de65 0 3%,transparent 3.2%),radial-gradient(circle at 76% 18%,#c9e7c95d 0 5%,transparent 5.4%),linear-gradient(125deg,transparent 0 74%,#ffffff6d 82%,transparent 92%);opacity:.72}
body[data-theme="theme10"] :is(h1,h2,h3,.panel-index,.chart-title-label,.chart-amount,.section-subhead,.task-title,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.balance-card strong,.summary-figure strong){color:#30423d!important}
body[data-theme="theme10"] :is(.task-meta,.transaction-meta,.analytics-description,.chart-instructions,.wallet-section-note,.insights-footer,.selected-day small,.upcoming-row small,.summary-figure span){color:#6f7d76!important}
body[data-theme="theme10"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.wallet-back-btn){background:#fffffff2;border-color:#e8ddd9;color:#32443f}
body[data-theme="theme10"] :is(button,.add-btn,.ghost-btn,.period-btn,.settings-btn,.finance-action,.mini-action){background:#fff9f5;border-color:#e1c4cb;color:#4c5f57}
body[data-theme="theme10"] input,body[data-theme="theme10"] select,body[data-theme="theme10"] textarea{background:#fffefb;border-color:#dfd4d1;color:#33443f}






/* CHRONA v26: optional-looking, automatic completion achievement label. */
#taskList .task-meta .task-completion-badge {
  display:inline-flex;align-items:center;justify-content:center;min-height:22px;
  max-width:100%;box-sizing:border-box;padding:4px 8px;
  background:#0a0a0d!important;color:#ff4b62!important;
  border:1px solid #773039!important;border-radius:6px;
  box-shadow:inset 0 1px 0 #3c2023,0 1px 4px #00000018;
  font:800 9px/1.12 Arial,Helvetica,sans-serif!important;
  letter-spacing:.045em;text-align:center;text-shadow:none!important;
  overflow-wrap:break-word;white-space:normal;
}
@media(max-width:440px){#taskList .task-meta .task-completion-badge{padding:4px 6px;font-size:8px}}

/* CHRONA v27 · brighter event typography beneath the right-column graph.
   Scoped to themes 4, 6 and 7, leaving every other theme untouched. */
body[data-theme="theme4"] .insights-panel .selected-day,
body[data-theme="theme4"] .insights-panel .upcoming-row {
  background:#101e24e8!important;
  border-color:#b4caaf75!important;
}
body[data-theme="theme4"] .insights-panel :is(.selected-day-title strong,.day-event b,.upcoming-info b,.selected-day-body,.upcoming-date strong) {
  color:#f6ffe9!important;
  text-shadow:0 1px 2px #061008!important;
}
body[data-theme="theme4"] .insights-panel :is(.selected-day-title span,.upcoming-date,.day-event>span,.upcoming-heading) {
  color:#ffe3a0!important;
}
body[data-theme="theme4"] .insights-panel :is(.day-event small,.upcoming-info small,.upcoming-date small) {
  color:#dcefc7!important;
}
body[data-theme="theme4"] .insights-panel :is(.day-event .event-impact,.upcoming-money) {
  color:#ffcf9b!important;
}
body[data-theme="theme4"] .insights-panel .upcoming-money.positive {color:#96ffcc!important}
body[data-theme="theme4"] .insights-panel .upcoming-date {
  background:#243c3b!important;border-color:#688b76!important;
}

body[data-theme="theme6"] .insights-panel .selected-day,
body[data-theme="theme6"] .insights-panel .upcoming-row {
  background:#170b37f0!important;
  border-color:#d8b9ff8c!important;
}
body[data-theme="theme6"] .insights-panel :is(.selected-day-title strong,.day-event b,.upcoming-info b,.selected-day-body,.upcoming-date strong) {
  color:#f8feff!important;
  text-shadow:none!important;
}
body[data-theme="theme6"] .insights-panel :is(.selected-day-title span,.upcoming-date,.day-event>span,.upcoming-heading) {
  color:#fff49b!important;text-shadow:none!important;
}
body[data-theme="theme6"] .insights-panel :is(.day-event small,.upcoming-info small,.upcoming-date small) {
  color:#edddff!important;text-shadow:none!important;
}
body[data-theme="theme6"] .insights-panel :is(.day-event .event-impact,.upcoming-money) {
  color:#ffa9e8!important;text-shadow:none!important;
}
body[data-theme="theme6"] .insights-panel .upcoming-money.positive {color:#a0ffe0!important}
body[data-theme="theme6"] .insights-panel .upcoming-date {
  background:#2b1851!important;border-color:#997aca!important;
}

body[data-theme="theme7"] .insights-panel .selected-day,
body[data-theme="theme7"] .insights-panel .upcoming-row {
  background:#101b3cef!important;
  border-color:#788af0!important;
}
body[data-theme="theme7"] .insights-panel :is(.selected-day-title strong,.day-event b,.upcoming-info b,.selected-day-body,.upcoming-date strong) {
  color:#f4fbff!important;
  text-shadow:none!important;
}
body[data-theme="theme7"] .insights-panel :is(.selected-day-title span,.upcoming-date,.day-event>span,.upcoming-heading) {
  color:#ffdc7c!important;
}
body[data-theme="theme7"] .insights-panel :is(.day-event small,.upcoming-info small,.upcoming-date small) {
  color:#d6e4ff!important;
}
body[data-theme="theme7"] .insights-panel :is(.day-event .event-impact,.upcoming-money) {
  color:#ffb2d4!important;
}
body[data-theme="theme7"] .insights-panel .upcoming-money.positive {color:#79ffe1!important}
body[data-theme="theme7"] .insights-panel .upcoming-date {
  background:#1c305a!important;border-color:#718fd0!important;
}

/* CHRONA v27: unobtrusive persistent preference for completion badges. */
.completion-setting{display:flex;align-items:center;gap:14px;margin:16px 0 2px;padding:13px 14px;cursor:pointer;border:1px solid #d8e3f3;border-radius:13px;background:#e9f1ff91;color:#40536d;}
.completion-setting-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;}
.completion-setting-text strong{font:700 12px/1.35 Arial,sans-serif;}
.completion-setting-text small{font:400 10px/1.45 Arial,sans-serif;color:#73859e;}
.completion-setting input{position:absolute;opacity:0;width:1px;height:1px;}
.completion-setting-switch{position:relative;display:inline-block;flex:none;width:40px;height:23px;border:1px solid #b7c5d9;border-radius:20px;background:#bdc9d8;transition:background .18s,border-color .18s;}
.completion-setting-switch::after{content:"";position:absolute;left:2px;top:2px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #26394b40;transition:transform .18s;}
.completion-setting input:checked+.completion-setting-switch{background:#647fe3;border-color:#607be1;}
.completion-setting input:checked+.completion-setting-switch::after{transform:translateX(17px);}
.completion-setting input:focus-visible+.completion-setting-switch{outline:3px solid #7ca9fc;outline-offset:3px;}
body[data-theme="theme7"] .completion-setting{background:#1b2a39;border-color:#58738c;color:#f0f8ff;}
body[data-theme="theme7"] .completion-setting small{color:#c3d1e2;}
body[data-theme="theme8"] .completion-setting{background:#e3c996;border:2px solid #9a6b33;color:#4d351c;}


/* theme16: World of warcraft inspired quest theme */
body[data-theme="theme16"]{background:linear-gradient(180deg,#3a2615,#6d4a23 24%,#8e6b31 25%,#c3a25b 46%,#907542 60%,#4b3824 100%);color:#f8efd2}
body[data-theme="theme16"] .app-shell::before{content:"";position:absolute;inset:84px 18px 18px;z-index:-1;opacity:.22;border-radius:32px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201400%20900'%3E%3Crect%20fill='%23e0c48a'%20width='1400'%20height='900'/%3E%3Cg%20fill='%23b58a4f'%20opacity='.9'%3E%3Cpath%20d='M198%20171c97-58%20200-34%20285%2024 75%2051%20149%2045%20215%20107 47%2045%20107%20144 90%20217-20%2086-142%20128-201%20181-69%2062-109%20188-214%20193-111%205-187-132-286-154-91-20-215%2046-279-22-67-70-25-208-10-289 16-89 10-219 79-278 64-54 222-31 321-21z'/%3E%3Cpath%20d='M910%20172c61-46%20167-41%20232 7 56%2041%20147%2062%20171%20146 29%20104-107%20177-142%20270-28%2079 33%20183-21%20251-59%2074-173%20100-266%2095-86-4-155-55-232-81-86-29-186-31-245-104-59-74-30-184-6-271 24-87-5-191%2051-265 60-79 173-1 262-48 55-29 135-22 196%200z'/%3E%3C/g%3E%3Cg%20stroke='%23724f25'%20stroke-width='9'%20stroke-linecap='round'%20opacity='.56'%3E%3Cpath%20d='M265%20228c132%2082%20237%20168%20356%20295M879%20238c72%2034%20148%20111%20192%20198M588%20308c32%20109%2082%20187%20212%20266M269%20623c171-19%20296-78%20397-153M838%20610c114-2%20204-28%20289-79'/%3E%3C/g%3E%3C/svg%3E")}
body[data-theme="theme16"] .topbar{background:linear-gradient(180deg,#593716,#3f2611);border-color:#d1ab57;color:#f9efcf;box-shadow:0 18px 32px rgba(31,16,4,.42)}
body[data-theme="theme16"] .dashboard{gap:18px}
body[data-theme="theme16"] .panel,body[data-theme="theme16"] .summary-figure,body[data-theme="theme16"] .wallet-page-panel{position:relative;overflow:hidden;background:linear-gradient(180deg,#6f4a24,#4d341a);border:2px solid #c9a256;border-radius:14px;box-shadow:0 18px 34px rgba(28,14,2,.38), inset 0 1px 0 rgba(255,240,191,.24);color:#f7efd6}
body[data-theme="theme16"] .panel::before,body[data-theme="theme16"] .summary-figure::before,body[data-theme="theme16"] .wallet-page-panel::before{content:"";position:absolute;inset:8px;border:1px solid rgba(240,218,151,.18);border-radius:10px;pointer-events:none}
body[data-theme="theme16"] .task-panel{background:linear-gradient(180deg,#7f592d,#5a3c1c)}
body[data-theme="theme16"] .finance-panel{background:linear-gradient(180deg,#6b4925,#4d341b)}
body[data-theme="theme16"] .insights-panel{background:linear-gradient(180deg,#203845,#162a35)}
body[data-theme="theme16"] :is(h1,h2,h3,.panel-index,.chart-title-label,.chart-amount,.section-subhead,.task-title,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.balance-card strong,.summary-figure strong,.mini-kpi strong){color:#faefcf!important}
body[data-theme="theme16"] :is(.task-meta,.transaction-meta,.analytics-description,.chart-instructions,.wallet-section-note,.insights-footer,.selected-day small,.upcoming-row small,.summary-figure span,.mini-kpi small,.panel-footnote){color:#eadbb0!important}
body[data-theme="theme16"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.wallet-back-btn,.task-stat,.segmented,.segmented button,.calendar-open-btn,.panel-bottom-add){background:rgba(36,24,11,.38);border-color:rgba(239,211,133,.24);color:#fbefcf}
body[data-theme="theme16"] :is(button,.add-btn,.ghost-btn,.period-btn,.settings-btn,.finance-action,.mini-action,.secondary-btn,.primary-btn,.danger-btn){background:linear-gradient(180deg,#7a552d,#5c3d1f);border-color:#d6b067;color:#f8efcf;box-shadow:inset 0 1px 0 rgba(255,240,194,.22)}
body[data-theme="theme16"] :is(input,select,textarea,.form-control){background:#402814;border-color:#b9924d;color:#f9efd1}
body[data-theme="theme16"] .task-row{background:linear-gradient(180deg,rgba(255,236,187,.1),rgba(72,46,19,.46));border-color:rgba(237,204,117,.24)}
body[data-theme="theme16"] .task-row:hover{background:linear-gradient(180deg,rgba(255,236,187,.16),rgba(84,53,22,.56));box-shadow:0 12px 24px rgba(27,14,3,.34)}
body[data-theme="theme16"] .task-element-btn{background:linear-gradient(180deg,#7f5c31,#58401d);border-color:#d4b066;color:#f8efcf}
body[data-theme="theme16"] .task-element-btn.selected{background:linear-gradient(180deg,color-mix(in srgb,var(--element-color,#d4b066) 22%,#8a6533),#50361a);border-color:color-mix(in srgb,var(--element-color,#d4b066) 55%,#f3d793);color:#fff4d4}
body[data-theme="theme16"] .task-edit{color:#f6ebc8}
body[data-theme="theme16"] .priority{background:#3d2a12;color:#f4df9e;border-color:#d1aa57}
body[data-theme="theme16"] .task-completion-badge{background:#140d08;color:#ff6559;border-color:#70423d}
body[data-theme="theme16"] .chart-wrap{background:linear-gradient(180deg,rgba(16,11,7,.32),rgba(23,17,12,.46));border-color:rgba(236,206,126,.22)}
body[data-theme="theme16"] .insights-panel .chart-wrap{background:linear-gradient(180deg,rgba(10,16,20,.5),rgba(20,31,39,.55));border-color:rgba(143,184,219,.18)}
body[data-theme="theme16"] .insights-panel::after{content:"";position:absolute;right:18px;bottom:16px;width:138px;height:138px;pointer-events:none;opacity:.22;background:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3Cpath%20fill='%23d2b36b'%20d='M49.8 6 60 36.4 92 36 66 55.5 75.3 87 49.9 68.7 24.6 87 34 55.7 8 36.1 39.9 36.3Z'/%3E%3C/svg%3E") center/contain no-repeat}
body[data-theme="theme16"] .settings-example{background:rgba(34,22,11,.38);color:#f1e1b7}
body[data-theme="theme16"] .element-option{background:rgba(50,33,17,.78);border-color:rgba(230,199,120,.24);color:#faefcf}
body[data-theme="theme16"] .element-option-icon{background:rgba(255,244,211,.08);border-color:rgba(235,201,117,.22)}
body[data-theme="theme16"] .theme-switch-btn,.theme-thumb.theme16{border-radius:12px}


/* CHRONA v30: a battle backdrop, fantasy map and treasure chest for Warcraft only. */
.warcraft-battle-scene,.warcraft-map-card,.warcraft-treasure{display:none}
body[data-theme="theme16"] .app-shell{z-index:1}
body[data-theme="theme16"] .warcraft-battle-scene{
 display:block;position:absolute;left:50%;top:64px;transform:translateX(-50%);
 width:min(1230px,96vw);height:440px;pointer-events:none;z-index:-1;overflow:hidden;
 -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 71%,transparent 100%);
 mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 71%,transparent 100%);
}
body[data-theme="theme16"] .warcraft-battle-scene img{
 display:block;width:100%;height:100%;object-fit:contain;object-position:center center;
 opacity:.88;filter:drop-shadow(0 24px 26px rgba(10,8,3,.58)) saturate(.97);
}
body[data-theme="theme16"] .workspace-title{
 position:relative;min-height:348px;padding-top:235px;padding-bottom:31px;align-items:flex-end;
}
body[data-theme="theme16"] .workspace-title>div:first-child{
 padding:15px 19px 16px;border:1px solid rgba(219,176,90,.58);
 background:linear-gradient(105deg,rgba(27,18,11,.89),rgba(42,31,19,.72));
 border-radius:12px;box-shadow:0 9px 28px rgba(15,9,4,.25);
 backdrop-filter:blur(4px);
}
body[data-theme="theme16"] .workspace-title :is(h1,.eyebrow,.workspace-title p){color:#fff1cf!important;text-shadow:0 2px 9px #160f0b}
body[data-theme="theme16"] .workspace-title .title-period{color:#ffe190!important}
body[data-theme="theme16"] .workspace-title .eyebrow-line{background:linear-gradient(90deg,#e9b758,#ffdf95)}
body[data-theme="theme16"] .warcraft-map-card{
 display:block;position:relative;isolation:isolate;overflow:hidden;flex:none;
 padding:5px;margin:-2px 0 18px;border-radius:13px;
 border:3px ridge #bd9350;background:#182d3b;
 box-shadow:0 10px 25px #030c13a1,0 0 0 1px #e2be77,inset 0 0 0 2px #412913;
}
body[data-theme="theme16"] .warcraft-map-card img{
 width:100%;height:auto;max-height:220px;object-fit:cover;display:block;
 border:1px solid #1d2732;border-radius:5px;
}
body[data-theme="theme16"] .insights-panel .warcraft-treasure{
 position:relative;display:flex;justify-content:center;align-items:flex-end;
 flex:0 0 auto;min-height:200px;width:100%;margin-top:auto;padding:26px 5px 2px;
 border-radius:0 0 13px 13px;overflow:hidden;isolation:isolate;
}
body[data-theme="theme16"] .warcraft-treasure-halo{
 position:absolute;left:50%;bottom:11%;width:85%;height:68%;transform:translateX(-50%);
 border-radius:50%;pointer-events:none;z-index:-1;
 background:radial-gradient(ellipse,rgba(253,183,54,.42),rgba(213,119,16,.16) 46%,transparent 75%);
 filter:blur(15px);
}
body[data-theme="theme16"] .warcraft-treasure img{
 display:block;position:relative;z-index:1;width:min(95%,380px);max-height:254px;height:auto;object-fit:contain;
 filter:drop-shadow(0 4px 9px #0b0904a8) saturate(1.05);
}
body[data-theme="theme16"] .warcraft-treasure::after{
 content:"";position:absolute;left:4%;right:4%;bottom:0;height:2px;
 background:linear-gradient(90deg,transparent,#e1b25b,transparent);
}
/* All visual assets are hidden in the other ten themes without replacing any data. */
@media(max-width:1000px){
 body[data-theme="theme16"] .warcraft-battle-scene{top:85px;height:370px;width:min(1030px,98vw)}
 body[data-theme="theme16"] .workspace-title{min-height:270px;padding-top:175px}
 body[data-theme="theme16"] .warcraft-map-card img{max-height:185px}
}
@media(max-width:650px){
 body[data-theme="theme16"] .warcraft-battle-scene{top:132px;height:245px;width:100%;opacity:.76}
 body[data-theme="theme16"] .workspace-title{min-height:205px;padding-top:130px;padding-bottom:17px;flex-direction:column;align-items:stretch;gap:14px}
 body[data-theme="theme16"] .workspace-title>div:first-child{padding:13px}
 body[data-theme="theme16"] .workspace-title .top-summary{gap:6px}
 body[data-theme="theme16"] .warcraft-map-card{margin:0 0 16px}
 body[data-theme="theme16"] .warcraft-map-card img{max-height:190px}
 body[data-theme="theme16"] .insights-panel .warcraft-treasure{min-height:160px;padding-top:12px}
 body[data-theme="theme16"] .warcraft-treasure img{width:min(88%,290px);max-height:220px}
}

/* v30 polish: readable labels, dates and controls in dark fantasy panels. */
body[data-theme="theme16"] .brand-name,
body[data-theme="theme16"] .brand-name .brand-accent{color:#ffe0a0!important}
body[data-theme="theme16"] .brand-name small{color:#e4c88b!important}
body[data-theme="theme16"] .header-middle{
 background:rgba(27,20,13,.78)!important;border-color:#b88e48!important;color:#f7e5b5!important
}
body[data-theme="theme16"] .header-middle :is(span,.workspace-label){color:#f7e5b5!important}
body[data-theme="theme16"] .insights-panel :is(.selected-day-title strong,.day-event b,.upcoming-info b,.selected-day-body,.upcoming-date strong,.insights-footer b){
 color:#fff1d0!important;text-shadow:none!important
}
body[data-theme="theme16"] .insights-panel :is(.selected-day-title span,.upcoming-date,.day-event>span,.upcoming-heading,.section-subhead){
 color:#f6d48e!important
}
body[data-theme="theme16"] .insights-panel :is(.day-event small,.upcoming-info small,.upcoming-date small,.insights-footer p){
 color:#d4dfdf!important;text-shadow:none!important
}
body[data-theme="theme16"] .insights-panel :is(.day-event .event-impact,.upcoming-money){color:#ffc1a3!important}
body[data-theme="theme16"] .insights-panel .upcoming-money.positive{color:#a7ffd4!important}
body[data-theme="theme16"] .insights-panel .upcoming-date{
 background:linear-gradient(180deg,#564124,#362a19)!important;
 border-color:#b69150!important;color:#ffe5ad!important
}
body[data-theme="theme16"] .insights-panel .upcoming-date :is(strong,small){color:#fbe2ac!important}
body[data-theme="theme16"] .insights-panel :is(.selected-day,.upcoming-row,.insights-footer){
 background:rgba(10,18,24,.77)!important;border-color:rgba(211,175,103,.34)!important
}
body[data-theme="theme16"] .insights-panel .upcoming-info b{font-weight:750}


/* v31: Warcraft refinements + Acid Chaos rounded */
body[data-theme="theme3"] :is(
  .topbar,.header-middle,.currency-switch,.currency-switch button,.summary-figure,.panel,.add-btn,
  .calendar-open-btn,.finance-analysis-launch,.chrona-features-shortcuts button,.task-stat,.segmented,.segmented button,
  .task-row,.task-check,.task-edit,.panel-bottom-add,.wallet-tile,.wallet-add,.finance-action,.balance-card,.balance-breakdown>*,
  .money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.upcoming-date,.insights-footer,.panel-badge,.insight-open-btn,.empty-state,.storage-warning,
  .wallet-page-panel,.wallet-page-hero,.wallet-switch-item,.wallet-close-btn,.wallet-page-stat,.wallet-back-btn,.wallet-ops-head,
  .cal-modal,.cal-day,.cal-event,.cal-week-event,.cal-month-event,.fa-modal,.fa-section,.fa-chart-card,.fa-period,.fa-total,.fa-pie-stage,.contacts-modal,.geo-modal,
  .contact-photo-box,.contacts-list-item,.contact-loan-record,.geo-map-stage,.geo-status-choice,.chr-feature-modal,.chr-feature-tabs button,.chr-feature-card,.chr-feature-summary>div,.chr-row-edit,.chr-goal-card,.modal,.primary-btn,.secondary-btn,.theme-option,.theme-thumb,.form-control,.input-helper, input:not([type="radio"]):not([type="checkbox"]),textarea,select
){border-radius:18px!important}
body[data-theme="theme3"] .panel-index::before{border-radius:8px!important}
body[data-theme="theme16"] .insight-shortcuts{grid-template-columns:1fr}
body[data-theme="theme16"] .warcraft-map-card{display:block;width:100%;appearance:none;border:2px solid #d4ae60;border-radius:18px;padding:14px 14px 10px;background:linear-gradient(180deg,#143b57,#102d43);box-shadow:0 16px 28px rgba(14,9,3,.35),inset 0 1px 0 rgba(255,241,193,.16);cursor:pointer;text-align:center;position:relative;overflow:hidden}
body[data-theme="theme16"] .warcraft-map-card::after{content:"";position:absolute;inset:8px;border:1px solid rgba(239,215,143,.2);border-radius:12px;pointer-events:none}
body[data-theme="theme16"] .warcraft-map-card:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(14,9,3,.42),inset 0 1px 0 rgba(255,241,193,.22)}
body[data-theme="theme16"] .warcraft-map-open-hint{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:6px 12px;border-radius:999px;background:rgba(20,12,6,.45);border:1px solid rgba(240,211,125,.26);color:#ffe7a8;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
body[data-theme="theme16"] #tasksHeading,body[data-theme="theme16"] #financeHeading{display:flex;align-items:center;gap:12px;position:relative}
body[data-theme="theme16"] #tasksHeading::after{content:"";width:52px;height:52px;flex:0 0 52px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23d8c08d' d='M11 13h33l8 8v31H11z'/%3E%3Cpath fill='%23a77d47' d='M11 13h33l8 8H19z' opacity='.55'/%3E%3Cpath fill='none' stroke='%23643e1f' stroke-width='3' d='M11 13h33l8 8v31H11z'/%3E%3Cpath fill='none' stroke='%23805a2a' stroke-width='2.4' d='M19 27h24M19 35h18M19 43h21'/%3E%3Cpath fill='%23bfb7a4' d='M48 8 26 31l5 5L54 13z'/%3E%3Cpath fill='%23756b56' d='M50 6 56 12 58 10 52 4z'/%3E%3Cpath fill='%2395886a' d='M26 31 23 39 31 36z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 4px 8px rgba(0,0,0,.22))}
body[data-theme="theme16"] #financeHeading::after{content:"";width:42px;height:42px;flex:0 0 42px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%237a5227' d='M15 22c0-5 7-10 17-10s17 5 17 10v6c0 14-10 24-17 24S15 42 15 28z'/%3E%3Cpath fill='%23996b36' d='M18 18h28c4 0 7 2 7 5v5H11v-5c0-3 3-5 7-5z'/%3E%3Cpath fill='none' stroke='%23d8ba74' stroke-width='3' d='M18 18h28c4 0 7 2 7 5v5H11v-5c0-3 3-5 7-5zm-3 10c0 14 10 24 17 24s17-10 17-24'/%3E%3Ccircle cx='32' cy='35' r='8' fill='%23f1cf68' stroke='%239e742d' stroke-width='3'/%3E%3Cpath d='M32 29v12M27 35h10' stroke='%23865918' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 4px 8px rgba(0,0,0,.22))}
body[data-theme="theme16"] .task-panel{background:linear-gradient(180deg,#876035,#5d3d1c);border-radius:18px;box-shadow:0 18px 34px rgba(28,14,2,.38), inset 0 1px 0 rgba(255,240,191,.24), inset 0 0 0 5px rgba(76,47,19,.46)}
body[data-theme="theme16"] .task-panel::after{content:"";position:absolute;left:26px;right:26px;top:72px;height:12px;background:linear-gradient(90deg,#3f2815,#8b6336 14%,#3f2815 28%,#8b6336 42%,#3f2815 56%,#8b6336 70%,#3f2815 84%,#8b6336);border-radius:999px;opacity:.44}
body[data-theme="theme16"] .finance-panel{background:linear-gradient(180deg,#6e4c25,#4c3219);border-radius:44px 44px 28px 28px/26px 26px 20px 20px;box-shadow:0 18px 34px rgba(28,14,2,.38), inset 0 1px 0 rgba(255,240,191,.24), inset 0 0 0 5px rgba(76,47,19,.38)}
body[data-theme="theme16"] .wallet-tile{position:relative;justify-content:flex-start;min-height:136px;aspect-ratio:auto;padding:28px 12px 12px;border-radius:26px 26px 30px 30px/18px 18px 36px 36px;clip-path:polygon(21% 12%,31% 4%,50% 0,69% 4%,79% 12%,81% 18%,96% 31%,100% 55%,94% 77%,82% 93%,64% 100%,36% 100%,18% 93%,6% 77%,0 55%,4% 31%,19% 18%);background:linear-gradient(180deg,color-mix(in srgb,var(--wallet-color,#6f97d1) 78%, #f2d58f) 0%,color-mix(in srgb,var(--wallet-color,#6f97d1) 52%, #a26c2d) 54%,color-mix(in srgb,var(--wallet-color,#6f97d1) 34%, #4b2c11) 100%);border:0;box-shadow:0 13px 22px rgba(16,9,3,.28),inset 0 1px 0 rgba(255,248,222,.22),inset 0 0 0 2px color-mix(in srgb,var(--wallet-color,#6f97d1) 28%, #f2d58f);color:var(--wallet-ink,#fff)}
body[data-theme="theme16"] .wallet-tile::before{content:"";position:absolute;left:24%;right:24%;top:8px;height:19px;border-radius:12px 12px 8px 8px;background:linear-gradient(180deg,#f2d58f,#af7b33);box-shadow:inset 0 2px 0 rgba(255,248,223,.42),0 0 0 2px rgba(79,45,15,.45)}
body[data-theme="theme16"] .wallet-tile::after{content:"";position:absolute;left:34%;right:34%;top:22px;height:6px;border-radius:999px;background:linear-gradient(180deg,#5e3412,#9a6930 60%,#4b260a);box-shadow:0 1px 0 rgba(255,240,201,.14),0 0 0 1px rgba(60,31,8,.28)}
body[data-theme="theme16"] .wallet-top{position:relative;z-index:1;margin-top:2px;display:flex;align-items:center;justify-content:space-between;gap:8px}
body[data-theme="theme16"] .wallet-currency{background:rgba(42,24,8,.36);border:1px solid rgba(255,235,177,.32);border-radius:999px;padding:4px 9px;color:#fff0c0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-theme="theme16"] .wallet-name{font-weight:700;text-shadow:0 1px 3px rgba(26,13,3,.44);white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;word-break:break-word;font-size:11px;line-height:1.18;min-height:2.35em;margin-top:8px;max-width:100%}
body[data-theme="theme16"] .wallet-balance{font-weight:800;text-shadow:0 1px 3px rgba(26,13,3,.44);white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;font-size:clamp(12px,1vw,18px);line-height:1.06;max-width:100%;margin-top:5px;min-height:2.15em}
body[data-theme="theme16"] .wallet-sparkline{margin-top:8px;height:24px;min-height:24px;opacity:.78}
body[data-theme="theme16"] .wallet-add{background:linear-gradient(180deg,#7d623d,#5a4225)!important;color:#ffefc2!important;border:0!important;box-shadow:0 12px 22px rgba(16,9,3,.28),inset 0 0 0 2px rgba(235,203,124,.42)!important;clip-path:polygon(21% 12%,31% 4%,50% 0,69% 4%,79% 12%,81% 18%,96% 31%,100% 55%,94% 77%,82% 93%,64% 100%,36% 100%,18% 93%,6% 77%,0 55%,4% 31%,19% 18%)}
body[data-theme="theme16"] .wallet-add::before{content:"";position:absolute;left:24%;right:24%;top:8px;height:19px;border-radius:12px 12px 8px 8px;background:linear-gradient(180deg,#f0d188,#9b6b32);box-shadow:inset 0 2px 0 rgba(255,247,220,.34),0 0 0 2px rgba(79,45,15,.42)}
body[data-theme="theme16"] .wallet-add::after{content:"";position:absolute;left:34%;right:34%;top:22px;height:6px;border-radius:999px;background:linear-gradient(180deg,#5e3412,#9a6930 60%,#4b260a)}
body[data-theme="theme16"] .wallet-add .wallet-add-symbol{margin-top:12px}
body[data-theme="theme16"] .wallet-add{background:linear-gradient(180deg,#7d623d,#5a4225)!important;color:#ffefc2!important}
body[data-theme="theme16"] .finance-action.income-action{background:linear-gradient(180deg,#1e8f4f,#11663a)!important;border-color:#73d08b!important;color:#efffe8!important}
body[data-theme="theme16"] .finance-action.expense-action{background:linear-gradient(180deg,#b03d34,#7d221c)!important;border-color:#e6968f!important;color:#fff1ef!important}
body[data-theme="theme16"] .finance-action.transfer-action{background:linear-gradient(180deg,#6f7378,#4e5156)!important;border-color:#b9bcc1!important;color:#f1f3f5!important}
body[data-theme="theme16"] .finance-panel .balance-card{background:linear-gradient(180deg,#6a4824,#573819);position:relative;overflow:hidden}
body[data-theme="theme16"] .finance-panel .balance-card::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.12;background:linear-gradient(180deg,rgba(255,234,185,.05),transparent 38%,rgba(31,15,4,.08) 100%)}
body[data-theme="theme16"] .finance-panel .balance-card::after{content:"";position:absolute;right:8px;bottom:8px;width:132px;height:132px;pointer-events:none;opacity:.78;z-index:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cdefs%3E%3CradialGradient id='g' cx='35%25' cy='32%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23fff4b5'/%3E%3Cstop offset='28%25' stop-color='%23f8dc7a'/%3E%3Cstop offset='68%25' stop-color='%23c78b31'/%3E%3Cstop offset='100%25' stop-color='%23704318'/%3E%3C/radialGradient%3E%3CradialGradient id='g2' cx='40%25' cy='35%25' r='75%25'%3E%3Cstop offset='0%25' stop-color='%23fff7cc'/%3E%3Cstop offset='30%25' stop-color='%23f4d971'/%3E%3Cstop offset='70%25' stop-color='%23b67a29'/%3E%3Cstop offset='100%25' stop-color='%23663a13'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg opacity='.92'%3E%3Cg transform='translate(16 44)'%3E%3Ccircle cx='48' cy='48' r='42' fill='url(%23g2)' stroke='%2354290e' stroke-width='6'/%3E%3Ccircle cx='48' cy='48' r='31' fill='none' stroke='%23ffe8a0' stroke-width='5'/%3E%3Cpath d='M48 27 55 41 70 42 59 52 62 67 48 59 34 67 37 52 26 42 41 41Z' fill='%23804f18' opacity='.8'/%3E%3Ccircle cx='48' cy='48' r='10' fill='none' stroke='%23fff2bf' stroke-width='3' opacity='.88'/%3E%3C/g%3E%3Cg transform='translate(66 8)'%3E%3Ccircle cx='40' cy='40' r='34' fill='url(%23g)' stroke='%2352280d' stroke-width='5'/%3E%3Ccircle cx='40' cy='40' r='25' fill='none' stroke='%23ffe9a7' stroke-width='4'/%3E%3Cpath d='M40 22 46 33 58 34 49 42 51 55 40 48 29 55 31 42 22 34 34 33Z' fill='%237a4c18' opacity='.8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
body[data-theme="theme16"] .finance-panel .balance-card>.fx-rate-card{background:rgba(46,27,11,.44);border:1px solid rgba(244,212,128,.26);border-radius:14px;color:#fbeec5}
body[data-theme="theme16"] .modal{background:linear-gradient(180deg,#75522a,#4e3418);border:3px solid #d7b56a;border-radius:20px;box-shadow:0 24px 50px rgba(15,8,2,.48),inset 0 1px 0 rgba(255,243,197,.18);color:#fbeec8}
body[data-theme="theme16"] .modal::before{content:"";position:absolute;inset:10px;border:1px solid rgba(248,223,149,.18);border-radius:14px;pointer-events:none}
body[data-theme="theme16"] .modal-title,body[data-theme="theme16"] .field-label{color:#ffe6a8}
body[data-theme="theme16"] .form-actions .secondary-btn{background:linear-gradient(180deg,#6f7073,#4c4d50)!important;border-color:#bebfc5!important;color:#fff3db!important}
body[data-theme="theme16"] .form-actions .primary-btn{background:linear-gradient(180deg,#2d9a57,#17683d)!important;border-color:#79d996!important;color:#f0fff3!important}
body[data-theme="theme16"] .danger-btn{background:linear-gradient(180deg,#b54139,#7d211c)!important;border-color:#e5a198!important;color:#fff3f1!important}
body[data-theme="theme16"] .task-panel .task-row{position:relative;align-items:stretch;gap:9px;padding:10px 10px 10px 12px;background:linear-gradient(180deg,#7c5428,#57381a);border:1px solid rgba(236,205,120,.22);border-radius:12px;box-shadow:0 10px 22px rgba(24,12,3,.26),inset 0 1px 0 rgba(255,238,191,.12)}
body[data-theme="theme16"] .task-panel .task-row::before{content:"";position:absolute;inset:6px 54px 6px 42px;border-radius:7px;pointer-events:none;background:linear-gradient(180deg,#ddb77a 0%,#ca9457 54%,#b67840 100%);border:1px solid rgba(111,57,21,.52);box-shadow:inset 0 1px 0 rgba(255,238,191,.58),inset 0 -1px 0 rgba(95,53,24,.32),0 1px 0 rgba(255,221,162,.08)}
body[data-theme="theme16"] .task-panel .task-row::after{content:"";position:absolute;left:49px;top:7px;bottom:7px;width:8px;border-radius:5px;background:linear-gradient(180deg,#8b3344,#5a1624);opacity:.8;pointer-events:none}
body[data-theme="theme16"] .task-panel .task-body{position:relative;z-index:1;align-self:center;padding:10px 12px 10px 15px}
body[data-theme="theme16"] .task-panel .task-title-line{align-items:flex-start;gap:10px}
body[data-theme="theme16"] .task-panel .task-title{font-family:Georgia,"Times New Roman",serif!important;font-size:18px!important;line-height:1.1!important;font-weight:700!important;letter-spacing:.01em;color:#3f1907!important;text-shadow:0 1px 0 rgba(255,230,177,.42)}
body[data-theme="theme16"] .task-panel .task-title.done{color:#6a5e51!important}
body[data-theme="theme16"] .task-panel .task-meta,body[data-theme="theme16"] .task-panel .task-date,body[data-theme="theme16"] .task-panel .task-time-display{font-family:Arial,sans-serif!important;color:#4e2610!important;text-shadow:none!important}
body[data-theme="theme16"] .task-panel .task-meta{margin-top:7px;gap:5px}
body[data-theme="theme16"] .task-panel .task-date{font-size:12px;font-weight:500}
body[data-theme="theme16"] .task-panel .priority{background:#5b3116;color:#f9e5a9;border-color:#ac793d}
body[data-theme="theme16"] .task-panel .task-check{position:relative;z-index:1;align-self:center;border-color:#d6b066;background:#f3deab;box-shadow:0 4px 8px rgba(26,13,4,.15)}
body[data-theme="theme16"] .task-panel .task-edit,body[data-theme="theme16"] .task-panel .task-element-btn{position:relative;z-index:1;align-self:center}
body[data-theme="theme16"] .geo-modal-warcraft{background:linear-gradient(180deg,#6e4a24,#4a3118)!important;border:4px solid #d0aa5d!important;box-shadow:0 24px 56px rgba(16,9,2,.55)!important}
body[data-theme="theme16"] .geo-modal-warcraft .geo-head{background:linear-gradient(180deg,#7c5a2c,#543819);border-bottom:2px solid rgba(234,198,116,.34)}
body[data-theme="theme16"] .geo-modal-warcraft .geo-head h2,body[data-theme="theme16"] .geo-modal-warcraft .geo-head p,body[data-theme="theme16"] .geo-modal-warcraft .geo-head small,body[data-theme="theme16"] .geo-modal-warcraft .geo-side h3,body[data-theme="theme16"] .geo-modal-warcraft .geo-toolbar,body[data-theme="theme16"] .geo-modal-warcraft .geo-legend,body[data-theme="theme16"] .geo-modal-warcraft .geo-source,body[data-theme="theme16"] .geo-modal-warcraft .geo-instructions,body[data-theme="theme16"] .geo-modal-warcraft .geo-side>label{color:#f8e7ba!important}
body[data-theme="theme16"] .geo-modal-warcraft .geo-main,body[data-theme="theme16"] .geo-modal-warcraft .geo-side{background:rgba(44,26,11,.28)}
body[data-theme="theme16"] .geo-modal-warcraft .geo-map-stage{background:linear-gradient(180deg,#1b4059,#10283a);border:2px solid rgba(236,205,120,.28);box-shadow:inset 0 0 0 2px rgba(255,233,170,.06)}
body[data-theme="theme16"] .geo-modal-warcraft .geo-country-base{stroke:#f4d78d;stroke-width:1.25;filter:url(#geoGlow)}
body[data-theme="theme16"] .geo-modal-warcraft .geo-country-group.selected .geo-country-base{stroke:#fff2cb;stroke-width:2.4}
body[data-theme="theme16"] .geo-modal-warcraft :is(.geo-toolbar button,.geo-side select,.geo-status-choice,.geo-overlays label){background:rgba(58,35,14,.55);border-color:rgba(236,204,119,.22);color:#f9ecc5}
body[data-theme="theme16"] .geo-modal-warcraft .geo-status-choice:has(input:checked),body[data-theme="theme16"] .geo-modal-warcraft .geo-overlays label:has(input:checked){box-shadow:0 0 0 1px rgba(255,228,153,.34),0 10px 20px rgba(10,5,2,.22)}

/* v32: element slots are a Warcraft-only decoration; geography shortcut is for other themes. */
body:not([data-theme="theme16"]) .task-row .task-element-btn{display:none!important}
body[data-theme="theme16"] .task-row .task-element-btn{display:inline-flex}
body[data-theme="theme16"] #openGeographyBtn{display:none!important}
body:not([data-theme="theme16"]) #openGeographyBtn{display:inline-flex}


/* v33: cyberpunk holographic add-task / add-finance modal styling */
body[data-theme="theme7"] .modal-backdrop{background:radial-gradient(circle at 50% 18%,rgba(70,233,255,.18),rgba(5,10,18,.78) 56%,rgba(2,5,9,.92) 100%)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body[data-theme="theme7"] .modal{position:relative;width:min(100%,520px);padding:24px 24px 22px;background:linear-gradient(160deg,rgba(13,28,44,.84),rgba(8,20,35,.9) 48%,rgba(5,14,28,.95) 100%)!important;border:1px solid rgba(92,237,255,.78)!important;border-radius:10px!important;color:#e8fbff!important;box-shadow:0 0 0 1px rgba(132,245,255,.18),0 0 28px rgba(47,225,255,.26),0 0 70px rgba(13,212,255,.18),inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px 0 rgba(163,245,255,.1)!important;clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,22px 100%,0 calc(100% - 22px))!important;-webkit-backdrop-filter:blur(18px)!important;backdrop-filter:blur(18px)!important;overflow:hidden}
body[data-theme="theme7"] .modal::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(93,233,255,.08),transparent 16%,transparent 84%,rgba(255,203,60,.06)),repeating-linear-gradient(180deg,rgba(110,255,255,.075) 0 1px,transparent 1px 8px);opacity:.9;mix-blend-mode:screen}
body[data-theme="theme7"] .modal::after{content:"HOLO // INPUT PANEL";position:absolute;top:10px;right:18px;font:700 10px/1 monospace;letter-spacing:1.7px;color:#6ff3ff;opacity:.75;pointer-events:none;text-shadow:0 0 10px rgba(72,233,255,.45)}
body[data-theme="theme7"] .modal-top{position:relative;z-index:1;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid rgba(94,237,255,.24)}
body[data-theme="theme7"] .modal h3{margin-top:6px;color:#effdff!important;font-size:27px;letter-spacing:.02em;text-transform:uppercase;text-shadow:0 0 16px rgba(74,232,255,.22)}
body[data-theme="theme7"] .modal .eyebrow{color:#7fe6ee!important;letter-spacing:2.3px;text-transform:uppercase}
body[data-theme="theme7"] .close-button{position:relative;z-index:1;border-radius:3px!important;background:linear-gradient(180deg,rgba(27,48,66,.92),rgba(14,28,41,.96))!important;border:1px solid rgba(92,237,255,.45)!important;color:#8bf6ff!important;box-shadow:inset 0 1px 0 rgba(145,245,255,.12),0 0 15px rgba(56,220,255,.14)!important}
body[data-theme="theme7"] .close-button:hover{background:linear-gradient(180deg,rgba(52,78,104,.96),rgba(18,33,49,.98))!important;color:#fff!important}
body[data-theme="theme7"] .modal :is(.form-row,.field-group,.form-actions){position:relative;z-index:1}
body[data-theme="theme7"] .modal .field-label{color:#9eeef5!important;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:11px}
body[data-theme="theme7"] .modal :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.form-control){background:linear-gradient(180deg,rgba(5,21,37,.84),rgba(9,27,46,.94))!important;border:1px solid rgba(83,224,244,.45)!important;border-radius:3px!important;color:#ecfbff!important;box-shadow:inset 0 0 0 1px rgba(117,246,255,.06),0 0 0 1px rgba(16,66,78,.14)!important}
body[data-theme="theme7"] .modal :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.form-control):focus{outline:none;border-color:#8ef4ff!important;box-shadow:0 0 0 1px rgba(114,247,255,.4),0 0 18px rgba(64,234,255,.2),inset 0 0 0 1px rgba(117,246,255,.08)!important}
body[data-theme="theme7"] .modal input::placeholder,body[data-theme="theme7"] .modal textarea::placeholder{color:#86bfc8!important}
body[data-theme="theme7"] .modal .input-helper{color:#7db5bc!important}
body[data-theme="theme7"] .modal input[type="checkbox"],body[data-theme="theme7"] .modal input[type="radio"]{accent-color:#55ebff}
body[data-theme="theme7"] .modal .primary-btn{background:linear-gradient(180deg,#24d4c6,#0a8b7c)!important;border:1px solid #79fff0!important;color:#02171c!important;box-shadow:0 0 18px rgba(41,229,213,.24)!important}
body[data-theme="theme7"] .modal .primary-btn:hover{background:linear-gradient(180deg,#67fff0,#19bcae)!important;color:#011014!important}
body[data-theme="theme7"] .modal .secondary-btn{background:linear-gradient(180deg,#24384d,#152637)!important;border:1px solid rgba(100,214,230,.54)!important;color:#d9fbff!important}
body[data-theme="theme7"] .modal .secondary-btn:hover{background:linear-gradient(180deg,#304a64,#1c3348)!important}
body[data-theme="theme7"] .modal .danger-btn{background:linear-gradient(180deg,#9f3841,#6a1521)!important;border:1px solid #f08a94!important;color:#fff4f4!important;box-shadow:0 0 18px rgba(255,88,108,.14)!important}
body[data-theme="theme7"] .modal .task-period-fields,body[data-theme="theme7"] .modal .contact-link-block,body[data-theme="theme7"] .modal .field-stack{background:rgba(10,26,43,.34);border:1px solid rgba(81,213,233,.14);padding:10px 12px;border-radius:4px}


/* v34 — Acid Chaos: neon holographic task and transaction editors only. */
body[data-theme="theme3"] #modalBackdrop:has(#taskForm),
body[data-theme="theme3"] #modalBackdrop:has(#transactionForm){
  background:radial-gradient(circle at 24% 14%,#f700b42b,transparent 35%),radial-gradient(circle at 82% 82%,#00edff2e,transparent 38%),#08051ad9;
  backdrop-filter:blur(12px) saturate(1.3);
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)){
  position:relative;isolation:isolate;overflow:auto;
  background:linear-gradient(145deg,#251041ee 0%,#151a45ef 48%,#091a38f0 100%)!important;
  color:#f6faff!important;
  border:2px solid #f75bd9!important;border-radius:23px!important;
  box-shadow:0 0 0 1px #37f8ed88,0 0 26px #fa21c75c,0 0 52px #00e6ff35,inset 0 0 25px #00ecff18!important;
  backdrop-filter:blur(19px) saturate(1.25);
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm))::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:repeating-linear-gradient(180deg,#affbff09 0 1px,transparent 1px 8px),
    radial-gradient(circle at 95% 2%,#ff69dc36,transparent 40%),
    linear-gradient(90deg,#00f6ff38 0 3px,transparent 3px calc(100% - 3px),#fb43dc4d calc(100% - 3px));
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm))::after{
  content:"ACID // HOLO";position:absolute;top:9px;right:74px;color:#89fff4;
  font:700 10px/1.2 monospace;letter-spacing:1.5px;pointer-events:none;text-shadow:0 0 9px #00e3ff;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) > * {position:relative;z-index:1}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) .modal-top{
  border-bottom:1px solid #6de7f06e;padding-bottom:13px;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) h3{
  color:#fff5ff!important;text-shadow:0 0 12px #f92fc45a;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) :is(.field-label,.eyebrow){
  color:#aafff3!important;letter-spacing:.045em;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.form-control){
  background:#100f2fcf!important;border:1px solid #54e3f19e!important;border-radius:12px!important;
  color:#ffffff!important;box-shadow:inset 0 0 12px #15c8e414!important;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.form-control):focus{
  outline:none!important;border-color:#dfff59!important;box-shadow:0 0 0 2px #e1ff4b38,0 0 20px #65f7ee4d!important;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) :is(input,textarea)::placeholder{color:#a9b7d8!important}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) :is(.input-helper,.task-asap-explain,.vibe-note){color:#c0d9f1!important}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) :is(input[type="checkbox"],input[type="radio"]){accent-color:#d9ff4b}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) .primary-btn{
  color:#20112f!important;background:linear-gradient(115deg,#ddff57,#68fff1)!important;
  border:1px solid #ecff9a!important;border-radius:12px!important;box-shadow:0 0 18px #a2ff574f!important;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) .secondary-btn{
  color:#f5f4ff!important;background:#4a2a77!important;border:1px solid #ce86ff!important;border-radius:12px!important;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) .danger-btn{
  color:#fff!important;background:#ad2456!important;border:1px solid #ff9ba7!important;border-radius:12px!important;
}
body[data-theme="theme3"] #modalBackdrop :is(.modal:has(#taskForm),.modal:has(#transactionForm)) .close-button{
  background:#4f2466!important;color:#fff!important;border:1px solid #ff85e0!important;border-radius:12px!important;
}
/* v34 — remove the unwanted decorations only in Warcraft. */
body[data-theme="theme16"] #financeHeading::after,
body[data-theme="theme16"] #tasksHeading::after,
body[data-theme="theme16"] .task-panel::after{content:none!important;display:none!important}


/* v36: contact placeholder varies by theme; Warcraft gets race selection, primitive keeps caveman only there. */
.contact-empty-photo-generic{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#f5f8fd,#ebf1f8);color:#71839d}
.contact-empty-photo-generic .contact-photo-symbol{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#dfe8f2;color:#607690;font-size:28px;box-shadow:inset 0 1px 0 #fff}
.contacts-list-avatar-fallback{width:100%;height:100%;display:grid;place-items:center;border-radius:inherit;background:linear-gradient(180deg,#edf2f8,#dee7f1);color:#71849e;font-size:28px}
.contact-race-block{width:100%;display:flex;flex-direction:column;gap:8px;margin-top:2px}
.contact-race-toggle{width:100%;border:1px solid #bccbdd;background:#f7fbff;color:#4b6582;border-radius:10px;padding:9px 10px;font:700 12px Arial,sans-serif;cursor:pointer}
.contact-race-picker{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.contact-race-option{display:flex;align-items:center;gap:8px;border:1px solid #cbd8e6;background:#fff;border-radius:12px;padding:7px;cursor:pointer;text-align:left;color:#425a74}
.contact-race-option-avatar{width:42px;height:42px;flex:none;border-radius:10px;overflow:hidden;display:block}
.contact-race-option-avatar img{width:100%;height:100%;object-fit:cover}
.contact-race-option-label{font-size:11px;font-weight:700;line-height:1.2}
.contact-race-option.active{border-color:#6f97d1;box-shadow:0 0 0 2px rgba(111,151,209,.16);background:#f4f8ff}
.contact-race-hint{font-size:10px;line-height:1.45;color:#7b8ca1}
body[data-theme="theme16"] .contact-race-toggle{background:linear-gradient(180deg,#6c4b24,#4e3118);border-color:#d9b363;color:#f9ebc0;box-shadow:inset 0 1px 0 rgba(255,240,191,.24)}
body[data-theme="theme16"] .contact-race-picker{grid-template-columns:1fr}
body[data-theme="theme16"] .contact-race-option{background:rgba(52,33,16,.92);border-color:rgba(231,204,131,.26);color:#faefcf}
body[data-theme="theme16"] .contact-race-option.active{background:rgba(85,56,23,.96);border-color:#f1d48f;box-shadow:0 0 0 2px rgba(241,212,143,.15)}
body[data-theme="theme16"] .contact-race-hint{color:#e9d7a8}
body[data-theme="theme16"] .contact-empty-photo-generic{background:linear-gradient(180deg,#694523,#4b2f18);color:#ffe9b9}
body[data-theme="theme16"] .contact-empty-photo-generic .contact-photo-symbol{background:#7d5a31;color:#ffe9b9}
@media(max-width:650px){.contact-race-picker{grid-template-columns:1fr}.contact-race-option-label{font-size:10px}}


/* v37: simplified navigation, with theme control adjacent to the active tasks counter. */
.header-actions #settingsBtn.settings-wide-btn{width:auto;min-width:115px;height:37px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 18px;font-size:12px;font-weight:800;letter-spacing:.01em;white-space:nowrap;line-height:1.1}
.top-summary{gap:8px}
.summary-rest{display:contents}
.top-summary .theme-summary-btn{flex:0 0 auto;align-self:center;min-width:76px;min-height:44px;padding:11px 14px;border-radius:13px;border:1px solid rgba(122,148,188,.30);background:linear-gradient(145deg,rgba(255,255,255,.75),rgba(238,243,255,.55));color:#5f6f8a;font-size:12px;font-weight:800;letter-spacing:.035em;white-space:nowrap;box-shadow:0 6px 16px rgba(62,79,117,.11),inset 0 1px #fff;cursor:pointer;transition:transform .18s,background .18s}
.top-summary .theme-summary-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.95)}
body[data-theme="theme7"] .top-summary .theme-summary-btn{background:rgba(15,43,54,.95)!important;border:1px solid #55ddea!important;color:#8bf7ff!important;border-radius:2px!important;box-shadow:0 0 14px #2bdce52d!important}
body[data-theme="theme7"] .top-summary .theme-summary-btn:hover{color:#0d202e!important;background:#ffcf4f!important;border-color:#ffcf4f!important}
body[data-theme="theme16"] .top-summary .theme-summary-btn{background:linear-gradient(180deg,#806032,#573a1a)!important;border:1px solid #e2ba6b!important;color:#ffedbb!important;box-shadow:inset 0 1px 0 #fff5c729,0 7px 14px #160c052a!important}
/* The race choice is strictly exclusive to the Warcraft theme. */
body:not([data-theme="theme16"]) .contact-race-block{display:none!important}
body[data-theme="theme16"] .contact-race-block{display:flex}
.contact-race-picker[hidden]{display:none!important}
/* A lightweight, soft-focus Night City penthouse backdrop, with no extra UI objects. */
body[data-theme="theme7"]{background-color:#060c17!important;background-image:linear-gradient(90deg,rgba(3,10,18,.76),rgba(4,12,25,.53) 42%,rgba(2,8,16,.75)),url("./assets/night-city-apartment.webp")!important;background-size:cover!important;background-position:center center!important;background-attachment:fixed!important;background-repeat:no-repeat!important}
body[data-theme="theme7"] .panel{background:rgba(16,30,44,.91)!important}
body[data-theme="theme7"] .workspace-title{background:transparent!important}
@media (max-width:1100px){.top-summary{flex-wrap:wrap;justify-content:flex-start}.top-summary .theme-summary-btn{min-height:40px}}
@media (max-width:740px){.top-summary{width:100%;gap:6px}.summary-rest{display:contents}.top-summary .theme-summary-btn{padding:10px 12px;min-width:70px}.top-summary .summary-figure{min-width:0}.top-summary .summary-active{min-width:100px}}
@media (max-width:480px){.top-summary .theme-summary-btn{order:1;flex:1 1 70px;min-height:60px}.top-summary .summary-active{order:0;flex:1 1 100px}.top-summary-rest{display:contents}.top-summary #topSummaryRest .summary-figure{flex:1 1 106px;order:2}.top-summary .summary-figure{min-width:0}.header-actions #settingsBtn.settings-wide-btn{min-width:99px;padding:8px 12px}}


/* Header: theme selector, active task count and summary figures. */
.top-summary{display:flex!important;align-items:stretch!important;gap:8px!important;flex-wrap:wrap}
.top-summary #themeBtn.theme-summary-btn{order:1;flex:0 1 224px;width:224px;min-width:192px;min-height:76px;height:auto;max-width:260px;padding:10px 14px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;white-space:normal;line-height:1.2;border-radius:15px;align-self:stretch}
.top-summary #themeBtn strong{font:800 14px/1.1 Arial,sans-serif;letter-spacing:.015em}.top-summary #themeBtn small{display:block;font:600 9px/1.25 Arial,sans-serif;letter-spacing:0;opacity:.82;max-width:190px}
.top-summary .summary-active{order:2;flex:0 0 112px;min-width:112px;min-height:76px;align-self:stretch;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
.top-summary #topSummaryRest{display:contents}.top-summary #topSummaryRest>.summary-figure{order:3;min-height:76px;align-self:stretch;box-sizing:border-box}
@media(max-width:740px){.top-summary #themeBtn.theme-summary-btn{flex:1 1 190px;min-width:174px;width:auto;min-height:72px;max-width:none;order:1}.top-summary .summary-active{flex:1 1 104px;order:2;min-height:72px}.top-summary #topSummaryRest>.summary-figure{min-height:72px;flex:1 1 107px}}
@media(max-width:430px){.top-summary #themeBtn.theme-summary-btn{min-width:170px;padding:9px}.top-summary #themeBtn small{font-size:8px}}

/* Warcraft: recognizable fantasy leather satchels, legible title & amounts, no clipping. */
body[data-theme="theme16"] .wallets-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;overflow:visible;align-items:start}
body[data-theme="theme16"] .wallet-tile{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;min-width:0;min-height:205px;height:205px;aspect-ratio:auto;padding:0 14px;border:0!important;border-radius:0!important;clip-path:none!important;background:transparent url('./assets/warcraft-pouch.webp') center center/contain no-repeat!important;color:#ffe9b4!important;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--wallet-color,#dda94e) 55%,transparent)) drop-shadow(0 8px 6px #110a06a6);box-shadow:none!important;overflow:visible!important;transform:none;transition:filter .2s ease,transform .2s ease}
body[data-theme="theme16"] .wallet-tile:hover{transform:translateY(-4px);filter:drop-shadow(0 0 12px color-mix(in srgb,var(--wallet-color,#dda94e) 75%,transparent)) drop-shadow(0 13px 8px #110a06af)}
body[data-theme="theme16"] .wallet-tile::before,body[data-theme="theme16"] .wallet-tile::after{display:none!important;content:none!important}
body[data-theme="theme16"] .wallet-tile .wallet-top{margin:0;position:absolute;top:29%;left:31%;right:31%;height:24px;display:flex;justify-content:center;align-items:center;pointer-events:none}
body[data-theme="theme16"] .wallet-tile .wallet-sheen-dot{display:none}
body[data-theme="theme16"] .wallet-tile .wallet-currency{min-width:22px;height:22px;font-size:13px;padding:0 7px;display:grid;place-items:center;color:#ffeab5!important;background:rgba(48,23,7,.8)!important;border:1px solid #d7a24a;border-radius:100%;text-shadow:0 1px 2px #180c05}
body[data-theme="theme16"] .wallet-tile .wallet-name{position:absolute;top:48%;left:13%;width:74%;min-height:0;max-width:none;display:block;overflow:visible;white-space:normal;text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset;overflow-wrap:anywhere;word-break:normal;font:800 12px/1.13 Arial,sans-serif!important;color:#ffebc0!important;text-align:center;text-shadow:0 2px 4px #140802,0 0 10px #2d1406;margin:0!important}
body[data-theme="theme16"] .wallet-tile .wallet-balance{position:absolute;top:70%;left:10%;width:80%;display:block;max-width:none;min-height:0;overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;font:800 clamp(12px,1.12vw,16px)/1.04 Arial,sans-serif!important;color:#fff3ce!important;text-shadow:0 2px 4px #100803,0 0 8px #2d1205;letter-spacing:-.03em;text-align:center;margin:0!important}
body[data-theme="theme16"] .wallet-tile .wallet-sparkline{display:none!important}
body[data-theme="theme16"] .wallet-tile.wallet-add{color:#ffe9b4!important;filter:drop-shadow(0 6px 6px #180c05a3)}
body[data-theme="theme16"] .wallet-tile.wallet-add .wallet-add-symbol{position:absolute;top:47%;margin:0;font-size:30px;color:#ffdf8c;background:transparent;border:0}
body[data-theme="theme16"] .wallet-tile.wallet-add span:last-child{position:absolute;top:69%;left:12%;width:76%;color:#fff0c6!important;font:800 11px/1.15 Arial,sans-serif!important;text-shadow:0 2px 3px #110804}
@media(max-width:420px){body[data-theme="theme16"] .wallet-tile{height:192px;min-height:192px}body[data-theme="theme16"] .wallet-tile .wallet-name{font-size:11px!important;top:50%!important}body[data-theme="theme16"] .wallet-tile .wallet-balance{font-size:12px!important;top:71%!important}body[data-theme="theme16"] .task-panel .task-title{font-size:16px!important}body[data-theme="theme16"] .task-panel .task-row::before{inset:6px 48px 6px 40px}}

/* Additional compact tools: all deeper screens share existing modal / not new dashboard panels. */
.task-extra-links{margin:10px 0 14px;padding:9px 12px;border:1px solid #b7c9d9a8;border-radius:11px;background:#f6f8fe73;color:#657c93}
.task-extra-links summary{cursor:pointer;font-size:12px;font-weight:800;list-style-position:inside;padding:2px}
.task-extra-links[open]{padding:14px}.task-extra-links .form-row{margin-top:13px}
.task-reminder-field{display:flex;flex-direction:column;gap:7px;min-width:0}.task-reminder-field small{font-size:10px;color:#8194a9}
.task-reminder-options{display:flex;gap:4px;flex-wrap:wrap}.task-reminder-options label{display:inline-flex;gap:4px;align-items:center;padding:5px 7px;border-radius:8px;border:1px solid #d4dfed;background:#fff;color:#566b81;font-size:10px;white-space:nowrap}.task-reminder-options input{accent-color:#6f7ad8}
body[data-theme="theme16"] .task-extra-links{background:#4c331d;border-color:#ba9555;color:#ffebbc}body[data-theme="theme16"] .task-reminder-options label{background:#392612;border-color:#ac8342;color:#f6e0b0}
.chrona-extra-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.chrona-extra-menu button{min-height:70px;padding:12px;border-radius:13px;border:1px solid #d2dff0;background:linear-gradient(140deg,#fff,#edf4ff);text-align:left;color:#4b6586;cursor:pointer}.chrona-extra-menu button b{display:block;font-size:13px}.chrona-extra-menu button small{display:block;font-size:10px;line-height:1.45;margin-top:5px;color:#8494a9}
.chrona-search-input{width:100%;padding:15px;font-size:15px!important}.chrona-search-list{display:flex;flex-direction:column;gap:6px;max-height:52vh;overflow:auto;margin-top:12px}
.chrona-result{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px;border:1px solid #d7e2ec;background:#ffffffc8;color:#304b6b;border-radius:11px;text-align:left;cursor:pointer}.chrona-result b{display:block;font-size:12px}.chrona-result small{font-size:10px;color:#748ca7}.chrona-result:hover{background:#e9f6ff}.chrona-blank{font-size:12px;color:#7790a6;margin:10px}
.chrona-timeline{display:flex;flex-direction:column;max-height:54vh;overflow:auto;gap:9px;margin-top:12px}.chrona-timeline-day{padding:10px 13px;border-radius:14px;border:1px solid #d4e1ed;background:#f9fbffbf}.chrona-timeline-day h4{font-size:12px;color:#5579aa;margin:0 0 8px}.chrona-timeline-day button{display:block;width:100%;border:0;border-top:1px solid #d9e2ef;padding:8px 0;background:none;text-align:left;color:#4e6482;cursor:pointer;font-size:12px}.chrona-timeline-day button small{display:block;color:#8797aa;margin-top:3px}.chrona-timeline-head{display:flex;flex-wrap:wrap;gap:6px}.chrona-timeline-head button{border:1px solid #d3e0f0;border-radius:9px;padding:8px 13px;color:#4c6c8b;background:#ffffffc5;cursor:pointer}.chrona-timeline-head button.active{background:#6f8ee0;color:white}
.chrona-history-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 2px;border-bottom:1px solid #ccd9e9;color:#4e6685;font-size:12px}.chrona-history-row button,.chrona-project-row button{padding:8px 12px;border:1px solid #b6c9df;border-radius:9px;background:#fff;color:#537ca8;cursor:pointer}.chrona-project-row{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d4e1ed;border-radius:12px;background:#fff9;margin:8px 0;color:#4e6480}.chrona-project-row b{font-size:13px}.chrona-project-row small{color:#8295ad;font-size:10px}
@media(max-width:550px){.chrona-extra-menu{grid-template-columns:1fr}.chrona-extra-menu button{min-height:52px}.top-summary #themeBtn small{font-size:8px}}

.theme-thumb.theme17{background:linear-gradient(150deg,#3f1013,#ff6b27 58%,#ffe2b2)}
body[data-theme="theme17"]{color:#fff2d3;background-color:#3f1013;background-image:linear-gradient(90deg,#3f1013c9,#3f101364 50%,#3f1013c9),var(--chrona-art-fire);background-size:cover,cover;background-position:center center;background-attachment:fixed;background-repeat:no-repeat}
body[data-theme="theme17"] .workspace-title{color:#fff2d3}
body[data-theme="theme17"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#fff2d3!important;text-shadow:0 2px 14px #3f1013}
body[data-theme="theme17"] :is(.topbar,.panel,.wallet-page-panel,.summary-figure){background:linear-gradient(140deg,#3f1013e8,#8f2d24dc 38%,#3f1013e9)!important;border:1px solid #f8ad538c!important;border-radius:22px;box-shadow:0 16px 34px #0006,inset 0 0 0 1px #ffe2b222,0 0 20px #ff6b2722!important;color:#fff2d3!important}
body[data-theme="theme17"] .panel{position:relative;isolation:isolate;overflow:hidden}
body[data-theme="theme17"] .panel::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#3f101388 10%,#3f1013cc 95%),var(--chrona-art-fire) center center/cover no-repeat;opacity:.34;pointer-events:none;z-index:-1}
body[data-theme="theme17"] .panel-head{position:relative;padding-bottom:14px;border-bottom:1px solid #f8ad5344}
body[data-theme="theme17"] .panel-head::before{content:'✹';position:absolute;top:0;right:65px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#ff6b27bb,#3f1013cf 74%);border:2px solid #f7ba4c;box-shadow:0 0 11px #ff6b2777,inset 0 0 12px #f7ba4c88;color:#fff3ce;font-size:25px;text-shadow:0 0 9px #f7ba4c}
body[data-theme="theme17"] :is(.panel h2,.panel-index,.section-subhead,.task-title,.chart-title-label,.chart-amount,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.summary-figure strong,.summary-figure small,.money-stat strong){color:#fff2d3!important;text-shadow:0 1px 4px #3f1013}
body[data-theme="theme17"] :is(.task-meta,.task-date,.transaction-meta,.chart-instructions,.chart-legend,.upcoming-row small,.selected-day small,.insights-footer,.panel-footnote,.wallet-section-note){color:#ffe2b2!important}
body[data-theme="theme17"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.task-stat,.insight-open-btn,.finance-analysis-launch){background:linear-gradient(135deg,#3f1013b9,#8f2d2491)!important;color:#fff2d3!important;border:1px solid #f8ad5357!important;box-shadow:inset 0 1px 0 #ffe2b218!important;border-radius:13px}
body[data-theme="theme17"] :is(.task-row,.wallet-tile,.transaction-row){border-left:3px solid #ff6b27!important}
body[data-theme="theme17"] :is(.task-row:hover,.wallet-tile:hover,.transaction-row:hover){background:linear-gradient(135deg,#8f2d24dd,#3f1013c6)!important;box-shadow:0 0 15px #ff6b2750!important}
body[data-theme="theme17"] :is(.task-row .priority,.task-element-btn,.wallet-currency,.wallet-add-symbol){background:radial-gradient(circle,#ff6b2775,#3f1013);color:#fff3ce!important;border:1px solid #f7ba4c;box-shadow:inset 0 0 8px #ff6b2755,0 0 6px #ff6b2733}
body[data-theme="theme17"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.calendar-open-btn,.wallet-close-btn,.icon-button,.theme-summary-btn){border-color:#f8ad5385!important;color:#fff2d3!important;background:linear-gradient(155deg,#8f2d24,#3f1013)!important;box-shadow:inset 0 1px #ffe2b240,0 4px 12px #0004!important}
body[data-theme="theme17"] .finance-action.income-action{background:linear-gradient(140deg,#1e8c66,#145d4d)!important;border-color:#72dca1!important}
body[data-theme="theme17"] .finance-action.expense-action{background:linear-gradient(140deg,#ab4154,#742334)!important;border-color:#e08b8e!important}
body[data-theme="theme17"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:linear-gradient(160deg,#8f2d24,#3f1013 65%)!important;border:2px solid #f8ad53!important;box-shadow:0 0 36px #ff6b2730,0 20px 50px #0009;color:#fff2d3}
body[data-theme="theme17"] .modal :is(.field-label,h3,.eyebrow,label){color:#fff2d3!important}
body[data-theme="theme17"] .modal :is(input,textarea,select,.form-control){background:#3f1013!important;border-color:#f8ad53a8;color:#fff2d3!important}
body[data-theme="theme17"] .task-extra-links{background:#3f1013b8;border-color:#f8ad5375;color:#fff2d3}
body[data-theme="theme17"] .task-reminder-options label{background:#3f1013;border-color:#f8ad538a;color:#fff2d3}
body[data-theme="theme17"] .theme-summary-btn small{color:#ffe2b2!important}

.theme-thumb.theme18{background:linear-gradient(150deg,#102942,#64d8ff 58%,#d7f8ff)}
body[data-theme="theme18"]{color:#eafcff;background-color:#102942;background-image:linear-gradient(90deg,#102942c9,#10294264 50%,#102942c9),var(--chrona-art-ice);background-size:cover,cover;background-position:center center;background-attachment:fixed;background-repeat:no-repeat}
body[data-theme="theme18"] .workspace-title{color:#eafcff}
body[data-theme="theme18"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#eafcff!important;text-shadow:0 2px 14px #102942}
body[data-theme="theme18"] :is(.topbar,.panel,.wallet-page-panel,.summary-figure){background:linear-gradient(140deg,#102942e8,#3a76a5dc 38%,#102942e9)!important;border:1px solid #98e7ff8c!important;border-radius:22px;box-shadow:0 16px 34px #0006,inset 0 0 0 1px #d7f8ff22,0 0 20px #64d8ff22!important;color:#eafcff!important}
body[data-theme="theme18"] .panel{position:relative;isolation:isolate;overflow:hidden}
body[data-theme="theme18"] .panel::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#10294288 10%,#102942cc 95%),var(--chrona-art-ice) center center/cover no-repeat;opacity:.34;pointer-events:none;z-index:-1}
body[data-theme="theme18"] .panel-head{position:relative;padding-bottom:14px;border-bottom:1px solid #98e7ff44}
body[data-theme="theme18"] .panel-head::before{content:'❄';position:absolute;top:0;right:65px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#64d8ffbb,#102942cf 74%);border:2px solid #d4f7ff;box-shadow:0 0 11px #64d8ff77,inset 0 0 12px #d4f7ff88;color:#e2fdff;font-size:25px;text-shadow:0 0 9px #d4f7ff}
body[data-theme="theme18"] :is(.panel h2,.panel-index,.section-subhead,.task-title,.chart-title-label,.chart-amount,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.summary-figure strong,.summary-figure small,.money-stat strong){color:#eafcff!important;text-shadow:0 1px 4px #102942}
body[data-theme="theme18"] :is(.task-meta,.task-date,.transaction-meta,.chart-instructions,.chart-legend,.upcoming-row small,.selected-day small,.insights-footer,.panel-footnote,.wallet-section-note){color:#d7f8ff!important}
body[data-theme="theme18"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.task-stat,.insight-open-btn,.finance-analysis-launch){background:linear-gradient(135deg,#102942b9,#3a76a591)!important;color:#eafcff!important;border:1px solid #98e7ff57!important;box-shadow:inset 0 1px 0 #d7f8ff18!important;border-radius:13px}
body[data-theme="theme18"] :is(.task-row,.wallet-tile,.transaction-row){border-left:3px solid #64d8ff!important}
body[data-theme="theme18"] :is(.task-row:hover,.wallet-tile:hover,.transaction-row:hover){background:linear-gradient(135deg,#3a76a5dd,#102942c6)!important;box-shadow:0 0 15px #64d8ff50!important}
body[data-theme="theme18"] :is(.task-row .priority,.task-element-btn,.wallet-currency,.wallet-add-symbol){background:radial-gradient(circle,#64d8ff75,#102942);color:#e2fdff!important;border:1px solid #d4f7ff;box-shadow:inset 0 0 8px #64d8ff55,0 0 6px #64d8ff33}
body[data-theme="theme18"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.calendar-open-btn,.wallet-close-btn,.icon-button,.theme-summary-btn){border-color:#98e7ff85!important;color:#eafcff!important;background:linear-gradient(155deg,#3a76a5,#102942)!important;box-shadow:inset 0 1px #d7f8ff40,0 4px 12px #0004!important}
body[data-theme="theme18"] .finance-action.income-action{background:linear-gradient(140deg,#1e8c66,#145d4d)!important;border-color:#72dca1!important}
body[data-theme="theme18"] .finance-action.expense-action{background:linear-gradient(140deg,#ab4154,#742334)!important;border-color:#e08b8e!important}
body[data-theme="theme18"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:linear-gradient(160deg,#3a76a5,#102942 65%)!important;border:2px solid #98e7ff!important;box-shadow:0 0 36px #64d8ff30,0 20px 50px #0009;color:#eafcff}
body[data-theme="theme18"] .modal :is(.field-label,h3,.eyebrow,label){color:#eafcff!important}
body[data-theme="theme18"] .modal :is(input,textarea,select,.form-control){background:#102942!important;border-color:#98e7ffa8;color:#eafcff!important}
body[data-theme="theme18"] .task-extra-links{background:#102942b8;border-color:#98e7ff75;color:#eafcff}
body[data-theme="theme18"] .task-reminder-options label{background:#102942;border-color:#98e7ff8a;color:#eafcff}
body[data-theme="theme18"] .theme-summary-btn small{color:#d7f8ff!important}

.theme-thumb.theme19{background:linear-gradient(150deg,#14291c,#71d778 58%,#e5ffd9)}
body[data-theme="theme19"]{color:#ecffdf;background-color:#14291c;background-image:linear-gradient(90deg,#14291cc9,#14291c64 50%,#14291cc9),var(--chrona-art-earth);background-size:cover,cover;background-position:center center;background-attachment:fixed;background-repeat:no-repeat}
body[data-theme="theme19"] .workspace-title{color:#ecffdf}
body[data-theme="theme19"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#ecffdf!important;text-shadow:0 2px 14px #14291c}
body[data-theme="theme19"] :is(.topbar,.panel,.wallet-page-panel,.summary-figure){background:linear-gradient(140deg,#14291ce8,#376344dc 38%,#14291ce9)!important;border:1px solid #89d4838c!important;border-radius:22px;box-shadow:0 16px 34px #0006,inset 0 0 0 1px #e5ffd922,0 0 20px #71d77822!important;color:#ecffdf!important}
body[data-theme="theme19"] .panel{position:relative;isolation:isolate;overflow:hidden}
body[data-theme="theme19"] .panel::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#14291c88 10%,#14291ccc 95%),var(--chrona-art-earth) center center/cover no-repeat;opacity:.34;pointer-events:none;z-index:-1}
body[data-theme="theme19"] .panel-head{position:relative;padding-bottom:14px;border-bottom:1px solid #89d48344}
body[data-theme="theme19"] .panel-head::before{content:'❀';position:absolute;top:0;right:65px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#71d778bb,#14291ccf 74%);border:2px solid #ccf49d;box-shadow:0 0 11px #71d77877,inset 0 0 12px #ccf49d88;color:#efffe6;font-size:25px;text-shadow:0 0 9px #ccf49d}
body[data-theme="theme19"] :is(.panel h2,.panel-index,.section-subhead,.task-title,.chart-title-label,.chart-amount,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.summary-figure strong,.summary-figure small,.money-stat strong){color:#ecffdf!important;text-shadow:0 1px 4px #14291c}
body[data-theme="theme19"] :is(.task-meta,.task-date,.transaction-meta,.chart-instructions,.chart-legend,.upcoming-row small,.selected-day small,.insights-footer,.panel-footnote,.wallet-section-note){color:#e5ffd9!important}
body[data-theme="theme19"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.task-stat,.insight-open-btn,.finance-analysis-launch){background:linear-gradient(135deg,#14291cb9,#37634491)!important;color:#ecffdf!important;border:1px solid #89d48357!important;box-shadow:inset 0 1px 0 #e5ffd918!important;border-radius:13px}
body[data-theme="theme19"] :is(.task-row,.wallet-tile,.transaction-row){border-left:3px solid #71d778!important}
body[data-theme="theme19"] :is(.task-row:hover,.wallet-tile:hover,.transaction-row:hover){background:linear-gradient(135deg,#376344dd,#14291cc6)!important;box-shadow:0 0 15px #71d77850!important}
body[data-theme="theme19"] :is(.task-row .priority,.task-element-btn,.wallet-currency,.wallet-add-symbol){background:radial-gradient(circle,#71d77875,#14291c);color:#efffe6!important;border:1px solid #ccf49d;box-shadow:inset 0 0 8px #71d77855,0 0 6px #71d77833}
body[data-theme="theme19"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.calendar-open-btn,.wallet-close-btn,.icon-button,.theme-summary-btn){border-color:#89d48385!important;color:#ecffdf!important;background:linear-gradient(155deg,#376344,#14291c)!important;box-shadow:inset 0 1px #e5ffd940,0 4px 12px #0004!important}
body[data-theme="theme19"] .finance-action.income-action{background:linear-gradient(140deg,#1e8c66,#145d4d)!important;border-color:#72dca1!important}
body[data-theme="theme19"] .finance-action.expense-action{background:linear-gradient(140deg,#ab4154,#742334)!important;border-color:#e08b8e!important}
body[data-theme="theme19"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:linear-gradient(160deg,#376344,#14291c 65%)!important;border:2px solid #89d483!important;box-shadow:0 0 36px #71d77830,0 20px 50px #0009;color:#ecffdf}
body[data-theme="theme19"] .modal :is(.field-label,h3,.eyebrow,label){color:#ecffdf!important}
body[data-theme="theme19"] .modal :is(input,textarea,select,.form-control){background:#14291c!important;border-color:#89d483a8;color:#ecffdf!important}
body[data-theme="theme19"] .task-extra-links{background:#14291cb8;border-color:#89d48375;color:#ecffdf}
body[data-theme="theme19"] .task-reminder-options label{background:#14291c;border-color:#89d4838a;color:#ecffdf}
body[data-theme="theme19"] .theme-summary-btn small{color:#e5ffd9!important}

.theme-thumb.theme20{background:linear-gradient(150deg,#213755,#bfdbff 58%,#f4f4ff)}
body[data-theme="theme20"]{color:#fffdf0;background-color:#213755;background-image:linear-gradient(90deg,#213755c9,#21375564 50%,#213755c9),var(--chrona-art-air);background-size:cover,cover;background-position:center center;background-attachment:fixed;background-repeat:no-repeat}
body[data-theme="theme20"] .workspace-title{color:#fffdf0}
body[data-theme="theme20"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#fffdf0!important;text-shadow:0 2px 14px #213755}
body[data-theme="theme20"] :is(.topbar,.panel,.wallet-page-panel,.summary-figure){background:linear-gradient(140deg,#213755e8,#7397bcdc 38%,#213755e9)!important;border:1px solid #d9eafa8c!important;border-radius:22px;box-shadow:0 16px 34px #0006,inset 0 0 0 1px #f4f4ff22,0 0 20px #bfdbff22!important;color:#fffdf0!important}
body[data-theme="theme20"] .panel{position:relative;isolation:isolate;overflow:hidden}
body[data-theme="theme20"] .panel::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#21375588 10%,#213755cc 95%),var(--chrona-art-air) center center/cover no-repeat;opacity:.34;pointer-events:none;z-index:-1}
body[data-theme="theme20"] .panel-head{position:relative;padding-bottom:14px;border-bottom:1px solid #d9eafa44}
body[data-theme="theme20"] .panel-head::before{content:'✧';position:absolute;top:0;right:65px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#bfdbffbb,#213755cf 74%);border:2px solid #ffdd9f;box-shadow:0 0 11px #bfdbff77,inset 0 0 12px #ffdd9f88;color:#ffffff;font-size:25px;text-shadow:0 0 9px #ffdd9f}
body[data-theme="theme20"] :is(.panel h2,.panel-index,.section-subhead,.task-title,.chart-title-label,.chart-amount,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.summary-figure strong,.summary-figure small,.money-stat strong){color:#fffdf0!important;text-shadow:0 1px 4px #213755}
body[data-theme="theme20"] :is(.task-meta,.task-date,.transaction-meta,.chart-instructions,.chart-legend,.upcoming-row small,.selected-day small,.insights-footer,.panel-footnote,.wallet-section-note){color:#f4f4ff!important}
body[data-theme="theme20"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.task-stat,.insight-open-btn,.finance-analysis-launch){background:linear-gradient(135deg,#213755b9,#7397bc91)!important;color:#fffdf0!important;border:1px solid #d9eafa57!important;box-shadow:inset 0 1px 0 #f4f4ff18!important;border-radius:13px}
body[data-theme="theme20"] :is(.task-row,.wallet-tile,.transaction-row){border-left:3px solid #bfdbff!important}
body[data-theme="theme20"] :is(.task-row:hover,.wallet-tile:hover,.transaction-row:hover){background:linear-gradient(135deg,#7397bcdd,#213755c6)!important;box-shadow:0 0 15px #bfdbff50!important}
body[data-theme="theme20"] :is(.task-row .priority,.task-element-btn,.wallet-currency,.wallet-add-symbol){background:radial-gradient(circle,#bfdbff75,#213755);color:#ffffff!important;border:1px solid #ffdd9f;box-shadow:inset 0 0 8px #bfdbff55,0 0 6px #bfdbff33}
body[data-theme="theme20"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.calendar-open-btn,.wallet-close-btn,.icon-button,.theme-summary-btn){border-color:#d9eafa85!important;color:#fffdf0!important;background:linear-gradient(155deg,#7397bc,#213755)!important;box-shadow:inset 0 1px #f4f4ff40,0 4px 12px #0004!important}
body[data-theme="theme20"] .finance-action.income-action{background:linear-gradient(140deg,#1e8c66,#145d4d)!important;border-color:#72dca1!important}
body[data-theme="theme20"] .finance-action.expense-action{background:linear-gradient(140deg,#ab4154,#742334)!important;border-color:#e08b8e!important}
body[data-theme="theme20"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:linear-gradient(160deg,#7397bc,#213755 65%)!important;border:2px solid #d9eafa!important;box-shadow:0 0 36px #bfdbff30,0 20px 50px #0009;color:#fffdf0}
body[data-theme="theme20"] .modal :is(.field-label,h3,.eyebrow,label){color:#fffdf0!important}
body[data-theme="theme20"] .modal :is(input,textarea,select,.form-control){background:#213755!important;border-color:#d9eafaa8;color:#fffdf0!important}
body[data-theme="theme20"] .task-extra-links{background:#213755b8;border-color:#d9eafa75;color:#fffdf0}
body[data-theme="theme20"] .task-reminder-options label{background:#213755;border-color:#d9eafa8a;color:#fffdf0}
body[data-theme="theme20"] .theme-summary-btn small{color:#f4f4ff!important}

.theme-thumb.theme21{background:linear-gradient(150deg,#08273c,#5ed7db 58%,#d3f8f9)}
body[data-theme="theme21"]{color:#e3ffff;background-color:#08273c;background-image:linear-gradient(90deg,#08273cc9,#08273c64 50%,#08273cc9),var(--chrona-art-water);background-size:cover,cover;background-position:center center;background-attachment:fixed;background-repeat:no-repeat}
body[data-theme="theme21"] .workspace-title{color:#e3ffff}
body[data-theme="theme21"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#e3ffff!important;text-shadow:0 2px 14px #08273c}
body[data-theme="theme21"] :is(.topbar,.panel,.wallet-page-panel,.summary-figure){background:linear-gradient(140deg,#08273ce8,#276b84dc 38%,#08273ce9)!important;border:1px solid #73c9e28c!important;border-radius:22px;box-shadow:0 16px 34px #0006,inset 0 0 0 1px #d3f8f922,0 0 20px #5ed7db22!important;color:#e3ffff!important}
body[data-theme="theme21"] .panel{position:relative;isolation:isolate;overflow:hidden}
body[data-theme="theme21"] .panel::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#08273c88 10%,#08273ccc 95%),var(--chrona-art-water) center center/cover no-repeat;opacity:.34;pointer-events:none;z-index:-1}
body[data-theme="theme21"] .panel-head{position:relative;padding-bottom:14px;border-bottom:1px solid #73c9e244}
body[data-theme="theme21"] .panel-head::before{content:'◉';position:absolute;top:0;right:65px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#5ed7dbbb,#08273ccf 74%);border:2px solid #aaeaff;box-shadow:0 0 11px #5ed7db77,inset 0 0 12px #aaeaff88;color:#efffff;font-size:25px;text-shadow:0 0 9px #aaeaff}
body[data-theme="theme21"] :is(.panel h2,.panel-index,.section-subhead,.task-title,.chart-title-label,.chart-amount,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.summary-figure strong,.summary-figure small,.money-stat strong){color:#e3ffff!important;text-shadow:0 1px 4px #08273c}
body[data-theme="theme21"] :is(.task-meta,.task-date,.transaction-meta,.chart-instructions,.chart-legend,.upcoming-row small,.selected-day small,.insights-footer,.panel-footnote,.wallet-section-note){color:#d3f8f9!important}
body[data-theme="theme21"] :is(.task-row,.money-stat,.transaction-row,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-tile,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.task-stat,.insight-open-btn,.finance-analysis-launch){background:linear-gradient(135deg,#08273cb9,#276b8491)!important;color:#e3ffff!important;border:1px solid #73c9e257!important;box-shadow:inset 0 1px 0 #d3f8f918!important;border-radius:13px}
body[data-theme="theme21"] :is(.task-row,.wallet-tile,.transaction-row){border-left:3px solid #5ed7db!important}
body[data-theme="theme21"] :is(.task-row:hover,.wallet-tile:hover,.transaction-row:hover){background:linear-gradient(135deg,#276b84dd,#08273cc6)!important;box-shadow:0 0 15px #5ed7db50!important}
body[data-theme="theme21"] :is(.task-row .priority,.task-element-btn,.wallet-currency,.wallet-add-symbol){background:radial-gradient(circle,#5ed7db75,#08273c);color:#efffff!important;border:1px solid #aaeaff;box-shadow:inset 0 0 8px #5ed7db55,0 0 6px #5ed7db33}
body[data-theme="theme21"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.calendar-open-btn,.wallet-close-btn,.icon-button,.theme-summary-btn){border-color:#73c9e285!important;color:#e3ffff!important;background:linear-gradient(155deg,#276b84,#08273c)!important;box-shadow:inset 0 1px #d3f8f940,0 4px 12px #0004!important}
body[data-theme="theme21"] .finance-action.income-action{background:linear-gradient(140deg,#1e8c66,#145d4d)!important;border-color:#72dca1!important}
body[data-theme="theme21"] .finance-action.expense-action{background:linear-gradient(140deg,#ab4154,#742334)!important;border-color:#e08b8e!important}
body[data-theme="theme21"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:linear-gradient(160deg,#276b84,#08273c 65%)!important;border:2px solid #73c9e2!important;box-shadow:0 0 36px #5ed7db30,0 20px 50px #0009;color:#e3ffff}
body[data-theme="theme21"] .modal :is(.field-label,h3,.eyebrow,label){color:#e3ffff!important}
body[data-theme="theme21"] .modal :is(input,textarea,select,.form-control){background:#08273c!important;border-color:#73c9e2a8;color:#e3ffff!important}
body[data-theme="theme21"] .task-extra-links{background:#08273cb8;border-color:#73c9e275;color:#e3ffff}
body[data-theme="theme21"] .task-reminder-options label{background:#08273c;border-color:#73c9e28a;color:#e3ffff}
body[data-theme="theme21"] .theme-summary-btn small{color:#d3f8f9!important}

body[data-theme="theme17"] .panel-head::before{animation:elementFlame 3.4s ease-in-out infinite alternate}
body[data-theme="theme18"] .panel-head::before{animation:elementCrystal 4.5s ease-in-out infinite alternate}
body[data-theme="theme19"] .panel-head::before{filter:drop-shadow(0 0 7px #72d65b)}
body[data-theme="theme20"] .panel-head::before{animation:elementCloud 5.5s ease-in-out infinite alternate}
body[data-theme="theme21"] .panel-head::before{animation:elementWater 4s ease-in-out infinite alternate}
@keyframes elementFlame{from{transform:translateY(3px) scale(.96);filter:brightness(.85)}to{transform:translateY(-3px) scale(1.1);filter:brightness(1.45)}}
@keyframes elementCrystal{from{filter:brightness(.85)}to{filter:brightness(1.5)}}
@keyframes elementCloud{from{transform:translateY(1px)}to{transform:translateY(-4px)}}
@keyframes elementWater{from{box-shadow:0 0 5px #54cfe088}to{box-shadow:0 0 22px #54e8fbaa}}
@media(prefers-reduced-motion:reduce){body[data-theme^="theme"] .panel-head::before{animation:none}}

/* v38 polish: preview the actual fantasy artwork and keep header ink readable. */
.theme-thumb.theme17{background:linear-gradient(180deg,#170a0930,#5e171b60),var(--chrona-art-fire) center 38%/cover no-repeat!important}
.theme-thumb.theme18{background:linear-gradient(180deg,#00162720,#0b254b50),var(--chrona-art-ice) center 36%/cover no-repeat!important}
.theme-thumb.theme19{background:linear-gradient(180deg,#02190719,#12342062),var(--chrona-art-earth) center 35%/cover no-repeat!important}
.theme-thumb.theme20{background:linear-gradient(180deg,#a9d5ee0f,#143f7060),var(--chrona-art-air) center 40%/cover no-repeat!important}
.theme-thumb.theme21{background:linear-gradient(180deg,#011b3218,#02293c65),var(--chrona-art-water) center 40%/cover no-repeat!important}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-name,
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-accent,
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-name small{color:#faf6e8!important;text-shadow:0 1px 8px #0008}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .header-middle{background:#10283f8c;color:#f5f8fa;border-color:#ffffff35}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .header-middle span{color:#effaff}
@media(min-width:1250px){
  .top-summary #themeBtn.theme-summary-btn{flex:0 0 196px!important;width:196px!important;min-width:196px!important}
  .top-summary .summary-active{flex:0 0 98px!important;min-width:98px!important}
  .top-summary #topSummaryRest>.summary-figure{flex:0 0 104px!important;min-width:104px!important;padding:12px 8px}
  .top-summary #topSummaryRest>.summary-figure strong{font-size:15px}
}

:root{--chrona-art-fire:url('./assets/element-fire.webp');--chrona-art-ice:url('./assets/element-ice.webp');--chrona-art-earth:url('./assets/element-earth.webp');--chrona-art-air:url('./assets/element-air.webp');--chrona-art-water:url('./assets/element-water.webp');}


/* v40: clear task outcome semantics. Green means completed, red only means missed/overdue. */
#taskStats .task-stat strong.completed{color:#189d6a!important}
#taskStats .task-stat strong.urgent{color:#db3549!important}
#taskList .task-meta .task-completion-badge{background:#061c17!important;color:#61efaa!important;border:1px solid #268a69!important;box-shadow:inset 0 1px 0 #145841,0 1px 4px #00000018!important}
#taskList .task-meta .task-overdue-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;max-width:100%;box-sizing:border-box;padding:4px 8px;background:#1b080d!important;color:#ff6b7d!important;border:1px solid #a3354c!important;border-radius:6px;box-shadow:inset 0 1px 0 #5f2536,0 1px 4px #0002;font:800 9px/1.12 Arial,Helvetica,sans-serif!important;letter-spacing:.045em;text-align:center;text-shadow:none!important;overflow-wrap:break-word;white-space:normal}
@media(max-width:440px){#taskList .task-meta .task-overdue-badge{padding:4px 6px;font-size:8px}}
/* Five elemental designs: remove status label and the magic circle that collided with it, only in the right panel. */
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .insights-panel .panel-head::before{content:none!important;display:none!important;animation:none!important}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .insights-panel .panel-badge{display:none!important}
/* Warcraft race portrait choices: larger art, readable selection and portraits. */
body[data-theme="theme16"] .contact-race-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body[data-theme="theme16"] .contact-race-option{display:flex;flex-direction:column;align-items:stretch;padding:7px;gap:6px;min-width:0}
body[data-theme="theme16"] .contact-race-option-avatar{display:block;width:100%;height:auto;aspect-ratio:1/1;overflow:hidden;border-radius:7px;border:1px solid #d0ad69aa;background:#12233b}
body[data-theme="theme16"] .contact-race-option-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%}
body[data-theme="theme16"] .contact-race-option-label{text-align:center;color:#ffedc1;font-size:11px;font-weight:800;letter-spacing:.015em}
body[data-theme="theme16"] .contact-default-photo.contact-race-preview{object-fit:cover;object-position:center 25%}
body[data-theme="theme16"] .contacts-list-avatar img{object-fit:cover;object-position:center 24%}
@media(max-width:650px){body[data-theme="theme16"] .contact-race-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Office: restrained premium corporate aesthetic with strongly readable Arial typography. */
.theme-thumb.theme22{background:linear-gradient(135deg,#1a2938 0 31%,#c4aa77 31% 35%,#faf8f3 35% 79%,#203547 79% 100%)}
body[data-theme="theme22"]{font-family:Arial,Helvetica,sans-serif!important;color:#172736!important;background:linear-gradient(130deg,#f5f3ef 0%,#e6e4e0 45%,#d6dce1 100%);background-attachment:fixed}
body[data-theme="theme22"] .app-shell{font-family:Arial,Helvetica,sans-serif!important}
body[data-theme="theme22"] .topbar{background:linear-gradient(145deg,#172734,#263a49)!important;border:1px solid #334a57!important;border-bottom:3px solid #b49b69!important;border-radius:6px!important;color:#fff!important;box-shadow:0 12px 28px #14253225}
body[data-theme="theme22"] .topbar :is(.brand-name,.brand-name small,.header-middle,.workspace-label,.header-middle span){color:#f9f7f1!important}
body[data-theme="theme22"] .topbar :is(button,.btn,.icon-button){color:#fff!important;background:#263847!important;border:1px solid #71808b!important;border-radius:4px!important}
body[data-theme="theme22"] :is(.workspace-title h1,.workspace-title p,.workspace-title .eyebrow,.workspace-title .title-period){color:#1d2d3a!important;text-shadow:none!important}
body[data-theme="theme22"] .workspace-title .eyebrow-line{background:#ac8d59}
body[data-theme="theme22"] :is(.panel,.summary-figure,.wallet-page-panel){background:#fbfaf7!important;border:1px solid #c0c7ca!important;border-top:3px solid #ab9368!important;border-radius:5px!important;box-shadow:0 14px 30px #1c30401b,0 1px 2px #1c30400d!important;color:#192a37!important}
body[data-theme="theme22"] .task-panel{border-top-color:#2c455c!important}
body[data-theme="theme22"] .finance-panel{border-top-color:#af9159!important}
body[data-theme="theme22"] .insights-panel{border-top-color:#426578!important}
body[data-theme="theme22"] .panel-head{border-bottom:1px solid #d5d7d6;padding-bottom:16px;margin-bottom:17px}
body[data-theme="theme22"] :is(.panel h2,.panel-index,.section-subhead,.chart-title-label,.chart-amount,.task-title,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.summary-figure strong,.balance-value){color:#172938!important;text-shadow:none!important}
body[data-theme="theme22"] :is(.task-meta,.task-date,.transaction-meta,.chart-instructions,.chart-legend,.upcoming-row small,.selected-day small,.insights-footer,.panel-footnote,.wallet-section-note,.summary-figure small,.task-stat small){color:#495968!important;text-shadow:none!important}
body[data-theme="theme22"] :is(.task-row,.task-stat,.money-stat,.transaction-row,.category-entry,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.insight-open-btn){background:#ffffff!important;border:1px solid #ccd2d3!important;border-radius:4px!important;color:#1b2f3e!important;box-shadow:0 2px 6px #223a4510!important}
body[data-theme="theme22"] :is(.task-row:hover,.transaction-row:hover,.upcoming-row:hover){background:#f2f4f4!important;border-color:#a8b6ba!important}
body[data-theme="theme22"] .wallet-tile:not(.wallet-add){background:linear-gradient(160deg,#253a4d,#182b39)!important;border:1px solid #526474!important;border-left:5px solid var(--wallet-color)!important;border-radius:4px!important;box-shadow:0 4px 9px #172b3929!important;color:#fff!important}
body[data-theme="theme22"] .wallet-tile:not(.wallet-add) :is(.wallet-name,.wallet-balance,.wallet-currency){color:#fff!important;text-shadow:none!important}
body[data-theme="theme22"] .wallet-tile.wallet-add{background:#ecf0f1!important;border:1px dashed #97a3ab!important;border-radius:4px!important;color:#334b5a!important}
body[data-theme="theme22"] .wallet-tile.wallet-add span{color:#334b5a!important}
body[data-theme="theme22"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.wallet-close-btn,.calendar-open-btn,.icon-button,.theme-summary-btn,.text-action){border-radius:4px!important;font-family:Arial,Helvetica,sans-serif!important}
body[data-theme="theme22"] :is(.primary-btn,.add-btn,.task-filters button.active,.graph-filters button.active){background:#263f50!important;color:#fff!important;border:1px solid #223949!important}
body[data-theme="theme22"] .finance-action.income-action{background:#1c7151!important;border-color:#155d42!important;color:#fff!important}
body[data-theme="theme22"] .finance-action.expense-action{background:#a44342!important;border-color:#8a3435!important;color:#fff!important}
body[data-theme="theme22"] .finance-action.transfer-action{background:#515d65!important;border-color:#3a4a53!important;color:#fff!important}
body[data-theme="theme22"] .finance-panel .balance-card{background:linear-gradient(150deg,#e6e9e8,#f8f8f5)!important;border:1px solid #a9b0b2!important}
body[data-theme="theme22"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:#fdfcf9!important;border:1px solid #9faab0!important;border-top:5px solid #b59a65!important;border-radius:5px!important;box-shadow:0 25px 70px #11263638!important;color:#192d3b!important}
body[data-theme="theme22"] :is(.modal h3,.modal .field-label,.fa-modal h2,.contacts-modal h2,.geo-modal h2){color:#1b2d3a!important;text-shadow:none!important}
body[data-theme="theme22"] :is(input,select,textarea,.form-control){background:#fff!important;border:1px solid #a8b2b9!important;border-radius:3px!important;color:#1d2f3c!important}
body[data-theme="theme22"] .theme-summary-btn{background:#233a4b!important;color:#fff!important;border-color:#324f5f!important}
body[data-theme="theme22"] .theme-summary-btn small,body[data-theme="theme22"] .theme-summary-btn strong{color:#fff!important}
body[data-theme="theme22"] .task-stat strong.completed{color:#16815c!important}
body[data-theme="theme22"] .task-stat strong.urgent{color:#bc3040!important}
body[data-theme="theme22"] .panel-badge{background:#f1f3f1;border-color:#c3ccc9;color:#36586a}
body[data-theme="theme22"] .theme-thumb,body[data-theme="theme22"] .panel-index::before{border-radius:2px!important}

/* v40 readability: Warcraft contact editor should be dark parchment, not pale text on pale canvas. */
body[data-theme="theme16"] .contacts-modal{background:linear-gradient(155deg,#654623,#4b331b 46%,#352514)!important;border:3px solid #d3ad65!important;box-shadow:0 28px 60px #110b05a8,inset 0 0 0 2px #f7dfa72c!important;color:#f7eaca!important}
body[data-theme="theme16"] .contacts-head{background:#49321acc!important;border-bottom:2px solid #b48d50!important}
body[data-theme="theme16"] .contacts-list-pane{background:#362818db!important;border-right:1px solid #a37e48!important}
body[data-theme="theme16"] .contacts-editor{background:linear-gradient(175deg,#5d3c1fdb,#3d2818e8)!important;color:#f9eccd!important}
body[data-theme="theme16"] :is(.contacts-head h2,.contacts-editor h3,.contacts-list-title strong,.contacts-list-text strong,.contact-loans-head h3){color:#fff2d5!important;text-shadow:0 1px 4px #100905!important}
body[data-theme="theme16"] :is(.contacts-head small,.contacts-head p,.contacts-list-text small,.contact-data-fields label,.contact-notes-field,.contact-form-foot small,.contact-race-hint,.contacts-empty){color:#ebd6a5!important;text-shadow:none!important}
body[data-theme="theme16"] :is(.contact-form input,.contact-form textarea){color:#fff5dc!important;background:#322113!important;border:1px solid #ae8750!important;border-radius:6px!important}
body[data-theme="theme16"] .contact-form input::placeholder,body[data-theme="theme16"] .contact-form textarea::placeholder{color:#c0a780!important}
body[data-theme="theme16"] .contacts-list-item{background:#583b21d9!important;border:1px solid #b0874d82!important;color:#fff3d7!important}
body[data-theme="theme16"] .contacts-list-item.active{background:#815e32!important;border-color:#e4c07a!important}
body[data-theme="theme16"] :is(.contact-new-btn,.contact-primary){background:linear-gradient(#83602f,#5d411f)!important;color:#fff2d5!important;border:1px solid #d4b579!important;border-radius:5px!important}
body[data-theme="theme16"] .contact-photo-remove{color:#f1d7a5!important;font-size:11px!important}
body[data-theme="theme16"] .contact-photo-box{background:#39291a!important;border:1px solid #c39b5b!important}
body[data-theme="theme16"] .contact-race-option{border:1px solid #d3ac67a3!important}
body[data-theme="theme16"] .contact-race-option.active{border-color:#f4d68d!important}


/* v41: elemental sigils in headers, removal of animated orb decorations, stronger success badge color and government theme. */
:root{
  --chrona-logo-fire:url('./assets/logo-fire.svg');
  --chrona-logo-ice:url('./assets/logo-ice.svg');
  --chrona-logo-earth:url('./assets/logo-earth.webp');
  --chrona-logo-air:url('./assets/logo-air.webp');
  --chrona-logo-water:url('./assets/logo-water.webp');
}
body[data-theme="theme17"]{--chrona-element-logo:var(--chrona-logo-fire);--chrona-element-glow:#ff8b38;--chrona-element-border:#ffc06a;--chrona-element-shell:#451218;}
body[data-theme="theme18"]{--chrona-element-logo:var(--chrona-logo-ice);--chrona-element-glow:#73dbff;--chrona-element-border:#d9f6ff;--chrona-element-shell:#173650;}
body[data-theme="theme19"]{--chrona-element-logo:var(--chrona-logo-earth);--chrona-element-glow:#85d85d;--chrona-element-border:#c8ef9d;--chrona-element-shell:#1f351f;}
body[data-theme="theme20"]{--chrona-element-logo:var(--chrona-logo-air);--chrona-element-glow:#d2ebff;--chrona-element-border:#ffe5a5;--chrona-element-shell:#29466d;}
body[data-theme="theme21"]{--chrona-element-logo:var(--chrona-logo-water);--chrona-element-glow:#79e8ef;--chrona-element-border:#c1f6ff;--chrona-element-shell:#0f3552;}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-mark{
  width:46px;height:46px;border-radius:15px;transform:none;
  background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--chrona-element-glow) 24%, transparent),transparent 66%),linear-gradient(145deg,color-mix(in srgb,var(--chrona-element-shell) 72%, #ffffff 8%),var(--chrona-element-shell))!important;
  border:1px solid color-mix(in srgb,var(--chrona-element-border) 70%, #ffffff 10%);
  box-shadow:0 8px 20px color-mix(in srgb,var(--chrona-element-glow) 22%, transparent),inset 0 0 0 1px #ffffff25;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-mark::before,
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-mark-inner{display:none!important}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .brand-mark::after{
  content:"";position:absolute;inset:7px;border-radius:11px;
  background:var(--chrona-element-logo) center/82% no-repeat;
  filter:drop-shadow(0 0 10px color-mix(in srgb,var(--chrona-element-glow) 58%, transparent));
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child{display:flex;align-items:flex-start;gap:16px}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child::before{
  content:"";flex:0 0 88px;width:88px;height:88px;margin-top:6px;border-radius:24px;
  background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--chrona-element-glow) 25%, transparent),transparent 70%),linear-gradient(160deg,color-mix(in srgb,var(--chrona-element-shell) 68%, #ffffff 8%),var(--chrona-element-shell));
  border:1px solid color-mix(in srgb,var(--chrona-element-border) 75%, #ffffff 15%);
  box-shadow:0 18px 35px color-mix(in srgb,var(--chrona-element-glow) 18%, transparent),inset 0 0 0 1px #ffffff25;
  background-image:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--chrona-element-glow) 25%, transparent),transparent 70%),linear-gradient(160deg,color-mix(in srgb,var(--chrona-element-shell) 68%, #ffffff 8%),var(--chrona-element-shell)),var(--chrona-element-logo);
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-position:center center,center center,center center;
  background-size:100% 100%,100% 100%,68% 68%;
}
@media(max-width:740px){
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child::before{width:70px;height:70px;flex-basis:70px;border-radius:20px}
}
@media(max-width:540px){
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child{gap:12px}
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child::before{width:58px;height:58px;flex-basis:58px;border-radius:18px;margin-top:4px;background-size:100% 100%,100% 100%,66% 66%}
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .panel-head::before{content:none!important;display:none!important;animation:none!important;box-shadow:none!important;filter:none!important}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .panel-badge{display:none!important}
#taskList .task-meta .task-completion-badge,
body[data-theme] #taskList .task-meta .task-completion-badge{
  background:#08231a!important;color:#6dffb5!important;border:1px solid #2dac74!important;box-shadow:inset 0 1px 0 #1a6648,0 2px 6px #00000018!important;text-shadow:none!important;
}
.theme-thumb.theme23{background:linear-gradient(130deg,#ffffff 0 27%,#10212f 27% 52%,#cab07b 52% 56%,#1d3040 56% 100%)}
body[data-theme="theme23"]{font-family:Arial,Helvetica,sans-serif!important;background:linear-gradient(180deg,#ffffff 0%,#f8fafb 55%,#eef2f5 100%) fixed;color:#f5f8fb}
body[data-theme="theme23"] .app-shell{font-family:Arial,Helvetica,sans-serif!important}
body[data-theme="theme23"] .topbar,
body[data-theme="theme23"] :is(.panel,.summary-figure,.wallet-page-panel){background:linear-gradient(155deg,#10212f,#1d3040 58%,#243949)!important;border:1px solid #314756!important;box-shadow:0 18px 38px #10212f22,inset 0 1px 0 #ffffff1a!important;color:#f5f8fb!important}
body[data-theme="theme23"] .topbar{border-radius:10px!important;border-bottom:3px solid #c4a76a!important}
body[data-theme="theme23"] :is(.panel,.summary-figure,.wallet-page-panel){border-radius:8px!important}
body[data-theme="theme23"] :is(.brand-name,.brand-name small,.header-middle,.header-middle span,.workspace-label,.summary-figure strong,.summary-figure small,.workspace-title .eyebrow,.workspace-title h1,.workspace-title p,.workspace-title .title-period,.panel h2,.panel-index,.section-subhead,.chart-title-label,.chart-amount,.task-title,.wallet-name,.wallet-balance,.transaction-name,.selected-day,.upcoming-row,.balance-value,.money-stat strong,.balance-hint,.balance-top span,.balance-breakdown,.wallet-section-note,.chart-legend,.chart-instructions,.panel-footnote,.task-meta,.task-date,.transaction-meta,.upcoming-row small,.selected-day small,.insights-footer,.task-stat small,.stat-label,.text-action,.task-count-label){color:#f5f8fb!important;text-shadow:none!important}
body[data-theme="theme23"] .workspace-title{padding-top:40px;padding-bottom:28px}
body[data-theme="theme23"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#172736!important}
body[data-theme="theme23"] .workspace-title .eyebrow-line{background:#c5aa6f}
body[data-theme="theme23"] :is(.task-row,.task-stat,.money-stat,.transaction-row,.category-entry,.chart-wrap,.selected-day,.upcoming-row,.insights-footer,.balance-card,.wallet-switch-item,.calendar-open-btn,.panel-bottom-add,.segmented,.insight-open-btn,.finance-analysis-launch,.wallet-tile){background:linear-gradient(160deg,#1b3142,#112532)!important;border:1px solid #395165!important;color:#f5f8fb!important;border-radius:6px!important;box-shadow:0 6px 16px #0610191e!important}
body[data-theme="theme23"] .wallet-tile.wallet-add{background:linear-gradient(155deg,#ecf1f4,#ffffff)!important;border:1px dashed #9aaaba!important;color:#23405a!important}
body[data-theme="theme23"] .wallet-tile.wallet-add span{color:#23405a!important}
body[data-theme="theme23"] :is(.task-row:hover,.transaction-row:hover,.wallet-tile:hover,.upcoming-row:hover){background:linear-gradient(160deg,#223b50,#152b39)!important}
body[data-theme="theme23"] :is(.btn,.secondary-btn,.primary-btn,.add-btn,.finance-action,.calendar-open-btn,.wallet-close-btn,.icon-button,.theme-summary-btn,.text-action){background:linear-gradient(155deg,#2a4458,#152736)!important;border:1px solid #466175!important;color:#f8fbff!important;border-radius:6px!important}
body[data-theme="theme23"] .finance-action.income-action{background:linear-gradient(155deg,#1a7a53,#12583d)!important;border-color:#4fb788!important}
body[data-theme="theme23"] .finance-action.expense-action{background:linear-gradient(155deg,#a6464d,#762430)!important;border-color:#db8288!important}
body[data-theme="theme23"] .finance-action.transfer-action{background:linear-gradient(155deg,#566370,#384754)!important;border-color:#8192a2!important}
body[data-theme="theme23"] :is(.modal,.fa-modal,.geo-modal,.contacts-modal,.chr-feature-modal){background:linear-gradient(165deg,#152837,#1f3344)!important;border:1px solid #425b70!important;border-top:4px solid #c5aa6f!important;border-radius:8px!important;color:#f5f8fb!important;box-shadow:0 24px 70px #0b16217a!important}
body[data-theme="theme23"] :is(input,select,textarea,.form-control){background:#0e2230!important;border:1px solid #50697e!important;color:#f5f8fb!important;border-radius:5px!important}
body[data-theme="theme23"] :is(input::placeholder,textarea::placeholder){color:#b7c7d4!important}
body[data-theme="theme23"] .theme-summary-btn small,
body[data-theme="theme23"] .theme-summary-btn strong{color:#f5f8fb!important}
body[data-theme="theme23"] .task-stat strong.completed{color:#78f0b1!important}
body[data-theme="theme23"] .task-stat strong.urgent{color:#ff7a8a!important}
body[data-theme="theme23"] .panel-badge{background:#122738!important;border-color:#51697a!important;color:#f2f6fb!important}
body[data-theme="theme23"] .currency-switch{background:#10212f;border-color:#3d5468}
body[data-theme="theme23"] .currency-switch button{color:#d8e3ea}
body[data-theme="theme23"] .currency-switch button.active{background:#f3f7fa;color:#1a2f3f}


/* CHRONA v42 | smaller, quieter green completion chips | crimson reserved for overdue */
#taskList .task-meta .task-completion-badge,
body[data-theme] #taskList .task-meta .task-completion-badge {
  min-height:19px!important;
  padding:3px 6px!important;
  font:750 8px/1.1 Arial,Helvetica,sans-serif!important;
  letter-spacing:.01em!important;
  background:#0c231b!important;
  color:#61cd98!important;
  border:1px solid #2d8664!important;
  box-shadow:inset 0 1px 0 #184a35,0 1px 3px #00000012!important;
  text-shadow:none!important;
  opacity:.88;
}
@media(max-width:440px){body[data-theme] #taskList .task-meta .task-completion-badge{font-size:7.6px!important;padding:3px 5px!important}}

/* Header figures: never crop long labels and currency amounts. */
.top-summary .summary-figure,
.top-summary .summary-active,
.top-summary #topSummaryRest>.summary-figure{min-width:0;max-width:none;padding:13px 14px;overflow:visible}
.top-summary .summary-figure small{white-space:normal!important;overflow-wrap:break-word;word-break:normal;line-height:1.25;font-size:9px;letter-spacing:.03em;margin-bottom:8px}
.top-summary .summary-figure strong{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal;font-size:clamp(15px,1.2vw,20px);line-height:1.2;letter-spacing:-.035em}
.top-summary .summary-active{flex:0 1 146px!important;min-width:138px!important;max-width:none!important}
.top-summary #topSummaryRest>.summary-figure{flex:0 1 172px!important;min-width:150px!important;max-width:none!important}
.top-summary #themeBtn.theme-summary-btn{flex:0 1 220px!important;min-width:186px!important;max-width:240px!important}
@media(max-width:1100px){
  .workspace-title{flex-wrap:wrap;justify-content:space-between}
  .top-summary{max-width:100%;justify-content:flex-start}
  .top-summary .summary-active{flex:1 1 144px!important;min-width:130px!important}
  .top-summary #topSummaryRest>.summary-figure{flex:1 1 152px!important;min-width:142px!important}
}
@media(max-width:580px){
  .top-summary{width:100%;gap:6px}
  .top-summary #themeBtn.theme-summary-btn{flex:1 1 190px!important;min-width:165px!important;max-width:none!important}
  .top-summary .summary-active{flex:1 1 132px!important;min-width:128px!important}
  .top-summary #topSummaryRest>.summary-figure{flex:1 1 135px!important;min-width:130px!important}
  .top-summary .summary-figure{padding:11px 12px}
  .top-summary .summary-figure strong{font-size:clamp(14px,3.8vw,18px)!important}
}

/* Theme 22 | executive office background with precise dark text on white FX quote area. */
body[data-theme="theme22"]{
  background-color:#ece6df!important;
  background-image:linear-gradient(90deg,rgba(245,242,235,.83),rgba(245,245,243,.74) 50%,rgba(235,239,241,.83)),url('./assets/office-background.webp')!important;
  background-attachment:fixed!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;
}
/* Readable exchange rates on the light balance surface. */
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card{
  background:linear-gradient(150deg,#fbfcfb,#e9eeef)!important;
  color:#223644!important;border:1px solid #abb7bc!important;
  box-shadow:0 3px 13px #172c3718!important;
}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card :is(.fx-rate-eyebrow,.fx-rate-symbol,.fx-rate-help,.fx-ledger-title,.fx-empty,.fx-auto-label,.fx-auto-status,.fx-auto-status a){color:#4c6373!important}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-rate-heading h3,
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-rate-total strong{color:#203543!important}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-rate-total,
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-rate-total span{color:#3d5466!important}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-rate-fields label{
  background:#ffffff!important;border:1px solid #b9c5cd!important;color:#263b4b!important;
}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-rate-input{
  background:#f6f9f9!important;border:1px solid #adbfc5!important;color:#183b4e!important;
}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card .fx-ledger-entry{
  background:#fff!important;border-color:#c4d0d6!important;color:#2b4050!important;
}
body[data-theme="theme22"] .finance-panel .balance-card>.fx-rate-card :is(.fx-rate-fields input:focus-visible,.fx-rate-input:focus-visible){outline:2px solid #647f96}

/* Theme 23 | understated luminous stone hall behind the dark government panels. */
body[data-theme="theme23"]{
  background-color:#f8f7f3!important;
  background-image:linear-gradient(90deg,rgba(252,250,245,.80),rgba(251,251,251,.68) 50%,rgba(251,250,248,.84)),url('./assets/government-background.webp')!important;
  background-attachment:fixed!important;background-repeat:no-repeat!important;background-position:center!important;background-size:cover!important;
}
/* Restore dark titles in the white hero area, where the government theme does not have a panel. */
body[data-theme="theme23"] .workspace-title :is(h1,p,.eyebrow,.title-period){color:#152939!important;text-shadow:0 1px 1px #ffffff65!important}

/* Calendar | neutral ink, strict pale task ribbons for every theme and every view. */
body .calendar-overlay .cal-month-event,
body .calendar-overlay .cal-time-event{
  background:color-mix(in srgb,var(--task-color,#8296b1) 16%,#f9fbfc)!important;
  border:1px solid color-mix(in srgb,var(--task-color,#8296b1) 48%,#b7c1ca)!important;
  border-left:4px solid color-mix(in srgb,var(--task-color,#8296b1) 75%,#394e60)!important;
  border-radius:3px!important;
  color:#15232f!important;
  text-shadow:none!important;
  box-shadow:0 1px 3px #1724321c!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:700!important;
}
body .calendar-overlay .cal-month-event span,
body .calendar-overlay .cal-time-event strong,
body .calendar-overlay .cal-time-event small{
  color:#17212b!important;text-shadow:none!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
body .calendar-overlay :is(.cal-month-event,.cal-time-event).is-done{background:#e8efea!important;color:#233d32!important;border-left-color:#559b72!important;opacity:.88}
body .calendar-overlay .cal-event-resize{
  border-bottom:2px solid #536579a8!important;
  background:repeating-linear-gradient(90deg,transparent 0 36%,#5365799c 36% 64%,transparent 64% 100%) center center/30px 2px no-repeat!important;
}

/* v42 refinement: keep all four header figures together, never strand balance on its own second line. */
.workspace-title{flex-wrap:wrap!important}
.top-summary{min-width:min(748px,100%)!important;justify-content:flex-end!important;flex-wrap:wrap!important}
@media(max-width:760px){.top-summary{min-width:0!important;justify-content:flex-start!important;width:100%}}

/* Office FX: v16/v23 auto-rate labels were white because they inherited balance-card ink. */
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-fields .fx-rate-tile{
  background:#f4f7f7!important;border:1px solid #b7c3cb!important;color:#233c4d!important;
  box-shadow:inset 0 1px 0 #ffffff!important;border-radius:5px!important;
}
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-code,
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-edit,
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-edit span,
body[data-theme="theme22"] .finance-panel .balance-card .fx-manual-label,
body[data-theme="theme22"] .finance-panel .balance-card .fx-manual-label span,
body[data-theme="theme22"] .finance-panel .balance-card .fx-auto-status,
body[data-theme="theme22"] .finance-panel .balance-card .fx-auto-status .fx-auto-label,
body[data-theme="theme22"] .finance-panel .balance-card .fx-ledger-title,
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-total,
body[data-theme="theme22"] .finance-panel .balance-card .fx-empty{
  color:#304b5d!important;
}
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-input,
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-input:disabled,
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-input:not(:disabled){
  color:#173b4d!important;-webkit-text-fill-color:#173b4d!important;
  background:transparent!important;border:0!important;border-bottom:1px dotted #839da9!important;
}
body[data-theme="theme22"] .finance-panel .balance-card .fx-auto-status a{color:#254e67!important}
body[data-theme="theme22"] .finance-panel .balance-card .fx-auto-status button{color:#234759!important;background:#e0e7e9!important;border:1px solid #bbc8d0!important}
body[data-theme="theme22"] .finance-panel .balance-card .fx-rate-fields .fx-rate-add{background:#f0f4f5!important;border:1px dashed #9aaeb9!important;color:#254759!important}
body[data-theme="theme22"] .finance-panel .balance-card .fx-ledger-entry,
body[data-theme="theme22"] .finance-panel .balance-card .fx-ledger-entry strong{color:#213b4d!important;background:#f6f9f9!important;border-color:#b7c6cf!important}

/* Office theme selector: explicit dark ink surface so white copy never disappears. */
body[data-theme="theme22"] .top-summary #themeBtn.theme-summary-btn{
  background:#203a4d!important;background-image:linear-gradient(145deg,#2a465a,#1b3242)!important;
  background-color:#203a4d!important;border:1px solid #3e5968!important;
  color:#fff!important;box-shadow:0 7px 16px #172b392b!important;
}
body[data-theme="theme22"] .top-summary #themeBtn.theme-summary-btn :is(strong,small){color:#fff!important}


/* CHRONA v43: no sync badge anywhere; ice day/event text, office balance legibility and FX label spacing. */
/* Defence in depth for any cached/extended layouts that still contain this old indicator. */
.panel-head>.panel-badge{display:none!important}
/* Ice: white dates and event descriptions on deep-blue, readable event surfaces. */
body[data-theme="theme18"] .insights-panel :is(.selected-day,.upcoming-row){
  background:linear-gradient(145deg,#123852,#194f6d)!important;
  border:1px solid #72c6e088!important;
  color:#effdff!important;
}
body[data-theme="theme18"] .insights-panel :is(.selected-day-title strong,.selected-day-title span,.selected-day-body,.day-event b,.day-event small,.day-event>span,.upcoming-info b,.upcoming-info small,.upcoming-date strong,.upcoming-date small,.upcoming-money){
  color:#effdff!important;text-shadow:0 1px 2px #03182999!important;
}
body[data-theme="theme18"] .insights-panel :is(.selected-day-title strong,.upcoming-info b,.day-event b){font-weight:800!important}
body[data-theme="theme18"] .insights-panel .upcoming-date{
  background:linear-gradient(160deg,#1a5372,#12344f)!important;
  border:1px solid #6fbcde!important;color:#f5fdff!important;
}
body[data-theme="theme18"] .insights-panel .upcoming-money.positive{color:#b5f8db!important}
/* Office: currency breakdown figures sit on a pale card, so use dark graphite ink. */
body[data-theme="theme22"] .finance-panel .balance-card .balance-currency-item{
  background:#e4eaeb!important;
  border:1px solid #aebbc4!important;
  color:#203645!important;
  box-shadow:inset 0 1px 0 #ffffffde!important;
}
body[data-theme="theme22"] .finance-panel .balance-card .balance-currency-item.selected{
  background:#dbe5e8!important;border-color:#7e9cae!important;
}
body[data-theme="theme22"] .finance-panel .balance-card .balance-currency-item :is(span,strong){
  color:#1a3141!important;-webkit-text-fill-color:#1a3141!important;text-shadow:none!important;opacity:1!important;
}
/* The wallet tiles themselves remain dark with light amounts, by design. */
body[data-theme="theme22"] .finance-panel .balance-card .fx-ledger-title{padding-left:12px!important}


/* CHRONA v44: government right-column readability aligned with Ice; landscape instruction text and minimal landscape refinements. */
body[data-theme="theme23"] .insights-panel :is(.selected-day,.upcoming-row){
  background:linear-gradient(145deg,#123852,#194f6d)!important;
  border:1px solid #72c6e088!important;
  color:#effdff!important;
}
body[data-theme="theme23"] .insights-panel :is(.selected-day-title strong,.selected-day-title span,.selected-day-body,.day-event b,.day-event small,.day-event>span,.upcoming-info b,.upcoming-info small,.upcoming-date strong,.upcoming-date small,.upcoming-money){
  color:#effdff!important;text-shadow:0 1px 2px #03182999!important;
}
body[data-theme="theme23"] .insights-panel :is(.selected-day-title strong,.upcoming-info b,.day-event b){font-weight:800!important}
body[data-theme="theme23"] .insights-panel .upcoming-date{
  background:linear-gradient(160deg,#1a5372,#12344f)!important;
  border:1px solid #6fbcde!important;color:#f5fdff!important;
}
body[data-theme="theme23"] .insights-panel .upcoming-money.positive{color:#b5f8db!important}

body:is([data-theme="theme4"],[data-theme="theme5"]) .workspace-title p{
  color:#fff!important;
  text-shadow:0 2px 9px #0a132299!important;
}
body[data-theme="theme4"] :is(.theme-summary-btn,.summary-figure){
  color:#fff!important;
  border-color:#ffffff6f!important;
  box-shadow:0 8px 22px #10211426!important;
}
body[data-theme="theme4"] :is(.theme-summary-btn strong,.theme-summary-btn small,.summary-figure strong,.summary-figure small,.summary-figure .stat-label,.summary-figure .task-count-label){
  color:#fff!important;
  text-shadow:0 1px 4px #11311f88!important;
}

/* Theme 4: clearer cartoon cabins with lit windows next to the campfire in the lower-right panel. */
body[data-theme="theme4"] .insights-panel::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201000%201000%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Cdefs%3E%0A%3CradialGradient%20id%3D%22glow%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffe58d%22%20stop-opacity%3D%220.85%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffe58d%22%20stop-opacity%3D%220%22/%3E%0A%3C/radialGradient%3E%0A%3ClinearGradient%20id%3D%22roof1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236f4d34%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23553622%22/%3E%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22roof2%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23745136%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%234b301e%22/%3E%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22wall1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238e7259%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2368503e%22/%3E%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22wall2%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239a7a61%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2370513c%22/%3E%3C/linearGradient%3E%0A%3CradialGradient%20id%3D%22fire%22%20cx%3D%2250%25%22%20cy%3D%2255%25%22%20r%3D%2255%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff5bf%22/%3E%3Cstop%20offset%3D%220.45%22%20stop-color%3D%22%23ffcb63%22/%3E%3Cstop%20offset%3D%220.82%22%20stop-color%3D%22%23ff7b1a%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff7b1a%22%20stop-opacity%3D%220%22/%3E%3C/radialGradient%3E%0A%3C/defs%3E%0A%3Cellipse%20cx%3D%22800%22%20cy%3D%22865%22%20rx%3D%22170%22%20ry%3D%2260%22%20fill%3D%22%23523f2a%22%20opacity%3D%220.75%22/%3E%0A%3Cellipse%20cx%3D%22730%22%20cy%3D%22845%22%20rx%3D%22115%22%20ry%3D%2242%22%20fill%3D%22%232c2117%22%20opacity%3D%220.5%22/%3E%0A%3Cellipse%20cx%3D%22760%22%20cy%3D%22840%22%20rx%3D%2292%22%20ry%3D%2254%22%20fill%3D%22url%28%23glow%29%22%20opacity%3D%220.65%22/%3E%0A%3Crect%20x%3D%22670%22%20y%3D%22772%22%20width%3D%22120%22%20height%3D%2288%22%20rx%3D%228%22%20fill%3D%22url%28%23wall1%29%22%20stroke%3D%22%233d281b%22%20stroke-width%3D%226%22/%3E%0A%3Cpolygon%20points%3D%22655%2C782%20730%2C725%20805%2C782%22%20fill%3D%22url%28%23roof1%29%22%20stroke%3D%22%233d281b%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22/%3E%0A%3Crect%20x%3D%22695%22%20y%3D%22802%22%20width%3D%2218%22%20height%3D%2222%22%20rx%3D%222%22%20fill%3D%22%23ffe991%22/%3E%0A%3Crect%20x%3D%22728%22%20y%3D%22802%22%20width%3D%2218%22%20height%3D%2222%22%20rx%3D%222%22%20fill%3D%22%23ffe991%22/%3E%0A%3Crect%20x%3D%22710%22%20y%3D%22830%22%20width%3D%2240%22%20height%3D%2230%22%20rx%3D%223%22%20fill%3D%22%234d3628%22/%3E%0A%3Crect%20x%3D%22814%22%20y%3D%22790%22%20width%3D%22102%22%20height%3D%2274%22%20rx%3D%228%22%20fill%3D%22url%28%23wall2%29%22%20stroke%3D%22%233d281b%22%20stroke-width%3D%226%22/%3E%0A%3Cpolygon%20points%3D%22800%2C799%20866%2C748%20930%2C799%22%20fill%3D%22url%28%23roof2%29%22%20stroke%3D%22%233d281b%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22/%3E%0A%3Crect%20x%3D%22833%22%20y%3D%22816%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%20fill%3D%22%23ffe991%22/%3E%0A%3Crect%20x%3D%22861%22%20y%3D%22816%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%20fill%3D%22%23ffe991%22/%3E%0A%3Crect%20x%3D%22847%22%20y%3D%22838%22%20width%3D%2232%22%20height%3D%2226%22%20rx%3D%223%22%20fill%3D%22%234d3628%22/%3E%0A%3Cellipse%20cx%3D%22775%22%20cy%3D%22872%22%20rx%3D%2285%22%20ry%3D%2228%22%20fill%3D%22%232d2318%22%20opacity%3D%220.65%22/%3E%0A%3Crect%20x%3D%22742%22%20y%3D%22865%22%20width%3D%2236%22%20height%3D%226%22%20rx%3D%222%22%20fill%3D%22%237d5731%22%20transform%3D%22rotate%2818%20760%20868%29%22/%3E%0A%3Crect%20x%3D%22742%22%20y%3D%22865%22%20width%3D%2236%22%20height%3D%226%22%20rx%3D%222%22%20fill%3D%22%237d5731%22%20transform%3D%22rotate%28-18%20760%20868%29%22/%3E%0A%3Cpath%20d%3D%22M760%20874c-13-18-6-36%204-50%205%2012%2017%2018%2018%2035%201%2013-9%2025-22%2015z%22%20fill%3D%22%23ff7b1a%22/%3E%0A%3Cpath%20d%3D%22M760%20868c-9-12-4-26%203-35%204%208%2012%2012%2013%2024%201%2010-6%2019-16%2011z%22%20fill%3D%22%23ffd76f%22/%3E%0A%3Ccircle%20cx%3D%22710%22%20cy%3D%22808%22%20r%3D%2240%22%20fill%3D%22url%28%23glow%29%22%20opacity%3D%220.28%22/%3E%0A%3Ccircle%20cx%3D%22866%22%20cy%3D%22823%22%20r%3D%2244%22%20fill%3D%22url%28%23glow%29%22%20opacity%3D%220.25%22/%3E%0A%3C/svg%3E");
  background-size:100% 100%;background-position:center;background-repeat:no-repeat;
  opacity:.98;
}

/* Theme 6: the theme picker button should visually match the right-side summary cards. */
body[data-theme="theme6"] .theme-summary-btn{
  background:#141435!important;
  border:2px solid #07eafa!important;
  color:#faffff!important;
  box-shadow:7px 7px 0 #ff00a8!important;
}
body[data-theme="theme6"] .theme-summary-btn :is(strong,small){color:#faffff!important}

/* Make the theme chooser scrollable in dense themes such as Cyberpunk. */
.theme-grid{
  max-height:min(72vh,700px);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  align-content:start;
  padding-right:4px;
}
.theme-grid::-webkit-scrollbar{width:10px}
.theme-grid::-webkit-scrollbar-thumb{background:#8da0b76e;border-radius:10px}


/* CHRONA v45: white event text in Fire / Earth / Air, aligned right-hand header controls for all five elements. */
body[data-theme="theme17"]{--element-event-top:#40151b;--element-event-bottom:#652527;--element-event-edge:#f4a06b;}
body[data-theme="theme19"]{--element-event-top:#142a20;--element-event-bottom:#294731;--element-event-edge:#8acb7c;}
body[data-theme="theme20"]{--element-event-top:#203a54;--element-event-bottom:#324d70;--element-event-edge:#badbf7;}
body:is([data-theme="theme17"],[data-theme="theme19"],[data-theme="theme20"]) .insights-panel :is(.selected-day,.upcoming-row){
  background:linear-gradient(145deg,var(--element-event-top),var(--element-event-bottom))!important;
  border:1px solid var(--element-event-edge)!important;
  color:#ffffff!important;
}
body:is([data-theme="theme17"],[data-theme="theme19"],[data-theme="theme20"]) .insights-panel :is(
  .selected-day-title,.selected-day-title strong,.selected-day-title span,.selected-day-body,
  .day-event,.day-event b,.day-event small,.day-event>span,.upcoming-info,.upcoming-info b,
  .upcoming-info small,.upcoming-date,.upcoming-date strong,.upcoming-date small,
  .upcoming-money,.upcoming-heading,.upcoming-heading span){
  color:#ffffff!important;
  text-shadow:0 1px 3px #0009!important;
}
body:is([data-theme="theme17"],[data-theme="theme19"],[data-theme="theme20"]) .insights-panel .upcoming-date{
  background:linear-gradient(145deg,var(--element-event-bottom),var(--element-event-top))!important;
  border:1px solid var(--element-event-edge)!important;
  color:#ffffff!important;
}
body:is([data-theme="theme17"],[data-theme="theme19"],[data-theme="theme20"]) .insights-panel .upcoming-money.positive{color:#c8ffe2!important;}

/* The decorative sigil belongs alongside the left-hand heading, not in the layout's main horizontal flow. */
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(652px,748px);
  align-items:center!important;
  gap:16px!important;
  flex-wrap:nowrap!important;
  min-width:0;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child{
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr);
  grid-template-rows:auto auto auto;
  align-content:center;
  align-items:center;
  column-gap:12px!important;
  row-gap:3px;
  min-width:0;
  width:100%;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child::before{
  grid-column:1;
  grid-row:1 / 4;
  position:relative;
  width:78px;
  height:78px;
  margin:0;
  box-sizing:border-box;
  flex:none;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child>.eyebrow{grid-column:2;grid-row:1;min-width:0;letter-spacing:1.3px;font-size:9px;}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child>h1{
  grid-column:2;grid-row:2;min-width:0;
  font-size:clamp(27px,2.52vw,40px)!important;
  letter-spacing:-1.5px;
  line-height:1.12;
  margin-top:4px;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child>p{
  grid-column:2;grid-row:3;
  min-width:0;
  margin-top:5px;
  font-size:11px;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary{
  width:100%!important;
  min-width:0!important;
  max-width:748px;
  justify-self:end;
  margin-left:auto;
  align-items:stretch!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary #themeBtn.theme-summary-btn{
  flex:1.45 1 198px!important;
  width:auto!important;
  min-width:175px!important;
  max-width:none!important;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary .summary-active{
  flex:1 1 134px!important;
  min-width:115px!important;
}
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary #topSummaryRest>.summary-figure{
  flex:1 1 140px!important;
  min-width:115px!important;
}
@media(max-width:1370px){
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary{
    justify-self:end;
    width:min(748px,100%)!important;
  }
}
@media(max-width:760px){
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary{flex-wrap:wrap!important;justify-content:flex-end!important;}
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child{grid-template-columns:64px minmax(0,1fr);}
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child::before{width:64px;height:64px;}
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child>h1{font-size:clamp(25px,6vw,34px)!important;}
}
@media(max-width:450px){
  body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary #themeBtn.theme-summary-btn{min-width:168px!important;}
}

/* CHRONA v47: brighter fire emblem. The supplied elemental logos are reused in both brand locations. */
body[data-theme="theme17"] .brand-mark::after{filter:brightness(1.18) saturate(1.25) drop-shadow(0 0 12px #ffbd5b99)!important}
body[data-theme="theme17"] .workspace-title>div:first-child::before{filter:brightness(1.16) saturate(1.22) drop-shadow(0 0 12px #ff8b3870)}

/* CHRONA v47: the large elemental logo must paint ON TOP of the backing gradient. */
body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title>div:first-child::before{
  background-image:var(--chrona-element-logo),radial-gradient(circle at center,color-mix(in srgb,var(--chrona-element-glow) 23%,transparent),transparent 72%),linear-gradient(160deg,color-mix(in srgb,var(--chrona-element-shell) 68%,#ffffff 8%),var(--chrona-element-shell))!important;
  background-size:72% 72%,100% 100%,100% 100%!important;
  background-position:center,center,center!important;
  background-repeat:no-repeat!important;
}

/* v48 · Two focused agents, inside existing settings modal, no dashboard clutter. */
#modalBackdrop:has(.chrona-agents){z-index:75;align-items:center;padding:12px}
#modalBackdrop:has(.chrona-agents) .modal{width:min(900px,100%);max-height:min(94dvh,950px);display:flex;flex-direction:column;overflow:hidden;padding:21px 23px 15px;min-height:0}
#modalBackdrop:has(.chrona-agents) .modal-top{margin-bottom:12px;flex:0 0 auto}
#modalBackdrop:has(.chrona-agents) #modalBody{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.chrona-agents{--agent-ink:#293c53;--agent-muted:#63768d;--agent-edge:#cbd8e6;--agent-surface:#ffffffd8;--agent-sub:#edf3fc;--agent-accent:#5279bd;color:var(--agent-ink);font:13px/1.5 Arial,Helvetica,sans-serif;padding:2px 1px 12px}
.chrona-agent-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px}
.chrona-agent-tabs button{padding:12px 13px;border:1px solid var(--agent-edge);border-radius:12px;background:var(--agent-sub);color:var(--agent-muted);font:800 12px/1.35 Arial,Helvetica,sans-serif;cursor:pointer}
.chrona-agent-tabs button.active{background:linear-gradient(130deg,#2c537f,#527db4);color:#fff!important;border-color:#739bc4;box-shadow:0 8px 20px #324d7f2f}
.chrona-agent-content{display:flex;flex-direction:column;gap:14px;min-width:0}
.chrona-agent-intro{padding:15px 18px;background:linear-gradient(130deg,#edf3f9,#e4ecf8);border:1px solid var(--agent-edge);border-radius:13px}
.chrona-agent-intro b{font-size:17px;line-height:1.1;color:#1c3953}
.chrona-agent-intro p{margin:6px 0 0;color:#556b80;font-size:12px;line-height:1.55}
.chrona-agent-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.chrona-agent-kpis>div{padding:13px 12px;border:1px solid var(--agent-edge);border-radius:11px;background:var(--agent-surface);min-width:0}
.chrona-agent-kpis small{display:block;color:#5f738a;font-size:10px;line-height:1.45;font-weight:700}
.chrona-agent-kpis strong{display:block;color:#213c58;font-size:clamp(13px,1.5vw,20px);line-height:1.2;margin-top:5px;overflow-wrap:anywhere}
.chrona-agent-content h4{font:800 15px/1.3 Arial,Helvetica,sans-serif;color:#203a51;margin:3px 0 -6px}
.chrona-agent-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.chrona-agent-cards article{display:flex;flex-direction:column;gap:7px;border-radius:12px;padding:13px 13px 12px;background:var(--agent-surface);border:1px solid var(--agent-edge)}
.chrona-agent-cards strong{font-size:12px;color:#253e57}
.chrona-agent-cards p{font-size:11px;color:#526d84;line-height:1.48;margin:0;flex:1}
.chrona-agent-cards button{align-self:flex-start;font:800 11px Arial,Helvetica,sans-serif;padding:9px 11px;border:1px solid #a1bbd1;border-radius:8px;background:#eff6ff;color:#25507a;cursor:pointer}
.chrona-agent-prompt{display:flex;flex-direction:column;gap:8px;margin-top:2px}
.chrona-agent-prompt label{font-weight:800;font-size:12px;color:#263e57}
.chrona-agent-prompt>div{display:flex;gap:8px}
.chrona-agent-prompt input{flex:1;min-width:0;background:#fff!important;color:#1c3146!important;border:1px solid #aebfce!important;box-shadow:none!important;border-radius:9px!important}
.chrona-agent-prompt button{flex:0 0 auto;border-radius:9px!important}
.chrona-agent-messages{max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:5px 2px}
.chrona-agent-message{padding:10px 12px;border:1px solid var(--agent-edge);border-radius:11px;background:var(--agent-surface)}
.chrona-agent-message.user{background:#dce9f8}
.chrona-agent-message b{font-size:11px;color:#2c5277}
.chrona-agent-message p{margin:4px 0 0;font-size:12px;color:#2d4559;line-height:1.55;overflow-wrap:anywhere}
.chrona-agent-muted{margin:3px 0 0;color:#667b92;font-size:11px;line-height:1.6}
.chrona-launch-progress{padding:13px 16px;background:#eaf1f9;border:1px solid #cbd9e7;border-radius:12px}
.chrona-launch-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.chrona-launch-progress strong{font-size:12px;color:#243d55}
.chrona-launch-progress small{font-size:11px;color:#536a80}
.chrona-launch-progress [role="progressbar"]{height:9px;background:#bccbdb;border-radius:99px;overflow:hidden}
.chrona-launch-progress [role="progressbar"] span{display:block;height:100%;background:linear-gradient(90deg,#2c7f92,#5aa9a9);border-radius:99px;transition:width .2s}
.chrona-agent-section{padding:14px 16px;background:#f3f7fc;border:1px solid var(--agent-edge);border-radius:12px;min-width:0}
.chrona-agent-section>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;color:#28435c;font-weight:800;font-size:13px;list-style-position:inside}
.chrona-agent-section>summary span{color:#7791a8;font-size:10px;font-weight:600;text-align:right}
.chrona-agent-section[open]>summary{margin-bottom:12px}
.chrona-launch-calculator{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px;margin-bottom:13px}
.chrona-launch-calculator label,.chrona-agent-provider-label{display:flex;flex-direction:column;gap:5px;color:#405b75;font-weight:700;font-size:11px;min-width:0}
.chrona-launch-calculator :is(input,select),.chrona-agent-provider-label select{width:100%;min-width:0;background:#fff!important;color:#253e57!important;border:1px solid #bdcad9!important;border-radius:8px!important;box-shadow:none!important;padding:9px 10px!important}
.chrona-launch-update{grid-column:1/-1;display:flex;justify-content:flex-end}
.chrona-agent-section .chrona-agent-kpis{margin:8px 0 10px;gap:7px}
.chrona-agent-section .chrona-agent-kpis>div{padding:10px}
.chrona-agent-deploy-list{margin:14px 0 12px;padding-left:23px;display:grid;gap:10px;color:#3e5a70;line-height:1.55;font-size:12px}
.chrona-agent-checklist{display:grid;gap:13px}
.chrona-agent-checkgroup h5{margin:0 0 7px;text-transform:uppercase;letter-spacing:.035em;color:#567089;font-size:11px}
.chrona-agent-checkgroup label{display:flex;gap:10px;align-items:flex-start;padding:10px 11px;border:1px solid #cfdae5;border-radius:9px;background:#fff;margin-bottom:6px;cursor:pointer}
.chrona-agent-checkgroup input{margin:3px 0 0;width:17px;height:17px;flex:none;accent-color:#2c8d8f}
.chrona-agent-checkgroup b{display:block;color:#29435a;font-size:12px}
.chrona-agent-checkgroup small{display:block;color:#617891;margin-top:3px;font-size:11px;line-height:1.4}
.chrona-agent-bottom{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap}
.chrona-agent-bottom small{color:#65788c;font-size:10px;max-width:390px}
/* Theme-safe dark overlay, still readable with fantasy and cyberpunk palettes. */
body:is([data-theme="theme3"],[data-theme="theme6"],[data-theme="theme7"],[data-theme="theme16"],[data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"],[data-theme="theme23"]) .chrona-agents{color:#263c53}
@media(max-width:680px){#modalBackdrop:has(.chrona-agents) .modal{padding:14px 12px 11px}.chrona-agent-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.chrona-launch-calculator{grid-template-columns:repeat(2,minmax(0,1fr))}.chrona-agent-cards{grid-template-columns:1fr}.chrona-agent-tabs button{padding:11px 6px;font-size:11px}.chrona-agent-section{padding:12px}.chrona-agent-intro{padding:12px}}
@media(max-width:380px){.chrona-agent-prompt>div{flex-direction:column}.chrona-agent-prompt button{width:100%}.chrona-launch-calculator{grid-template-columns:1fr}.chrona-launch-progress>div:first-child{align-items:flex-start;flex-direction:column}}

/* v51: privacy, Apple purchase safeguards, safe area / mobile accessibility */
.chrona-privacy{display:grid;gap:14px;max-height:min(65vh,720px);overflow:auto;padding-right:5px;color:inherit}
.chrona-privacy-info{padding:14px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:13px;background:color-mix(in srgb,currentColor 5%,transparent)}
.chrona-privacy-info strong{font-size:16px;line-height:1.35;display:block;margin-bottom:7px}
.chrona-privacy-info p,.chrona-privacy p{font-size:12px;line-height:1.6;margin:5px 0}
.chrona-account-form{display:grid;gap:11px;padding:12px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:12px}
.chrona-account-form label{display:grid;gap:5px;font-size:12px;font-weight:700}
.chrona-account-form input{font:inherit;width:100%;max-width:100%;padding:11px;border:1px solid #879fb2;border-radius:8px;color:var(--ink,#18273a);background:#f6f9fc;box-sizing:border-box}
.chrona-account-buttons,.chrona-privacy-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.chrona-account-buttons button,.chrona-privacy-actions button{flex:1 1 160px;min-height:40px}
.chrona-privacy details{padding:12px;border-radius:9px;border:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.chrona-privacy summary{font-size:12px;font-weight:700;cursor:pointer}
.chrona-account-feedback{font-weight:700;font-size:12px!important;min-height:1.4em}
.chrona-account-feedback[data-error="true"]{color:#ff7c74!important}
.chrona-store-products{display:grid;gap:9px}.chrona-store-products>div{padding:12px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:10px}
.chrona-privacy button:disabled{opacity:.58;cursor:not-allowed}
@supports(padding:env(safe-area-inset-bottom)){body{padding-bottom:env(safe-area-inset-bottom)}.modal-backdrop{padding-bottom:env(safe-area-inset-bottom);padding-top:env(safe-area-inset-top)}}
@media(max-width:520px){.chrona-privacy{max-height:65dvh}.chrona-account-form{padding:10px}.chrona-privacy-actions button{font-size:12px}}

.chrona-store-choice{display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;border:1px solid color-mix(in srgb,currentColor 16%,transparent)}.chrona-store-choice input{flex:0 0 auto;accent-color:#685be5}

/* CHRONA v52 · iPhone native-style 3-page dashboard: tasks / finance / insights.
   Applies to iPhone Safari and Capacitor iOS at phone widths only. */
.chrona-ios-dock{display:none}
@media(max-width:820px){
  body.chrona-ios-pages{overflow-x:hidden;padding-bottom:calc(86px + env(safe-area-inset-bottom,0px));}
  body.chrona-ios-pages .app-shell{max-width:100%;overflow-x:clip;}
  body.chrona-ios-pages .workspace-title{padding-top:14px!important;padding-bottom:14px!important;min-height:0!important;}
  body.chrona-ios-pages .workspace-title h1{font-size:clamp(24px,6vw,31px)!important;line-height:1.12!important;}
  body.chrona-ios-pages .workspace-title p{display:none!important;}
  body.chrona-ios-pages .workspace-title .top-summary{display:none!important;}
  body.chrona-ios-pages .dashboard{display:block!important;min-width:0!important;}
  body.chrona-ios-pages .dashboard > .panel{display:none!important;width:100%;min-width:0;min-height:calc(100dvh - 245px);margin:0;box-sizing:border-box;}
  body.chrona-ios-pages .dashboard > .panel.chrona-ios-active{display:block!important;animation:chronaIosPageReveal .18s ease-out;}
  body.chrona-ios-pages .dashboard .insights-panel{grid-column:auto!important;}
  body.chrona-ios-pages .dashboard .upcoming-list{grid-template-columns:1fr!important;}
  body.chrona-ios-pages .page-footer{margin-bottom:12px;}
  body.chrona-ios-pages .chrona-ios-dock[hidden]{display:none!important;}
  body.chrona-ios-pages .chrona-ios-dock{
    display:flex!important;position:fixed;left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));bottom:calc(8px + env(safe-area-inset-bottom,0px));
    z-index:45;gap:6px;padding:7px;border:1px solid rgba(149,175,204,.42);border-radius:23px;
    background:rgba(19,32,54,.94);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);
    box-shadow:0 13px 30px rgba(10,22,39,.35),inset 0 1px rgba(255,255,255,.15);box-sizing:border-box;
  }
  body.chrona-ios-pages .chrona-ios-dock-item{
    flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    min-height:58px;padding:6px 3px;border:1px solid transparent!important;border-radius:17px!important;
    background:transparent!important;color:#b7c9df!important;box-shadow:none!important;
    font:700 11px/1.15 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;touch-action:manipulation;cursor:pointer;
  }
  body.chrona-ios-pages .chrona-ios-dock-item.is-active{color:#fff!important;background:rgba(97,139,188,.29)!important;border-color:rgba(163,205,244,.33)!important;box-shadow:inset 0 1px rgba(255,255,255,.12)!important;}
  body.chrona-ios-pages .chrona-ios-dock-icon{font:700 24px/1 Arial,Helvetica,sans-serif;}
  body.chrona-ios-pages .chrona-ios-dock-item:focus-visible{outline:2px solid #fff;outline-offset:1px;}
  @keyframes chronaIosPageReveal{from{opacity:.55;transform:translateX(7px)}to{opacity:1;transform:translateX(0)}}
}
@media(prefers-reduced-motion:reduce){body.chrona-ios-pages .dashboard > .panel.chrona-ios-active{animation:none!important}}

/* v53 protected manual cloud-sync preview */
.chrona-sync-box{margin:13px 0;padding:14px;border:1px solid rgba(119,142,185,.4);border-radius:12px;background:rgba(122,143,181,.12);color:inherit}
.chrona-sync-box>strong{font-size:14px}
.chrona-sync-box>p{font-size:11px;line-height:1.55;margin:7px 0 10px}
.chrona-sync-box .chrona-sync-status{font-size:11px;line-height:1.45;margin:8px 0 10px;color:inherit}
.chrona-sync-box .chrona-sync-status[data-error="true"]{color:#e55b59!important}
.chrona-sync-box .chrona-account-buttons{display:flex;flex-wrap:wrap;gap:8px}
.chrona-sync-box button{min-height:36px;font-size:11px}
@media(max-width:420px){.chrona-sync-box .chrona-account-buttons button{flex:1 1 100%;}}

/* CHRONA v57: show wallet names in full. Never ellipsize or line-clamp them. */
.wallets-grid .wallet-tile:not(.wallet-add){aspect-ratio:auto;min-height:138px;height:auto;}
.wallets-grid .wallet-tile .wallet-name{
  display:block;white-space:normal;overflow:visible;text-overflow:clip;
  overflow-wrap:anywhere;word-break:normal;max-width:100%;
  -webkit-line-clamp:unset;line-clamp:unset;min-height:0;
  line-height:1.25;flex-shrink:0;
}
.wallet-preview #walletPreviewName{
  overflow:visible;white-space:normal;text-overflow:clip;
  overflow-wrap:anywhere;word-break:normal;max-width:calc(100% - 38px);
}
.wallet-switcher .wallet-switch-item{white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:left;}
/* Warcraft bag motif needs extra vertical clearance for wrapped wallet names. */
body[data-theme="theme16"] .wallets-grid .wallet-tile:not(.wallet-add){min-height:205px;height:205px;}
body[data-theme="theme16"] .wallet-tile .wallet-name{
  top:44%;width:74%;max-height:none;overflow:visible;
  white-space:normal;text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset;
  font-size:11px!important;line-height:1.14;
}
body[data-theme="theme16"] .wallet-tile .wallet-balance{top:77%;}

/* CHRONA v57: "Мягкий" (theme10). The pale balance card must not use
   inherited white text for currency names, totals, rates or labels. */
body[data-theme="theme10"] .finance-panel .balance-card,
body[data-theme="theme10"] .finance-panel .balance-card * {
  color:#24212a !important;
  text-shadow:none !important;
}
body[data-theme="theme10"] .finance-panel .balance-card :is(
  #balanceCurrencyLabel,.balance-decor,.balance-currency-item span,
  .fx-rate-code,.fx-ledger-title,.fx-auto-label
) { color:#bd005f !important; }
body[data-theme="theme10"] .finance-panel .balance-card .balance-currency-item,
body[data-theme="theme10"] .finance-panel .balance-card .fx-rate-fields .fx-rate-tile,
body[data-theme="theme10"] .finance-panel .balance-card .fx-ledger-entry {
  background:rgba(255,211,230,.42) !important;
  border-color:rgba(183,55,105,.25) !important;
}
body[data-theme="theme10"] .finance-panel .balance-card .balance-currency-item.selected {
  background:rgba(255,187,216,.65) !important;
  border-color:#bd005f !important;
}
body[data-theme="theme10"] .finance-panel .balance-card .fx-rate-fields .fx-rate-input {
  color:#24212a !important;
  border-bottom-color:#bd005f !important;
  caret-color:#bd005f;
}
body[data-theme="theme10"] .finance-panel .balance-card :is(.fx-rate-add,.fx-rate-edit,.fx-empty,.balance-hint,.fx-rate-total,.fx-rate-help) {
  color:#24212a !important;
}
body[data-theme="theme10"] .finance-panel .balance-card .fx-ledger-entry :is(strong,.positive strong,.negative strong) {
  color:#bd005f !important;
}
body[data-theme="theme10"] .finance-panel .balance-card .balance-live-dot {
  background:#bd005f !important;
  box-shadow:0 0 0 3px #bd005f22;
}

/* v68 Premium CTA: same geometry as theme selector; comes first, especially on Android. */
.top-summary #premiumBtn.premium-summary-btn{order:0!important;flex:0 1 220px!important;width:auto!important;min-width:186px!important;max-width:240px!important;min-height:76px;height:auto;box-sizing:border-box;padding:10px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;white-space:normal;line-height:1.2;border-radius:15px;align-self:stretch}
.top-summary #premiumBtn strong{font:800 14px/1.1 Arial,sans-serif;letter-spacing:.015em}
.top-summary #premiumBtn small{display:block;font:600 9px/1.25 Arial,sans-serif;opacity:.82;max-width:190px}
.top-summary #premiumBtn:focus-visible{outline:3px solid #8363f2;outline-offset:2px}
@media(max-width:740px){
 .top-summary #premiumBtn.premium-summary-btn,.top-summary #themeBtn.theme-summary-btn,
 body:is([data-theme="theme17"],[data-theme="theme18"],[data-theme="theme19"],[data-theme="theme20"],[data-theme="theme21"]) .workspace-title .top-summary #themeBtn.theme-summary-btn{
   flex:1 1 calc(50% - 5px)!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:72px!important;padding:9px 6px;gap:5px}
 .top-summary #premiumBtn.premium-summary-btn{order:0!important}
 .top-summary #themeBtn.theme-summary-btn{order:1!important}
 .top-summary .summary-active{order:2!important}
 .top-summary #premiumBtn strong,.top-summary #themeBtn strong{font-size:12px}
 .top-summary #premiumBtn small,.top-summary #themeBtn small{font-size:8px}
}

/* v69: compact, accessible Android premium control in the outer header. The
   utility group is deliberately adjacent to the reserved language-selector slot;
   no unsupported language picker is rendered. iOS and desktop keep v68 UI. */
.chrona-top-tools{display:none;align-items:center;gap:7px;flex:0 0 auto}
.chrona-mobile-premium{display:none;appearance:none;-webkit-appearance:none;cursor:pointer;
  width:44px;height:44px;min-width:44px;min-height:44px;box-sizing:border-box;
  padding:4px 3px;border-radius:12px;border:1px solid rgba(255,255,255,.85);
  background:linear-gradient(155deg,rgba(255,255,255,.82),rgba(234,226,255,.75));
  box-shadow:0 5px 17px rgba(94,82,166,.15),inset 0 1px rgba(255,255,255,.95);
  color:var(--violet,#7753de);align-items:center;justify-content:center;
  flex-direction:column;gap:0;line-height:1;transition:background .18s,transform .18s}
.chrona-mobile-premium .chrona-premium-mark{font-weight:850;font-size:18px;line-height:20px}
.chrona-mobile-premium .chrona-premium-word{font-weight:850;letter-spacing:1.1px;font-size:8px;line-height:13px}
.chrona-mobile-premium:hover{background:rgba(255,255,255,.97);transform:translateY(-1px)}
.chrona-mobile-premium:focus-visible{outline:3px solid var(--violet,#7753de);outline-offset:2px}
html.chrona-android .top-summary #premiumBtn{display:none!important}
html.chrona-android .chrona-top-tools{display:flex!important}
html.chrona-android .chrona-top-tools .chrona-mobile-premium{display:flex!important}
@media(max-width:740px){
  html.chrona-android .topbar{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:10px}
  html.chrona-android .topbar .brand{order:0;flex:1 1 auto;min-width:0}
  html.chrona-android .topbar .chrona-top-tools{order:1;margin-left:auto}
  html.chrona-android .topbar .header-middle{order:2;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis}
  html.chrona-android .topbar .header-actions{order:3;width:100%;margin:0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}
  html.chrona-android .topbar .header-actions .btn.small{white-space:nowrap}
}
@media(max-width:370px){
  html.chrona-android .topbar .brand-name{font-size:17px}
  html.chrona-android .topbar .brand{gap:7px}
  html.chrona-android .topbar .header-middle{padding:8px 10px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.chrona-mobile-premium{transition:none}}

/* v70 international UI: accessible flag picker with Android premium in one toolbar */
.chrona-top-tools{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.chrona-language-control{position:relative;display:flex;align-items:center}
.chrona-language-btn{appearance:none;-webkit-appearance:none;cursor:pointer;display:flex;justify-content:center;align-items:center;
 width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:12px;
 border:1px solid rgba(255,255,255,.85);color:#503e93;background:linear-gradient(155deg,rgba(255,255,255,.82),rgba(234,226,255,.75));
 box-shadow:0 5px 17px rgba(94,82,166,.15),inset 0 1px rgba(255,255,255,.95);font-size:23px;line-height:1}
.chrona-language-btn:focus-visible,.chrona-language-item:focus-visible{outline:3px solid var(--violet,#7753de);outline-offset:2px}
.chrona-language-menu{position:absolute;right:0;top:calc(100% + 8px);width:min(268px,calc(100vw - 36px));z-index:1200;
 display:grid;grid-template-columns:1fr;gap:4px;max-height:min(410px,65vh);overflow-y:auto;overscroll-behavior:contain;
 padding:8px;border:1px solid rgba(231,225,249,.95);border-radius:15px;
 background:rgba(251,249,255,.98);color:#3b3650;box-shadow:0 13px 42px rgba(66,48,108,.23);backdrop-filter:blur(12px)}
.chrona-language-menu[hidden]{display:none!important}
.chrona-language-item{min-height:38px;padding:7px 10px;background:transparent;border:0;border-radius:9px;color:#403b59;
 text-align:left;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer}
.chrona-language-item:hover,.chrona-language-item[aria-checked="true"]{background:rgba(218,211,249,.68)}
@media(max-width:740px){
 .topbar .chrona-top-tools{order:1;margin-left:auto}
 .topbar .brand{flex:1 1 auto;min-width:0}
 .topbar .header-middle{order:2}
 .topbar .header-actions{order:3}
}
/* The header has a backdrop-filter stacking context. Lift that whole context,
   otherwise the workspace title intercepts taps on lower language-menu rows. */
.topbar{position:relative;z-index:30}

/* v72: one-hour calendar ticks in month/week/day, independent of theme. */
.cal-hour-axis .cal-hour-label{top:var(--cal-hour-top,0px)}
.cal-hour-axis .cal-hour-label:first-child{transform:translateY(6px)}
.cal-month-hour-axis .cal-hour-label{top:calc(29px + var(--cal-hour-top,0px))}
.cal-month-week-row .cal-month-hour-axis .cal-hour-label:first-child{transform:translateY(6px)}
.cal-month-hour-axis{min-height:413px}
.cal-month-day{min-height:413px}
.cal-month-day-timeline{background:repeating-linear-gradient(to bottom,#f5f8ff9c 0px,#f5f8ff9c 17px,#b8cae2 17px,#b8cae2 18px)}
.cal-month-day.today .cal-month-day-timeline{background:repeating-linear-gradient(to bottom,#e9e9ff8a 0px,#e9e9ff8a 17px,#b9b8e8 17px,#b9b8e8 18px)}
.cal-time-column{background:repeating-linear-gradient(to bottom,#ffffffbd 0px,#ffffffbd 53px,#b6cbe0 53px,#b6cbe0 54px)}
.cal-time-column.today{background:repeating-linear-gradient(to bottom,#f3f0ffb8 0px,#f3f0ffb8 53px,#b0b8df 53px,#b0b8df 54px)}
.cal-hour-axis{background:repeating-linear-gradient(to bottom,#f5f8ff 0px,#f5f8ff 53px,#dfebfa 53px,#dfebfa 54px)}
/* The selector lives immediately before the analytics currency buttons. */
.topbar .header-actions .chrona-language-control{flex:0 0 auto;margin-right:1px}
.topbar .header-actions .chrona-language-btn{width:41px;height:41px;min-height:41px;min-width:41px;font-size:21px}
@media(max-width:740px){
 html.chrona-android .topbar .header-actions{justify-content:flex-start;gap:6px}
 html.chrona-android .topbar .header-actions .chrona-language-control{order:0}
 html.chrona-android .topbar .header-actions .currency-switch{order:1;margin-right:auto}
 html.chrona-android .topbar .header-actions .btn.small{order:2}
}
/* Water: selected-day date and the whole right-hand event section on dark
   underwater surfaces must use readable white ink. */
body[data-theme="theme21"] .insights-panel :is(
 .selected-day-title,.selected-day-title strong,.selected-day-title span,.selected-day-body,
 .day-event,.day-event b,.day-event small,.day-event>span,.upcoming-info,
 .upcoming-info b,.upcoming-info small,.upcoming-date,.upcoming-date strong,
 .upcoming-date small,.upcoming-money,.upcoming-heading,.upcoming-heading span,
 .selected-day .text-muted,.upcoming-row .text-muted
){color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:0 1px 3px #001a2caa!important}

/* Overlay crisp hour rules across illustrated themes too (where their custom
   background would otherwise hide the base grid). Events stay on top. */
.cal-time-column::before,.cal-month-day-timeline::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--chrona-hour-size) - 1px),rgba(153,185,210,.36) calc(var(--chrona-hour-size) - 1px),rgba(153,185,210,.36) var(--chrona-hour-size))}
.cal-time-column{--chrona-hour-size:54px}
.cal-month-day-timeline{--chrona-hour-size:18px}
/* v72: after moving the language picker before analytics currency, anchor its
   menu to the left. Right anchoring pushed the 268px popup off small phones. */
.topbar .header-actions .chrona-language-menu{left:0;right:auto}

/* v76: language picker grouped by reach. The menu scrolls independently on small phones. */
.chrona-language-menu{width:min(300px,calc(100vw - 24px));max-height:min(470px,66dvh);scrollbar-width:thin;}
.chrona-language-group{position:sticky;top:0;background:rgba(250,249,255,.97);color:#645785;
  padding:8px 11px 3px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid #eee7f5;}
.chrona-language-item[lang^=ar]{direction:rtl;text-align:right;}
html[lang=ar] .app-shell{direction:rtl;}
html[lang=ar] .calendar-overlay,html[lang=ar] .geo-map,html[lang=ar] .balance-graphic{direction:ltr;}
