.report-controls{padding:22px;margin-bottom:20px}.report-range{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin-top:18px}.report-range label{display:grid;gap:7px;font-size:11px;color:#60758f;min-width:140px}.report-range select{max-width:260px}.report-note{font-size:11px;color:#7e8fa6;line-height:1.9;margin:12px 0;overflow-wrap:anywhere}.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.report-kpis>article{padding:21px;display:flex;flex-direction:column;gap:9px}.report-kpis article>span{font-size:11px;color:#8191a9}.report-kpis article>strong{font:600 27px var(--font);color:#345a90;overflow-wrap:anywhere}.report-kpis article>small,.report-money small{display:block;font-size:10px;color:#90a0b6;margin-top:5px}.report-kpis .time-value{font:500 14px var(--thai);line-height:1.8}.report-table{margin-bottom:22px}.report-table .panel-header{padding-bottom:20px;gap:15px;flex-wrap:wrap}.report-money strong{font:500 12px var(--font)}.report-bottom{display:grid;grid-template-columns:1fr 1fr;gap:22px}.report-box{padding:23px;margin-bottom:22px}.report-box h3{font-size:13px;margin:25px 0 15px}.report-box h2{font-size:16px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.settings-grid label{display:grid;gap:7px;font-size:12px;color:#526d90;align-content:start}.settings-grid small{font-size:10px;color:#8a9bb1}.settings-grid input{min-width:0}.settings-grid .button{align-self:end;justify-self:start}.form-actions{display:flex;align-items:center;gap:15px;margin-top:24px}.form-actions span{font-size:11px;color:#8494aa}.small-button{font-size:10px;padding:6px 9px}.saved-row{border:0;border-bottom:1px solid var(--line);background:transparent;width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;padding:12px 0;color:#58749c;font:12px var(--thai)}.saved-row small{display:block;color:#94a2b5;font-size:10px;margin-top:4px}.saved-list{max-height:260px;overflow:auto}.saved-preview{padding:16px;background:#f3f7ff;border:1px solid #dbe7fb;border-radius:8px;margin-top:15px;font-size:12px}.saved-preview>p{font-size:10px;color:#8295b0;margin:8px 0}.saved-preview .report-money{line-height:1.8}.alert-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.flush{padding:0 0 15px!important}.alert-list{display:grid;gap:12px;margin-top:10px}.alert-item{border:1px solid #f3e2c4;background:#fffbf3;border-radius:9px;padding:17px;display:flex;gap:12px}.alert-item strong{font-size:13px;color:#856532}.alert-item p{font-size:11px;color:#8f795a;margin:7px 0}.alert-item small{font-size:10px;color:#a59174}.alert-item.resolved{border-color:#d5eadd;background:#f5fbf7}.alert-item.resolved strong{color:#437b5d}.alert-item.resolved p,.alert-item.resolved small{color:#729781}.alert-indicator{width:7px;height:7px;border-radius:50%;background:#d6a348;margin-top:7px;flex-shrink:0}.resolved .alert-indicator{background:#76a88a}.reconcile-panel .notice p{font-size:11px;margin-top:8px}.ad-trends{padding:20px 0;border-top:1px solid var(--line);margin:22px 0}.ad-trends h3{font-size:15px}.ad-trends summary{font-size:11px;color:#567fac;cursor:pointer;padding:10px 0}.mini-trend{margin:15px 0;padding:14px;background:#f8faff;border:1px solid #e5ecf7;border-radius:8px}.mini-trend>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#6f86a5}.mini-trend>div span{font:500 13px var(--font);color:#3975c2}.mini-trend svg{width:100%;height:auto;display:block;margin-top:7px}.mini-trend .chart-label{font-size:9px}#backup-result{font-size:11px;color:#5f8d75;margin-top:12px}.report-range .text-input:focus,.settings-grid .text-input:focus{outline:2px solid #9dc6ff;outline-offset:2px}
.report-table td>.report-note{display:block;white-space:normal;width:220px;max-width:220px;margin:8px 0 0}
.telegram-delivery-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.telegram-delivery-heading h2{margin:0 0 8px}.telegram-delivery-steps{display:grid;gap:18px}.telegram-delivery-step{padding-top:14px;border-top:1px solid var(--line)}.telegram-delivery-step h3{margin:0 0 10px}.telegram-delivery a{color:#2878d9;text-decoration:underline;text-underline-offset:3px}.telegram-delivery code{font:12px ui-monospace,monospace;overflow-wrap:anywhere}.telegram-token-row{display:flex;align-items:stretch;gap:10px;margin-top:8px}.telegram-token-row input{flex:1;min-width:0}.telegram-delivery form>label{font-size:12px;color:#526d90}.telegram-bot-identity,.telegram-recipient{font-size:12px;color:#526d90;margin:12px 0}.telegram-recipient small{display:block;margin-top:5px;color:#8295b0}.telegram-pair-code{padding:14px;margin-top:12px;background:#f4f8ff;border:1px solid #dbe7fb;border-radius:8px}.telegram-pair-code p{font-size:12px;margin:0 0 10px}.telegram-pair-code code{display:block;white-space:pre-wrap;background:white;padding:12px;border-radius:6px;border:1px solid var(--line);user-select:all}.telegram-pair-code small{display:block;font-size:11px;color:#7e8fa6;margin:10px 0}.telegram-delivery fieldset{border:0;margin:0;padding:0;min-width:0}.telegram-delivery .remember-choice{margin:12px 0;align-items:flex-start}.telegram-delivery .remember-choice input{flex-shrink:0}.telegram-delivery-preview{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.telegram-preview-actions{display:flex;gap:10px;flex-wrap:wrap}.telegram-delivery pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.9 var(--thai);color:#3f597b;background:#f5f8fc;border:1px solid var(--line);border-radius:8px;padding:15px;margin:14px 0}.telegram-delivery-result{margin-top:14px;border-left:3px solid #b8cbe5;padding-left:12px;font-size:12px;color:#526d90}.telegram-delivery-result small{display:block;font-size:11px;color:#7e8fa6;margin-top:6px}.telegram-delivery-result p{margin:7px 0;font-size:11px;line-height:1.8}.telegram-delivery-error{font-size:12px;line-height:1.8;color:#9d5757;background:#fff5f4;border:1px solid #f1d9d5;border-radius:7px;padding:12px}.telegram-delivery button:disabled,.telegram-delivery fieldset:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:650px){.telegram-token-row{flex-direction:column}.telegram-token-row button,.telegram-preview-actions button{width:100%}.telegram-delivery-heading .status{max-width:100%;white-space:normal}}
@media(max-width:1100px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-bottom{grid-template-columns:1fr}.report-kpis article>strong{font-size:25px}.alert-kpis .time-value{font-size:14px}}
@media(max-width:650px){.report-controls,.report-box{padding:17px}.report-range{gap:11px}.report-range label{flex:1;min-width:120px}.report-range select{max-width:100%}.report-kpis{gap:10px}.report-kpis>article{padding:15px}.report-kpis article>strong{font-size:23px}.settings-grid{grid-template-columns:1fr}.report-bottom{gap:0}.alert-kpis{grid-template-columns:1fr}.report-range .button{width:100%}.report-table .panel-header{align-items:flex-start}.report-kpis article>span{font-size:10px}.form-actions{flex-wrap:wrap}}
@media(min-width:901px) and (max-width:1100px){.alert-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}

.telegram-howto{margin:8px 0 6px;padding-left:20px;font-size:13px;line-height:1.9;color:#3f5574}.telegram-open-bot{display:inline-flex;justify-content:center;margin:6px 0 2px;text-decoration:none}
