.tools-toolbar,.tools-actions,.tools-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tools-toolbar{justify-content:flex-end;margin-bottom:12px}.tools-heading{justify-content:space-between;flex-wrap:nowrap}.tools-heading h2,.tools-heading h3{margin:0;min-width:0;overflow-wrap:anywhere}.tools-heading h2{font-size:17px}.tools-heading h3{font-size:14px}.tools-section{border:1px solid var(--finance-border,rgba(148,163,184,.2));background:var(--finance-surface,#101b2b);border-radius:18px;margin-block:14px;color:#e2e8f0}.tools-section>summary{padding:16px 18px;font-weight:700;font-size:13px;cursor:pointer}.tools-section-body{padding:0 18px 18px}.tools-section-body h2{font-size:15px}.tools-note{font-size:11px;line-height:1.9;color:#abb8c9;overflow-wrap:anywhere}.tools-record{padding:14px 0;border-bottom:1px solid #94a3b826}.tools-record:last-child{border-bottom:0}.tools-record small,.tools-record p{font-size:11px;color:#b5c0d2;line-height:1.9}.tools-record strong{font-size:15px}.tools-record progress,.tools-dialog progress{width:100%;height:7px;border:0;border-radius:9px;accent-color:#20b593;background:#233248}.tools-record .tools-actions{margin-top:10px}.tools-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 40px);padding:22px;background:#101b2b;color:#e8edf5;border:1px solid #52617666;border-radius:22px;font-family:inherit;overflow:auto;overscroll-behavior:contain}.tools-dialog.tools-wide{width:min(760px,calc(100vw - 24px))}.tools-dialog::backdrop{background:#030813b8;backdrop-filter:blur(5px)}.tools-fields{display:grid;gap:8px;margin-block:20px}.tools-fields>label,.tools-fields>div>label{font-size:12px;margin-top:6px;font-weight:600}.tools-fields input:not([type=checkbox]),.tools-fields select{width:100%;min-width:0;min-height:44px;padding:9px 12px;border:1px solid #65758d77;background:#081221;color:#edf2fa;border-radius:11px;font-family:inherit;font-size:12px;line-height:1.6;box-sizing:border-box}.tools-fields>div{min-width:0}.tools-fields [data-rosca-fields],#toolsImportMapping{display:grid;gap:8px}.tools-fields[hidden],.tools-fields [hidden]{display:none!important}.tools-fields input:focus-visible,.tools-fields select:focus-visible,.tools-layout button:focus-visible,.tools-layout .tools-drag:focus-visible{outline:2px solid #efc86f;outline-offset:2px}.tools-check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.9;cursor:pointer}.tools-check input{margin:5px 0 0;accent-color:#179f86;flex-shrink:0;width:16px;height:16px}.tools-actions{margin-top:14px}.tools-actions button{min-height:38px}.tools-dialog #toolsError{color:#fda4af;font-size:12px}.tools-banner{padding:12px 16px;background:#123630;color:#d1fae5;border:1px solid #34d39950;border-radius:14px;font-size:12px;line-height:1.9;margin-block:12px}.tools-banner[hidden]{display:none}.tools-banner ul{padding-inline-start:20px}.tools-banner .zad-btn{margin-top:8px}.tools-banner p{margin:0}.tools-alerts{font-size:11px;line-height:1.9;color:#efc86f}.tools-alerts p{padding:10px;border-radius:10px;background:#efc86f0d}.tools-table-wrap{width:100%;max-height:330px;overflow:auto;margin-top:12px;border:1px solid #94a3b826;border-radius:12px}.tools-table-wrap table{border-collapse:collapse;width:100%;min-width:390px;text-align:start;font-size:11px}.tools-table-wrap th,.tools-table-wrap td{padding:10px 12px;text-align:start;border-bottom:1px solid #94a3b820;white-space:nowrap}.tools-table-wrap td:last-child{white-space:normal;overflow-wrap:anywhere;min-width:80px}.tools-table-wrap th{background:#17263a;position:sticky;top:0;font-size:10px}.tools-layout{list-style:none;margin:0;padding:0}.tools-layout li{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #94a3b833;font-size:11px}.tools-layout li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.tools-layout button{background:#22354d;border:0;border-radius:8px;width:32px;height:36px;color:inherit;font-size:15px;cursor:pointer}.tools-drag{cursor:grab;font-size:23px;color:#efc86f;padding:2px 5px}.tools-layout .tools-check{font-size:10px;gap:5px;white-space:nowrap}.tools-months{height:120px;display:flex;direction:ltr;gap:8px;align-items:stretch;margin:20px 0}.tools-months>span{flex:1;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:0}.tools-months i{display:block;flex-shrink:0;height:var(--height);width:100%;max-width:28px;min-height:2px;background:var(--tone);border-radius:5px 5px 0 0;animation:tools-grow .7s ease both;transform-origin:bottom}.tools-months small{font-size:9px;padding-top:4px}.tools-guest{width:100%;justify-content:center;margin-top:12px}.privacy-mode .tools-section .sensitive-value,.privacy-mode .tools-banner .sensitive-value{filter:blur(7px);user-select:none}.privacy-mode .tools-months{filter:blur(10px)}body.theme-light .tools-section,body.theme-light .tools-dialog{background:#fff;color:#162337;border-color:#d9e1eb}body.theme-light .tools-note,body.theme-light .tools-record p,body.theme-light .tools-record small{color:#526176}body.theme-light .tools-fields input:not([type=checkbox]),body.theme-light .tools-fields select{background:#f8fafc;color:#172539;border-color:#cbd5e1}body.theme-light .tools-table-wrap th{background:#edf2f7}body.theme-light .tools-layout button{background:#edf2f7}body.theme-light .tools-alerts{color:#795509}body.theme-light .tools-banner{background:#ecfdf5;color:#065f46}body.theme-light .tools-dialog #toolsError{color:#be123c}@keyframes tools-grow{from{scale:1 0}to{scale:1 1}}@media(max-width:420px){.tools-dialog{padding:17px}.tools-section-body{padding:0 13px 14px}.tools-section>summary{padding:14px}.tools-toolbar .zad-btn{font-size:10px}.tools-heading strong{font-size:12px}.tools-table-wrap{max-height:260px}}@media(prefers-reduced-motion:reduce){.tools-months i{animation:none}}

#tab-home.tools-dashboard:not(.hidden){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}#tab-home.tools-dashboard> *{grid-column:1/-1;margin-top:0!important;min-width:0}#tab-home.tools-dashboard>[data-dashboard-block][hidden]{display:none!important}@media(min-width:1024px){#tab-home.tools-dashboard>[data-dashboard-block]{grid-column:span var(--dashboard-span,12)}}

@media(max-width:1023px){#tab-home.tools-dashboard>[data-dashboard-summary]{grid-column:span 6;padding:12px!important}}

.tools-dialog,.tools-dialog *{box-sizing:border-box}.tools-dialog{max-width:calc(100vw - 24px)}.tools-dialog form{width:100%;min-width:0}.tools-fields{grid-template-columns:minmax(0,1fr);min-width:0}.tools-fields>*{min-width:0;max-width:100%}.tools-table-wrap{min-width:0}.privacy-mode .tools-alerts{filter:blur(7px);user-select:none}

[data-bank-classification]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}[data-bank-classification][hidden]{display:none!important}[data-bank-classification] label{display:grid;gap:6px;font-size:11px;min-width:0}[data-bank-classification] select{width:100%;min-height:44px;border:1px solid var(--border-default);border-radius:10px;background:var(--surface-card);color:var(--ink);padding:8px;font:inherit}[data-bank-classification] label:last-child{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-height:40px}[data-bank-classification] input[type=checkbox]{accent-color:#159e86;width:18px;height:18px}

body#appBody.theme-light .finance-ai-privacy{color:#526176}
