/* KBM Tender & Auction 3D Inline Experience v1.1.0 | scoped, RTL, independent from Core */
.kbm-tae{--tae-navy:#0b2c46;--tae-navy2:#071c30;--tae-gold:#ffcd25;--tae-ink:#142b43;--tae-line:#d9e3ee;--tae-surface:#f3f7fc;--tae-shadow:0 13px 31px rgba(12,35,58,.09);direction:rtl;box-sizing:border-box;font-family:Estedad,Tahoma,Arial,sans-serif;color:var(--tae-ink);width:min(1500px,calc(100% - 34px));max-width:1500px;margin:14px auto 60px;text-align:right}
.kbm-tae *, .kbm-tae *::before,.kbm-tae *::after{box-sizing:border-box}
.kbm-tae button,.kbm-tae input,.kbm-tae select{font:inherit}
.kbm-tae button,.kbm-tae a{touch-action:manipulation}
.kbm-tae a{text-decoration:none}
.kbm-tae button:focus-visible,.kbm-tae a:focus-visible,.kbm-tae summary:focus-visible,.kbm-tae input:focus-visible,.kbm-tae select:focus-visible{outline:3px solid #e5a500;outline-offset:3px}
.kbm-tae-crumb{display:flex;gap:12px;align-items:center;font-size:12px;color:#8292a6;margin:0 6px 13px}
.kbm-tae-crumb a{color:#45607a}
.kbm-tae-crumb strong{color:#243e59}
.kbm-tae-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #315676;border-radius:28px;min-height:272px;background:#09263e;box-shadow:0 8px 0 #071e31,0 23px 32px rgba(3,25,44,.17);display:flex;align-items:center;justify-content:flex-start;margin:0 0 30px}
.kbm-tae-hero-picture{position:absolute;inset:0;z-index:-1}
.kbm-tae-hero-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;max-width:none!important}
.kbm-tae-hero-content{position:relative;width:51%;margin-right:0;margin-left:auto;padding:24px 2.4% 24px 1.8%;color:#fff;text-align:right}
.kbm-tae-kicker{font-size:11px;letter-spacing:.11em;color:#cedeed;display:block;direction:ltr;text-align:right;font-weight:750}
.kbm-tae-hero h1{margin:10px 0 10px!important;color:#fff!important;font-size:clamp(26px,2.9vw,43px)!important;font-weight:950!important;line-height:1.55!important;letter-spacing:-.02em}
.kbm-tae-hero h1 em{font-style:normal;color:#ffce26}
.kbm-tae-hero p{font-size:clamp(11px,1.05vw,15px);color:#eef3fa;line-height:2;max-width:660px;margin:0 0 17px!important;font-weight:600}
.kbm-tae-hero-stats{display:flex;gap:12px;flex-wrap:wrap}
.kbm-tae-hero-stats a{display:flex;align-items:center;gap:12px;min-width:150px;padding:12px 16px;background:linear-gradient(170deg,#fff,#dce8f5);border:1px solid #e8f4ff;border-radius:14px;box-shadow:0 4px 0 #a4b7cc,0 9px 18px #02152240;color:#162f4b;transition:transform .16s ease,box-shadow .16s ease}
.kbm-tae-hero-stats a:hover{transform:translateY(-2px);box-shadow:0 6px 0 #a4b7cc,0 12px 23px #02152240}
.kbm-tae-hero-stats b{font-size:27px;font-weight:950;line-height:1.2;color:#05192d}
.kbm-tae-hero-stats span{font-size:11px;font-weight:700;max-width:75px;line-height:1.7}
.kbm-tae-tabs{display:flex;justify-content:flex-start;gap:10px;align-items:center;margin:9px 0 12px}
.kbm-tae-tabs button{border:1px solid #d9e3ed;border-radius:13px;background:linear-gradient(#f8fbff,#e4ebf5);color:#1f3854;box-shadow:0 3px 0 #c4d1df,0 6px 11px rgba(3,29,51,.07);font-size:13px;font-weight:850;min-height:45px;padding:7px 24px;cursor:pointer;transition:background .16s ease,transform .16s ease}
.kbm-tae-tabs button:hover{transform:translateY(-1px)}
.kbm-tae-tabs button.is-current{background:linear-gradient(145deg,#143e5c,#0a2a43);color:#fff;border-color:#1e4969;box-shadow:0 3px 0 #051d32,0 8px 15px rgba(4,27,47,.18)}
.kbm-tae-filter-toolbar{display:none}
.kbm-tae-filter-form{display:grid;grid-template-columns:minmax(240px,2.1fr) repeat(4,minmax(110px,1fr)) minmax(140px,1fr) auto;gap:9px;align-items:end;background:linear-gradient(#fff,#f7faff);border:1px solid #e2e9f1;border-radius:17px;box-shadow:0 6px 20px #13324c10;padding:12px;margin:0 0 15px}
.kbm-tae-filter-form label{display:grid;min-width:0;gap:5px}
.kbm-tae-filter-form label span{color:#586f85;font-size:11px;font-weight:700}
.kbm-tae-filter-form input,.kbm-tae-filter-form select{width:100%;min-height:44px;padding:8px 12px;border-radius:11px;background:#f5f8fc;color:#1e344b;border:1px solid #d4e0ec;font-size:12px}
.kbm-tae-filter-form input::placeholder{color:#8c9eae}
.kbm-tae-filter-actions{display:flex;align-items:center;gap:9px;white-space:nowrap;min-height:44px}
.kbm-tae-filter-actions button,.kbm-tae-action-primary{display:inline-flex;align-items:center;justify-content:center;min-height:43px;border:0;border-radius:11px;background:linear-gradient(#ffda52,#ffc41c);box-shadow:0 3px 0 #c59c16;color:#19283a!important;font-size:12px;font-weight:900;padding:7px 15px;cursor:pointer}
.kbm-tae-filter-actions a{font-size:11px;font-weight:750;color:#52677e}
.kbm-tae-filter-head{display:none}
.kbm-tae-market{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
.kbm-tae-market[data-view="tender"] [data-kbm-tae-panel="auction"],.kbm-tae-market[data-view="auction"] [data-kbm-tae-panel="tender"]{display:none}
.kbm-tae-section{min-width:0;border-radius:19px;background:linear-gradient(#fff,#f8faff);border:1px solid #dce5ef;overflow:hidden;box-shadow:var(--tae-shadow)}
.kbm-tae-section-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:12px 17px;background:linear-gradient(125deg,#e7eff9,#c9d9ec);border-bottom:1px solid #c3d6e6}
.kbm-tae-section.is-auction-section .kbm-tae-section-heading{background:linear-gradient(115deg,#123751,#06263e);border-color:#092b43;color:#fff}
.kbm-tae-section-heading>div{display:flex;align-items:center;gap:11px}
.kbm-tae-section-heading>div>span{font-size:23px;line-height:1;color:#2f587b}
.kbm-tae-section.is-auction-section .kbm-tae-section-heading>div>span{color:#ffd438}
.kbm-tae-section-heading h2{font-size:19px!important;font-weight:950!important;line-height:1.5!important;color:inherit!important;margin:0!important}
.kbm-tae-section-heading small{font-size:12px;font-weight:700;color:inherit;opacity:.8}
.kbm-tae-section-help{font-size:11px;font-weight:600;color:inherit;opacity:.72}
.kbm-tae-opportunity-list{display:grid;gap:9px;padding:12px}
.kbm-tae-opportunity{border:1px solid #d7e2ed;border-radius:14px;background:linear-gradient(140deg,#fff,#f8faff);box-shadow:0 2px 0 #d3e0ec,0 4px 13px #142f4c10;overflow:hidden;min-width:0}
.kbm-tae-opportunity[open]{border-color:#f7c724;box-shadow:0 0 0 1px #ffe27c,0 4px 0 #e5b915,0 13px 24px #142f4c1b}
.kbm-tae-opportunity-bar{list-style:none;display:grid;grid-template-columns:30px auto minmax(230px,3.6fr) minmax(110px,1fr) minmax(100px,.8fr) 102px 28px;gap:14px;align-items:center;padding:13px 16px;min-height:72px;cursor:pointer;user-select:none}
.kbm-tae-opportunity-bar::-webkit-details-marker{display:none}.kbm-tae-opportunity-bar::marker{content:""}
.kbm-tae-opportunity-bar:hover{background:#f9fbff}
.kbm-tae-opportunity-icon{font-size:22px;display:grid;place-items:center;color:#164d78}
.kbm-tae-opportunity.is-auction .kbm-tae-opportunity-icon{color:#cc9400}
.kbm-tae-inline-image{width:70px;height:55px;border-radius:10px;overflow:hidden;display:block;border:1px solid #d4e4eb}
.kbm-tae-inline-image img{width:100%;height:100%;object-fit:cover}
.kbm-tae-opportunity-primary{min-width:0;display:block}
.kbm-tae-opportunity-primary strong{display:block;color:#132c44;font-size:14px;font-weight:900;line-height:1.85}
.kbm-tae-opportunity-primary small{display:block;color:#67839b;font-size:11px;line-height:1.8}
.kbm-tae-opportunity-place,.kbm-tae-opportunity-deadline{display:grid;gap:4px;color:#1a3b58;font-size:12px;font-weight:700;min-width:0}
.kbm-tae-data-label{color:#8494a5;font-size:10px;font-weight:700}
.kbm-tae-status{display:inline-flex;align-items:center;gap:6px;justify-content:center;border-radius:999px;font-size:11px;font-weight:850;padding:7px 10px;white-space:nowrap}
.kbm-tae-status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.kbm-tae-status.is-active{background:#ddf5e4;color:#217d45}
.kbm-tae-status.is-urgent{background:#fff1c7;color:#975d03}
.kbm-tae-status.is-closed{background:#eef0f4;color:#64748b}
.kbm-tae-chevron{border-right:2px solid #2e506d;border-bottom:2px solid #2e506d;width:10px;height:10px;transform:rotate(45deg);justify-self:center;transition:transform .2s ease}
.kbm-tae-opportunity[open] .kbm-tae-chevron{transform:rotate(225deg)}
.kbm-tae-opportunity-detail{border-top:1px solid #e2e9f0;padding:12px 15px 16px;background:linear-gradient(#fff,#fafcff);animation:tae-slide .17s ease-out}
@keyframes tae-slide{from{opacity:.5;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.kbm-tae-opportunity-intro{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 2px 11px;font-size:11px;color:#59728a}
.kbm-tae-kind-label{padding:4px 13px;border-radius:999px;font-weight:850;background:#e5efff;color:#29569b}
.is-auction .kbm-tae-kind-label{background:#fff1c9;color:#895b02}
.kbm-tae-kind-category{background:#edf3f7;color:#476781;border-radius:999px;padding:4px 11px}
.kbm-tae-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.kbm-tae-detail-block{background:#f6f9fd;border:1px solid #e3ebf2;border-radius:12px;padding:13px 15px;min-width:0}
.kbm-tae-detail-block.is-wide{grid-column:1/-1}
.kbm-tae-detail-block h3{font-size:13px!important;color:#173754!important;margin:0 0 7px!important;font-weight:900!important}
.kbm-tae-detail-block h4{font-size:12px!important;margin:12px 0 5px!important;color:#2c4b66!important}
.kbm-tae-prose{color:#38536b;font-size:12px;line-height:2.1;overflow-wrap:anywhere;white-space:normal}
.kbm-tae-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin:0}
.kbm-tae-spec-grid>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e0e9f0;min-width:0}
.kbm-tae-spec-grid dt{color:#71859b;font-size:11px;flex-shrink:0}
.kbm-tae-spec-grid dd{color:#233b53;font-size:11px;font-weight:800;overflow-wrap:anywhere;margin:0;text-align:left}
.kbm-tae-attachments{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}
.kbm-tae-attachments a{padding:6px 13px;border:1px solid #bfceda;border-radius:10px;background:#fff;font-size:11px;color:#174767}
.kbm-tae-detail-actions{display:flex;gap:9px;align-items:center;justify-content:flex-start;padding-top:14px;flex-wrap:wrap}
.kbm-tae-detail-actions button{min-height:39px;border-radius:10px;background:#fff;border:1px solid #cfdae6;color:#244460;font-size:11px;font-weight:750;padding:7px 14px;cursor:pointer}
.kbm-tae-empty{padding:37px;text-align:center;color:#70879e}
.kbm-tae-empty strong{font-weight:850;font-size:14px;color:#294c6b}
.kbm-tae-empty p{font-size:12px}
.kbm-tae-pagination{display:flex;align-items:center;justify-content:center;gap:13px;padding:7px 17px 21px;font-size:12px}
.kbm-tae-pagination a{padding:8px 14px;background:white;border:1px solid #d4e1eb;color:#274e70;border-radius:10px}
.kbm-tae-footnote{font-size:11px;color:#668198;padding:19px 4px}
@media(max-width:1230px){.kbm-tae-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}.kbm-tae-filter-actions{justify-content:flex-end}.kbm-tae-opportunity-bar{grid-template-columns:30px auto minmax(200px,3fr) minmax(88px,1fr) 92px 26px}.kbm-tae-opportunity-deadline{display:none}.kbm-tae-hero-content{width:53%}}
@media(max-width:850px){.kbm-tae-hero-content{width:61%}.kbm-tae-opportunity-bar{grid-template-columns:27px auto minmax(145px,3fr) 86px 26px}.kbm-tae-opportunity-place{display:none}.kbm-tae-section-help{display:none}.kbm-tae-spec-grid{grid-template-columns:1fr}}
@media(max-width:640px){
  html.kbm-tae-filter-open{overflow:hidden!important}
  .kbm-tae{width:calc(100% - 20px);margin:14px auto 50px}
  .kbm-tae-crumb{font-size:10px}
  .kbm-tae-hero{min-height:350px;border-radius:22px;margin-bottom:25px;align-items:flex-end;box-shadow:0 5px 0 #071d2d,0 13px 23px #071f3030}
  .kbm-tae-hero-picture img{object-position:center top}
  .kbm-tae-hero-content{width:100%;margin:0;padding:14px 15px 18px;background:linear-gradient(0deg,#09263e 0%,#09263ed6 81%,transparent)}
  .kbm-tae-kicker{font-size:9px;letter-spacing:.04em}
  .kbm-tae-hero h1{font-size:26px!important;margin:4px 0!important}
  .kbm-tae-hero p{font-size:11px;line-height:1.7;margin:0 0 12px!important}
  .kbm-tae-hero-stats{gap:7px}
  .kbm-tae-hero-stats a{min-width:0;flex:1;padding:9px;gap:8px;border-radius:10px;box-shadow:0 2px 0 #9bafc4}
  .kbm-tae-hero-stats b{font-size:22px}
  .kbm-tae-hero-stats span{font-size:10px}
  .kbm-tae-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 13px}
  .kbm-tae-tabs button{min-width:0;padding:8px 3px;min-height:43px;font-size:11px;border-radius:10px}
  .kbm-tae-filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
  .kbm-tae-filter-toolbar p{margin:0;font-size:10px;color:#73869b}
  .kbm-tae-filter-toggle{border:0;min-height:43px;background:linear-gradient(#ffdb52,#ffc922);box-shadow:0 3px 0 #d4a825;padding:8px 13px;border-radius:11px;color:#172b42;font-size:12px;font-weight:850}
  .kbm-tae-filter-form{display:none;position:fixed;z-index:2147482420;inset:auto 0 0;width:100%;max-height:87dvh;overflow-y:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -16px 60px #041b3040;margin:0;padding:20px 15px calc(20px + env(safe-area-inset-bottom));border:1px solid #dce7ef}
  .kbm-tae-filter-form.is-open{display:grid}
  .kbm-tae-filter-head{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1}
  .kbm-tae-filter-head strong{font-size:16px;color:#132d49}
  .kbm-tae-filter-head button{border:0;width:36px;height:36px;background:#edf3f8;border-radius:10px}
  .kbm-tae-filter-search,.kbm-tae-filter-actions{grid-column:1/-1}
  .kbm-tae-filter-actions button{flex:1}
  .kbm-tae-filter-form input,.kbm-tae-filter-form select{min-height:47px}
  .kbm-tae-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:2147482410;background:#081c32aa}
  .kbm-tae-section{border-radius:16px}
  .kbm-tae-section-heading{padding:11px 12px}
  .kbm-tae-section-heading h2{font-size:15px!important}
  .kbm-tae-section-heading small{font-size:10px}
  .kbm-tae-opportunity-list{padding:9px;gap:8px}
  .kbm-tae-opportunity-bar{grid-template-columns:25px minmax(0,1fr) 22px;gap:7px;padding:11px 10px;min-height:71px}
  .kbm-tae-opportunity-icon{font-size:19px}
  .kbm-tae-inline-image{display:none}
  .kbm-tae-opportunity-primary strong{font-size:12px;line-height:1.75}
  .kbm-tae-opportunity-primary small{font-size:10px}
  .kbm-tae-status{grid-column:2;grid-row:2;justify-self:start;font-size:9px;padding:3px 9px}
  .kbm-tae-chevron{grid-column:3;grid-row:1/3}
  .kbm-tae-opportunity-detail{padding:10px}
  .kbm-tae-detail-grid{grid-template-columns:1fr;gap:8px}
  .kbm-tae-detail-block{padding:11px}
  .kbm-tae-detail-block.is-wide{grid-column:1}
  .kbm-tae-prose{font-size:11px}
  .kbm-tae-spec-grid dt,.kbm-tae-spec-grid dd{font-size:10px}
  .kbm-tae-detail-actions{flex-direction:column;align-items:stretch}
  .kbm-tae-detail-actions button,.kbm-tae-detail-actions a{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.kbm-tae *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.kbm-tae-image-fallback{display:grid;width:100%;height:100%;place-items:center;background:linear-gradient(145deg,#e3edf8,#c7d6e8);font-size:25px;color:#38617c}


/* KBM VISUAL PATCH 001 — 2026-11-04, presentation only */
.kbm-tae-hero-picture:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(270deg,rgba(5,24,43,.7),transparent 68%)}
@media(max-width:700px){.kbm-tae-hero-picture:after{background:linear-gradient(0deg,#081f37 0%,rgba(8,31,55,.26) 70%,transparent)}}

