/* Loaded last: legacy themes cannot restore amber/orange actions. */
:root{--pactora-action:#6d4ae5;--pactora-action-2:#18a99d;--pactora-action-text:#fff}
.button:not(.secondary),button.button:not(.secondary),input[type="submit"],input[type="button"],input[type="reset"]{background:linear-gradient(135deg,var(--pactora-action),var(--pactora-action-2))!important;border-color:transparent!important;color:var(--pactora-action-text)!important;box-shadow:0 8px 20px rgba(24,169,157,.16)}
.button.secondary,.public-outline{background:transparent!important;border-color:#22b7ab!important;color:#72e1d7!important;box-shadow:none!important}
.portal-sidebar a:hover,.portal-sidebar .sidebar-active,.operations-menu a:hover,.operations-menu .active,[aria-current="page"]{background:linear-gradient(135deg,rgba(109,74,229,.25),rgba(24,169,157,.23))!important;border-color:#26b7ac!important;color:#f7fbff!important}
.success-alert,.alert,.maintenance-banner,.coming-soon{background:rgba(24,169,157,.13)!important;border-color:rgba(35,202,188,.38)!important;color:#9af0e7!important}
html[data-user-theme="light"] .button.secondary,html[data-user-theme="light"] .public-outline{color:#075f78!important;border-color:#0e9f98!important}
html[data-user-theme="light"] .portal-sidebar a:hover,html[data-user-theme="light"] .portal-sidebar .sidebar-active,html[data-user-theme="light"] .operations-menu a:hover,html[data-user-theme="light"] .operations-menu .active,html[data-user-theme="light"] [aria-current="page"]{background:#e5f7f5!important;border-color:#75d2c9!important;color:#075f78!important}
html[data-user-theme="light"] .success-alert,html[data-user-theme="light"] .alert,html[data-user-theme="light"] .maintenance-banner,html[data-user-theme="light"] .coming-soon{background:#e2f7f4!important;border-color:#9bded7!important;color:#075f59!important}
html[data-user-theme="light"] .control-tags span,html[data-user-theme="light"] .roles-bar span,html[data-user-theme="light"] .module-card span,html[data-user-theme="light"] .module-card-heading p{background:#e6f0fb!important;border:1px solid #c3d8ed!important;color:#244b72!important;opacity:1!important}
html[data-user-theme="light"] .module-card h3,html[data-user-theme="light"] .admin-control-grid h3,html[data-user-theme="light"] .roles-bar strong,html[data-user-theme="light"] .page-heading h1{color:#102f52!important}
html[data-user-theme="light"] .module-card p,html[data-user-theme="light"] .admin-control-grid p,html[data-user-theme="light"] .item-content span,html[data-user-theme="light"] .notice-list small{color:#45637f!important;opacity:1!important}
html[data-user-theme="light"] .client-icon-nav a,html[data-user-theme="light"] .client-icon-nav strong{color:#143d65!important;opacity:1!important}
html[data-user-theme="light"] .nav-dropdown>div,html[data-user-theme="light"] .account-menu>div{background:#e7eef7!important;border-color:#b8cbdf!important;box-shadow:0 16px 38px rgba(25,52,82,.2)!important}
html[data-user-theme="light"] .nav-dropdown>div a,html[data-user-theme="light"] .account-menu>div a{background:transparent!important;color:#244b70!important;opacity:1!important;font-weight:600}
html[data-user-theme="light"] .nav-dropdown>div a:hover,html[data-user-theme="light"] .account-menu>div a:hover{background:#d2e4f3!important;color:#0b355d!important}
html[data-user-theme="light"] .control-tags span,html[data-user-theme="light"] .roles-bar span{background:#dce8f4!important;color:#294f73!important;border-color:#b9cde0!important}
.public-header .public-nav{display:flex;align-items:center;gap:18px;min-height:88px}.public-header-tools{display:flex;align-items:center;gap:9px;margin-inline-start:auto}.public-header-tools .language-switcher{margin:0}.public-user{display:flex;align-items:center;gap:7px;text-decoration:none;color:#dcecff;font-size:.76rem}.public-user img,.public-user span{width:32px;height:32px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#6d4ae5,#18a99d);color:#fff}.share-trigger{border:1px solid rgba(34,199,187,.55);border-radius:999px;background:rgba(24,169,157,.12);color:#b8fff8;padding:7px 11px;cursor:pointer}.public-ticker{overflow:hidden;background:linear-gradient(90deg,#6d4ae5,#18a99d,#6d4ae5);color:#fff;border-block:1px solid rgba(255,255,255,.18);white-space:nowrap}.public-ticker>div{display:inline-flex;min-width:max-content;gap:55px;padding:9px 0;animation:pactoraTicker 35s linear infinite}.public-ticker:hover>div{animation-play-state:paused}.public-ticker span{font-size:.82rem;font-weight:700}@keyframes pactoraTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.auth-card .operation-form{display:grid;grid-template-columns:1fr;gap:13px}.auth-card .operation-form>label{display:grid;grid-template-columns:1fr;gap:7px;width:100%;margin:0;color:var(--p-text,#eaf2ff)}.auth-card .operation-form input:not([type="checkbox"]),.auth-card .operation-form select{display:block;width:100%!important;min-width:0;height:46px;box-sizing:border-box;margin:0!important;padding:9px 12px}.auth-card .operation-form>.button{justify-self:start;margin-top:3px}.auth-card .terms-check{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:flex-start}.auth-card .terms-check input{flex:0 0 auto}
.tender-share{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0;padding:12px 15px;border:1px solid rgba(34,199,187,.3);border-radius:14px;background:linear-gradient(120deg,rgba(109,74,229,.12),rgba(24,169,157,.12))}.tender-share img{width:120px;height:42px;object-fit:contain}.tender-share p{margin:0;color:var(--p-muted)}
html[data-user-theme="light"] .public-header-tools select{background:#edf4fb!important;color:#173b63!important;border-color:#bed0e2!important}html[data-user-theme="light"] .public-user{color:#173b63!important}html[data-user-theme="light"] .share-trigger{background:#e0f5f2!important;color:#075f59!important;border-color:#86d5cc!important}
@media(max-width:980px){.public-header .public-nav{flex-wrap:wrap;padding-block:12px}.public-header-tools{width:100%;justify-content:center;margin:0}.public-user b{display:none}}@media(prefers-reduced-motion:reduce){.public-ticker>div{animation:none}}

/* Public page complete light mode and final action palette. */
.public-nav .public-admin-link{background:linear-gradient(135deg,#6d4ae5,#18a99d)!important;border:0!important;color:#fff!important;box-shadow:0 8px 22px rgba(45,113,176,.2)!important}
html[data-user-theme="light"] body.public-platform,html[data-user-theme="light"] body.public-platform main,html[data-user-theme="light"] body.public-platform .public-section{background:#f4f7fb!important;color:#17324f!important}
html[data-user-theme="light"] body.public-platform .public-hero{background:radial-gradient(circle at 12% 18%,rgba(109,74,229,.13),transparent 30rem),linear-gradient(135deg,#f8fbff,#e9f3fb)!important}
html[data-user-theme="light"] body.public-platform .public-hero h1,html[data-user-theme="light"] body.public-platform .public-hero p,html[data-user-theme="light"] body.public-platform .public-hero span{color:#17324f!important;text-shadow:none!important}
html[data-user-theme="light"] body.public-platform .public-hero .eyebrow{color:#087c75!important}
html[data-user-theme="light"] body.public-platform .public-formula span{background:#e5eef9!important;border-color:#b9cfe5!important;color:#294e72!important}
html[data-user-theme="light"] body.public-platform .public-light{background:#e9eff6!important;border-color:#cedae7!important}
html[data-user-theme="light"] body.public-platform .public-card,html[data-user-theme="light"] body.public-platform .company-list article,html[data-user-theme="light"] body.public-platform .media-card{background:#fff!important;color:#17324f!important;border-color:#cbd9e7!important}
html[data-user-theme="light"] body.public-platform .public-card h3,html[data-user-theme="light"] body.public-platform .public-card h4,html[data-user-theme="light"] body.public-platform .company-list strong,html[data-user-theme="light"] body.public-platform .public-heading h2{color:#173b63!important}
html[data-user-theme="light"] body.public-platform .public-card p,html[data-user-theme="light"] body.public-platform .public-card small,html[data-user-theme="light"] body.public-platform .company-list small{color:#506a84!important}
html[data-user-theme="light"] .public-nav nav a{color:#294e72!important;opacity:1!important}html[data-user-theme="light"] .public-nav nav a:hover{background:#e0eef8!important;color:#075f78!important}

/* One continuous ticker: Arabic moves left-to-right, English right-to-left. */
.public-ticker{position:relative;width:100%;overflow:hidden;white-space:nowrap}.public-ticker-track{display:block;width:max-content;padding:9px 0;will-change:transform}.public-ticker-track span{display:block;color:#fff!important;font-size:.84rem;font-weight:700}.public-ticker[dir="rtl"] .public-ticker-track{animation:pactoraTickerArabic 42s linear infinite}.public-ticker[dir="ltr"] .public-ticker-track{animation:pactoraTickerEnglish 42s linear infinite}.public-ticker:hover .public-ticker-track{animation-play-state:paused}@keyframes pactoraTickerArabic{from{transform:translateX(-100%)}to{transform:translateX(100vw)}}@keyframes pactoraTickerEnglish{from{transform:translateX(100vw)}to{transform:translateX(-100%)}}

/* Login labels above equal inputs, with an explicit password visibility control. */
.auth-card .operation-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:18px!important}.auth-card .operation-form>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;margin:0!important}.auth-card .operation-form input:not([type="checkbox"]),.auth-card .operation-form select{display:block!important;width:100%!important;height:46px!important;box-sizing:border-box!important;margin:0!important;padding:9px 12px!important}.auth-card .operation-form>.button{align-self:flex-start!important}.password-field{position:relative;display:block;width:100%}.password-field input{padding-inline-end:70px!important}.password-visibility{position:absolute;inset-inline-end:7px;top:7px;height:32px;border:0;border-radius:7px;background:#dff5f1!important;color:#075f59!important;padding:0 10px;cursor:pointer;font-size:.74rem}

/* Administrator shortcuts become compact icon cards instead of scattered footer links. */
body:has(.admin-tool-grid) .translation-admin-shortcut{display:none!important}.admin-tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;width:min(1180px,94%);margin:18px auto;padding:16px;border:1px solid var(--p-line);border-radius:18px;background:rgba(8,24,46,.82)}.admin-tool-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:12px;border:1px solid rgba(79,143,211,.25);border-radius:14px;background:linear-gradient(145deg,rgba(23,51,86,.96),rgba(11,29,53,.96));color:#e8f3ff!important;text-align:center;text-decoration:none;font-size:.75rem}.admin-tool-grid a:hover{transform:translateY(-2px);border-color:#28bcb0}.admin-tool-grid i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#6d4ae5,#18a99d);color:#fff;font-style:normal;font-size:1.15rem}html[data-user-theme="light"] .admin-tool-grid{background:#edf3f9!important;border-color:#c8d7e6!important}html[data-user-theme="light"] .admin-tool-grid a{background:#fff!important;color:#244b70!important;border-color:#c5d7e8!important}
@media(prefers-reduced-motion:reduce){.public-ticker-track{animation:none!important;transform:none!important;padding-inline:15px}}
.public-ticker .public-ticker-track.ticker-js-running{animation:none!important;transition:none!important;direction:ltr!important}
.public-ticker .public-ticker-track.ticker-single-pass{display:block!important;width:max-content!important}.public-ticker .ticker-single-pass .ticker-copy{padding:10px 0!important;margin:0!important}

/* Stable seamless ticker v2: duplicated copies meet at the loop boundary. */
.public-ticker{contain:layout paint;isolation:isolate}.public-ticker .public-ticker-track{display:flex!important;align-items:center;width:max-content!important;padding:0!important;gap:0!important;animation-duration:46s!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important;will-change:transform;backface-visibility:hidden;transform-style:preserve-3d}.public-ticker .ticker-copy{display:block;flex:0 0 auto;min-width:max-content;padding:10px 4rem;color:var(--ticker-text,#fff)!important;white-space:nowrap;line-height:1.25;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;backface-visibility:hidden}.public-ticker[dir="ltr"] .public-ticker-track{animation-name:pactoraTickerSeamlessEnglish!important}.public-ticker[dir="rtl"] .public-ticker-track{animation-name:pactoraTickerSeamlessArabic!important}@keyframes pactoraTickerSeamlessEnglish{from{transform:translate3d(100vw,0,0)}to{transform:translate3d(calc(100vw - 50%),0,0)}}@keyframes pactoraTickerSeamlessArabic{from{transform:translate3d(calc(-50% - 100vw),0,0)}to{transform:translate3d(-100vw,0,0)}}

/* Direction-safe ticker: track geometry is always LTR; glyph direction stays language-aware. */
.public-ticker .public-ticker-track{direction:ltr!important}.public-ticker[dir="rtl"] .ticker-copy{direction:rtl!important;text-align:right}.public-ticker[dir="ltr"] .ticker-copy{direction:ltr!important;text-align:left}.public-ticker[dir="ltr"] .public-ticker-track{animation-name:pactoraTickerEnglishVisible!important}.public-ticker[dir="rtl"] .public-ticker-track{animation-name:pactoraTickerArabicVisible!important}@keyframes pactoraTickerEnglishVisible{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}@keyframes pactoraTickerArabicVisible{from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}

/* Compact desktop login matching the original card; stacked only on mobile. */
.auth-card{width:min(480px,calc(100vw - 32px))!important;padding:24px 30px!important}.auth-card .operation-form{gap:15px!important}.auth-card .operation-form>label:not(.terms-check){display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:center!important;column-gap:14px!important;row-gap:0!important}.auth-card .operation-form input:not([type="checkbox"]){height:40px!important}.auth-card .operation-form>.button{margin-inline-start:126px!important}.password-field{min-width:0}
@media(max-width:560px){.auth-card{width:min(390px,calc(100vw - 24px))!important;padding:21px 18px!important}.auth-card .operation-form>label:not(.terms-check){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}.auth-card .operation-form>.button{margin-inline-start:0!important}.auth-card h1{font-size:1.25rem!important}}

/* Light-theme contrast only; dark and administrator palettes remain untouched. */
html[data-user-theme="light"] .department-list span,html[data-user-theme="light"] .quick-actions-grid a,html[data-user-theme="light"] .control-hub-grid a,html[data-user-theme="light"] .control-tags span,html[data-user-theme="light"] .roles-bar span{background:#dfe9f4!important;border-color:#b7cbe0!important;color:#244a70!important;opacity:1!important;text-shadow:none!important}html[data-user-theme="light"] .department-list span:hover,html[data-user-theme="light"] .quick-actions-grid a:hover,html[data-user-theme="light"] .control-hub-grid a:hover{background:#cfe0ef!important;color:#103a61!important}html[data-user-theme="light"] .button:not(.secondary),html[data-user-theme="light"] button.button:not(.secondary){color:#fff!important;opacity:1!important;text-shadow:none!important}
