:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#0b1220;color:#e6edf7}*{box-sizing:border-box}body{margin:0}main{max-width:1280px;margin:auto;padding:32px 24px}header,.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px}h1{font-size:38px;margin:6px 0;color:#4de0b3}h2{font-size:19px;margin:0 0 16px}small,section p,footer{color:#9eacc2}header small{letter-spacing:3px}.panel,.total{background:#131e30;border:1px solid #26344b;border-radius:16px;padding:24px;margin:20px 0}.totals{display:flex;gap:16px;flex-wrap:wrap}.total{flex:1;margin:0;min-width:230px}.total strong{display:block;font-size:30px;margin:10px 0}.button,button{display:inline-block;background:#47dcb0;color:#08281e;padding:12px 18px;border-radius:8px;border:0;text-decoration:none;font-weight:700;cursor:pointer}input,select{background:#0b1424;color:#eef4ff;border:1px solid #42516a;border-radius:7px;padding:11px;min-width:0}form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}label{display:flex;flex-direction:column;gap:8px;font-size:13px}form button{align-self:end;min-height:42px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{color:#9eacc2;font-size:12px}td,th{padding:14px 12px;border-bottom:1px solid #28344a}td:first-child,th:first-child{padding-left:0}.scroll{overflow:auto}.positive{color:#4de0b3}.negative{color:#ff929d}svg{width:100%;height:240px}footer{text-align:center;font-size:12px;padding:24px}#status{font-size:13px;line-height:1.6}#feedback{color:#ffcf87}@media(max-width:700px){main{padding:20px 12px}header{align-items:flex-start;flex-direction:column}form{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:18px}.section-head{align-items:flex-start;flex-direction:column}h1{font-size:32px}}
:root .stock-search{grid-column:1/-1;position:relative}.stock-search>input{width:100%;margin-top:8px}.stock-search>label{font-size:14px}.stock-search p{font-size:13px;margin:8px 0 0}#search-results{max-height:300px;overflow-y:auto;margin-top:6px;border:1px solid #42516a;border-radius:8px;background:#0b1424}#search-results button{display:block;width:100%;text-align:left;background:transparent;color:#e6edf7;border-radius:0;border-bottom:1px solid #26344b;font-weight:400}#search-results button:hover,#search-results button:focus{background:#26344b;outline:2px solid #47dcb0;outline-offset:-2px}input[readonly]{color:#aebed5;background:#111a29}button:disabled{opacity:.5;cursor:wait}
.chart-ranges{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0 6px}.chart-ranges button{background:#0b1424;border:1px solid #42516a;color:#aebed5;padding:8px 14px}.chart-ranges button[aria-pressed="true"]{background:#47dcb0;color:#08281e;border-color:#47dcb0}#chart{height:auto;min-height:210px;max-height:350px}#chart-detail{font-variant-numeric:tabular-nums;font-size:13px;min-height:20px}details{margin-top:20px}summary{cursor:pointer;color:#aebed5}
.chart-legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:12px;color:#aebed5;margin:8px 0}.chart-legend>span{display:inline-flex;gap:6px;align-items:center}.chart-legend svg{width:20px;height:12px;min-height:0;flex:none}#chart-detail{overflow-wrap:anywhere;line-height:1.6}.total p{font-size:14px;color:#70b7ff}
[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#111923;border-right:1px solid #283444;display:flex;flex-direction:column;z-index:30}.sidebar-brand{height:90px;display:flex;align-items:center;gap:14px;padding:24px;font-size:21px}.sidebar-brand>span{color:#47dcb0;font-size:32px}.sidebar nav{display:flex;flex-direction:column;gap:6px;padding:8px 12px}.sidebar nav a{display:flex;align-items:center;gap:18px;padding:15px 18px;text-decoration:none;color:#b5c3d5;border-radius:9px;font-size:15px}.sidebar nav a:hover{background:#1b2b3b}.sidebar nav a[aria-current="page"]{color:#4de0b3;background:#163933}.sidebar nav a>span{font-size:21px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding:22px;font-size:12px;color:#899bb2;line-height:1.8}.sidebar-bottom small{display:block}main{margin-left:230px;max-width:none;padding:28px 32px;min-height:100vh}.page-heading{display:flex;gap:14px;align-items:center}h1{font-size:32px;color:#e6edf7}.page-heading small{font-size:10px}#menu-toggle{display:none}.skip-link{position:fixed;top:-100px;left:250px;z-index:100;background:#47dcb0;color:#08281e;padding:12px}.skip-link:focus{top:10px}.settings-list{display:grid;grid-template-columns:180px 1fr;gap:16px;margin:24px 0}.settings-list dt{color:#9eacc2}.settings-list dd{margin:0}.nav-overlay{display:none}.panel p{line-height:1.6}#settings-form{grid-template-columns:minmax(160px,300px) max-content}#main-content:focus{outline:none}@media(min-width:1600px){main{padding-left:48px;padding-right:48px}}@media(max-width:850px){main{margin-left:0;padding:20px 16px}.sidebar{transform:translateX(-100%);transition:transform .16s}body[data-menu-open] .sidebar{transform:translateX(0)}#menu-toggle{display:block;background:transparent;color:#dce8f5;border:1px solid #42516a;padding:9px 12px;font-size:20px}.nav-overlay{display:block;position:fixed;inset:0;z-index:20;border-radius:0;background:#0009}header{flex-direction:row;align-items:center;flex-wrap:wrap}.skip-link{left:16px}.settings-list{grid-template-columns:1fr 1fr}#settings-form{grid-template-columns:1fr}.section-head{gap:14px}.section-head select{max-width:100%}}
.booting main,.booting .sidebar,.locked main,.locked .sidebar{display:none}.login-panel{max-width:430px;margin:10vh auto;padding:30px;background:#131e30;border:1px solid #26344b;border-radius:16px}.login-panel form{grid-template-columns:1fr}.check-label{flex-direction:row;align-items:center;gap:10px}.check-label input{width:auto}#restore-form{margin-top:24px;grid-template-columns:1fr}#enable-auth,#disable-auth,#user-form{margin:20px 0}#account-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}#account-controls button,#user-cancel{background:#26344b;color:#dce8f5;padding:8px 12px}dialog{color:#e6edf7;background:#131e30;border:1px solid #42516a;border-radius:14px;max-width:450px;width:90%}dialog::backdrop{background:#000a}dialog form{grid-template-columns:1fr}#login-feedback,#security-feedback,#users-feedback,#restore-feedback,#password-feedback{color:#ffcf87;line-height:1.6}
.sidebar-bottom{padding:16px 12px}.sidebar-bottom>small{padding:6px 10px}#account-controls{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-bottom:14px;padding:12px 10px;border-top:1px solid #2b394a}.account-summary{display:flex;gap:10px;align-items:center;margin:4px 0 8px;color:#e6edf7;overflow-wrap:anywhere}.account-avatar{display:flex;align-items:center;justify-content:center;background:#21483f;color:#4de0b3;border-radius:50%;width:36px;height:36px;flex:none;font-size:22px}#account-controls button{text-align:left;width:100%}#account-hint{font-size:11px;line-height:1.6}.locked .sidebar{display:flex}.locked .sidebar nav{display:none}.locked .login-panel{position:relative;left:115px}@media(max-width:850px){.locked .sidebar{transform:none;inset:auto 0 0;width:100%;height:auto}.locked .sidebar-brand,.locked .sidebar-bottom>small{display:none}.locked .sidebar-bottom{padding:4px 12px}.locked #account-controls{flex-direction:row;align-items:center;flex-wrap:wrap;margin:0;padding:8px;border:0}.locked #account-controls button{width:auto}.locked #account-hint{display:none}.locked .account-summary{margin:0;flex:1}.locked .login-panel{left:0;margin:30px auto 120px;width:calc(100% - 32px)}}
.account-filter{font-size:12px;max-width:300px}.account-filter select{max-width:100%}.mapping-row{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(180px,2fr);gap:12px;align-items:end;margin:18px 0;padding:16px;border:1px solid #26344b;border-radius:10px}.mapping-row p{grid-column:1/-1;margin:0;font-size:12px}#import-commit{margin-top:16px}#import-warnings,#import-feedback{color:#ffcf87}@media(max-width:850px){.mapping-row{grid-template-columns:1fr}.mapping-row p{grid-column:auto}.account-filter{max-width:100%;width:100%}}

.logs-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.logs-toolbar label{min-width:160px}.logs-table{white-space:normal;min-width:850px}.logs-table td{vertical-align:top}.logs-table td:first-child{min-width:155px}.logs-table pre{white-space:pre-wrap;overflow-wrap:anywhere;min-width:240px;max-width:540px;font-size:12px;line-height:1.6}.logs-table details{margin:0}.log-error td:nth-child(2){color:#ff929d}.log-warning td:nth-child(2){color:#ffcf87}.logs-paging{display:flex;gap:12px;margin-top:20px}

.auto-mapping-row{padding:14px 16px;border:1px solid #26344b;border-radius:9px;margin:12px 0}.auto-mapping-row p{margin:8px 0 0;overflow-wrap:anywhere}

.fx-scroll{max-height:460px;overflow:auto}.fx-scroll thead{position:sticky;top:0;background:#131e30}#fx-result{overflow-wrap:anywhere;color:#4de0b3}#fx-feedback{overflow-wrap:anywhere}

/* Home: bounded charts, useful density and clear hierarchy for large portfolios. */
.home-dashboard{width:100%;min-width:0;margin:0}.home-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0 10px}.home-intro h2{font-size:28px;letter-spacing:-.7px;margin:8px 0}.home-intro p{color:#91a4bf;font-size:14px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#91a4bf}.secondary{background:#1b293d;color:#dce8f5;border:1px solid #35455d}.home-currencies{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 20px}.home-currencies button{background:transparent;border:1px solid #35455d;color:#91a4bf;padding:9px 14px;font-size:12px}.home-currencies button[aria-pressed="true"]{color:#57e3bc;background:#163a33;border-color:#2e7662}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-metric{padding:22px;background:#131e30;border:1px solid #293951;border-radius:12px;min-width:0}.home-metric-label{display:block;font-size:12px;color:#a1b1c8}.home-metric strong{display:block;font-size:clamp(22px,2.2vw,34px);letter-spacing:-.7px;margin:13px 0;font-variant-numeric:tabular-nums}.home-metric small{font-size:11px;line-height:1.5;display:block}.home-health{font-size:12px;color:#91a4bf;line-height:1.6;margin:14px 0 22px}.home-dashboard .panel{margin:0 0 20px;padding:24px;border-radius:12px}.home-chart-panel .section-head h2{font-size:22px;margin:8px 0 0}.home-chart-choice{min-width:240px}.home-chart-panel #chart{height:330px;min-height:0;max-height:none;width:100%;display:block}.home-chart-panel #chart-description{font-size:13px;margin-top:12px}.home-chart-panel #chartnote{font-size:12px}.home-chart-panel #chart-detail{background:#0e1828;border:1px solid #293951;border-radius:8px;padding:12px;min-height:44px;color:#cbd8e9}.home-chart-panel>small{font-size:11px;line-height:1.7;display:block}.home-chart-panel .chart-ranges{margin-top:16px}.home-legend-button{background:transparent;color:#a8bbd3;padding:7px 10px;border:1px solid #293951;font-size:11px;display:inline-flex;align-items:center;gap:7px;font-weight:500}.home-legend-button[aria-pressed="false"]{opacity:.4}.home-insights{display:grid;grid-template-columns:1fr 1fr;gap:20px}.home-insights .panel{min-width:0}.home-insights h2{margin:0}.home-insights select{font-size:12px;padding:8px}.home-muted{color:#91a4bf;font-size:12px;line-height:1.6}.home-allocation-item{margin-top:22px}.home-allocation-label{display:flex;justify-content:space-between;gap:12px;font-size:12px}.home-allocation-label>span{color:#b3c4db;font-variant-numeric:tabular-nums}.home-allocation-item svg{height:5px;width:100%;display:block;margin-top:10px}.home-text-button{color:#dce8f5;background:transparent;border:0;border-radius:0;padding:0;font-weight:500;text-align:left;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.home-text-button:hover{text-decoration:underline;color:#57e3bc}.home-mover{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #26344b;align-items:center}.home-mover>div{min-width:0}.home-mover small{display:block;font-size:11px;margin-top:5px}.home-mover strong{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}.home-toolbar{display:grid;grid-template-columns:minmax(200px,2fr) 1fr 1fr auto;align-items:end;gap:12px;margin-top:20px}.home-toolbar label{font-size:12px}.home-toolbar button{font-size:12px}.home-holdings .section-head h2{margin:8px 0 0;font-size:22px}.home-holdings .section-head>p{font-size:12px;color:#91a4bf}.home-table{min-width:860px;font-size:13px}.home-table small{display:block;font-size:10px;color:#91a4bf;margin-top:6px}.home-table td:nth-child(2){max-width:260px;white-space:normal;min-width:180px}.home-table td:nth-child(2) strong{font-size:13px}.home-table td{padding-top:18px;padding-bottom:18px;vertical-align:middle;font-variant-numeric:tabular-nums}.home-table button{font-size:11px;padding:8px 12px}.home-table input{accent-color:#47dcb0;width:16px;height:16px;cursor:pointer}.home-table th{position:sticky;top:0;background:#131e30}.home-pagination{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#91a4bf;gap:12px;margin-top:18px}.home-pagination button{font-size:12px;padding:8px 12px;margin-left:8px}.home-dashboard button:focus-visible,.home-dashboard select:focus-visible,.home-dashboard input:focus-visible,#chart:focus-visible{outline:2px solid #47dcb0;outline-offset:3px}.home-dashboard button:disabled{cursor:default}#home-table-empty:empty{display:none}
@media(max-width:1100px){.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-toolbar{grid-template-columns:1fr 1fr}.home-insights{grid-template-columns:1fr}.home-intro h2{font-size:25px}}@media(max-width:600px){.home-intro{align-items:flex-start;flex-direction:column;padding-top:14px}.home-intro .button{font-size:12px}.home-dashboard .panel{padding:16px}.home-metric{padding:16px}.home-metric strong{font-size:22px}.home-chart-choice{min-width:0;width:100%}.home-toolbar{grid-template-columns:1fr}.home-chart-panel .section-head{align-items:stretch}.home-pagination{align-items:flex-start;flex-direction:column}.home-currencies{gap:6px}.home-chart-panel #chart{height:330px}}

.home-intro{padding-top:4px;padding-bottom:0}.home-intro h2{font-size:25px}.home-intro p{margin:8px 0 12px}.home-metric{padding:18px}.home-metric strong{margin:10px 0}.home-health{margin:10px 0 16px}

.transaction-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.transaction-toolbar label{min-width:180px}.transaction-paging{display:flex;gap:12px;margin-top:16px}.delete-panel{border:1px solid #8b514f}.danger{background:#9d3636;color:#fff}.delete-panel #delete-summary{padding:16px;border:1px solid #8b514f;border-radius:8px;line-height:1.7}#transaction-changes{overflow-wrap:anywhere;line-height:1.8}#transaction-note{min-height:80px;width:100%}

body.home-page main>header,body.home-page #status{display:none}body.home-page main{padding-top:18px}.app-popup{width:calc(100% - 32px);max-width:920px;max-height:calc(100dvh - 32px);padding:24px;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}.app-popup::backdrop{background:#050b16cf}.popup-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.popup-bar h2{font-size:21px;margin:0}.popup-close{flex:none}.app-popup .panel{margin:0;border:0;padding:0;background:transparent}.app-popup form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.app-popup label{min-width:0}.app-popup input,.app-popup select{max-width:100%;box-sizing:border-box}.app-popup .popup-content{padding:0}.app-popup #search-results{position:static}.popup-launch{margin:10px 0 16px}.app-popup #transaction-changes{padding-left:20px}.app-popup form[hidden]{display:none}body:has(dialog[open]){overflow:hidden}#menu-toggle{margin-bottom:12px}@media(max-width:600px){.app-popup{padding:18px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.app-popup form{grid-template-columns:1fr}.popup-bar h2{font-size:18px}.app-popup .scroll{max-width:100%}}

.column-filters th{padding:6px 8px;vertical-align:top}.column-filters input{width:100%;min-width:110px;max-width:260px;font-size:.85rem;padding:8px}.table-filter-note{display:block;color:var(--muted,#a7b6cc);margin:8px 0}tr[hidden]{display:none!important}

.column-sort{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:0;text-align:left;cursor:pointer}.column-sort:hover{text-decoration:underline}th[aria-sort=ascending] .column-sort::after{content:' ▲'}th[aria-sort=descending] .column-sort::after{content:' ▼'}.column-sort:focus-visible{outline:2px solid #70b7ff;outline-offset:5px}.stock-price-chart{display:block;width:100%;height:330px;overflow:visible}.stock-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 20px}.stock-categories dt{color:#a7b6cc}.stock-categories dd{margin:0 0 12px}.stock-categories div{min-width:0;overflow-wrap:anywhere}

.category-progress{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}.category-progress p{flex:1 1 300px;margin:0}.category-progress progress{width:180px;max-width:100%;accent-color:#47dcb0}.category-progress button{white-space:nowrap}

#stock-detail-metrics{margin-bottom:20px}.stock-company-heading{display:flex;align-items:center;gap:16px;min-width:0}.stock-company-heading h2{margin-top:0}.stock-company-mark{width:64px;height:64px;flex:none;background:#fff;border-radius:14px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#183c35;font-size:22px;font-weight:700}.stock-company-mark img{width:48px;height:48px;object-fit:contain}.stock-company-description{max-width:950px;color:#b6c5d8;line-height:1.7;margin:20px 0 24px}@media(max-width:600px){.stock-company-mark{width:48px;height:48px}.stock-company-mark img{width:36px;height:36px}.stock-company-heading{gap:12px}}

.stock-company-mark{width:112px;height:112px;border-radius:18px;font-size:32px}.stock-company-mark img{width:96px;height:96px}.stock-detail-actions{display:flex;gap:10px;flex-wrap:wrap}#stock-valuation-status:empty{display:none}#home-health a{color:#8fddd2}#home-health{line-height:1.9}@media(max-width:600px){.stock-company-mark{width:80px;height:80px}.stock-company-mark img{width:68px;height:68px}}

.dividend-dashboard{width:100%;min-width:0;margin:0}.dividend-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:6px 0 14px}.dividend-intro h2{font-size:28px;letter-spacing:-.6px;margin:8px 0}.dividend-intro p{font-size:14px}.dividend-dashboard .panel{margin:20px 0;border-radius:12px}.dividend-dashboard .section-head h2{margin:8px 0 0;font-size:22px}.dividend-dashboard .section-head label{min-width:150px}.dividend-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px}.dividend-columns>.panel{min-width:0;margin:0 0 20px}.dividend-chart{height:270px;display:block;margin-top:18px}.dividend-chart:focus-visible{outline:2px solid #47dcb0;outline-offset:4px}.dividend-chart-detail{background:#0e1828;border:1px solid #293951;border-radius:8px;padding:12px;font-size:12px;min-height:44px;line-height:1.6}.dividend-estimate-label{font-size:11px;color:#8ec9ff}.dividend-years{margin-top:24px}.dividend-year{margin:0 0 20px}.dividend-year-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#b7c9df}.dividend-year-label span{text-align:right;font-variant-numeric:tabular-nums}.dividend-year svg{display:block;width:100%;height:7px;background:#25344a;border-radius:4px;margin-top:10px}.dividend-key{display:inline-block;width:10px;height:10px;border-radius:3px}.dividend-key.actual{background:#47dcb0}.dividend-key.expected{background:#70b7ff}.dividend-calendar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:22px}.dividend-month{padding:16px;background:#0e1828;border:1px solid #2b3b53;border-radius:10px;min-width:0}.dividend-month span{color:#9db0c9;font-size:12px;text-transform:capitalize}.dividend-month strong{display:block;margin:14px 0 8px;color:#9bceff;font-size:20px;font-variant-numeric:tabular-nums}.dividend-month small{font-size:10px}.dividend-contributor{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #293951;font-size:13px}.dividend-contributor>div{min-width:0}.dividend-contributor>div:last-child{text-align:right;flex:none}.dividend-contributor small{display:block;font-size:11px;margin-top:7px}.dividend-dashboard a{color:#9edfd1}.dividend-dashboard details{font-size:13px}.dividend-dashboard .home-muted{font-size:12px;line-height:1.8}.dividend-dashboard #dividend-dashboard-status:empty{display:none}.dividend-dashboard #dividend-booking .popup-launch{white-space:nowrap}.dividend-dashboard .home-metric:last-child{border-color:#3d5d7b;background:#14263b}@media(max-width:1100px){.dividend-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.dividend-columns{grid-template-columns:1fr}}@media(max-width:600px){.dividend-intro{align-items:flex-start;flex-direction:column}.dividend-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.dividend-month strong{font-size:18px}.dividend-dashboard .section-head{align-items:stretch}.dividend-dashboard .section-head label{width:100%}.dividend-contributor{align-items:flex-start}.dividend-contributor>div:last-child{max-width:45%}.dividend-intro h2{font-size:25px}.dividend-dashboard .panel{padding:16px}}

body.dividend-page main>header,body.dividend-page #status{display:none}body.dividend-page main{padding-top:18px}#home-euro-status:empty{display:none}#home-euro-status{color:#b4cee7;font-size:12px;line-height:1.8}

.stocks-dashboard{width:100%;min-width:0;margin:0}.stocks-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 24px}.stocks-intro h2{font-size:28px;margin:8px 0}.stocks-intro p{font-size:13px;color:#9eb0c8}.stocks-composition{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.stocks-composition .panel{margin:0;min-width:0;border-radius:12px}.stocks-composition h2{margin:8px 0 0}.stocks-composition svg{display:block;height:180px}.stock-chart-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px;padding:8px 0;color:#bdcbe0}.stock-chart-item svg{width:12px;height:12px}.stock-chart-item strong{color:#e2edf7;font-variant-numeric:tabular-nums}.stocks-dashboard #positions td{vertical-align:middle;font-size:13px}.stocks-dashboard #positions td:first-child{min-width:230px;white-space:normal}.stocks-dashboard a.stock-name-link,.stocks-dashboard a.stock-name-link:visited{color:#edf4ff;text-decoration:none;font-weight:600;line-height:1.5}.stocks-dashboard a.stock-name-link:hover,.stocks-dashboard a.stock-name-link:focus-visible{color:#47dcb0;text-decoration:underline;text-underline-offset:4px}.stocks-dashboard #positions td:first-child small{display:block;color:#90a4bf;font-size:11px;margin-top:7px}.stocks-dashboard .home-muted{font-size:12px;line-height:1.7}.stocks-dashboard>#purchase-open,.stocks-dashboard>.panel:has(#purchase-open){display:none}.stocks-dashboard #positions td:nth-child(2),.stocks-dashboard #positions td:nth-child(3){white-space:normal;min-width:120px}@media(max-width:1100px){.stocks-composition{grid-template-columns:1fr}.stocks-composition>.panel>div{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:20px}}@media(max-width:600px){.stocks-intro{align-items:flex-start;flex-direction:column}.stocks-composition>.panel>div{display:block}.stocks-composition svg{height:160px}.stocks-intro h2{font-size:25px}}

body.stocks-list-page main>header,body.stocks-list-page #status{display:none}body.stocks-list-page main{padding-top:18px}#dividends td small{display:block;color:#91a4bf;font-size:11px;margin-top:6px}

/* Use the available viewport on every page; wide tables scroll within their panel. */
main{min-width:0;min-height:100dvh;padding-inline:clamp(16px,2vw,32px)}
main>[data-page]{width:100%;min-width:0}
main>[data-page] .panel,main>[data-page] .scroll{min-width:0;max-width:100%}
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.sidebar-brand,.sidebar-bottom{flex-shrink:0}
.section-head{flex-wrap:wrap}
.section-head>*,.home-intro>*{min-width:0}
main label{min-width:0}
main input,main select,main textarea{max-width:100%}
.home-metric strong,.dividend-month strong{overflow-wrap:anywhere}
.home-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.home-insights{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){
  main{padding-inline:16px}
  .home-chart-choice{min-width:0;max-width:100%}
  .home-intro,.dividend-intro,.stocks-intro{flex-wrap:wrap}
}
@media(max-width:600px){
  main{padding-inline:12px}
  .section-head{align-items:stretch}
  .section-head>label,.logs-toolbar label,.transaction-toolbar label{width:100%;min-width:0}
  .total{min-width:0;flex-basis:100%}
  .settings-list{grid-template-columns:minmax(0,1fr)}
  .settings-list dd{overflow-wrap:anywhere}
  main>[data-page] form{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){.home-metrics{grid-template-columns:minmax(0,1fr)}}

/* Import centre */
.import-nav{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #2b394a;padding-bottom:12px;margin:16px 0 28px}.import-nav a{padding:10px 14px;border-radius:8px;text-decoration:none;color:#aebed5;font-size:14px}.import-nav a[aria-current="page"]{color:#4de0b3;background:#17362f}.import-nav a:hover{background:#203044}.import-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0}.import-intro h2{font-size:28px;margin:8px 0}.import-intro p{margin:0;line-height:1.7}.import-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.import-providers>.panel{margin:0;display:flex;flex-direction:column;gap:16px}.import-provider-heading{display:flex;gap:16px;align-items:center}.import-provider-heading h2{margin:0 0 8px}.broker-mark{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;background:#203a39;color:#70e2bd;border:1px solid #34544e;border-radius:14px;font-size:20px;font-weight:800}.import-badge{display:inline-block;align-self:flex-start;padding:3px 9px;background:#17362f;border-radius:20px;color:#70e2bd;font-size:11px;letter-spacing:.5px}.import-badge.muted{background:#293344;color:#bac7d8}.import-providers p{line-height:1.75;margin:0;max-width:75ch}.import-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:auto}.import-actions a{font-size:13px}.import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:20px 0;margin:12px 0}.import-steps li{display:flex;gap:12px;align-items:center;padding:14px 0}.import-steps strong{color:#4de0b3;font-size:13px;border:1px solid #34544e;border-radius:50%;padding:10px}.import-steps span{font-size:14px}.import-steps small{display:block;margin-top:5px;font-size:12px}#import-source-help{line-height:1.7}#import-preview{scroll-margin-top:20px}
@media(max-width:700px){.import-providers,.import-steps{grid-template-columns:1fr}.import-intro{align-items:flex-start;flex-direction:column}.import-intro h2{font-size:24px}.import-nav a{padding:9px 10px}.import-steps{gap:0;margin:8px 0}.import-steps li{padding:8px 0}.import-actions{align-items:stretch}.import-actions button{flex:1}.import-providers>.panel{padding:18px}}

#ha-export-yaml, [data-page="instellingen"] pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);padding:16px;border-radius:12px;font-size:12px;line-height:1.6;}

.language-dialog{max-width:450px}.language-dialog form{grid-template-columns:1fr}#language-feedback{color:#ffcf87;line-height:1.6}

.overview-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;flex-wrap:wrap}.overview-actions .account-filter{min-width:190px;margin:0}.overview-actions .popup-launch{margin:0}.overview-actions>div{min-width:0}@media(max-width:600px){.overview-actions{width:100%;align-items:stretch;justify-content:flex-start}.overview-actions>div,.overview-actions .account-filter{width:100%;max-width:none}.overview-actions .account-filter{min-width:0}}

#account-open{text-decoration:none;padding:8px;border-radius:9px}#account-open:hover,#account-open[aria-current="page"]{background:#163933;color:#4de0b3}#account-open:focus-visible{outline:2px solid #4de0b3;outline-offset:2px}.user-account-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}

.report-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.report-type{text-align:left;background:var(--panel);border:1px solid #2b394a;border-radius:14px;padding:20px;color:inherit;display:flex;flex-direction:column;gap:12px}.report-type small{color:#aebed5;line-height:1.7;font-weight:400}.report-type[aria-pressed="true"]{border-color:#4de0b3;background:#17362f}.report-filters{display:flex;gap:18px;flex-wrap:wrap}.report-filters label{flex:1;min-width:160px}.report-filters select{width:100%}@media(max-width:1000px){.report-types{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.report-types{grid-template-columns:1fr}}

.profile-control{margin:0 18px 14px;font-size:11px;color:#9db4ca;flex-shrink:0}.profile-control select{width:100%;font-size:13px;background:#142437}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #426a84;background:linear-gradient(115deg,#183d43,#17283e);border-radius:12px;padding:16px 20px;margin:0 0 24px}.demo-banner strong{display:block;color:#8df0d3;font-size:15px}.demo-banner span{display:block;font-size:12px;color:#bdd3df;margin-top:6px;line-height:1.6}.demo-banner button{flex-shrink:0;font-size:12px}.demo-profile .popup-launch{display:none!important}.demo-profile [data-route="imports"],.demo-profile [data-route="instellingen"],.demo-profile [data-route="logs"]{display:none!important}
@media(max-width:600px){.demo-banner{align-items:flex-start;flex-direction:column;padding:14px}.demo-banner button{width:100%}}

.loading-indicator{position:fixed;right:24px;bottom:24px;z-index:100;display:flex;align-items:center;gap:17px;max-width:calc(100vw - 32px);padding:18px 22px;border:1px solid #3b6f70;border-radius:18px;background:linear-gradient(125deg,#173b38f5,#15253df5);box-shadow:0 14px 48px #0007;pointer-events:none}.loading-indicator strong{font-size:14px;color:#c5f4e5}.loading-indicator p{font-size:12px;line-height:1.5;color:#a6c8cd;max-width:300px;margin:5px 0 0}.loading-scene{position:relative;width:52px;height:44px;display:flex;align-items:flex-end;gap:5px;flex-shrink:0;padding-top:12px}.loading-scene i{width:11px;height:16px;background:#53dbb4;border-radius:3px 3px 0 0;animation:loading-bars 1.5s ease-in-out infinite alternate}.loading-scene i:nth-child(2){height:25px;animation-delay:.25s;background:#72baff}.loading-scene i:nth-child(3){height:33px;animation-delay:.5s}.loading-scene span{position:absolute;left:16px;top:0;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#f1c565;color:#453414;border:2px solid #ffdf90;font-size:12px;font-weight:800;animation:loading-coin 1.8s ease-in-out infinite}.booting .loading-indicator{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:360px}.locked .loading-indicator{display:none}.loading-indicator[hidden]{display:none!important}@keyframes loading-bars{to{transform:scaleY(.55);transform-origin:bottom;opacity:.6}}@keyframes loading-coin{0%,100%{transform:translateY(-8px) rotate(-12deg)}50%{transform:translateY(2px) rotate(12deg)}}@media(max-width:600px){.loading-indicator{left:16px;right:16px;bottom:16px;padding:14px 16px;gap:13px}.booting .loading-indicator{left:50%;right:auto;width:min(360px,calc(100vw - 32px))}}@media(prefers-reduced-motion:reduce){.loading-scene i,.loading-scene span{animation:none}}

.loading-indicator,.booting .loading-indicator{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 32px));padding:26px 28px;gap:26px}.loading-indicator strong{font-size:18px}.loading-indicator p{font-size:14px}.loading-scene{zoom:1.5}.profile-control{display:block;margin:16px 0;font-size:14px}.demo-banner{padding:10px 16px;margin-bottom:16px}
@media(max-width:600px){.loading-indicator,.booting .loading-indicator{left:50%;width:calc(100vw - 32px);padding:22px 20px;gap:18px}.loading-scene{zoom:1.2}}

.demo-banner{padding:8px 12px;border-radius:8px}.demo-banner strong{display:inline;font-size:12px}.demo-banner span{display:inline;font-size:11px;margin:0 0 0 8px}.demo-banner div{line-height:1.6}

/* Each widget keeps its data renderer inside an independent movable shell. */
.home-module-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:100%;align-items:start}.home-module{min-width:0;grid-column:span 4}.home-module[data-width="quarter"]{grid-column:span 1}.home-module[data-width="half"]{grid-column:span 2}.home-module[hidden]{display:none!important}.home-module .dashboard-widget-content{min-width:0;margin:0}.home-module .home-health{margin:0}.home-module .section-head{flex-wrap:wrap}.home-module .home-chart-choice{min-width:0;max-width:100%}.home-module .home-toolbar{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.home-module select{max-width:100%}.home-module .home-mover,.home-module .home-allocation-label,.home-module .home-pagination{flex-wrap:wrap}.home-module .home-metric-label,.home-module .home-metric strong{overflow-wrap:anywhere}.home-module .home-currencies{display:flex}
.dashboard-edit-toolbar{position:sticky;top:12px;z-index:30;background:#17283ef5;border:1px solid #3b826c;border-radius:12px;padding:14px 18px;margin:10px 0 22px;box-shadow:0 10px 25px #0004}.dashboard-edit-toolbar>p{font-size:13px;line-height:1.5;margin:0 0 12px}.dashboard-edit-actions{display:flex;gap:10px;flex-wrap:wrap}.dashboard-edit-actions button{font-size:12px}.dashboard-edit-toolbar [role="status"]:empty{display:none}.dashboard-edit-toolbar [role="status"]{margin:10px 0 0;color:#8df0d3}
.dashboard-widget-controls{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;background:#18372f;border-bottom:1px solid #356453;border-radius:10px 10px 0 0;padding:8px}.dashboard-widget-controls[hidden]{display:none!important}.dashboard-widget-controls>strong{font-size:12px;color:#bce9d9;overflow-wrap:anywhere}.dashboard-widget-actions{display:flex;gap:4px}.dashboard-widget-controls button{padding:5px;width:30px;min-height:32px;font-size:17px;border:1px solid #406354;background:#203e34;color:#cdf4e6}.dashboard-widget-controls .dashboard-widget-handle{cursor:grab;touch-action:none;font-size:23px}.dashboard-widget-controls button:disabled{opacity:.35;cursor:default}.dashboard-widget-controls button:focus-visible{outline:2px solid #47dcb0;outline-offset:2px}
.dashboard-editing .dashboard-widget{border:1px dashed #4d9a80;border-radius:12px;min-height:85px}.dashboard-editing .dashboard-widget-content{border-top-left-radius:0;border-top-right-radius:0}.dashboard-editing .dashboard-widget.is-disabled .dashboard-widget-content{display:none!important}.dashboard-widget-disabled{color:#91a4bf;font-size:13px;padding:15px;margin:0}.dashboard-editing .dashboard-widget.is-disabled{background:#101d2a}.dashboard-widget.is-dragging{outline:3px solid #54e1b1;box-shadow:0 12px 30px #0006}.dashboard-dragging,.dashboard-dragging *{cursor:grabbing!important;user-select:none}.dashboard-module-dialog{max-width:440px;width:calc(100vw - 24px)}.dashboard-module-dialog form{grid-template-columns:1fr}.dashboard-module-dialog form p{font-size:13px;line-height:1.6}.dashboard-module-toggle{flex-direction:row;align-items:center}.dashboard-module-toggle input{accent-color:#47dcb0}
@media(max-width:1100px){.home-module-board{grid-template-columns:repeat(2,minmax(0,1fr))}.home-module,.home-module[data-width="half"]{grid-column:span 2}.home-module[data-width="quarter"]{grid-column:span 1}}
@media(max-width:600px){.home-module-board{grid-template-columns:minmax(0,1fr);gap:14px}.home-module,.home-module[data-width="quarter"],.home-module[data-width="half"]{grid-column:span 1}.dashboard-widget-controls{grid-template-columns:40px minmax(0,1fr) auto}.dashboard-widget-controls button{width:38px;min-height:42px}.dashboard-edit-toolbar{top:6px;padding:12px}.dashboard-edit-actions button{min-height:42px;flex:1}.dashboard-widget-controls>strong{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.dashboard-widget{transition:box-shadow .15s ease,border-color .15s ease}}

@media(min-width:601px){.dashboard-widget[data-width="quarter"] .dashboard-widget-controls{grid-template-columns:32px minmax(0,1fr)}.dashboard-widget[data-width="quarter"] .dashboard-widget-actions{grid-column:1/-1;justify-content:flex-end}}
#dashboard-layout-error:empty{display:none}

.broker-import-page .import-providers{grid-template-columns:1fr}

.feedback-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.feedback-toolbar label{flex:1 1 160px;min-width:0}.feedback-toolbar input,.feedback-toolbar select{width:100%;min-width:0}.feedback-list{padding:0;list-style:none}.feedback-list li{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--border,#ddd);flex-wrap:wrap}.feedback-list a{overflow-wrap:anywhere;flex:1 1 220px;min-width:0}.feedback-list span{font-size:.9em}#feedback-form{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}#feedback-form textarea{width:100%;box-sizing:border-box;resize:vertical;font:inherit;color:inherit;background:#0b1322;border:1px solid #40516b;border-radius:8px;padding:10px}body.feedback-page #broker-filter-control{display:none}

.feedback-list li>span:first-child{overflow-wrap:anywhere;flex:1 1 220px;min-width:0}.feedback-list li>span:last-child{flex:0 1 auto}#feedback-form .check-label{display:flex;align-items:flex-start;gap:10px}#feedback-form .check-label input{width:auto}#feedback-connect-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}

/* Broker guides use real pages and local, expandable screenshots. */
.broker-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.broker-directory .broker-logo{margin-bottom:4px}.broker-logo{object-fit:contain;background:#fff;border-radius:14px;padding:8px;box-sizing:border-box;flex-shrink:0}.broker-directory h2{margin:0}.broker-directory .button{margin-top:auto;align-self:flex-start}.import-tools{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.import-tools h2{width:100%;margin-bottom:0}.broker-guide{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;counter-reset:guide}.broker-guide>li{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-content:start}.guide-number{color:#4de0b3;font-weight:700;font-size:16px;padding-top:4px}.broker-guide h2{margin:0 0 12px;font-size:20px}.broker-guide p{line-height:1.8;margin:0 0 16px}.broker-guide figure{margin:20px 0 0}.broker-guide img{display:block;width:100%;height:auto;border:1px solid #3a4a60;border-radius:10px}.broker-guide figcaption{font-size:12px;line-height:1.6;margin-top:10px;color:#aebed5}#import-workspace{margin:0 0 24px}#import-workspace p:empty{display:none}.import-providers>[hidden]{display:none!important}
@media(max-width:1000px){.broker-directory{grid-template-columns:1fr}.broker-guide{grid-template-columns:1fr}}@media(max-width:600px){.broker-guide>li{gap:12px;padding:18px}.import-provider-heading{gap:12px}.import-tools{gap:14px}}

.import-account-field{display:flex;flex-direction:column;gap:10px;min-width:0}.import-account-field>button{align-self:flex-start}

#broker-list td:last-child{display:flex;gap:8px;flex-wrap:wrap}#broker-delete-summary{font-weight:700;overflow-wrap:anywhere}

.source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px}.source-card{min-width:0;padding:18px;border:1px solid var(--border,#293951);border-radius:12px}.source-card h3{margin-top:0}.source-card p{line-height:1.65}.source-links{overflow-wrap:anywhere}[data-page="over-ons"] .panel{width:100%;box-sizing:border-box}#stock-fundamentals-table{font-variant-numeric:tabular-nums}#stock-fundamentals-source{overflow-wrap:anywhere}

.purchase-eur-tools{grid-column:1/-1;min-width:0}.purchase-eur-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.purchase-eur-row label{min-width:0}.purchase-eur-tools p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#transaction-costs{grid-column:1/-1;min-width:0;border:1px solid var(--border,#526079);border-radius:8px;padding:14px}#transaction-cost-rows{display:grid;gap:14px}.transaction-cost-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border-bottom:1px solid var(--border,#526079);padding-bottom:14px}.transaction-cost-row label{min-width:0}.transaction-cost-row input,.transaction-cost-row select{width:100%;min-width:0}.transaction-cost-row input[type=checkbox]{width:auto}.transaction-cost-row button{justify-self:start}@media(max-width:540px){.transaction-cost-row{grid-template-columns:minmax(0,1fr)}}
.etf-tasks-panel .section-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px}.etf-tasks-panel .section-head>div:first-child{flex:1 1 320px;min-width:0}.task-actions{display:flex;flex-wrap:wrap;gap:8px}.task-actions button{margin:0}#etf-task-progress{width:100%;height:12px;accent-color:var(--accent,#60b8ff)}#etf-task-summary{font-variant-numeric:tabular-nums}#etf-task-rows small{display:block;margin-top:6px;color:var(--muted,#a4b3c9)}#etf-task-rows td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}#etf-task-rows td:first-child{min-width:180px}#etf-task-rows td:last-child{min-width:220px}#etf-task-rows tr[data-status=error] td:nth-child(3),#etf-task-rows tr[data-status=unsupported] td:nth-child(3){color:var(--negative,#ff9b9b)}#etf-task-rows tr[data-status=success] td:nth-child(3){color:var(--positive,#73d9b4)}#etf-task-editor form{display:flex;flex-wrap:wrap;gap:12px}#etf-task-editor label{flex-basis:100%;min-width:0}#etf-task-editor select{width:100%;min-width:0}@media(max-width:540px){.task-actions{width:100%}.task-actions button{flex:1 1 140px}.etf-tasks-panel{min-width:0}}
@media(max-width:540px){.etf-tasks-panel .section-head>div:first-child{flex:0 0 auto;width:100%}}

.chart-measure-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.chart-measure-row label{max-width:100%;min-width:0}.chart-measure-row select{max-width:100%}.chart-return-badge{font-size:24px;font-variant-numeric:tabular-nums;border-radius:9px;padding:8px 14px}.chart-return-badge:empty{display:none}.chart-return-badge.positive{background:#123e36}.chart-return-badge.negative{background:#481e2b}#home-chart-panel .chart-ranges{display:flex;gap:6px;flex-wrap:wrap}#home-chart-panel .chart-ranges button{min-width:42px;padding:9px 12px}#home-chart-panel #chart{height:350px;max-width:100%}.stock-company-description{white-space:normal;line-height:1.75;max-width:100%;overflow-wrap:anywhere}

.resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:20px 0}.resource-card{border:1px solid var(--border,#304258);border-radius:12px;padding:20px;min-width:0;background:var(--surface,#111e30)}.resource-card strong{display:block;font-size:1.8rem;margin:10px 0;overflow-wrap:anywhere}.resource-card small{display:block;line-height:1.5}
#cleanup-review{grid-column:1/-1}

.backup-file-name{overflow-wrap:anywhere;word-break:break-word}.backup-file-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.backup-files-table{width:100%}.backup-files-table td:first-child{max-width:32rem;min-width:0}

.backup-files-table{table-layout:fixed;white-space:normal}.backup-files-table td,.backup-files-table th{overflow-wrap:anywhere;vertical-align:top}.backup-files-table th:nth-child(1){width:32%}.backup-files-table th:nth-child(2){width:16%}.backup-files-table th:nth-child(3){width:21%}.backup-files-table th:nth-child(4){width:11%}.backup-files-table th:nth-child(5){width:20%}.backup-files-table .table-filter{max-width:100%;min-width:0}
@media(max-width:650px){.backup-files-table,.backup-files-table tbody,.backup-files-table tr,.backup-files-table td{display:block;width:100%}.backup-files-table thead{display:none}.backup-files-table tr{border-bottom:1px solid #28344a;padding:12px 0}.backup-files-table td{border:0;padding:5px 0;max-width:none}.backup-files-table td:before{content:attr(data-label);display:block;font-size:12px;color:#9eacc2;margin-bottom:3px}.backup-file-actions button{padding:10px 12px}.backup-file-actions{gap:10px}}

/* The report workspace shares Home's ink, mint and blue palette. */
.reports-page #page-header,.reports-page #status{display:none}
.reports-dashboard{width:100%;max-width:none;margin:0;min-width:0}
.report-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:10px 0 34px}
.report-intro h2{font-size:clamp(25px,2.7vw,38px);letter-spacing:-1.1px;margin:12px 0;color:#f0f5fc}
.report-intro p{font-size:14px;line-height:1.8;max-width:65ch;margin:0 0 18px}
.report-intro .eyebrow{color:#55dcb4;letter-spacing:2px}
.report-intro-badge{display:inline-flex;padding:6px 11px;border-radius:30px;background:#152d2c;border:1px solid #285349;color:#8bdcc6;font-size:11px}
#reports-broker-slot{min-width:200px;align-self:flex-start;margin-top:22px}
.report-navigation{margin-bottom:22px}
.report-nav-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}
.report-nav-heading h3{font-size:14px;margin:0;color:#c7d6e8;font-weight:600}
.report-nav-heading small{font-size:11px;color:#8397b2}
.reports-dashboard .report-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
.reports-dashboard .report-type{display:flex;flex-direction:row;align-items:flex-start;gap:11px;padding:16px 12px;background:#101a2a;border:1px solid #243449;border-radius:12px;min-height:100px;color:#c8d7e9;text-align:left;transition:background .15s,border-color .15s}
.reports-dashboard .report-type>span:last-child{min-width:0}
.reports-dashboard .report-type strong{display:block;font-size:12px;line-height:1.5;letter-spacing:0}
.reports-dashboard .report-type small{display:block;font-size:10px;line-height:1.6;color:#8296b1;margin-top:6px;font-weight:400}
.report-icon{font-size:23px;line-height:1.1;flex:none;color:#8fa7c6}
.reports-dashboard .report-type:hover{background:#172638;border-color:#537084}
.reports-dashboard .report-type[aria-pressed="true"]{background:linear-gradient(135deg,#193e36,#132a2a);border-color:#48ad91;color:#c4f6e6;box-shadow:0 0 0 1px #46b79819}
.reports-dashboard .report-type[aria-pressed="true"] .report-icon{color:#61e8be}
.reports-dashboard .report-type[aria-pressed="true"] small{color:#8ebdaf}
.reports-dashboard .report-filter-panel{padding:17px 20px;margin:0 0 30px;background:#101b2b;border-radius:12px}
.reports-dashboard .report-filters{display:flex;gap:18px;flex-wrap:wrap;align-items:end}
.reports-dashboard .report-filters label{min-width:150px;flex:1;font-size:11px;color:#99aec7}
.reports-dashboard .report-filters label:first-child{flex:2}
.reports-dashboard .report-filters select{width:100%;font-size:12px;border-color:#34465e;background:#0c1626}
.report-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}
.report-section-heading h2{font-size:25px;letter-spacing:-.6px;margin:7px 0}
.report-section-heading p{font-size:13px;margin:0;color:#93a8c2}
.report-scope-note{color:#87a09f;border:1px solid #29413f;border-radius:30px;padding:6px 10px;font-size:10px;white-space:nowrap}
.report-coverage{font-size:12px;line-height:1.7;color:#d8c08e;background:#342c1d55;border:1px solid #66523266;border-radius:10px;padding:12px 16px;margin:14px 0}
.report-coverage:empty{display:none}
.reports-dashboard #report-description{font-size:11px;max-width:110ch;margin:10px 0 18px}
.reports-dashboard .home-metrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:16px 0 20px}
.reports-dashboard .home-metric{background:linear-gradient(130deg,#162337,#111d2e);border:1px solid #2a3b51;border-radius:13px;padding:21px 24px;container-type:inline-size}
.reports-dashboard .home-metric strong{font-size:clamp(18px,1.7vw,30px);margin:12px 0 10px;white-space:nowrap;letter-spacing:-.8px}
@supports(font-size:1cqi){.reports-dashboard .home-metric strong{font-size:clamp(18px,9cqi,32px)}}
.reports-dashboard .home-metric small{color:#8199b5;font-size:10px}
.report-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
.report-chart-grid>.report-wide{grid-column:1/-1}
.reports-dashboard .report-chart-card{margin:0;padding:24px;border-radius:14px;min-width:0;background:#111d2f;border:1px solid #293a52;box-shadow:0 12px 24px #00000010}
.report-chart-card h3{font-size:16px;letter-spacing:-.2px;margin:6px 0 0;color:#e5eefb}
.report-chart-card .eyebrow{color:#6f95ae;font-size:10px}
.report-chart-card .report-chart-note{font-size:11px;line-height:1.7;color:#839bb7;min-height:36px;margin:10px 0 14px}
.report-plot{min-width:0;overflow-x:auto;scrollbar-width:thin}
.report-plot>svg{display:block;width:100%;height:auto;max-height:500px;min-height:200px}
.report-chart-card.report-wide .report-plot>svg{max-height:370px}
.report-chart-detail{border-top:1px solid #263850;min-height:38px;padding-top:12px;margin:12px 0 0;font-size:11px;color:#91a8c4;line-height:1.7;font-variant-numeric:tabular-nums}
.report-chart-empty{display:grid;place-items:center;min-height:220px;color:#7f96b1;font-size:12px;border:1px dashed #293c55;border-radius:12px}
.report-donut-layout{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,1fr);gap:10px;align-items:center;min-height:280px}
.report-donut-layout>svg{min-height:0;height:auto;max-height:280px;min-width:0;width:100%}
.report-donut-legend{display:grid;gap:14px;min-width:0}
.report-donut-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:center;font-size:11px}
.report-donut-legend svg{width:10px;height:10px}
.report-donut-legend span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#a8bed6}
.report-donut-legend strong{font-size:11px;font-variant-numeric:tabular-nums}
.report-line-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:#a8bed6;padding:0 16px}
.report-line-legend span{display:flex;align-items:center;gap:8px}
.report-line-legend svg{width:16px;height:8px}
.report-insights{display:flex;gap:14px;flex-wrap:wrap}
.report-insights:empty{display:none}
.report-insight{flex:1;min-width:210px;border-left:2px solid #408b7c;padding:10px 18px;background:#142a2b44}
.report-insight small{display:block;font-size:11px}
.report-insight strong{display:block;font-size:24px;color:#8ee6c9;margin:8px 0}
.report-insight p{font-size:11px;line-height:1.7;margin:0;color:#8da4bc}
.report-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px 0}
.report-tile{border-radius:8px;padding:18px 13px;text-align:left;min-width:0;min-height:90px;display:flex;flex-direction:column;gap:12px;justify-content:space-between}
.report-tile span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;font-weight:500}
.report-tile strong{font-size:18px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.report-up{background:#1b604b;color:#b3f3d5;border:1px solid #2c896b}
.report-down{background:#633240;color:#ffd0d7;border:1px solid #8e4856}
.report-flat{background:#25354b;color:#bfd0e7;border:1px solid #435670}
.reports-dashboard .report-ledger{margin:26px 0;border-radius:12px;padding:18px 22px}
.report-ledger summary{display:flex;justify-content:space-between;align-items:center;gap:20px;list-style:none;font-size:13px;font-weight:600;color:#b5c9e1}
.report-ledger summary span:before{content:'+';display:inline-block;width:26px;color:#47dcb0;font-size:18px;font-weight:400}
.report-ledger[open] summary span:before{content:'−'}
.report-ledger summary small{font-weight:400;font-size:11px}
.report-ledger p{font-size:11px;margin:20px 0 12px}
.report-ledger table{font-size:12px}
.report-ledger td:first-child{max-width:250px;overflow:hidden;text-overflow:ellipsis}
.reports-dashboard button:focus-visible,.reports-dashboard svg:focus-visible,.reports-dashboard svg [tabindex]:focus-visible,.reports-dashboard summary:focus-visible{outline:2px solid #70b7ff;outline-offset:3px}
@media(min-width:1500px){.report-donut-layout{grid-template-columns:1fr 1fr}.reports-dashboard .report-type{padding:18px 16px;min-height:106px}}
@media(max-width:1180px){.reports-dashboard .report-types{grid-template-columns:repeat(3,minmax(0,1fr))}.report-donut-layout{grid-template-columns:1fr}.report-donut-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.report-chart-card .report-chart-note{min-height:52px}.report-tile strong{font-size:15px}}
@media(max-width:850px){.report-intro{margin-top:18px}.reports-dashboard .report-types{grid-template-columns:repeat(2,minmax(0,1fr))}.report-chart-grid{grid-template-columns:1fr}.report-chart-card .report-chart-note{min-height:0}.report-donut-layout{grid-template-columns:minmax(130px,1fr) minmax(120px,1fr)}.report-donut-legend{grid-template-columns:1fr}.report-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.report-chart-card .report-plot>svg{min-width:0}.report-chart-card .report-donut-layout>svg{min-width:0}}
@media(max-width:550px){.report-intro{flex-direction:column;align-items:stretch;gap:4px}.report-intro h2{font-size:29px}.report-intro p{font-size:12px}#reports-broker-slot{margin:12px 0 0;min-width:0;width:100%}#reports-broker-slot .account-filter{max-width:none}.report-nav-heading small{display:none}.reports-dashboard .report-type{padding:13px 10px;min-height:105px;gap:8px}.reports-dashboard .report-type strong{font-size:11px}.reports-dashboard .report-type small{font-size:9px}.report-icon{font-size:20px}.reports-dashboard .report-filters{gap:14px}.reports-dashboard .report-filters label{min-width:120px}.reports-dashboard .report-filters label:first-child{flex-basis:100%}.report-section-heading{align-items:flex-start}.report-section-heading h2{font-size:23px}.report-scope-note{display:none}.reports-dashboard .home-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reports-dashboard .home-metric{padding:16px 13px}.reports-dashboard .home-metric strong{font-size:22px}.reports-dashboard .home-metric-label{font-size:10px}.reports-dashboard .report-chart-card{padding:18px 14px}.report-chart-grid{gap:14px}.report-donut-layout{grid-template-columns:1fr}.report-donut-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.report-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.report-nav-heading{margin-top:24px}.report-section-heading .eyebrow{font-size:9px}.report-ledger summary{font-size:12px}}
@media(prefers-reduced-motion:reduce){.reports-dashboard .report-type{transition:none}}

.report-sidebar{padding:4px 0 10px 18px;border-left:1px solid #34465e;margin-left:18px}.sidebar nav .report-sidebar a{font-size:12px;padding:9px 12px}.report-intro{justify-content:flex-end;margin:0 0 12px}.report-plot table{width:100%;font-size:13px}

.sidebar nav{min-height:0;overflow-y:auto;flex:1}.sidebar-bottom{flex-shrink:0}.report-plot th{text-align:left;padding:12px}.report-plot td{padding:12px}

/* Full-width reports; every grid can shrink with its containing viewport. */
.reports-page main{min-width:0}.reports-dashboard>*{min-width:0}.report-chart-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr))}.reports-dashboard .report-filters label{min-width:min(150px,100%)}.report-section-heading>div{min-width:0}.report-section-heading h2,.report-section-heading p{overflow-wrap:anywhere}.report-insight{min-width:min(210px,100%)}
.payment-calendar{overflow:visible}.payment-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:4px 0 24px}.payment-controls{display:flex;gap:8px;align-items:center;min-width:0}.payment-controls select{font-size:16px;font-weight:650;text-transform:capitalize;max-width:100%}.payment-controls button{font-size:24px;padding:5px 14px;min-height:44px}.payment-controls button:disabled{opacity:.3;cursor:default}.payment-legend{display:flex;gap:16px;font-size:12px}.payment-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;background:currentColor}.payment-received{color:#63e5bc}.payment-estimated{color:#8dbbff}.payment-layout{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(240px,1fr);gap:24px;align-items:start}.payment-week,.payment-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.payment-week{margin:0 0 10px;text-align:center;font-size:11px;color:#88a3bf}.payment-day{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:0;min-height:112px;border-radius:12px;padding:12px;background:#0e192a;border:1px solid #25374e;color:#a6bad2;text-align:left;font-weight:400;transition:background .15s,border-color .15s}.payment-day:hover{background:#1b3047;border-color:#6583a4}.payment-padding{background:transparent;border-color:transparent}.payment-has-events{background:linear-gradient(145deg,#18382f,#142b38);border-color:#326556}.payment-day[aria-pressed="true"]{outline:2px solid #68e5c1;outline-offset:-2px;background:#21483f}.payment-day-number{font-size:13px;font-weight:650}.payment-today .payment-day-number{color:#071e1b;background:#66e5c2;border-radius:20px;width:25px;height:25px;display:grid;place-items:center}.payment-day-amount{font-size:clamp(10px,1vw,16px);color:#d2f8eb;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.payment-day-names{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8bb7ac}.payment-dots{display:flex;gap:4px}.payment-dots i{width:5px;height:5px;border-radius:50%;background:#63e5bc}.payment-dots .payment-dot-estimated{background:#8dbbff}.payment-agenda{background:linear-gradient(155deg,#1b2d45,#122237);border:1px solid #30445f;border-radius:16px;padding:22px;min-width:0}.payment-agenda h3{margin:8px 0 18px}.payment-total{display:block;font-size:clamp(22px,2vw,36px);letter-spacing:-1px;margin-bottom:24px;overflow-wrap:anywhere}.payment-event{padding:16px 0;border-top:1px solid #32465b}.payment-event>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.payment-event small{display:block;font-size:11px;color:#9cb1cc;margin-top:8px;line-height:1.6}.payment-event strong{overflow-wrap:anywhere}.payment-agenda .eyebrow{font-size:10px;letter-spacing:2px}
@media(max-width:1180px){.payment-layout{grid-template-columns:1fr}.payment-agenda{padding:20px}.payment-day{min-height:100px}}
@media(max-width:550px){.reports-dashboard .home-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.report-section-heading{flex-wrap:wrap}.payment-week,.payment-grid{gap:3px}.payment-day{min-height:64px;padding:7px 4px;border-radius:7px;gap:7px}.payment-day-amount,.payment-day-names{display:none}.payment-day-number{font-size:12px}.payment-controls{width:100%}.payment-controls select{flex:1;min-width:0;font-size:14px}.payment-toolbar{margin-bottom:18px}.payment-week{font-size:10px}.payment-agenda{padding:16px}.payment-legend{font-size:11px}.payment-calendar{container-type:inline-size}}
@media(prefers-reduced-motion:reduce){.payment-day{transition:none}}

.payment-has-estimates{background:linear-gradient(145deg,#1c3353,#19253b);border-color:#405f8c}.payment-has-estimates .payment-day-amount{color:#b9d5ff}

.report-group-heading{font-size:18px;color:#b9d2eb;margin:20px 0 0;padding-top:18px;border-top:1px solid #30445f}.report-total-note{font-size:12px;line-height:1.7;color:#a8bfd7;background:#19352f66;padding:14px 18px;border-radius:10px;margin:0}.report-metrics-total{grid-column:1/-1}

.report-metric-heading{grid-column:1/-1;font-size:14px;font-weight:600;color:#a6c8c0;margin:12px 0 0}.reports-dashboard .home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:400px){.reports-dashboard .home-metrics{grid-template-columns:1fr}}

.performance-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.performance-toolbar button{width:42px;min-width:0;padding:8px}
.performance-breakdown{width:100%;margin-top:22px}
.performance-breakdown h4{font-size:17px;margin:30px 0 8px}
.performance-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:15px 0;border-bottom:1px solid #263348;font-size:14px}
.performance-row>div:first-child{flex:1;min-width:0}
.performance-row small{display:block;max-width:75ch;color:#91a4bf;font-size:11px;line-height:1.6;margin-top:6px}
.performance-amount{display:flex;gap:18px;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;text-align:right;max-width:48%}
.performance-amount strong{font-variant-numeric:tabular-nums}
.performance-total{font-size:18px;border-top:1px solid #41516b;margin-top:20px;padding-top:24px;font-weight:700}
@media(max-width:600px){.performance-row{gap:12px;font-size:12px}.performance-amount{gap:5px;flex-direction:column;align-items:flex-end;max-width:46%}.performance-total{font-size:15px}.performance-row small{font-size:10px}}

.performance-help{display:inline;margin-left:7px}
.performance-help summary{display:inline;color:#91a4bf;cursor:pointer;list-style:none;font-size:13px}
.performance-help summary::-webkit-details-marker{display:none}
.performance-help[open]{display:block;margin:6px 0 0}
.performance-help[open] summary{color:#61e8be}
.performance-help small{padding:8px 10px;background:#0c1626;border-radius:6px}

/* The geographic report has its own map and country ranking. */
#report-metrics:empty,#report-insights:empty{display:none}
.reports-dashboard .report-filters label:first-child{flex:1}
.country-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.country-map-panel,.country-ranking{min-width:0}
.country-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#abc7d4;font-size:12px;margin:4px 0 12px;flex-wrap:wrap}
.country-map-controls{display:flex;gap:6px}.country-map-controls button{padding:7px 13px;font-size:11px;min-height:36px}
.country-map-controls button[aria-pressed="true"]{color:#071e21;background:#69dfbc;border-color:#69dfbc}
.country-map-canvas{width:100%;background:radial-gradient(ellipse at 50% 40%,#132b3d,#0b1829 80%);border:1px solid #294056;border-radius:14px;overflow:hidden}
.country-map-canvas svg{width:100%;height:auto;display:block;max-height:none;min-height:0}
.country-map-canvas [role="button"]{cursor:pointer;outline:none}.country-map-canvas path[role="button"]:hover,.country-map-canvas path.country-selected{fill:#a2f6d8;stroke:#e0fff3}
.country-map-canvas [role="button"]:focus-visible{filter:drop-shadow(0 0 3px #fff)}
.country-map-pin:hover rect,.country-map-pin.country-selected rect{fill:#285245;stroke:#9df8d5}
.country-map-selection{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 0 12px;min-height:60px}
.country-map-selection>div{flex:1;min-width:90px}.country-map-selection strong{display:block;font-size:14px}.country-map-selection small{display:block;color:#91a4bf;font-size:10px;margin-top:4px}
.country-map-selection img,.country-ranking img{object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #ffffff22;flex:none}
.country-selection-percent{color:#83efc9}.country-selection-value{font-size:12px;color:#abc6d9;white-space:nowrap}
.country-ranking{width:100%;overflow-x:auto}.country-ranking table{white-space:normal}.country-ranking td:first-child{width:60%}.country-ranking th:not(:first-child),.country-ranking td:not(:first-child){text-align:right;white-space:nowrap}.country-ranking .country-ranking-row{background:transparent;padding:8px 10px}.country-ranking .country-ranking-heading{font-size:14px}
.country-ranking-row{width:100%;padding:13px 12px;border:1px solid transparent;border-radius:10px;background:#101e30;color:#c7dce6;text-align:left;font-weight:400}
.country-ranking-row:hover,.country-ranking-row[aria-pressed="true"]{background:#17372f;border-color:#397e68}
.country-ranking-heading{display:flex;align-items:center;gap:9px;font-size:12px}.country-ranking-heading>span{flex:1;min-width:0;overflow-wrap:anywhere}.country-ranking-heading strong{font-size:12px;white-space:nowrap;color:#93ebca}
.country-weight-track{height:3px;background:#263a4b;border-radius:10px;margin:10px 0 0 33px;overflow:hidden}.country-weight-track span{display:block;height:100%;background:#63d7b0;border-radius:10px}
.country-unknown-mark{font-size:20px;color:#9aadc2;width:24px;flex:none!important}
@media(max-width:1000px){.country-layout{grid-template-columns:1fr}.country-ranking{width:100%}}
@media(max-width:520px){.country-layout{gap:14px}.country-ranking .country-ranking-heading{font-size:12px}.country-map-toolbar>span{width:100%}.country-map-controls{width:100%}.country-map-controls button{flex:1}.country-selection-value{margin-left:36px}.country-map-selection{gap:9px}.country-map-selection strong{font-size:13px}}
@font-face{font-family:HomeInvestRoboto;src:url("fonts/Roboto.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
/* Match the Home Assistant sidebar shown alongside the ingress app. */
.sidebar{width:256px;background:#1c1c1c;border-right:1px solid #333;color:#e1e1e1;font-family:HomeInvestRoboto,Roboto,Arial,sans-serif;overflow:hidden}
.sidebar-brand{height:56px;min-height:56px;padding:0 20px;gap:16px;border-bottom:1px solid #333;font-size:20px}
.sidebar-brand strong{font-weight:400}
.sidebar-brand>span{color:#9b9b9b;font-size:24px;width:24px;line-height:1}
.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;gap:4px;padding:8px 4px 12px;scrollbar-width:thin;scrollbar-color:#555 transparent}
.sidebar nav a{min-height:40px;padding:8px 16px;gap:24px;border-radius:4px;color:#e1e1e1;font-size:14px;font-weight:700;line-height:20px}
.sidebar nav a:hover{background:rgba(255,255,255,.06)}
.sidebar nav a[aria-current="page"]{color:#03a9f4;background:rgba(0,188,212,.12)}
.sidebar nav a:focus-visible{outline:2px solid #03a9f4;outline-offset:-2px}
.sidebar .nav-icon{display:block;flex:none;width:24px;height:24px;min-height:0;fill:currentColor;color:#9b9b9b}
.sidebar nav a[aria-current="page"] .nav-icon{color:#03a9f4}
.sidebar .report-sidebar{border:0;margin:0;padding:0 0 4px}
.sidebar nav .report-sidebar a{font-size:14px;font-weight:400;line-height:20px;min-height:40px;padding:8px 12px 8px 64px;overflow-wrap:anywhere}
.sidebar-bottom{padding:8px;color:#9b9b9b;font-size:11px;border-top:1px solid #333}
.sidebar-bottom>small{padding:0 12px;font-size:10px}
#account-controls{border:0;padding:0 8px;margin:0 0 4px}
.account-summary{color:#e1e1e1;min-height:40px;margin:0;gap:16px;text-decoration:none;font-size:14px}
.account-avatar{width:32px;height:32px;background:#b3e5fc;color:#212121;font-size:18px}
@media(min-width:851px){main{margin-left:256px}.locked .login-panel{left:128px}}
@media(max-width:850px){.sidebar{width:min(256px,calc(100vw - 48px))}.locked .sidebar{width:100%}}

.countries-page .report-intro,.countries-page .report-filter-panel,.countries-page .report-section-heading,.countries-page #report-description{display:none}

.portfolio-filter-bar{padding:18px 22px;margin-bottom:24px;background:#122338;border:1px solid #30445f;border-radius:14px;align-items:end}.portfolio-filter-bar label{flex:1;min-width:0}.portfolio-filter-bar select{width:100%;min-width:0}.portfolio-filter-bar .report-currency-toggle{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:12px;padding:12px 0}.report-currency-toggle input{width:18px;height:18px;accent-color:#63e5bc}.reports-dashboard .portfolio-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1000px){.reports-dashboard .portfolio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.portfolio-filter-bar{padding:16px;flex-direction:column;align-items:stretch}.portfolio-filter-bar label{width:100%}}

/* Raised surfaces and illustrative sector cards on the stocks page. */
.stocks-dashboard .home-metric,.stocks-composition>.panel{background:linear-gradient(145deg,#20354d 0%,#142438 48%,#101b2b 100%);border:1px solid #354c66;box-shadow:0 2px 0 #07101c,0 14px 28px #03091145,inset 0 1px 0 #ffffff0d}
.stocks-dashboard .home-metric{position:relative;overflow:hidden}.stocks-dashboard .home-metric:after{content:'';position:absolute;right:-20px;top:-24px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,#76d7c020,transparent 70%);pointer-events:none}
.stocks-dashboard .stocks-composition{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px}.stocks-composition>.panel:first-child{grid-column:1/-1}.stocks-composition>.stocks-countries-panel{grid-column:1;grid-row:2}.stocks-composition>.panel:has(#stocks-types){align-self:start}.stocks-composition>.panel{padding:26px;border-radius:20px}.stocks-composition h2{margin-bottom:22px}
.stocks-composition .stock-sector-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;align-items:stretch}
.stock-sector-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;position:relative;min-width:0;padding:18px;background:linear-gradient(140deg,#ffffff08,#ffffff00),#101f32;border:1px solid #3b5068;border-radius:16px;box-shadow:0 5px 0 #091625,0 10px 16px #030a1438,inset 0 1px 0 #ffffff0c;transition:transform .2s,box-shadow .2s}
.stock-sector-card:hover{transform:translateY(-3px);box-shadow:0 8px 0 #091625,0 15px 22px #030a1445}.stock-sector-symbol{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;color:var(--sector-color);background:linear-gradient(145deg,#ffffff22,#ffffff03),#20344b;box-shadow:inset 1px 1px 0 #ffffff22,3px 4px 0 #081625,0 8px 15px #030a1466;transform:perspective(200px) rotateY(-12deg) rotateX(8deg)}
.stocks-composition .stock-sector-symbol svg{width:32px;height:32px;filter:drop-shadow(0 2px 1px #030a14);flex:none}.stock-sector-copy{min-width:0}.stock-sector-copy h3{font-size:14px;margin:0 0 7px;overflow-wrap:anywhere;color:#edf5ff}.stock-sector-copy p{font-size:11px;color:#9db1cb;line-height:1.6;margin:0}.stock-sector-weight{color:var(--sector-color);font-size:21px;align-self:end;font-variant-numeric:tabular-nums}.stock-sector-count{color:#91a7c1;font-size:10px;align-self:end;text-align:right}.stock-sector-track{grid-column:1/-1;height:5px;background:#071322;border-radius:6px;box-shadow:inset 0 1px 2px #0008;overflow:hidden}.stock-sector-track span{display:block;height:100%;background:var(--sector-color);border-radius:6px}
.stocks-dashboard #stocks-types>svg{width:100%;height:235px;filter:drop-shadow(0 8px 0 #071321) drop-shadow(0 14px 10px #0004);transform:perspective(700px) rotateX(12deg)}
.stocks-composition #stocks-countries{display:block}.stocks-countries-panel .country-layout{grid-template-columns:minmax(0,1fr);gap:18px}.stocks-composition .country-map-canvas svg{display:block;width:100%;height:auto}.stocks-composition .country-ranking svg{height:auto}.stocks-countries-panel .country-map-canvas{box-shadow:inset 0 1px 0 #ffffff0b,0 8px 24px #0004}.stocks-countries-panel .country-map-canvas path[role=button]{filter:drop-shadow(0 2px 1px #05101b)}
@media(max-width:1200px){.stocks-dashboard .stocks-composition{grid-template-columns:minmax(0,1fr)}.stocks-composition>.stocks-countries-panel{grid-row:auto}.stocks-composition>.panel>div{display:block}.stocks-composition #stocks-sectors{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:stretch}.stocks-countries-panel .country-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
@media(max-width:850px){.stocks-countries-panel .country-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:550px){.stocks-composition>.panel{padding:18px 14px}.stocks-composition #stocks-sectors{grid-template-columns:minmax(0,1fr)}.stock-sector-card{padding:16px}.stocks-composition h2{font-size:22px}.stocks-dashboard .stocks-composition{gap:18px}.stocks-countries-panel .country-map-toolbar{gap:10px}}
@media(prefers-reduced-motion:reduce){.stock-sector-card{transition:none}.stock-sector-card:hover{transform:none}}

#stock-fund-panel{min-width:0}#stock-fund-charts{margin:24px 0}.fund-holdings-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.fund-holdings-controls input{flex:1;min-width:min(240px,100%)}.fund-holdings-controls span{font-size:12px;color:#a7bcd1}.fund-holdings-controls button{min-height:40px}.fund-report{margin:0 0 24px}.fund-report>summary{cursor:pointer;font-size:16px;font-weight:650;padding:8px 0}.fund-report>p{line-height:1.7}.fund-report h3{margin-top:24px}#stock-fund-holdings table,.fund-report table{width:100%;font-size:12px}#stock-fund-source{font-size:12px}#stock-fund-charts .report-chart-card{min-width:0}#stock-fund-charts .country-layout{grid-template-columns:minmax(0,1fr)}
@media(max-width:550px){.fund-holdings-controls input{flex-basis:100%}.fund-holdings-controls span{flex:1}.fund-report{padding:16px}#stock-fund-panel .section-head{flex-wrap:wrap;gap:12px}}

#stock-fund-charts{align-items:start}#stock-fund-charts .country-ranking{max-height:320px;overflow:auto}#stock-fund-charts .report-chart-detail:empty{display:none}
