/* EBS00004 — shared report layout; scoped to prevent changes to official legacy prints. */
.ebs4-studio-wrap{margin:18px 0 26px;min-width:0}
.ebs4-report-studio{border:1px solid #e0e9f3;background:#f8fafc;border-radius:18px;padding:20px;box-shadow:0 6px 20px rgba(18,47,73,.05);color:#183552;min-width:0}
.ebs4-studio-top{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin:0 0 20px}
.ebs4-studio-top small{display:block;color:#bb2c43;font-size:10px;font-weight:850;letter-spacing:.14em}
.ebs4-studio-top h2{font-weight:850;font-size:25px;margin:5px 0 4px;letter-spacing:-.04em}
.ebs4-studio-top p{margin:0;color:#73859a;font-size:13px;line-height:1.5}
.ebs4-studio-pill{flex:0 0 auto;font-size:11px;color:#436484;background:#e8f0f9;padding:8px 13px;border-radius:999px;font-weight:800}
.ebs4-studio-filter{display:grid;grid-template-columns:minmax(180px,1.7fr) minmax(160px,1.3fr) minmax(130px,1fr) minmax(130px,1fr);gap:10px;margin-bottom:13px}
.ebs4-studio-filter label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750;color:#516782;min-width:0}
.ebs4-studio-filter :is(select,input){min-width:0;width:100%;padding:10px 11px;background:#fff;color:#163858;border:1px solid #d8e3ef;border-radius:10px;min-height:44px;font:inherit;font-size:13px;box-sizing:border-box}
.ebs4-studio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.ebs4-studio-actions button,.ebs4-ledger-links button,.ebs4-contextual-report button{min-height:40px;border:1px solid #cbd9e7;padding:9px 14px;border-radius:10px;font-size:12px;font-weight:750;background:#fff;color:#254c70;cursor:pointer}
.ebs4-studio-actions button:hover,.ebs4-ledger-links button:hover,.ebs4-contextual-report button:hover{background:#edf3fb}
.ebs4-studio-actions button.ebs4-solid{background:#153d65;color:#fff;border-color:#153d65}
.ebs4-studio-error{font-size:13px;color:#a9273d;background:#fff0f3;padding:11px 13px;border-radius:10px}
.ebs4-preview{max-width:100%;overflow:auto;background:#eaf0f6;padding:20px;border:1px solid #dae5f0;border-radius:14px}
.ebs4-paper{box-sizing:border-box;width:100%;max-width:850px;margin:0 auto;background:#fff;color:#182b40;border:1px solid #e2e9f0;border-radius:3px;padding:36px 42px;font-family:Arial,'Segoe UI',sans-serif;line-height:1.48;box-shadow:0 12px 29px #1b345218;overflow-wrap:anywhere}
.ebs4-paper-brand{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:3px solid #133e65;padding-bottom:17px;color:#143d64;gap:16px}
.ebs4-paper-brand strong{display:block;letter-spacing:.08em;font-size:16px}.ebs4-paper-brand small{display:block;font-size:12px;letter-spacing:.08em;margin-top:3px}
.ebs4-paper-kurum{font-size:10px;font-weight:800;color:#a4203a;letter-spacing:.1em;text-align:right}
.ebs4-paper-title{padding:22px 0 17px;border-bottom:1px solid #e6ebf2}.ebs4-paper-title small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#b12c43}.ebs4-paper-title h2{font-size:23px!important;line-height:1.25;color:#133859!important;margin:5px 0!important;letter-spacing:0}.ebs4-paper-title p{font-size:11px;color:#60748a;margin:0}
.ebs4-paper-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0 23px}
.ebs4-paper-meta>div{background:#f3f6fa;padding:11px 12px;border-radius:8px;min-width:0}.ebs4-paper-meta span{display:block;font-size:10px;color:#64778d}.ebs4-paper-meta b{display:block;font-size:12px;color:#1d3c5d;margin-top:4px}
.ebs4-paper h3{color:#143b60!important;font-size:14px!important;margin:23px 0 8px!important;font-weight:800}.ebs4-paper p{font-size:12px;color:#425368;margin:6px 0 12px}
.ebs4-report-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:11px;border:1px solid #dbe4ee}
.ebs4-report-table th{background:#eaf1f8!important;color:#163e65!important;font-size:11px!important;font-weight:800!important;text-align:left;padding:9px!important;border:1px solid #cfdeea!important;white-space:normal}
.ebs4-report-table td{border:1px solid #dbe4ee!important;padding:8px 9px!important;vertical-align:top;white-space:normal}
.ebs4-report-table tbody tr:nth-child(even){background:#f8fafc!important}.ebs4-numeric{width:44px;text-align:center}.ebs4-empty-result{text-align:center;color:#79899a!important;padding:22px!important}
.ebs4-paper-bottom{margin-top:33px;padding-top:12px;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #d3e0ec;font-size:10px;color:#7c8b9a}
.ebs4-ledger{margin-top:20px;border:1px solid #e1e9f2;border-radius:13px;padding:16px;background:#fff}.ebs4-ledger h3{font-size:15px;margin:0 0 5px;color:#183b60}.ebs4-ledger p{font-size:12px;color:#718299;margin:0 0 13px;line-height:1.5}.ebs4-ledger-links{display:flex;flex-wrap:wrap;gap:8px}
.ebs4-contextual-report{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;border:1px solid #dfe8f1;background:#f8fbff;border-radius:12px;padding:9px 13px;margin:11px 0 16px;font-size:12px;color:#60758e}.ebs4-contextual-report button{padding:6px 12px;min-height:35px}
.ebs4-report-studio :is(button,select,input):focus-visible{outline:3px solid #7aaddd;outline-offset:2px}
@media(max-width:980px){.ebs4-studio-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.ebs4-paper{padding:24px 24px}.ebs4-preview{padding:10px}}
@media(max-width:600px){.ebs4-report-studio{padding:13px}.ebs4-studio-top{display:block}.ebs4-studio-pill{display:inline-block;margin-top:10px}.ebs4-studio-filter{grid-template-columns:minmax(0,1fr)}.ebs4-studio-actions button{flex:1 1 auto}.ebs4-preview{padding:0;background:transparent;overflow:auto}.ebs4-paper{min-width:340px;padding:16px;border-radius:10px;box-shadow:none}.ebs4-paper-title h2{font-size:17px!important}.ebs4-paper-brand strong{font-size:12px}.ebs4-paper-meta{grid-template-columns:1fr}.ebs4-paper-meta>div{padding:7px 10px}.ebs4-report-table{font-size:10px}}
body.ebs4-print-only{margin:0;background:#e9eef4;font-family:Arial,'Segoe UI',sans-serif}.ebs4-print-only .ebs4-print-host{max-width:950px;margin:20px auto}.ebs4-print-only .ebs4-paper{max-width:850px}.ebs4-print-buttons{position:fixed;right:20px;bottom:20px;display:flex;gap:8px}.ebs4-print-buttons button{padding:12px 20px;background:#143b60;color:#fff;border:0;border-radius:8px;font-weight:bold;cursor:pointer}
@page{size:A4 portrait;margin:18mm 18mm 20mm 18mm}
@media print{
  body.ebs4-print-only{background:#fff!important}
  body.ebs4-print-only .ebs4-print-host{margin:0!important;max-width:none!important}
  body.ebs4-print-only .ebs4-paper{padding:0!important;max-width:none!important;border:0!important;box-shadow:none!important;width:100%!important}
  body.ebs4-print-only .ebs4-print-buttons{display:none!important}
  body.ebs4-print-only .ebs4-report-table thead{display:table-header-group}
  body.ebs4-print-only .ebs4-report-table tr{break-inside:avoid;page-break-inside:avoid}
  body.ebs4-print-only .ebs4-paper-meta{break-inside:avoid}
  body.ebs4-print-only .ebs4-paper-bottom{break-inside:avoid}
}
