/* R9 - hanya halaman laporan, tidak menimpa pola menu global */
.r9-report{display:grid;gap:14px}.r9-tabs{display:flex;gap:8px;flex-wrap:wrap}.r9-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:14px}.r9-toolbar label{display:grid;gap:5px;min-width:130px;font-size:13px;font-weight:600}.r9-toolbar .r9-search{flex:1;min-width:220px}.r9-toolbar .badge{margin-bottom:8px}.r9-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.55fr);gap:14px;align-items:start}.r9-grid>*,.r9-grid .card{min-width:0}.r9-list{display:grid;gap:6px;max-height:70vh;overflow:auto}.r9-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4e5d7;border-radius:9px;padding:10px;overflow-wrap:anywhere}.r9-item>div{min-width:0;flex:1}.r9-sign{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.r9-sign label{font-weight:600;font-size:12px;display:grid;gap:5px;min-width:0}.r9-frame{display:block;width:100%;min-height:680px;border:1px solid #d4ddca;border-radius:8px;background:white}.r9-report .toolbar{flex-wrap:wrap}.r9-report .btn{white-space:normal}
@media(max-width:900px){.r9-grid{grid-template-columns:1fr}.r9-list{max-height:350px}}
@media(max-width:580px){.r9-toolbar{display:grid;grid-template-columns:1fr 1fr}.r9-toolbar .r9-search{grid-column:1/-1}.r9-toolbar>button{grid-column:1/-1}.r9-sign{grid-template-columns:1fr}.r9-item{align-items:flex-start}.r9-frame{min-height:560px}.r9-tabs>.btn{flex:1;min-width:135px}.r9-toolbar .badge{margin:0}}
/* R9.1: toolbar kompak dan formulir lengkap, tanpa mengganti CSS global */
.r9-toolbar{display:flex;align-items:end;gap:10px;padding:12px 14px}
.r9-toolbar .r9-search{min-width:220px;flex:3}.r9-toolbar label:not(.r9-search){min-width:145px;flex:1}
.r9-toolbar .r9-counter{margin:0;white-space:nowrap;align-self:center}
.r9-toolbar #r9Reset{align-self:end}
.r9-sign .r9-full{grid-column:1/-1}
.r9-sign textarea{resize:vertical;min-height:75px}
@media(max-width:580px){.r9-toolbar{display:grid;grid-template-columns:1fr 1fr}.r9-toolbar .r9-search{min-width:0;grid-column:1/-1}.r9-toolbar label:not(.r9-search){min-width:0}.r9-toolbar #r9Reset{grid-column:auto}.r9-toolbar .r9-counter{align-self:end}.r9-sign .r9-full{grid-column:1/-1}}

/* R9.2: Scoped report toolbar. Never inherit Bootstrap .card column layout. */
.r9-report .r9-toolbar.r92-report-filter{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(145px,195px) auto auto!important;gap:10px;align-items:end!important;align-content:normal;flex-direction:row!important;width:100%;min-width:0;min-height:0;margin:0 0 12px;padding:12px 14px;border:1px solid #dce6d5;border-radius:14px;background:var(--card,#fffef4);box-shadow:none}
.r9-report .r9-toolbar.r92-report-filter label{min-width:0!important;max-width:none;display:grid;gap:5px;font-size:12px;font-weight:650;margin:0;flex:none}
.r9-report .r9-toolbar.r92-report-filter .r9-search{min-width:0!important;flex:none;grid-column:auto}
.r9-report .r9-toolbar.r92-report-filter .input,.r9-report .r9-toolbar.r92-report-filter .select{min-width:0;width:100%;max-width:none}
.r9-report .r9-toolbar.r92-report-filter .r9-counter{align-self:center;margin:0;justify-self:center;white-space:nowrap}
.r9-report .r9-toolbar.r92-report-filter #r9Reset{align-self:end;justify-self:end;white-space:nowrap;margin:0}
.r9-report .r9-grid{margin-top:0}
@media(max-width:990px){.r9-report .r9-toolbar.r92-report-filter{grid-template-columns:minmax(170px,1fr) minmax(130px,190px) auto!important;gap:8px}.r9-report .r9-toolbar.r92-report-filter #r9Reset{grid-column:3}.r9-report .r9-toolbar.r92-report-filter .r9-counter{grid-column:1/3;grid-row:2;justify-self:start}}
@media(max-width:650px){.r9-report .r9-toolbar.r92-report-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:10px;gap:9px}.r9-report .r9-toolbar.r92-report-filter .r9-search{grid-column:1/-1}.r9-report .r9-toolbar.r92-report-filter .r9-counter{grid-column:1;grid-row:auto;justify-self:start}.r9-report .r9-toolbar.r92-report-filter #r9Reset{grid-column:2;justify-self:end}}
@media(max-width:390px){.r9-report .r9-toolbar.r92-report-filter label:not(.r9-search){grid-column:1/-1}.r9-report .r9-toolbar.r92-report-filter #r9Reset{grid-column:2}}

/* R9.3: Tab berwarna, daftar di atas generator, penanda tangan dinamis. */
.r9-report .r93-tabs{display:flex;gap:9px;flex-wrap:wrap}
.r9-report .r93-tabs>.btn{border:1px solid #ccddce;background:#e5f5e7;color:#164b2f;font-weight:700;min-height:44px}
.r9-report .r93-tabs>.btn:nth-child(2){background:#eaf1ff;color:#203f78;border-color:#c6d6f0}
.r9-report .r93-tabs>.btn:nth-child(3){background:#fff0df;color:#805015;border-color:#efd4a8}
.r9-report .r93-tabs>.btn[aria-selected="true"]{background:#155335;color:#fff;border-color:#155335;box-shadow:0 3px 10px #225c3633}
.r9-report .r93-tabs>.btn:nth-child(2)[aria-selected="true"]{background:#275491;border-color:#275491;color:white}
.r9-report .r93-tabs>.btn:nth-child(3)[aria-selected="true"]{background:#885419;border-color:#885419;color:white}
.r9-report .r93-hint{margin:0 0 14px;padding:11px 15px}
.r9-report .r93-report-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.r9-report .r93-report-stack .r9-list{max-height:420px;overflow:auto}
.r9-report .r93-report-stack #r9Detail:empty{display:none}
.r9-report .r93-report-stack #r9Detail{scroll-margin-top:100px;min-width:0}
.r9-report .r93-signer-block{padding:12px;border:1px solid #dce5d6;border-radius:11px;margin:10px 0;background:#fffef6}
.r9-report .r93-signer-block h4{margin:0 0 10px;font-size:14px}
.r9-report .r93-generator .r9-sign{margin:0;gap:10px}
.r9-report .r93-report-stack .r9-item{min-height:54px}
.r9-report .r93-report-stack .r9-item .btn{flex-shrink:0}
@media(max-width:650px){.r9-report .r93-tabs>.btn{flex:1;min-width:130px}.r9-report .r93-report-stack .r9-list{max-height:440px}.r9-report .r93-signer-block{padding:10px}.r9-report .r93-generator .r9-sign{grid-template-columns:1fr}}
