
/* V33 — structured procurement prose, visible scrolling, deadline urgency and batch download */
.proc-rich{font-size:9px!important;line-height:1.72!important;color:#42566d!important;white-space:normal!important}
.proc-rich h3{font:800 14px/1.3 "Plus Jakarta Sans"!important;color:#102a4d!important;margin:18px 0 8px!important;padding-bottom:7px;border-bottom:1px solid #dfe8f1}
.proc-rich h3:first-child{margin-top:2px!important}
.proc-rich h4{font:800 10px/1.4 "Plus Jakarta Sans"!important;color:#1e4d82!important;margin:14px 0 6px!important}
.proc-rich p{margin:7px 0 10px!important;line-height:1.75!important}
.proc-rich ul{margin:7px 0 12px!important;padding-left:20px!important;display:grid;gap:6px}
.proc-rich li{padding-left:3px;line-height:1.65}
.proc-rich li::marker{color:#1769d2}
.proc-rich strong{font-weight:800;color:#173d68}
.proc-rich .proc-important{color:#a94f00;background:#fff4df;border-radius:4px;padding:0 2px}
body.dark .proc-rich,body.dark .proc-rich p,body.dark .proc-rich li{color:#c8d5e4!important}
body.dark .proc-rich h3,body.dark .proc-rich strong{color:#e5f1ff!important}
body.dark .proc-rich h4{color:#8fc5ff!important}

.official-detail-text{max-height:390px!important;overflow-y:auto!important;padding:17px 18px!important;scrollbar-width:thin;scrollbar-color:#6f9cca #e7edf4}
.official-detail-text::-webkit-scrollbar,.focused-scroll::-webkit-scrollbar,.focused-nit::-webkit-scrollbar{width:8px}
.official-detail-text::-webkit-scrollbar-track,.focused-scroll::-webkit-scrollbar-track,.focused-nit::-webkit-scrollbar-track{background:#eaf0f6;border-radius:999px}
.official-detail-text::-webkit-scrollbar-thumb,.focused-scroll::-webkit-scrollbar-thumb,.focused-nit::-webkit-scrollbar-thumb{background:linear-gradient(#70a5dd,#397ac0);border-radius:999px;border:2px solid #eaf0f6}
.focused-scroll{overflow-y:scroll!important;scrollbar-gutter:stable!important}
.focused-nit{max-height:none!important;overflow:visible!important;padding:18px!important}
.official-focused-dialog{height:min(90vh,900px)!important}
.focused-scroll:before{content:"Scroll to view complete procurement notice";display:block;text-align:right;font-size:7px;font-weight:800;color:#71849a;margin:-4px 0 8px}

.deadline-detail{position:relative;overflow:hidden}
.deadline-detail b{display:flex!important;align-items:center;gap:5px}
.deadline-detail.safe{background:#effaf4!important;border-color:#bde8ce!important}.deadline-detail.safe span,.deadline-detail.safe b{color:#08734b!important}
.deadline-detail.warning{background:#fff4e5!important;border-color:#f3c785!important}.deadline-detail.warning span,.deadline-detail.warning b{color:#a64d00!important}
.deadline-detail.urgent,.deadline-detail.expired{background:#fff0ef!important;border-color:#f2b2ad!important}.deadline-detail.urgent span,.deadline-detail.urgent b,.deadline-detail.expired span,.deadline-detail.expired b{color:#b42318!important}
.deadline-detail.neutral{background:#f6f8fa!important}

.batch-download-btn{
  min-width:188px;border:1px solid #b8d5f5;background:linear-gradient(135deg,#edf6ff,#f8fbff);color:#154e8d;
  border-radius:12px;padding:8px 10px;display:grid;grid-template-columns:34px 1fr 18px;gap:8px;align-items:center;text-align:left;cursor:pointer;
  box-shadow:0 7px 18px rgba(23,105,210,.07);transition:.18s
}
.batch-download-btn:hover{transform:translateY(-1px);border-color:#6ea5e5;box-shadow:0 10px 24px rgba(23,105,210,.12)}
.batch-download-btn:disabled{opacity:.68;cursor:wait;transform:none}
.batch-icon{width:32px;height:32px;border-radius:9px;background:#1769d2;color:#fff;display:grid;place-items:center}
.batch-download-btn b{display:block;font-size:8.5px}.batch-download-btn small{display:block;font-size:6.8px;color:#74889d;margin-top:2px}.batch-arrow{color:#1769d2;font-size:9px}

.batch-message-dialog{width:min(430px,calc(100vw - 28px));padding:27px!important;text-align:center;border-radius:20px!important}
.batch-message-icon{width:57px;height:57px;border-radius:17px;background:#fff0df;color:#c56600;display:grid;place-items:center;font-size:21px;margin:0 auto 12px}
.batch-message-dialog h2{font:800 19px "Plus Jakarta Sans";margin:5px 0 7px}.batch-message-dialog p{font-size:9.5px;line-height:1.6;color:var(--muted);margin:0 0 16px}.batch-message-dialog .btn{min-width:110px}

@media(max-width:600px){
 .proc-rich{font-size:8.7px!important}.proc-rich h3{font-size:12px!important}
 .official-detail-text{max-height:330px!important}.batch-download-btn{width:100%}
}
