/* Warm, accessible fin-tech direction for Kартометр. */
:root{--ink:#23211e;--muted:#817d74;--paper:#f8f7f2;--line:#e9e5dc;--purple:#5b4bd5;--purple-deep:#4434b3;--green:#1c9a70;--orange:#e48b38;--yellow:#ffdc3c}
.sidebar{background:#31295b;color:#fffdf7}.brand-mark{background:var(--yellow);color:#31295b}.brand{color:#fffdf7}nav a{color:#d7d1ec}nav a.active,nav a:hover{color:#31295b;background:#fff}.plan{background:#40366f;border-color:#51457f}.plan span,.plan small,.profile small,.profile i{color:#d5cfeb}
.primary{border-radius:10px;background:linear-gradient(135deg,#6959e6,#4e3ec5);box-shadow:0 7px 14px #5546c438}.primary:hover{background:#4434b3}.hero{background:linear-gradient(112deg,#ffeb82,#ffdc3c 54%,#f7c916);border-radius:18px;color:#24211d}.hero:after{border-color:#24211d0c}.eyebrow.light,.hero-score>p,.hero-score small{color:#514924}.hero h2{color:#24211d}.hero p:not(.eyebrow),.score-ring span{color:#4b4430}.hero-btn{background:#5b4bd5;color:#fff;border-radius:10px;box-shadow:0 6px 14px #5546c42c}.hero-btn:hover{background:#4434b3}.score-ring{border-color:#24211d40;background:#ffffff25;box-shadow:inset 0 0 0 7px #ffffff22}.score-ring b{color:#24211d}
.stats article,.panel,.table-wrap{border-color:var(--line)}.purple{background:#fff2b5;color:#3e3210}.criteria-score b{color:#24211d}.criteria-score small{display:block;margin-top:2px;color:#9b927f;font:600 9px/1.3 Manrope}.criteria-bars em{background:#edc817}.text-btn{color:#6f5900}.pill{background:#f4e7a8;color:#5f4d00}textarea{border-color:#d8cfb5;background:#fffdf7}textarea:focus{border-color:#d3ab00}.report-btn{color:#24211d;border-color:#d7cfbf}.toast{background:#24211d}
.import-links{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #d7cfbf;border-radius:8px;background:#fffdf7;color:#4b463f;font-size:12px;font-weight:700;cursor:pointer}.import-links:hover{border-color:#bba900;background:#fff9dd}.import-links input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.criteria-modal .modal{width:min(790px,100%);max-height:88vh;display:flex;flex-direction:column}.criteria-editor{overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:7px -2px 18px;padding:2px}.criterion-setting{display:grid!important;grid-template-columns:20px minmax(150px,1fr) minmax(150px,auto) 56px;align-items:center;gap:11px;padding:10px 6px!important;border-bottom:1px solid #f0ece4;color:var(--ink)!important}.criterion-setting:last-child{border-bottom:0}.criterion-setting input[type=checkbox]{width:16px;height:16px;accent-color:#d5aa00}.criterion-setting>span{display:grid;gap:2px}.criterion-setting b{font-size:12px}.criterion-setting small{color:var(--muted);font-size:10px}.criterion-setting input[type=number]{width:56px;border:1px solid #d8cfb5;border-radius:7px;padding:7px;text-align:center;font:700 12px Manrope;color:var(--ink)}.criterion-thresholds{display:grid!important;grid-template-columns:auto 54px auto 54px;align-items:center;gap:5px}.criterion-thresholds input[type=number]{width:54px;padding:6px}.criterion-thresholds-empty{color:var(--muted);font-size:12px}.criteria-actions{display:flex;justify-content:space-between;gap:10px}.criteria-actions .primary{padding:10px 18px}@media(max-width:650px){.criterion-setting{grid-template-columns:20px 1fr 56px}.criterion-thresholds{grid-column:2 / 4}.criterion-thresholds-empty{display:none!important}}
.batch-downloads{display:flex;gap:7px;align-items:center}
.batch-result{display:flex;align-items:center;gap:10px;margin-top:14px;padding:11px 12px;border:1px solid #e4dba7;border-radius:10px;background:#fffdf2}.batch-result-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#edc817;color:#24211d;font-weight:900}.batch-result p{margin:0;flex:1;font:600 12px/1.4 Manrope;color:#4a4438}.batch-result .report-btn{white-space:nowrap}
.batch-insights{margin-top:14px;padding:14px 15px;border:1px solid #e4dcc3;border-radius:10px;background:#fffdf7;color:#3f3a30}.batch-insights strong{display:block;font-size:13px}.batch-insights p{margin:4px 0 9px;color:#746c5d;font:600 11px/1.45 Manrope}.batch-insights ol{margin:0;padding-left:19px;display:grid;gap:4px;font:700 11px/1.4 Manrope}.batch-insights li::marker{color:#b28a00}.batch-worklist{margin-top:12px;padding-top:11px;border-top:1px solid #e8e0c8}.batch-worklist summary{cursor:pointer;color:#494238;font:800 11px Manrope}.batch-worklist p{margin-bottom:8px}.batch-worklist small{display:block;margin-top:8px;color:#817968;font:600 10px/1.4 Manrope}.batch-worklist li{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:5px 10px}.batch-worklist li strong{font-size:11px}.batch-worklist li>span:not(.batch-worklist-actions){color:#746c5d;font:700 10px/1.35 Manrope}.batch-worklist-actions{display:flex;gap:5px}.batch-worklist-actions a{padding:4px 6px;border:1px solid #d7cfbf;border-radius:6px;background:#fff;color:#5f4d00;font:800 9px Manrope;text-decoration:none;white-space:nowrap}.batch-worklist-actions a:hover{background:#fff0a3}.batch-copy-worklist{margin-top:10px}@media(max-width:560px){.batch-worklist li{grid-template-columns:1fr auto}.batch-worklist li>span:not(.batch-worklist-actions){grid-column:1 / -1;grid-row:2}.batch-worklist-actions{grid-column:2;grid-row:1}}
.batch-failures{margin-top:14px;padding:14px 15px;border:1px solid #ead2bd;border-radius:10px;background:#fff8f2;color:#3f3a30}.batch-failures strong{display:block;font-size:13px}.batch-failures p{margin:4px 0 9px;color:#746c5d;font:600 11px/1.45 Manrope}.batch-failure-actions{display:flex;gap:8px;margin:0 0 9px}.batch-failures ul{display:grid;gap:6px;margin:0;padding-left:18px}.batch-failures li{display:grid;gap:2px}.batch-failures code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f4d00;font:700 10px/1.35 Manrope}.batch-failures small{color:#887766;font:600 10px/1.35 Manrope}
.batch-progress{margin-top:14px;padding:11px 12px;border-radius:10px;background:#f6f4ee}.batch-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font:700 11px Manrope;color:#4a4438}.batch-progress i{display:block;height:6px;border-radius:99px;background:#e3ded1;overflow:hidden}.batch-progress em{display:block;width:0;height:100%;border-radius:99px;background:#edc817;transition:width .25s ease}.batch-progress small{display:block;margin-top:8px;color:var(--muted);font:600 11px/1.35 Manrope}
.cancel-batch{display:block;margin-top:10px;border:0;background:transparent;color:#8a5841;font:800 10px Manrope;padding:0;cursor:pointer}.cancel-batch:hover{text-decoration:underline}.cancel-batch:disabled{opacity:.55;cursor:wait}
.limit-warning{color:#b45d21!important;font-weight:800}
.row-actions{display:flex;gap:6px;align-items:center}.copy-message-btn{border:1px solid #d7cfbf;border-radius:7px;background:#fff8d8;color:#5f4d00;font:800 10px Manrope;padding:6px 8px;cursor:pointer}.copy-message-btn:hover{background:#fff0a3}.refresh-btn{width:27px;height:27px;border:1px solid #d7cfbf;border-radius:7px;background:#fffdf7;color:#5f4d00;font:700 16px/1 Manrope;cursor:pointer}.refresh-btn:disabled{opacity:.55;cursor:wait}.refresh-btn:hover{background:#fff4b8}
.manual-screenshot-btn{border:1px solid #d7cfbf;border-radius:7px;background:#f7f3e9;color:#4c4538;font:800 10px Manrope;padding:6px 8px;cursor:pointer}.manual-screenshot-btn:hover{background:#eee5d0}
.map-btn{border:1px solid #d7cfbf;border-radius:7px;background:#eef7f2;color:#176d50;font:800 10px Manrope;padding:6px 8px;cursor:pointer}.map-btn:hover{background:#ddf0e5}
.audit-change{display:block;margin-top:3px;color:#746d60;font:700 9px/1.25 Manrope}.audit-change.improved{color:#14815d}.audit-change.declined{color:#b15d31}
.audit-freshness{display:block;margin-top:3px;font:700 9px/1.25 Manrope}.audit-freshness.fresh{color:#14815d}.audit-freshness.aging{color:#9a7000}.audit-freshness.stale{color:#b15d31}.audit-freshness.unknown{color:#746d60}
.audit-subscription{display:block;margin-top:3px;color:#a65a1c;font:800 9px/1.25 Manrope}
.audit-visual{display:block;margin-top:3px;color:#176d50;font:700 9px/1.25 Manrope}
.audit-manual,.audit-complete{display:block;margin-top:3px;font:700 9px/1.25 Manrope}.audit-manual{color:#746d60}.audit-complete{color:#14815d}
.comparison-btn{border:1px solid #d7cfbf;border-radius:7px;background:#f7f3e9;color:#4c4538;font:800 10px Manrope;padding:6px 8px;cursor:pointer}.comparison-btn:hover{background:#eee5d0}.comparison-list{display:grid;gap:8px;margin-top:16px}.comparison-list>p{margin:0;color:var(--muted);font:600 12px/1.5 Manrope}.comparison-item{display:flex;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:8px;background:#f7f5ef;font:700 11px/1.4 Manrope}.comparison-item b{color:#302c25}.comparison-item span{color:#716958;text-align:right}.comparison-item.improved{background:#edf8ef}.comparison-item.improved span{color:#13815a}.comparison-item.declined{background:#fff1e7}.comparison-item.declined span{color:#a65a2f}
.report-tools{display:flex;gap:8px;align-items:center}.report-tools input,.report-tools select{border:1px solid #d8cfb5;border-radius:8px;background:#fffdf7;color:var(--ink);font:600 11px Manrope;padding:8px 10px;outline:0}.report-tools input{width:166px}.report-tools input:focus,.report-tools select:focus{border-color:#d3ab00}@media(max-width:560px){.report-tools{width:100%;margin-top:12px}.section-head{align-items:flex-start;flex-wrap:wrap}.report-tools input{flex:1;min-width:0}}
.refresh-stale{white-space:nowrap;border-color:#d7cfbf;background:#fff8d8;color:#5f4d00}
@media(max-width:560px){.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:680px}.row-actions{min-width:max-content}.report-tools{overflow-x:auto;padding-bottom:2px}.report-tools select{flex:0 0 auto}}
