/* E-Mirsal II — modern responsive workspace */
body.emirsal-full-width-page .grid-container,
body.emirsal-full-width-page .site-content,
body.emirsal-full-width-page .content-area,
body.emirsal-full-width-page .site-main,
body.emirsal-full-width-page .inside-article,
body.emirsal-full-width-page .entry-content,
body.emirsal-full-width-page .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body.emirsal-full-width-page .entry-header { display: none !important; }
body.emirsal-full-width-page .inside-article { padding: 0 !important; }
body.emirsal-full-width-page .site-content { padding: 18px 0 36px !important; }

.emirsal-app {
  --emirsal-navy: #082e63;
  --emirsal-blue: #0866e8;
  --emirsal-line: #d9e5f4;
  --emirsal-muted: #61748f;
  width: min(1600px, calc(100vw - 40px)) !important;
  max-width: 1600px !important;
  margin: 18px auto 30px !important;
  padding: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  overflow: hidden;
  color: #142943;
  background: #f4f8fd;
  border: 1px solid #d9e4f1;
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(12, 46, 91, .12);
  font: 14px/1.45 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}
.emirsal-app *, .emirsal-app *::before, .emirsal-app *::after { box-sizing: border-box; }
.emirsal-hero {
  display: flex; align-items: center; gap: 18px; min-height: 142px; padding: 24px 30px;
  color: #fff; background: linear-gradient(110deg, #06285b 0%, #0754a9 46%, #2c82df 100%);
  position: relative; isolation: isolate; overflow: hidden;
}
.emirsal-hero::after { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -80px; top: -260px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 75px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.025); }
.emirsal-brand-mark { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(145deg, #1d9bff, #0751d8); box-shadow: 0 9px 22px rgba(0,0,0,.18); font-size: 38px; font-weight: 800; }
.emirsal-brand-copy { min-width: 0; }
.emirsal-hero-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.emirsal-hero-subtitle { font-size: clamp(17px, 2vw, 23px); font-weight: 550; margin-top: 4px; }
.emirsal-hero .emirsal-eyebrow { margin-top: 9px; color: #d8eaff; font-size: 11px; letter-spacing: .06em; font-weight: 700; }
.emirsal-hero .emirsal-eyebrow a { color: inherit; text-decoration: none; }
.emirsal-hero .emirsal-eyebrow a:hover { color: #fff; text-decoration: underline; }
.emirsal-hero-badge { display: flex; align-items: center; gap: 11px; margin-left: auto; padding: 13px 17px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; background: rgba(255,255,255,.94); color: #17365c; box-shadow: 0 7px 22px rgba(0,0,0,.12); white-space: nowrap; }
.emirsal-uae-dot { font-size: 25px; }
.emirsal-hero-badge strong, .emirsal-hero-badge small { display: block; }
.emirsal-hero-badge strong { font-size: 13px; }
.emirsal-hero-badge small { color: #61748f; margin-top: 2px; font-size: 11px; }
.emirsal-badge-divider { width: 1px; height: 34px; background: #cbd8e7; margin: 0 4px; }
.emirsal-badge-note { font-size: 12px; font-weight: 650; }
.emirsal-panel { margin: 16px 18px; border: 1px solid #dbe6f3; border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgba(28, 67, 112, .045); overflow: hidden; }
.emirsal-panel-heading { display: flex; align-items: center; gap: 13px; padding: 16px 22px; border-bottom: 1px solid #e5edf7; background: linear-gradient(180deg, #fff, #f7faff); min-width: 0; }
.emirsal-panel-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #1479ff, #0751d4); color: white; font-size: 26px; font-weight: 700; }
.emirsal-panel-icon.purple { background: linear-gradient(145deg, #9757f6, #6230cf); }
.emirsal-panel-heading h2 { margin: 0; color: #102e59; font-size: 21px; font-weight: 750; line-height: 1.2; }
.emirsal-panel-heading p { margin: 4px 0 0; color: var(--emirsal-muted); font-size: 13px; }
.emirsal-status-pill { margin-left: auto; padding: 9px 13px; border-radius: 9px; background: #eaf9ef; border: 1px solid #c6eed2; color: #18743a; font-size: 12px; font-weight: 700; white-space: nowrap; }
.emirsal-panel-body { padding: 18px 22px 20px; }
.emirsal-message { display: none; margin: 0 0 15px; padding: 11px 14px; border: 1px solid #c6eed2; border-radius: 9px; background: #eaf9ef; color: #18743a; font-size: 13px; }
.emirsal-message.is-visible { display: block; }
.emirsal-message.is-error { background: #fff0f0; color: #a31e2b; border-color: #ffcaca; }
.emirsal-fieldset { min-width: 0; margin: 0; padding: 20px 17px 18px; border: 1px solid #dbe5f2; border-radius: 12px; background: #fff; }
.emirsal-fieldset legend { padding: 0 8px; color: #123563; font-size: 16px; font-weight: 750; }
.emirsal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px 16px; }
.emirsal-grid label { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: #243e60; font-size: 12px; font-weight: 700; }
.emirsal-app input, .emirsal-app select { display: block; width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; border: 1px solid #cbd9eb; border-radius: 8px; background: #fff; color: #162b47; font: 400 13px/1.25 inherit; box-shadow: inset 0 1px 2px rgba(12, 39, 75, .025); }
.emirsal-app input:focus, .emirsal-app select:focus { outline: 3px solid rgba(16, 112, 239, .14); border-color: #4b9aff; }
.emirsal-app input[readonly], .emirsal-app .emirsal-readonly { background: #edf2f8; color: #5b6d83; }
.emirsal-optional { margin-top: 18px; padding: 0; border: 0; }
.emirsal-optional summary { list-style: none; cursor: pointer; padding: 12px 15px; border-radius: 9px; color: #0758c8; background: #eaf2ff; font-weight: 750; font-size: 13px; }
.emirsal-optional summary::-webkit-details-marker { display: none; }
.emirsal-optional summary::before { content: "⚙  "; }
.emirsal-optional[open] summary { margin-bottom: 15px; }
.emirsal-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.emirsal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.emirsal-app button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 11px 16px; border: 1px solid #075bd1; border-radius: 9px; background: linear-gradient(180deg, #0c70f3, #0755c9); color: #fff; font: 650 13px/1.15 system-ui, sans-serif; cursor: pointer; box-shadow: 0 3px 7px rgba(6, 80, 181, .12); transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; }
.emirsal-app button:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 5px 12px rgba(6, 80, 181, .17); }
.emirsal-app button:disabled { opacity: .58; cursor: wait; transform: none; }
.emirsal-app button.secondary { background: #fff; color: #075bd1; border-color: #80b3ff; box-shadow: none; }
.emirsal-app button.success { background: linear-gradient(180deg, #159b58, #087a42); border-color: #087a42; }
.emirsal-app button.danger { background: linear-gradient(180deg, #e52c3b, #c51e30); border-color: #c51e30; }
.emirsal-items-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: min(450px, 50%); }
.emirsal-items-tools input { min-width: 180px; }
.emirsal-items-tools button { white-space: nowrap; padding: 10px 12px; }
.emirsal-items-tools input[type="search"] { flex: 1 1 260px; }
.emirsal-table-wrap { width: 100%; max-width: 100%; overflow: auto; border: 1px solid #dbe6f3; border-radius: 10px; }
.emirsal-table { width: 100%; min-width: 1080px; border-collapse: separate; border-spacing: 0; margin: 0; background: #fff; }
.emirsal-table th { position: sticky; top: 0; z-index: 1; background: #e5f1ff; color: #153b6b; font-size: 11px; white-space: nowrap; text-align: left; padding: 12px 9px; border-bottom: 1px solid #cddff4; }
.emirsal-table td { padding: 5px; border-bottom: 1px solid #edf2f8; }
.emirsal-table tbody tr:nth-child(even) { background: #f9fbfe; }
.emirsal-table tbody tr:hover { background: #f0f7ff; }
.emirsal-table td input { min-width: 78px; min-height: 37px; padding: 7px 8px; font-size: 12px; border-radius: 7px; }
.emirsal-table td:nth-child(1) input { min-width: 42px; width: 46px; text-align: center; }
.emirsal-table td:nth-child(2) input { min-width: 190px; }
.emirsal-table td:nth-child(3) input { min-width: 120px; }
.emirsal-table td:nth-child(10) input { min-width: 140px; }
.emirsal-table .emirsal-invalid { border-color: #e34b55 !important; background: #fff0f1 !important; color: #a61b1b !important; }
/* HS code validation colours: green valid, red invalid, yellow/orange permit. */
.emirsal-table td:nth-child(3) input.emirsal-hs-valid { border: 1.5px solid #16a34a !important; background: #f0fdf4 !important; color: #166534 !important; box-shadow: 0 0 0 1px rgba(22,163,74,.08); }
.emirsal-table td:nth-child(3) input.emirsal-hs-invalid { border: 1.5px solid #dc2626 !important; background: #fef2f2 !important; color: #991b1b !important; box-shadow: 0 0 0 1px rgba(220,38,38,.08); }
.emirsal-table td:nth-child(3) input.emirsal-hs-permit { border: 1.5px solid #f59e0b !important; background: #fef3c7 !important; color: #92400e !important; box-shadow: 0 0 0 1px rgba(245,158,11,.10); }
.emirsal-hs-validation { display: none !important; }

.emirsal-help { margin: 10px 0 0; color: #647b98; font-size: 12px; }
.emirsal-output { margin-bottom: 18px; }
.emirsal-output .emirsal-panel-body { padding-top: 14px; }
.emirsal-output pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; background: #f5f8fc; border: 1px solid #e0e9f4; border-radius: 9px; padding: 13px; min-height: 42px; color: #39516e; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.emirsal-notice { padding: 14px; border: 1px solid #e0b6b6; background: #fff5f5; border-radius: 8px; }
@media (max-width: 1100px) {
  .emirsal-hero { flex-wrap: wrap; }
  .emirsal-hero-badge { margin-left: 82px; }
  .emirsal-grid, .emirsal-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emirsal-items-tools { min-width: 100%; margin: 12px 0 0; }
  .emirsal-panel-heading { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  body.emirsal-full-width-page .site-content { padding: 8px 0 20px !important; }
  .emirsal-app { width: calc(100vw - 16px) !important; margin: 8px auto 18px !important; border-radius: 12px; }
  .emirsal-hero { padding: 19px 15px; gap: 12px; }
  .emirsal-brand-mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 12px; font-size: 30px; }
  .emirsal-hero-badge { margin-left: 0; padding: 10px 12px; white-space: normal; }
  .emirsal-badge-note, .emirsal-badge-divider { display: none; }
  .emirsal-panel { margin: 10px; border-radius: 11px; }
  .emirsal-panel-heading { padding: 13px; gap: 10px; }
  .emirsal-panel-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 22px; }
  .emirsal-panel-heading h2 { font-size: 18px; }
  .emirsal-status-pill { margin-left: 0; }
  .emirsal-panel-body { padding: 13px; }
  .emirsal-grid, .emirsal-grid-four { grid-template-columns: 1fr; gap: 12px; }
  .emirsal-fieldset { padding: 14px 11px; }
  .emirsal-actions button { flex: 1 1 calc(50% - 8px); padding: 10px; }
  .emirsal-items-tools { flex-direction: column; align-items: stretch; }
  .emirsal-items-tools input { min-width: 0; }
}

/* Free registration and branded login pages */
.emirsal-auth-card{max-width:520px;margin:36px auto;padding:32px;background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 16px 44px rgba(20,45,80,.10);color:#172b4d;font-family:inherit}
.emirsal-auth-card h2{margin:8px 0 8px;font-size:27px;line-height:1.2;color:#142b4d}.emirsal-auth-card p{color:#5a6b82;line-height:1.55}.emirsal-auth-brand{font-weight:800;letter-spacing:2px;color:#1466c3;font-size:13px}.emirsal-auth-form{display:grid;gap:15px;margin-top:22px}.emirsal-auth-form label{display:grid;gap:7px;font-weight:600;color:#243a58}.emirsal-auth-form input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #cbd6e4;border-radius:9px;background:#fff;color:#172b4d;font:inherit}.emirsal-auth-form input:focus{outline:2px solid #8abaff;border-color:#2879d8}.emirsal-auth-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border:0;border-radius:9px;background:#1268c4;color:#fff!important;text-decoration:none!important;font-weight:700;cursor:pointer}.emirsal-auth-button:hover{background:#0c4f98;color:#fff}.emirsal-auth-secondary{background:#eaf2fc;color:#1559a0!important}.emirsal-auth-remember{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px!important;font-weight:400!important}.emirsal-auth-foot{margin-top:20px}.emirsal-auth-card small{display:block;margin-top:20px;color:#718096;text-align:center}.emirsal-auth-message{padding:11px 13px;border-radius:8px;margin:14px 0}.emirsal-auth-message.error{background:#fff0f0;color:#a22121}.emirsal-auth-message.success{background:#ecfdf3;color:#176b3a}.emirsal-auth-link{border:0;background:transparent;color:#145eaa;text-decoration:underline;cursor:pointer;margin-top:12px}


/* v1.5.0: responsive auth forms and branded home screen */
.emirsal-auth-card, .emirsal-home-hero {
  width: min(760px, calc(100% - 32px)); margin: 28px auto; padding: clamp(22px, 4vw, 42px);
  background: #fff; color: #142943; border: 1px solid #dce6f2; border-radius: 20px;
  box-shadow: 0 18px 55px rgba(10, 45, 91, .10); box-sizing: border-box;
}
.emirsal-auth-card * , .emirsal-home-hero * { box-sizing: border-box; }
.emirsal-auth-brand, .emirsal-home-kicker { color: #1769d2; font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 12px; }
.emirsal-auth-card h2, .emirsal-home-hero h1 { color: #102e59; font-size: clamp(27px, 4vw, 38px); line-height: 1.15; margin: 0 0 12px; font-weight: 800; }
.emirsal-auth-card > p, .emirsal-home-lead { color: #5c6f87; line-height: 1.65; margin: 0 0 22px; }
.emirsal-auth-form { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; width: 100% !important; margin: 22px 0 12px !important; }
.emirsal-auth-form label { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 7px !important; width: 100% !important; min-width: 0 !important; color: #243e60; font-size: 13px; font-weight: 700; }
.emirsal-auth-form input:not([type="checkbox"]) { display: block !important; width: 100% !important; max-width: 100% !important; min-height: 46px !important; padding: 11px 13px !important; margin: 0 !important; border: 1px solid #cbd9eb !important; border-radius: 9px !important; background: #fff !important; box-shadow: none !important; font-size: 15px !important; }
.emirsal-auth-form .emirsal-remember { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 9px !important; }
.emirsal-auth-form .emirsal-remember input { width: 17px !important; min-height: 17px !important; }
.emirsal-auth-button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px !important; border: 0 !important; border-radius: 9px !important; background: #1267d9 !important; color: #fff !important; font-weight: 750 !important; text-decoration: none !important; cursor: pointer; }
.emirsal-auth-button:hover { background: #084da9 !important; color: #fff !important; }
.emirsal-auth-secondary { background: #eaf2ff !important; color: #1559b7 !important; }
.emirsal-auth-secondary:hover { background: #d8e8ff !important; color: #0c438e !important; }
.emirsal-auth-foot { margin: 18px 0 16px !important; color: #5c6f87; }
.emirsal-auth-card small, .emirsal-home-credit { display: block; margin-top: 25px; color: #65758a; font-size: 12px; }
.emirsal-auth-message { padding: 12px 14px; margin: 14px 0; border-radius: 9px; background: #fff1f1; color: #a3212d; border: 1px solid #ffd0d0; }
.emirsal-auth-message.success { background: #edf9f0; color: #176c35; border-color: #c6e9ce; }
.emirsal-home-hero { width: min(1080px, calc(100% - 32px)); margin-top: 38px; padding: clamp(28px, 5vw, 60px); background: radial-gradient(circle at 90% 10%, #e0efff 0, transparent 34%), linear-gradient(135deg, #fff 0%, #f5f9ff 100%); }
.emirsal-home-hero h1 { max-width: 760px; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; }
.emirsal-home-lead { max-width: 690px; font-size: 17px; }
.emirsal-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 34px; }
.emirsal-home-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.emirsal-home-features > div { padding: 18px; border: 1px solid #dce7f5; border-radius: 13px; background: rgba(255,255,255,.8); }
.emirsal-home-features strong, .emirsal-home-features span { display: block; }
.emirsal-home-features strong { color: #173b69; margin-bottom: 7px; }
.emirsal-home-features span { color: #63758b; font-size: 13px; line-height: 1.5; }
@media (max-width: 640px) {
  .emirsal-auth-card, .emirsal-home-hero { width: calc(100% - 24px); margin: 14px auto; padding: 22px; border-radius: 14px; }
  .emirsal-home-features { grid-template-columns: 1fr; }
  .emirsal-home-actions { flex-direction: column; }
  .emirsal-home-actions .emirsal-auth-button { width: 100%; }
}

/* v1.5.3: separate destructive action to the far right */
.emirsal-actions [data-action="clear"] { margin-left: auto; }
@media (max-width: 760px) {
  .emirsal-actions [data-action="clear"] { margin-left: 0; }
}

/* v1.5.5: visible HS-code database validation */
.emirsal-hs-validation { display: block; margin-top: 4px; font-size: 10px; line-height: 1.25; font-weight: 800; letter-spacing: .02em; white-space: normal; }
.emirsal-hs-validation[hidden] { display: none !important; }
.emirsal-hs-validation.is-valid { color: #16803d; }
.emirsal-hs-validation.is-invalid { color: #c62828; }
.emirsal-hs-validation.is-checking, .emirsal-hs-validation.is-unknown { color: #8a6500; }

/* v1.5.7: HS-code suggestions shown beneath invalid code status */
.emirsal-hs-suggestions { position: absolute; top: calc(100% + 2px); left: 0; z-index: 100000; margin-top: 0; min-width: 190px; max-width: 280px; max-height: 240px; overflow-y: auto; padding: 3px; background: #fff; border: 1px solid #cbd5e1; border-radius: 5px; box-shadow: 0 5px 14px #0002; }
.emirsal-app td:has(.emirsal-hs-suggestions) { position: relative; overflow: visible !important; }
.emirsal-app table, .emirsal-app tbody, .emirsal-app tr { overflow: visible !important; }
.emirsal-hs-suggestions[hidden] { display: none !important; }
.emirsal-hs-suggestion-label { font-size: 10px; color: #7f1d1d; font-weight: 700; margin: 3px 0; }
.emirsal-hs-suggestion { display: block; width: 100%; text-align: left; white-space: normal; margin: 3px 0; padding: 5px 6px; border: 1px solid #b7d3f8; border-radius: 5px; background: #f4f8ff; color: #174ea6; font-size: 10px; line-height: 1.35; cursor: pointer; }
.emirsal-hs-suggestion:hover, .emirsal-hs-suggestion:focus { background: #e8f1ff; outline: none; }

/* v1.6.0: company-style separate HS CODE drawer; no inline suggestion popups */
.emirsal-hs-tab { position: fixed; right: 0; top: 42%; z-index: 9998; border: 0; border-radius: 10px 0 0 10px; padding: 13px 17px; background: linear-gradient(110deg, #06285b 0%, #0754a9 46%, #2c82df 100%); color: #fff; font-weight: 700; box-shadow: 0 3px 12px #0002; cursor: pointer; }
.emirsal-hs-drawer { position: fixed; z-index: 9999; right: 0; top: 0; width: min(860px, 94vw); height: 100vh; overflow: auto; background: #f4f8fd; border-left: 1px solid #cbd5e1; box-shadow: -8px 0 26px #0002; padding: 18px; box-sizing: border-box; }
.emirsal-hs-drawer[hidden] { display: none !important; }
.emirsal-hs-drawer-head { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(110deg, #06285b 0%, #0754a9 46%, #2c82df 100%); color: white; padding: 12px 16px; margin: -18px -18px 14px; }
.emirsal-hs-drawer-head h2 { margin: 0; color: white; font-size: 20px; }
.emirsal-hs-drawer-head button { border: 0; background: transparent; color: white; font-size: 28px; cursor: pointer; }
.emirsal-hs-drawer > p { margin: 8px 0 12px; color: #334155; }
#emirsal-hs-search { width: 100%; max-width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 5px; background: white; }
.emirsal-hs-results-wrap { overflow: auto; background: white; border: 1px solid #d1d5db; }
.emirsal-hs-results { width: 100%; border-collapse: collapse; font-size: 13px; }
.emirsal-hs-results th { background: #2a9d90; color: white; text-align: left; padding: 9px 8px; white-space: nowrap; }
.emirsal-hs-results td { padding: 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.emirsal-hs-results tr:nth-child(even) { background: #f8fafc; }
.emirsal-hs-choose { border: 0; border-radius: 7px; padding: 8px 12px; background: linear-gradient(180deg, #0c70f3, #0755c9); color: white; cursor: pointer; font-weight: 700; }
.emirsal-hs-suggestions { margin-top: 2px; min-width: 130px; max-width: 190px; position: absolute; z-index: 9999; background: #fff; border: 1px solid #c9c9c9; border-radius: 4px; box-shadow: 0 3px 8px #0002; padding: 2px 0; max-height: 180px; overflow-y: auto; }
.emirsal-hs-suggestions[hidden] { display: none !important; }
.emirsal-hs-suggestion-label { font-size: 11px; color: #0754a9; font-weight: 800; padding: 4px 2px; }
.emirsal-hs-suggestion { display: block; width: 100%; text-align: left; white-space: nowrap; margin: 0; padding: 5px 9px; border: 0; border-radius: 0; background: #fff; color: #174ea6; font-size: 12px; line-height: 1.25; cursor: pointer; }
.emirsal-hs-suggestion:hover, .emirsal-hs-suggestion:focus { background: #e8f1ff; outline: none; }
.emirsal-hs-suggestion small { display: none; }
.emirsal-hs-suggestion-loading, .emirsal-hs-suggestion-empty { padding: 7px 8px; background: #f8fbff; border: 1px solid #d4e4fb; border-radius: 5px; color: #53657d; font-size: 11px; }
@media (max-width: 640px) { .emirsal-hs-drawer { width: 100vw; padding: 12px; } .emirsal-hs-drawer-head { margin: -12px -12px 12px; } .emirsal-hs-results { font-size: 11px; } .emirsal-hs-results td, .emirsal-hs-results th { padding: 6px 5px; } }

/* v1.6.2: harmonize HS CODE drawer body with the converter home background */
.emirsal-hs-drawer { color: #162b47; }
.emirsal-hs-drawer > p { color: #334b68; }
.emirsal-hs-results-wrap { background: #fff; border-color: #dbe6f3; border-radius: 4px; }
.emirsal-hs-results td { background: #fff; color: #162b47; }
.emirsal-hs-results tr:nth-child(even) td { background: #f4f8fd; }
.emirsal-hs-results tr:hover td { background: #eaf2ff; }


/* v1.6.3: split landing hero inspired by modern trade/logistics homepages */
.emirsal-home-hero.emirsal-home-hero-split {
  width: min(1320px, calc(100% - 32px));
  min-height: 440px;
  margin: 28px auto;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #06285b 0%, #0754a9 55%, #2c82df 100%);
  box-shadow: 0 18px 48px rgba(5, 35, 76, .2);
}
.emirsal-home-hero-split .emirsal-home-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(28px, 4.5vw, 62px);
  color: #fff;
}
.emirsal-home-hero-split .emirsal-home-kicker { color: #bfe4ff; }
.emirsal-home-hero-split h1 { color: #fff; max-width: 560px; font-size: clamp(34px, 4vw, 56px); }
.emirsal-home-hero-split .emirsal-home-subtitle { margin: -3px 0 16px; color: #d8efff; font-size: clamp(20px, 2vw, 27px); font-weight: 700; }
.emirsal-home-hero-split .emirsal-home-lead { color: #eef7ff; max-width: 560px; font-size: 16px; }
.emirsal-home-hero-split .emirsal-home-actions { margin: 22px 0 24px; }
.emirsal-home-hero-split .emirsal-auth-button { background: #fff !important; color: #064b91 !important; }
.emirsal-home-hero-split .emirsal-auth-button:hover { background: #eaf5ff !important; }
.emirsal-home-hero-split .emirsal-auth-secondary { background: rgba(0, 16, 42, .7) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; }
.emirsal-home-hero-split .emirsal-home-features { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.emirsal-home-hero-split .emirsal-home-features > div { padding: 11px; border-color: rgba(255,255,255,.22); border-radius: 9px; background: rgba(255,255,255,.09); }
.emirsal-home-hero-split .emirsal-home-features strong { color: #fff; font-size: 12px; }
.emirsal-home-hero-split .emirsal-home-features span { color: #d9eaff; font-size: 11px; }
.emirsal-home-hero-split .emirsal-home-credit { color: #d0e8ff; margin-top: 18px; }
.emirsal-home-visual { min-height: 440px; position: relative; overflow: hidden; background: #0a477a; }
.emirsal-home-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,40,91,.22), transparent 35%), linear-gradient(0deg, rgba(4,32,68,.10), transparent 45%); pointer-events: none; }
.emirsal-home-visual img { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 72% center; }
@media (max-width: 900px) {
  .emirsal-home-hero.emirsal-home-hero-split { grid-template-columns: 1fr; }
  .emirsal-home-visual { min-height: 260px; grid-row: 1; }
  .emirsal-home-visual img { min-height: 260px; max-height: 320px; }
  .emirsal-home-hero-split .emirsal-home-copy { padding: 28px; }
}
@media (max-width: 640px) {
  .emirsal-home-hero.emirsal-home-hero-split { width: calc(100% - 20px); margin: 10px auto; border-radius: 12px; }
  .emirsal-home-hero-split .emirsal-home-features { grid-template-columns: 1fr; }
  .emirsal-home-hero-split .emirsal-home-actions { flex-direction: row; }
  .emirsal-home-hero-split .emirsal-home-actions .emirsal-auth-button { width: auto; }
}


/* v1.6.4: full-viewport login and registration layouts */
body.emirsal-full-width-page { min-height: 100vh !important; background: #f4f7fa !important; }
body.emirsal-full-width-page .site,
body.emirsal-full-width-page #page,
body.emirsal-full-width-page .site-content,
body.emirsal-full-width-page .content-area,
body.emirsal-full-width-page .site-main,
body.emirsal-full-width-page .inside-article,
body.emirsal-full-width-page .entry-content,
body.emirsal-full-width-page .wp-block-post-content { min-height: 100vh !important; }
body.emirsal-full-width-page .site-content { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.emirsal-full-width-page .content-area,
body.emirsal-full-width-page .site-main,
body.emirsal-full-width-page .inside-article,
body.emirsal-full-width-page .entry-content,
body.emirsal-full-width-page .wp-block-post-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.emirsal-full-width-page .emirsal-auth-card { width: min(520px, calc(100% - 32px)) !important; max-width: 520px !important; margin: 0 auto !important; align-self: center; }
body.emirsal-login-page .entry-content,
body.emirsal-register-page .entry-content,
body.emirsal-login-page .wp-block-post-content,
body.emirsal-register-page .wp-block-post-content { min-height: 100vh !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #f4f7fa !important; padding: 32px 16px !important; box-sizing: border-box !important; }
body.emirsal-login-page .emirsal-auth-card,
body.emirsal-register-page .emirsal-auth-card { margin: 0 auto !important; }
@media (max-width: 640px) {
 body.emirsal-login-page .entry-content, body.emirsal-register-page .entry-content,
 body.emirsal-login-page .wp-block-post-content, body.emirsal-register-page .wp-block-post-content { padding: 20px 12px !important; }
 body.emirsal-full-width-page .emirsal-auth-card { width: 100% !important; }
}


/* v1.6.6: animated Dubai-inspired background on login, registration and landing page */
@keyframes emirsal-dubai-background-drift {
  0% { transform: scale(1.02) translate3d(-.5%, 0, 0); }
  50% { transform: scale(1.10) translate3d(.5%, -1%, 0); }
  100% { transform: scale(1.02) translate3d(-.5%, 0, 0); }
}
@keyframes emirsal-dubai-glow {
  0%, 100% { opacity: .42; }
  50% { opacity: .68; }
}
body.emirsal-login-page, body.emirsal-register-page {
  position: relative !important;
  isolation: isolate;
  background: #061b3b !important;
  overflow-x: hidden;
}
body.emirsal-login-page::before, body.emirsal-register-page::before {
  content: ""; position: fixed; z-index: -2; inset: -3%;
  background-image: url("dubai-trade-style-hero.png"); background-size: cover;
  background-position: center 48%; background-repeat: no-repeat;
  animation: emirsal-dubai-background-drift 28s ease-in-out infinite;
  will-change: transform;
}
body.emirsal-login-page::after, body.emirsal-register-page::after {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(3,25,61,.82), rgba(3,45,88,.55) 52%, rgba(2,19,43,.70));
  animation: emirsal-dubai-glow 10s ease-in-out infinite;
}
body.emirsal-login-page .entry-content, body.emirsal-register-page .entry-content,
body.emirsal-login-page .wp-block-post-content, body.emirsal-register-page .wp-block-post-content {
  background: transparent !important; position: relative; z-index: 0;
}
body.emirsal-login-page .emirsal-auth-card, body.emirsal-register-page .emirsal-auth-card {
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 24px 75px rgba(0,0,0,.26) !important;
  backdrop-filter: blur(8px);
}
.emirsal-home-hero-split .emirsal-home-visual img {
  animation: emirsal-dubai-background-drift 32s ease-in-out infinite;
  transform-origin: center;
}
.emirsal-home-hero-split { position: relative; overflow: hidden; }
.emirsal-home-hero-split .emirsal-home-copy { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  body.emirsal-login-page::before, body.emirsal-register-page::before,
  body.emirsal-login-page::after, body.emirsal-register-page::after,
  .emirsal-home-hero-split .emirsal-home-visual img { animation: none !important; }
}


/* v1.6.9: refreshed HS CODE lookup panel inspired by the supplied reference */
.emirsal-hs-drawer {
  inset: 8px 1.1vw 8px !important; width: auto !important; height: auto !important;
  max-height: calc(100vh - 16px); padding: 22px 26px 0 !important;
  border: 1px solid #d5e5f8 !important; border-radius: 18px !important;
  background: linear-gradient(180deg,#f8fbff 0%,#fff 72%,#eaf4ff 100%) !important;
  box-shadow: 0 20px 60px rgba(0,24,65,.28) !important;
  display: flex; flex-direction: column;
}
.emirsal-hs-drawer[hidden] { display: none !important; }
.emirsal-hs-drawer-head {
  flex: 0 0 auto; margin: -22px -26px 20px !important; padding: 20px 28px !important;
  min-height: 84px; box-sizing: border-box; border-radius: 17px 17px 0 0;
  background: linear-gradient(110deg,#123d79 0%,#1265b7 55%,#2189e5 100%) !important;
  position: relative; overflow: hidden;
}
.emirsal-hs-drawer-head h2 { font-size: 28px !important; font-weight: 800; letter-spacing: .04em; }
.emirsal-hs-drawer-head button { font-size: 34px !important; line-height: 1; }
.emirsal-hs-drawer > p { flex: 0 0 auto; font-size: 16px; margin: 0 0 16px !important; color: #334f72 !important; }
#emirsal-hs-search { flex: 0 0 auto; padding: 17px 18px !important; border: 2px solid #a9d0ff !important; border-radius: 9px !important; box-shadow: 0 0 0 3px rgba(41,133,230,.08); font-size: 17px; margin-bottom: 18px !important; }
.emirsal-hs-results-wrap { flex: 1 1 auto; min-height: 130px; overflow: auto; border: 1px solid #c9ddf5 !important; border-radius: 9px !important; }
.emirsal-hs-results { font-size: 15px !important; }
.emirsal-hs-results th { padding: 15px 14px !important; background: linear-gradient(100deg,#17477f,#1679ce) !important; font-size: 15px; }
.emirsal-hs-results td { padding: 13px 14px !important; border-bottom: 1px solid #e0eaf6 !important; }
.emirsal-hs-choose { background: linear-gradient(110deg,#0c63bc,#1688e8) !important; }
.emirsal-hs-drawer-footer { flex: 0 0 auto; margin: 22px -26px 0; padding: 22px 16px; min-height: 82px; display:flex; align-items:center; justify-content:center; text-align:center; color:#35577e; font-size:15px; background:linear-gradient(180deg,#edf6ff,#e5f1ff); border-top:1px solid #d3e5fa; border-radius:0 0 17px 17px; }
.emirsal-hs-drawer-footer span { display:flex; align-items:center; gap:22px; }
.emirsal-hs-drawer-footer span:before,.emirsal-hs-drawer-footer span:after { content:""; display:block; width:clamp(30px,10vw,150px); height:1px; background:#8bb4e0; }
@media(max-width:640px) { .emirsal-hs-drawer { inset: 5px !important; padding:14px 12px 0 !important; border-radius:12px !important; } .emirsal-hs-drawer-head { margin:-14px -12px 14px !important; padding:15px 16px !important; min-height:60px; } .emirsal-hs-drawer-head h2 {font-size:21px !important;} .emirsal-hs-drawer > p {font-size:13px;} #emirsal-hs-search {padding:12px !important;font-size:14px;} .emirsal-hs-results {font-size:11px !important;} .emirsal-hs-results th,.emirsal-hs-results td {padding:8px 6px !important; white-space:normal;} .emirsal-hs-drawer-footer {margin:16px -12px 0;padding:16px 8px;min-height:60px;font-size:12px;} .emirsal-hs-drawer-footer span {gap:9px;} }


/* v1.7.7: yellow permit indicator for exact HS-code matches in the supplied permit list */
.emirsal-permit-badge { display:none !important; }
.emirsal-permit-badge[hidden] { display:none !important; }
/* v1.8.10: keep HS suggestions blue on hover/focus; never flash white. */
.emirsal-app .emirsal-hs-suggestions .emirsal-hs-suggestion:hover,
.emirsal-app .emirsal-hs-suggestions .emirsal-hs-suggestion:focus,
.emirsal-app .emirsal-hs-suggestions .emirsal-hs-suggestion:active,
.emirsal-app .emirsal-hs-suggestions .emirsal-hs-suggestion[aria-selected="true"] {
  background: linear-gradient(110deg,#0b63ce,#0875e8) !important;
  color: #fff !important;
  border-color: #075fc4 !important;
  opacity: 1 !important;
}
.emirsal-app .emirsal-hs-suggestions .emirsal-hs-suggestion:hover *,
.emirsal-app .emirsal-hs-suggestions .emirsal-hs-suggestion:focus * { color:#fff !important; }

/* v1.8.9: one active HS dropdown at a time; keep it above neighbouring rows. */
.emirsal-app .emirsal-table tr.emirsal-hs-dropdown-active { position: relative !important; z-index: 100010 !important; }
.emirsal-app .emirsal-table tr.emirsal-hs-dropdown-active td:nth-child(3) { position: relative !important; z-index: 100011 !important; overflow: visible !important; }
.emirsal-app .emirsal-table .emirsal-hs-suggestions { z-index: 100012 !important; background: #fff !important; opacity: 1 !important; }


/* v1.8.14 centered invoice data validation signal */
.emirsal-validation-signal {
  display:flex; justify-content:center; align-items:center;
  width:100%; box-sizing:border-box; margin:14px 0 16px;
  padding:12px 16px; border:1px solid #dc2626; border-radius:12px;
  background:#fef2f2; color:#991b1b; transition:background .15s,border-color .15s,color .15s;
}
.emirsal-validation-signal-inner { display:flex; align-items:center; justify-content:center; gap:12px; text-align:left; max-width:100%; }
.emirsal-validation-dot { width:16px; height:16px; flex:0 0 16px; border-radius:50%; background:#dc2626; box-shadow:0 0 0 4px rgba(220,38,38,.13); }
.emirsal-validation-copy { display:flex; flex-direction:column; gap:3px; }
.emirsal-validation-copy strong { font-size:13px; letter-spacing:.02em; }
.emirsal-validation-copy span { font-size:12px; opacity:.9; }
.emirsal-validation-signal[data-status="green"] { border-color:#16a34a; background:#f0fdf4; color:#166534; }
.emirsal-validation-signal[data-status="green"] .emirsal-validation-dot { background:#16a34a; box-shadow:0 0 0 4px rgba(22,163,74,.13); }
.emirsal-validation-signal[data-status="red"] { border-color:#dc2626; background:#fef2f2; color:#991b1b; }
.emirsal-validation-signal[data-status="red"] .emirsal-validation-dot { background:#dc2626; box-shadow:0 0 0 4px rgba(220,38,38,.13); }

/* v1.8.16: public site navigation and logged-in user identity bar */
.emirsal-sitebar {
  width: 100%; box-sizing: border-box; min-height: 82px; padding: 12px clamp(16px,3vw,42px);
  display:flex; align-items:center; gap: clamp(16px,2.2vw,34px); background:#fff; color:#132c4f;
  border-bottom:1px solid #e2eaf4; box-shadow:0 4px 18px rgba(18,52,94,.06);
  font: 14px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; position:relative; z-index:50;
}
.emirsal-sitebar a { text-decoration:none; }
.emirsal-sitebar-brand { display:flex; align-items:center; gap:11px; flex:0 0 auto; color:#102f5d; }
.emirsal-sitebar-mark { width:43px; height:43px; display:grid; place-items:center; border-radius:12px; background:linear-gradient(145deg,#1595ff,#0758dc); color:#fff; font-size:27px; font-weight:800; }
.emirsal-sitebar-brand strong,.emirsal-sitebar-brand small { display:block; }
.emirsal-sitebar-brand strong { font-size:19px; line-height:1.15; }
.emirsal-sitebar-brand small { margin-top:2px; color:#1767cf; font-size:12px; }
.emirsal-sitebar-nav { display:flex; align-items:center; justify-content:center; gap:clamp(16px,2.5vw,38px); margin-left:auto; }
.emirsal-sitebar-nav a,.emirsal-sitebar-auth a { color:#152c4c; font-weight:650; white-space:nowrap; }
.emirsal-sitebar-nav a:hover,.emirsal-sitebar-auth a:hover { color:#0866e8; }
.emirsal-sitebar-user { position:relative; flex:0 1 auto; min-width:0; max-width:490px; border:1px solid #d8e5f6; border-radius:14px; background:#fff; box-shadow:0 3px 12px rgba(11,53,103,.06); }
.emirsal-sitebar-user summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:9px 12px; }
.emirsal-sitebar-user summary::-webkit-details-marker { display:none; }
.emirsal-sitebar-avatar { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; border-radius:50%; background:#e8f1ff; color:#0969e8; font-size:22px; }
.emirsal-sitebar-identity { min-width:92px; max-width:170px; }
.emirsal-sitebar-identity small,.emirsal-sitebar-identity strong,.emirsal-sitebar-location small,.emirsal-sitebar-location strong { display:block; }
.emirsal-sitebar-identity small { color:#5e6d80; font-size:11px; }
.emirsal-sitebar-identity strong { color:#172b45; font-size:13px; overflow-wrap:anywhere; }
.emirsal-sitebar-divider { width:1px; height:34px; background:#d7e2f0; flex:0 0 1px; }
.emirsal-sitebar-location { min-width:0; }
.emirsal-sitebar-location strong { color:#243c5a; font-size:12px; font-weight:650; overflow-wrap:anywhere; }
.emirsal-sitebar-location small { color:#53657b; font-size:11px; margin-top:3px; overflow-wrap:anywhere; }
.emirsal-sitebar-chevron { color:#142e50; font-size:20px; padding:0 2px; }
.emirsal-sitebar-dropdown { position:absolute; top:calc(100% + 7px); right:0; z-index:1000; min-width:190px; padding:12px 14px; border:1px solid #d9e5f3; border-radius:10px; background:#fff; box-shadow:0 12px 30px rgba(12,39,75,.16); display:flex; flex-direction:column; gap:12px; color:#203752; font-size:13px; }
.emirsal-sitebar-dropdown a { color:#075bd1; font-weight:700; }
.emirsal-sitebar-auth { display:flex; align-items:center; gap:24px; white-space:nowrap; }
@media(max-width:900px) {
 .emirsal-sitebar { flex-wrap:wrap; gap:10px 16px; padding:12px 16px; }
 .emirsal-sitebar-nav { order:3; width:100%; margin:0; justify-content:center; padding-top:5px; }
 .emirsal-sitebar-user { margin-left:auto; max-width:min(100%,440px); }
}
@media(max-width:560px) {
 .emirsal-sitebar { align-items:flex-start; }
 .emirsal-sitebar-brand { gap:7px; }
 .emirsal-sitebar-mark { width:36px; height:36px; font-size:22px; }
 .emirsal-sitebar-brand strong { font-size:16px; }
 .emirsal-sitebar-brand small { font-size:10px; }
 .emirsal-sitebar-user { order:2; width:100%; max-width:none; }
 .emirsal-sitebar-user summary { gap:8px; padding:8px; }
 .emirsal-sitebar-identity { flex:1; min-width:70px; }
 .emirsal-sitebar-location { flex:1; }
 .emirsal-sitebar-nav { order:3; }
 .emirsal-sitebar-nav a { font-size:13px; }
}

/* v1.8.18: consistent E-Mirsal branding across About, Support, Login and Register pages */
body.emirsal-info-page .entry-title,
body.emirsal-info-page .page-title { display:none !important; }
body.emirsal-info-page .site-content,
body.emirsal-info-page .content-area,
body.emirsal-auth-site-page .site-content,
body.emirsal-auth-site-page .content-area { width:100%; max-width:none; }
.emirsal-secondary-page { min-height:calc(100vh - 100px); padding:1px 0 48px; background:linear-gradient(180deg,#f4f8fd 0%,#fff 78%); color:#142943; }
.emirsal-secondary-info .emirsal-info-hero { width:min(1080px,calc(100% - 32px)); margin:28px auto 40px; padding:clamp(28px,5vw,54px); background:radial-gradient(circle at 90% 10%,#dcecff 0,transparent 34%),linear-gradient(135deg,#fff 0%,#f3f8ff 100%); }
.emirsal-info-hero h1 { color:#102e59; font-size:clamp(30px,4.5vw,46px); line-height:1.15; font-weight:800; margin:0 0 18px; }
.emirsal-info-hero h2 { color:#1558a5; font-size:clamp(22px,3vw,30px); line-height:1.25; font-weight:750; margin:0 0 16px; }
.emirsal-info-hero p, .emirsal-info-hero li { color:#506782; font-size:16px; line-height:1.75; }
.emirsal-info-hero a:not(.emirsal-auth-button) { color:#0866d9; font-weight:650; }
.emirsal-secondary-auth { padding:20px 0 48px; }
.emirsal-secondary-auth .emirsal-auth-card { margin:20px auto 40px; }
@media(max-width:640px) { .emirsal-secondary-info .emirsal-info-hero { width:calc(100% - 24px); margin:14px auto 28px; padding:22px; } .emirsal-info-hero p {font-size:15px;} }

/* v1.8.20 — independent clear actions */
.emirsal-items-clear-actions {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(120,150,190,.18);
}
.emirsal-items-clear-actions button[data-action="clear-items"] {
  background:#dc3545;
  color:#fff;
}
.emirsal-items-clear-actions button[data-action="clear-items"]:hover {
  background:#bd2130;
}

/* v1.8.21 — position the two independent clear actions at the user's marked locations */
.emirsal-header-clear-position {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-top:12px;
  min-height:42px;
}
.emirsal-header-clear-position button[data-action="clear-header"] {
  margin-left:auto;
}
.emirsal-items-panel .emirsal-panel-heading {
  align-items:center;
}
.emirsal-items-panel .emirsal-items-tools {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:9px;
  margin-left:auto;
}
.emirsal-items-panel .emirsal-items-tools button[data-action="clear-items"] {
  margin-left:4px;
  white-space:nowrap;
  background:#dc3545;
  color:#fff;
}
@media (max-width:900px) {
  .emirsal-items-panel .emirsal-panel-heading { flex-wrap:wrap; }
  .emirsal-items-panel .emirsal-items-tools {
    width:100%;
    margin-left:0;
  }
}
@media (max-width:560px) {
  .emirsal-items-panel .emirsal-items-tools > * { max-width:100%; }
  .emirsal-items-panel .emirsal-items-tools input[type="search"] { width:100%; }
}


/* v1.8.27: viewport-fitted eMirsal homepage brand banner */
.emirsal-homepage-brand-hero {
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - 118px);
  margin: 0 !important;
  padding: clamp(6px, 1vh, 12px) 12px 12px !important;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.emirsal-homepage-brand-image {
  display: block !important;
  width: min(100%, 760px) !important;
  height: min(47vh, 430px) !important;
  max-width: 100% !important;
  max-height: 430px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.emirsal-homepage-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 12px 10px;
}
.emirsal-homepage-actions .emirsal-auth-button { min-width: 150px; }
.emirsal-homepage-actions .emirsal-auth-secondary { background: #082f67 !important; color: #fff !important; }
.emirsal-homepage-features {
  width: min(1080px, calc(100% - 12px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.emirsal-homepage-features > div {
  padding: 12px 14px;
  border: 1px solid #d9e6f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 55, 104, .06);
}
.emirsal-homepage-features strong, .emirsal-homepage-features span { display: block; }
.emirsal-homepage-features strong { color: #073d83; font-size: 15px; margin-bottom: 4px; }
.emirsal-homepage-features span { color: #536b86; font-size: 13px; }
.emirsal-homepage-credit { display: block; margin-top: 8px; color: #536b86; }
@media (max-width: 640px) {
  .emirsal-homepage-brand-hero { min-height: calc(100svh - 108px); padding: 4px 8px 10px !important; }
  .emirsal-homepage-brand-image { width: 100% !important; height: min(40vh, 340px) !important; }
  .emirsal-homepage-features { grid-template-columns: 1fr; gap: 7px; }
  .emirsal-homepage-features > div { padding: 9px 12px; }
  .emirsal-homepage-features span { font-size: 12px; }
  .emirsal-homepage-actions { gap: 8px; padding-bottom: 8px; }
  .emirsal-homepage-actions .emirsal-auth-button { min-width: 130px; }
  .emirsal-homepage-credit { margin-top: 6px; }
}
@media (max-height: 760px) and (min-width: 641px) {
  .emirsal-homepage-brand-image { height: 40vh !important; }
  .emirsal-homepage-features > div { padding: 9px 12px; }
}

/* v1.8.28 — full-width animated trade-port hero (HTML/CSS animation; no static hero image) */
.emirsal-public-home { width:100%; margin:0; padding:0; }
.emirsal-public-home .emirsal-animated-hero {
  --em-navy:#061b37; --em-blue:#0b477c; position:relative; isolation:isolate; display:flex;
  align-items:center; width:100%; min-height:clamp(620px,calc(100svh - 74px),900px); overflow:hidden;
  margin:0!important; padding:clamp(44px,7vw,108px) max(6vw,calc((100vw - 1320px)/2)) 100px!important;
  box-sizing:border-box; text-align:left; color:#fff; background:linear-gradient(112deg,#06172f 0%,#082c50 42%,#0c5682 100%);
}
.emirsal-animated-hero:before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(3,17,36,.96) 0%,rgba(3,24,47,.88) 34%,rgba(4,29,53,.35) 66%,rgba(4,25,48,.12) 100%); }
.emirsal-animated-hero .emirsal-motion-stage { position:absolute; z-index:-2; inset:0; overflow:hidden; background:linear-gradient(180deg,#102d4a 0%,#1c668c 48%,#e19a62 76%,#143e60 77%,#071d35 100%); }
.emirsal-sky-glow { position:absolute; width:48vw;height:48vw;max-width:680px;max-height:680px;right:8%;top:-27%;border-radius:50%;background:radial-gradient(circle,rgba(255,203,139,.75) 0%,rgba(255,174,110,.22) 34%,transparent 70%);filter:blur(8px);animation:emGlowPulse 9s ease-in-out infinite; }
.emirsal-cloud { position:absolute; height:34px;width:220px;border-radius:50%;background:rgba(222,239,247,.14);filter:blur(14px);animation:emCloudDrift 38s linear infinite; }
.emirsal-cloud:after { content:"";position:absolute;left:55px;top:-13px;width:110px;height:36px;border-radius:50%;background:inherit; }
.emirsal-cloud-one { top:21%;left:38%; }.emirsal-cloud-two { top:34%;left:72%;transform:scale(.7);animation-duration:52s;animation-delay:-18s; }
.emirsal-skyline { position:absolute;right:0;bottom:22%;width:44%;height:30%;opacity:.42;display:flex;align-items:flex-end;gap:7px; }
.emirsal-skyline i { display:block;flex:1;background:linear-gradient(90deg,#0b2e4b,#174b68);height:42%;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%); }
.emirsal-skyline i:nth-child(2){height:68%;}.emirsal-skyline i:nth-child(3){height:54%;}.emirsal-skyline i:nth-child(4){height:92%;clip-path:polygon(45% 0,55% 0,62% 18%,100% 100%,0 100%,38% 18%);}.emirsal-skyline i:nth-child(5){height:61%;}.emirsal-skyline i:nth-child(6){height:78%;}.emirsal-skyline i:nth-child(7){height:48%;}
.emirsal-crane { position:absolute;bottom:24%;width:230px;height:330px;opacity:.8;transform-origin:50% 100%;animation:emCraneSway 8s ease-in-out infinite; }
.emirsal-crane b { position:absolute;left:45%;bottom:0;width:10px;height:100%;background:linear-gradient(90deg,#102e47,#47758b); }
.emirsal-crane i { position:absolute;left:0;top:12%;width:100%;height:8px;background:#204b65;transform:rotate(-3deg);transform-origin:80% 50%; }
.emirsal-crane span { position:absolute;left:12%;top:14%;height:32%;width:2px;background:#b2c5ca; }
.emirsal-crane-one {right:20%;transform:scale(.9);}.emirsal-crane-two {right:3%;bottom:25%;transform:scale(.72);animation-delay:-3s; }
.emirsal-container-yard { position:absolute;right:4%;bottom:17%;width:48%;height:26%;display:flex;align-items:flex-end;gap:5px;perspective:500px; }
.emirsal-container-yard i { display:block;flex:1;height:42%;border:1px solid rgba(255,255,255,.14);background:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 2px,transparent 2px 13px),linear-gradient(135deg,#d16e43,#783e37);box-shadow:inset 0 8px 18px rgba(255,255,255,.1),0 10px 20px rgba(0,0,0,.2);animation:emContainerGlow 7s ease-in-out infinite; }
.emirsal-container-yard i:nth-child(2),.emirsal-container-yard i:nth-child(6){height:68%;background-color:#1f7290;}.emirsal-container-yard i:nth-child(3){height:54%;background-color:#d7a34f;}.emirsal-container-yard i:nth-child(4){height:82%;background-color:#275d78;}.emirsal-container-yard i:nth-child(5){height:58%;background-color:#b94e3f;}.emirsal-container-yard i:nth-child(7){height:74%;background-color:#d18b42;}.emirsal-container-yard i:nth-child(8){height:48%;background-color:#2d7084;}
.emirsal-cargo-ship { position:absolute;right:8%;bottom:8%;width:min(54vw,690px);height:190px;animation:emShipFloat 6s ease-in-out infinite;filter:drop-shadow(0 20px 24px rgba(0,0,0,.28)); }
.emirsal-ship-hull { position:absolute;bottom:18px;left:0;width:100%;height:62px;background:linear-gradient(180deg,#e8e6db 0 13%,#b84938 14% 100%);clip-path:polygon(0 0,100% 0,91% 70%,82% 100%,9% 100%); }
.emirsal-ship-deck { position:absolute;left:14%;bottom:80px;width:74%;height:82px;display:flex;align-items:flex-end;gap:4px; }
.emirsal-ship-deck i { flex:1;height:70%;background:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 2px,transparent 2px 10px),linear-gradient(135deg,#d77a48,#9d4939);border-top:3px solid rgba(255,255,255,.25); }
.emirsal-ship-deck i:nth-child(2),.emirsal-ship-deck i:nth-child(5){height:100%;background-color:#26728a;}.emirsal-ship-deck i:nth-child(3){height:84%;background-color:#d5a14f;}.emirsal-ship-deck i:nth-child(4){height:92%;background-color:#23516f;}
.emirsal-ship-cabin { position:absolute;right:4%;bottom:80px;width:66px;height:72px;background:linear-gradient(90deg,#e8e7dc,#aabec5);clip-path:polygon(0 18%,100% 18%,100% 100%,0 100%); }.emirsal-ship-cabin:after {content:"";position:absolute;inset:20px 10px 25px;background:repeating-linear-gradient(90deg,#21445b 0 9px,#b8cbd0 9px 13px);}
.emirsal-ocean { position:absolute;left:0;right:0;bottom:0;height:18%;background:linear-gradient(180deg,rgba(22,91,125,.7),#061d37 85%);overflow:hidden; }
.emirsal-ocean i {position:absolute;left:-10%;width:120%;height:2px;top:20%;background:linear-gradient(90deg,transparent,rgba(174,223,237,.5),transparent);animation:emWave 7s ease-in-out infinite;}.emirsal-ocean i:nth-child(2){top:42%;animation-delay:-2s;}.emirsal-ocean i:nth-child(3){top:64%;animation-delay:-4s;}.emirsal-ocean i:nth-child(4){top:80%;animation-delay:-1s;}.emirsal-ocean i:nth-child(5){top:30%;animation-delay:-5s;}.emirsal-ocean i:nth-child(6){top:54%;animation-delay:-3s;}
.emirsal-motion-shimmer {position:absolute;right:0;bottom:0;width:60%;height:25%;background:linear-gradient(110deg,transparent,rgba(255,210,160,.14),transparent);transform:skewX(-24deg);animation:emShimmer 8s ease-in-out infinite;}
.emirsal-hero-content { position:relative;z-index:2;width:min(610px,55%);margin-top:-12px; }
.emirsal-hero-kicker {display:inline-flex;align-items:center;gap:10px;color:#b9d9ed;font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:24px;}.emirsal-hero-kicker i{width:8px;height:8px;border-radius:50%;background:#54d7b2;box-shadow:0 0 0 5px rgba(84,215,178,.15);}
.emirsal-hero-content h1 {color:#fff!important;font-size:clamp(48px,6.3vw,88px)!important;line-height:.99!important;letter-spacing:-.055em!important;font-weight:800!important;margin:0 0 24px!important;max-width:680px;}.emirsal-hero-content h1 span {color:#83d6df;}
.emirsal-hero-lead {max-width:520px;color:#e0edf5;font-size:clamp(16px,1.4vw,19px);line-height:1.7;margin:0 0 30px;}
.emirsal-animated-hero .emirsal-homepage-actions {justify-content:flex-start;gap:13px;padding:0;margin:0 0 36px;}.emirsal-animated-hero .emirsal-auth-button {display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:172px;min-height:52px;padding:0 22px;border-radius:5px;background:#fff!important;color:#07345a!important;text-decoration:none;font-weight:750;box-shadow:0 10px 26px rgba(0,0,0,.15);transition:transform .25s,background .25s;}.emirsal-animated-hero .emirsal-auth-button:hover{transform:translateY(-3px);background:#dff5f5!important;}.emirsal-animated-hero .emirsal-auth-secondary{background:rgba(4,27,51,.45)!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:none;}
.emirsal-hero-proof {display:flex;flex-wrap:wrap;gap:24px;color:#d5e8f2;font-size:12px;}.emirsal-hero-proof span{display:flex;align-items:center;gap:8px;}.emirsal-hero-proof b{color:#72d6d4;font-size:11px;letter-spacing:.08em;}
.emirsal-hero-bottomline {position:absolute;z-index:2;left:6vw;right:6vw;bottom:22px;display:flex;justify-content:space-between;gap:16px;color:rgba(225,240,248,.72);font-size:11px;letter-spacing:.04em;border-top:1px solid rgba(255,255,255,.2);padding-top:14px;}
@keyframes emShipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes emCraneSway{0%,100%{rotate:-.5deg}50%{rotate:.7deg}}
@keyframes emCloudDrift{0%{translate:-12vw 0}100%{translate:28vw 0}}
@keyframes emGlowPulse{0%,100%{opacity:.65;scale:.96}50%{opacity:1;scale:1.05}}
@keyframes emWave{0%,100%{transform:translateX(-5%) scaleX(.85);opacity:.2}50%{transform:translateX(5%) scaleX(1);opacity:.8}}
@keyframes emShimmer{0%,100%{translate:-15% 0;opacity:.2}50%{translate:12% 0;opacity:.7}}
@keyframes emContainerGlow{0%,100%{filter:brightness(.92)}50%{filter:brightness(1.13)}}
@media(max-width:900px){.emirsal-public-home .emirsal-animated-hero{min-height:760px;padding:54px 7vw 100px!important;align-items:flex-start}.emirsal-hero-content{width:min(650px,90%);margin-top:0}.emirsal-cargo-ship{width:72vw;right:2%;bottom:8%;transform:scale(.85);transform-origin:right bottom}.emirsal-container-yard{width:62%;right:0}.emirsal-crane-one{right:24%;}.emirsal-hero-bottomline{left:7vw;right:7vw}}
@media(max-width:600px){.emirsal-public-home .emirsal-animated-hero{min-height:760px;min-height:max(760px,calc(100svh - 66px));padding:42px 22px 95px!important}.emirsal-hero-content{width:100%;}.emirsal-hero-kicker{font-size:9px;letter-spacing:.12em;margin-bottom:18px}.emirsal-hero-content h1{font-size:clamp(43px,13vw,64px)!important;margin-bottom:17px!important}.emirsal-hero-lead{font-size:15px;line-height:1.6;margin-bottom:22px}.emirsal-animated-hero .emirsal-homepage-actions{flex-direction:column;align-items:stretch;gap:9px;margin-bottom:22px}.emirsal-animated-hero .emirsal-auth-button{width:100%;min-height:48px}.emirsal-hero-proof{gap:10px 16px;font-size:10px}.emirsal-hero-bottomline{left:22px;right:22px;bottom:15px;font-size:9px}.emirsal-cargo-ship{width:96vw;right:-8%;bottom:8%;opacity:.9;transform:scale(.78);}.emirsal-container-yard{width:72%;height:19%;bottom:18%;}.emirsal-crane{transform:scale(.58);transform-origin:bottom right;bottom:21%;}.emirsal-crane-one{right:22%;}.emirsal-crane-two{right:-4%;}.emirsal-skyline{width:60%;height:20%;bottom:20%;}}
@media(prefers-reduced-motion:reduce){.emirsal-animated-hero *, .emirsal-animated-hero *:before,.emirsal-animated-hero *:after{animation:none!important;transition:none!important}}


/* v1.8.29 — stronger cinematic motion, layered depth and entrance transitions */
.emirsal-animated-hero .emirsal-motion-stage {
  transform:scale(1.035);
  animation:emSceneBreath 28s ease-in-out infinite alternate;
  will-change:transform;
}
.emirsal-animated-hero:after {
  content:"";position:absolute;z-index:0;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(126,213,236,.10) 49%,transparent 62%);
  background-size:220% 100%;mix-blend-mode:screen;
  animation:emLightSweep 13s ease-in-out infinite;
}
.emirsal-animated-hero .emirsal-hero-content {
  animation:emContentReveal 1.15s cubic-bezier(.2,.75,.25,1) both;
}
.emirsal-animated-hero .emirsal-hero-kicker {animation:emContentReveal .85s .08s both;}
.emirsal-animated-hero .emirsal-hero-content h1 {animation:emContentReveal 1s .18s both;}
.emirsal-animated-hero .emirsal-hero-lead {animation:emContentReveal 1s .32s both;}
.emirsal-animated-hero .emirsal-homepage-actions {animation:emContentReveal 1s .45s both;}
.emirsal-animated-hero .emirsal-hero-proof {animation:emContentReveal 1s .58s both;}
.emirsal-animated-hero .emirsal-cargo-ship {
  animation:emShipCruise 11s ease-in-out infinite;
  transform-origin:50% 80%;
}
.emirsal-animated-hero .emirsal-ship-hull {
  box-shadow:0 9px 0 rgba(3,19,36,.22),0 18px 28px rgba(0,0,0,.22);
}
.emirsal-animated-hero .emirsal-ship-deck i:nth-child(odd) {animation:emCargoLift 5.8s ease-in-out infinite;}
.emirsal-animated-hero .emirsal-ship-deck i:nth-child(even) {animation:emCargoLift 6.8s ease-in-out -2s infinite;}
.emirsal-animated-hero .emirsal-crane-one {animation:emCraneSway 9s ease-in-out infinite;}
.emirsal-animated-hero .emirsal-crane-two {animation:emCraneSway 11s ease-in-out -3s infinite;}
.emirsal-animated-hero .emirsal-crane span {
  transform-origin:top center;
  animation:emCraneCable 7s ease-in-out infinite;
}
.emirsal-animated-hero .emirsal-container-yard i:nth-child(odd) {animation:emContainerGlow 6s ease-in-out infinite,emContainerParallax 9s ease-in-out infinite;}
.emirsal-animated-hero .emirsal-container-yard i:nth-child(even) {animation:emContainerGlow 7s ease-in-out -2s infinite,emContainerParallax 11s ease-in-out -3s infinite;}
.emirsal-animated-hero .emirsal-ocean i {height:3px;filter:blur(.4px);animation:emWave 5s ease-in-out infinite;}
.emirsal-animated-hero .emirsal-sky-glow {animation:emGlowPulse 7s ease-in-out infinite;}
.emirsal-animated-hero .emirsal-cloud-one {animation-duration:30s;}
.emirsal-animated-hero .emirsal-cloud-two {animation-duration:43s;}
.emirsal-animated-hero .emirsal-auth-button {transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,background .35s;}
.emirsal-animated-hero .emirsal-auth-button:hover {transform:translateY(-5px) scale(1.025);box-shadow:0 18px 38px rgba(0,0,0,.28);}
@keyframes emSceneBreath {0%{transform:scale(1.035) translate3d(0,0,0)}100%{transform:scale(1.10) translate3d(-1.2%,.4%,0)}}
@keyframes emLightSweep {0%,100%{background-position:150% 0;opacity:.25}50%{background-position:-50% 0;opacity:.8}}
@keyframes emContentReveal {from{opacity:0;transform:translate3d(0,26px,0);filter:blur(5px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes emShipCruise {0%,100%{transform:translate3d(0,0,0) rotate(0)}25%{transform:translate3d(-13px,-7px,0) rotate(-.35deg)}60%{transform:translate3d(16px,-13px,0) rotate(.25deg)}}
@keyframes emCargoLift {0%,100%{filter:brightness(.94);transform:translateY(0)}50%{filter:brightness(1.2);transform:translateY(-3px)}}
@keyframes emCraneCable {0%,100%{transform:scaleY(.88);opacity:.55}50%{transform:scaleY(1.18);opacity:1}}
@keyframes emContainerParallax {0%,100%{translate:0 0}50%{translate:0 -4px}}
@media(max-width:600px){
 .emirsal-animated-hero .emirsal-motion-stage{animation-duration:36s}
 .emirsal-animated-hero:after{animation-duration:18s}
 .emirsal-animated-hero .emirsal-cargo-ship{animation-duration:13s}
}
@media(prefers-reduced-motion:reduce){
 .emirsal-animated-hero .emirsal-motion-stage,.emirsal-animated-hero:after,
 .emirsal-animated-hero .emirsal-hero-content,.emirsal-animated-hero .emirsal-hero-kicker,
 .emirsal-animated-hero .emirsal-hero-content h1,.emirsal-animated-hero .emirsal-hero-lead,
 .emirsal-animated-hero .emirsal-homepage-actions,.emirsal-animated-hero .emirsal-hero-proof,
 .emirsal-animated-hero .emirsal-cargo-ship,.emirsal-animated-hero .emirsal-crane,
 .emirsal-animated-hero .emirsal-ship-deck i,.emirsal-animated-hero .emirsal-container-yard i,
 .emirsal-animated-hero .emirsal-ocean i,.emirsal-animated-hero .emirsal-sky-glow,
 .emirsal-animated-hero .emirsal-cloud {animation:none!important;transition:none!important}
}


/* v1.8.30 — isolate login/register routes from the public homepage hero */
.emirsal-auth-route {
  position:relative;
  left:50%;
  width:100vw;
  max-width:100vw;
  transform:translateX(-50%);
  min-height:calc(100vh - 150px);
  box-sizing:border-box;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:clamp(34px,7vh,76px) 20px 60px;
  margin:0 !important;
  background:linear-gradient(180deg,#f5f9ff 0%,#ffffff 100%);
  overflow-x:clip;
}
.emirsal-auth-route .emirsal-auth-card {
  width:min(100%,520px) !important;
  max-width:520px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:clamp(24px,4vw,38px) !important;
  box-sizing:border-box !important;
  border-radius:18px !important;
  box-shadow:0 18px 55px rgba(12,45,88,.12) !important;
}
.emirsal-auth-route .emirsal-auth-card h2 {
  font-size:clamp(25px,3vw,34px) !important;
  line-height:1.2 !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}
.emirsal-auth-route .emirsal-auth-form,
.emirsal-auth-route .emirsal-auth-form input,
.emirsal-auth-route .emirsal-auth-form button {max-width:100%;box-sizing:border-box;}
@media(max-width:640px) {
  .emirsal-auth-route {min-height:calc(100svh - 110px);padding:28px 14px 42px;}
  .emirsal-auth-route .emirsal-auth-card {padding:22px 18px !important;border-radius:14px !important;}
}


/* v1.8.31 — cinematic canvas port scene and true viewport-width landing layout */
body.emirsal-full-width-page,
body.emirsal-full-width-page #page,
body.emirsal-full-width-page .site,
body.emirsal-full-width-page .site-content,
body.emirsal-full-width-page .content-area,
body.emirsal-full-width-page .site-main,
body.emirsal-full-width-page .entry-content {
  max-width:none !important;
  width:100% !important;
}
body.emirsal-full-width-page .site-content,
body.emirsal-full-width-page .content-area,
body.emirsal-full-width-page .site-main,
body.emirsal-full-width-page .entry-content {
  margin:0 !important;
  padding:0 !important;
}
.emirsal-public-home {
  position:relative !important;
  left:50% !important;
  width:100vw !important;
  max-width:100vw !important;
  margin-left:-50vw !important;
  margin-right:0 !important;
  padding:0 !important;
  overflow:hidden;
}
.emirsal-public-home .emirsal-animated-hero {
  width:100% !important;
  max-width:none !important;
  min-height:clamp(650px,calc(100svh - 76px),980px) !important;
  padding-left:max(7vw,calc((100vw - 1320px)/2)) !important;
  padding-right:max(7vw,calc((100vw - 1320px)/2)) !important;
}
.emirsal-animated-hero .emirsal-motion-stage {
  z-index:0 !important;
  background:#071a31 !important;
}
.emirsal-animated-hero:before {z-index:1 !important;}
.emirsal-animated-hero .emirsal-cinematic-canvas {
  position:absolute;inset:0;display:block;width:100%;height:100%;
  z-index:0;opacity:1;
}
.emirsal-animated-hero .emirsal-sky-glow,
.emirsal-animated-hero .emirsal-cloud,
.emirsal-animated-hero .emirsal-skyline,
.emirsal-animated-hero .emirsal-crane,
.emirsal-animated-hero .emirsal-container-yard,
.emirsal-animated-hero .emirsal-cargo-ship,
.emirsal-animated-hero .emirsal-ocean,
.emirsal-animated-hero .emirsal-motion-shimmer {display:none !important;}
.emirsal-animated-hero .emirsal-hero-content {
  z-index:3 !important;
  width:min(620px,52%) !important;
  max-width:620px !important;
  flex:0 0 min(620px,52%);
  text-wrap:pretty;
}
.emirsal-animated-hero .emirsal-hero-content h1 {
  width:100%;max-width:680px !important;
  font-size:clamp(52px,6vw,88px) !important;
  overflow-wrap:normal !important;word-break:normal !important;
}
.emirsal-animated-hero .emirsal-hero-bottomline {z-index:4 !important;}
@media(max-width:900px){
 .emirsal-public-home .emirsal-animated-hero{min-height:800px !important;padding:52px 6vw 100px !important;}
 .emirsal-animated-hero .emirsal-hero-content{width:min(650px,90%) !important;max-width:650px !important;flex-basis:auto;}
}
@media(max-width:600px){
 .emirsal-public-home .emirsal-animated-hero{min-height:max(760px,100svh) !important;padding:42px 22px 100px !important;}
 .emirsal-animated-hero .emirsal-hero-content{width:100% !important;max-width:100% !important;}
 .emirsal-animated-hero .emirsal-hero-content h1{font-size:clamp(43px,12vw,62px) !important;}
}


/* v1.9.0 — complete eMirsal trade-portal homepage */
.emirsal-public-home {background:#fff;color:#152b43;font-family:inherit;}
.emirsal-public-home * {box-sizing:border-box;}
.emirsal-public-home .emirsal-portal-intro,
.emirsal-public-home .emirsal-audience-section,
.emirsal-public-home .emirsal-service-section,
.emirsal-public-home .emirsal-why-section,
.emirsal-public-home .emirsal-steps-section,
.emirsal-public-home .emirsal-faq-section,
.emirsal-public-home .emirsal-final-cta,
.emirsal-public-home .emirsal-full-footer {width:100%;margin:0 auto;}
.emirsal-public-home .emirsal-portal-intro {padding:84px 7vw 72px;text-align:center;background:#fff;}
.emirsal-section-heading {max-width:780px;margin:0 auto 38px;text-align:center;}
.emirsal-section-kicker {display:inline-block;color:#0875c9;font-size:11px;line-height:1.4;font-weight:850;letter-spacing:.17em;text-transform:uppercase;margin-bottom:13px;}
.emirsal-section-heading h2,.emirsal-why-copy h2,.emirsal-final-cta h2 {margin:0 0 14px!important;color:#102b49!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.12!important;letter-spacing:-.035em!important;font-weight:800!important;}
.emirsal-section-heading p,.emirsal-why-copy p,.emirsal-final-cta p {margin:0;color:#60748a;font-size:16px;line-height:1.75;}
.emirsal-intro-pills {display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:30px;}
.emirsal-intro-pills span {padding:11px 18px;border:1px solid #dce7f0;border-radius:30px;background:#f7fbff;color:#244a6a;font-size:13px;font-weight:700;}
.emirsal-audience-section {padding:78px 7vw 88px;background:#f4f8fc;}
.emirsal-audience-grid {max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.emirsal-audience-card {position:relative;min-height:220px;padding:28px 24px;background:#fff;border:1px solid #e1eaf2;border-radius:13px;box-shadow:0 10px 28px rgba(15,48,78,.045);transition:transform .3s,box-shadow .3s,border-color .3s;}
.emirsal-audience-card:hover {transform:translateY(-6px);box-shadow:0 20px 40px rgba(15,48,78,.10);border-color:#b8d7ed;}
.emirsal-line-icon {display:grid;place-items:center;width:44px;height:44px;margin-bottom:20px;border-radius:12px;background:#e9f5ff;color:#0875c9;font-size:25px;font-weight:700;}
.emirsal-audience-card h3,.emirsal-service-card h3,.emirsal-steps-grid h3 {margin:0 0 10px!important;color:#173553!important;font-size:19px!important;line-height:1.3!important;font-weight:800!important;}
.emirsal-audience-card p,.emirsal-service-card p,.emirsal-steps-grid p {margin:0;color:#667b90;font-size:14px;line-height:1.7;}
.emirsal-service-section {padding:88px 7vw 96px;background:linear-gradient(135deg,#071d37 0%,#0a3458 55%,#0b5275 100%);}
.emirsal-heading-light h2 {color:#fff!important;}.emirsal-heading-light p {color:#c4d7e6;}
.emirsal-heading-light .emirsal-section-kicker {color:#78d6df;}
.emirsal-service-grid {max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;}
.emirsal-service-card {position:relative;min-height:270px;padding:29px 27px 25px;border:1px solid rgba(255,255,255,.17);border-radius:13px;background:rgba(255,255,255,.075);backdrop-filter:blur(8px);transition:transform .3s,background .3s,border-color .3s;overflow:hidden;}
.emirsal-service-card:hover {transform:translateY(-6px);background:rgba(255,255,255,.13);border-color:rgba(130,220,231,.6);}
.emirsal-service-card.emirsal-service-featured {background:linear-gradient(145deg,rgba(24,133,184,.4),rgba(255,255,255,.08));border-color:rgba(126,217,231,.55);}
.emirsal-service-number {position:absolute;top:25px;right:25px;color:rgba(205,230,242,.55);font-size:12px;font-weight:800;letter-spacing:.1em;}
.emirsal-service-icon {display:grid;place-items:center;width:48px;height:48px;margin-bottom:24px;border-radius:12px;background:rgba(126,217,231,.14);border:1px solid rgba(126,217,231,.28);color:#8be1e8;font-size:25px;}
.emirsal-service-card h3 {color:#fff!important;font-size:20px!important;}
.emirsal-service-card p {color:#c4d5e2;min-height:72px;}
.emirsal-service-card a {display:inline-flex;align-items:center;gap:18px;margin-top:18px;color:#8ce2e9!important;font-size:13px;font-weight:800;text-decoration:none;}
.emirsal-service-card a:hover {color:#fff!important;}
.emirsal-why-section {display:grid;grid-template-columns:1.05fr .95fr;gap:8vw;align-items:center;padding:100px 10vw;background:#fff;}
.emirsal-why-copy {max-width:620px;}
.emirsal-why-copy h2 {max-width:560px;}
.emirsal-why-copy p {margin-bottom:25px;}
.emirsal-outline-link,.emirsal-primary-link {display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:14px 21px;border-radius:6px;background:#075eaa;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800;transition:transform .25s,background .25s;}
.emirsal-outline-link:hover,.emirsal-primary-link:hover {transform:translateY(-3px);background:#06477f;color:#fff!important;}
.emirsal-benefit-list {display:grid;gap:0;border-top:1px solid #e2eaf1;}
.emirsal-benefit-list>div {display:flex;align-items:flex-start;gap:20px;padding:23px 0;border-bottom:1px solid #e2eaf1;}
.emirsal-benefit-list>div>b {color:#0783c9;font-size:13px;letter-spacing:.08em;padding-top:3px;}
.emirsal-benefit-list strong,.emirsal-benefit-list small {display:block;}
.emirsal-benefit-list strong {color:#173553;font-size:16px;margin-bottom:5px;}
.emirsal-benefit-list small {color:#6c7f91;font-size:13px;line-height:1.6;}
.emirsal-steps-section {padding:86px 7vw 90px;background:#f4f8fc;text-align:center;}
.emirsal-steps-grid {max-width:1180px;margin:0 auto 34px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;text-align:left;}
.emirsal-steps-grid article {padding:30px;background:#fff;border:1px solid #e2ebf2;border-radius:12px;}
.emirsal-steps-grid article>b {display:grid;place-items:center;width:42px;height:42px;margin-bottom:22px;border-radius:50%;background:#e6f4ff;color:#0875c9;font-size:13px;}
.emirsal-faq-section {padding:88px 7vw 100px;background:#fff;}
.emirsal-faq-list {max-width:900px;margin:auto;border-top:1px solid #e1eaf0;}
.emirsal-faq-list details {border-bottom:1px solid #e1eaf0;padding:21px 4px;}
.emirsal-faq-list summary {position:relative;cursor:pointer;list-style:none;padding-right:30px;color:#183954;font-size:16px;font-weight:800;}
.emirsal-faq-list summary::-webkit-details-marker {display:none;}
.emirsal-faq-list summary:after {content:"+";position:absolute;right:5px;top:-4px;color:#0875c9;font-size:24px;font-weight:400;}
.emirsal-faq-list details[open] summary:after {content:"−";}
.emirsal-faq-list details p {max-width:780px;margin:13px 0 0;color:#63788c;font-size:14px;line-height:1.75;}
.emirsal-final-cta {display:flex;align-items:center;justify-content:space-between;gap:35px;padding:58px 9vw;background:linear-gradient(110deg,#0b3155,#08689a);color:#fff;}
.emirsal-final-cta .emirsal-section-kicker {color:#8de0e8;}
.emirsal-final-cta h2 {max-width:700px;color:#fff!important;font-size:clamp(28px,3.5vw,42px)!important;}
.emirsal-final-cta p {color:#d0e4ef;}
.emirsal-final-cta>a {flex:0 0 auto;display:inline-flex;align-items:center;gap:22px;padding:16px 23px;border-radius:6px;background:#fff;color:#064b82!important;text-decoration:none!important;font-size:14px;font-weight:850;transition:transform .25s;}
.emirsal-final-cta>a:hover {transform:translateY(-3px);}
.emirsal-full-footer {display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px;padding:60px 9vw 24px;background:#061a30;color:#d3e1eb;}
.emirsal-footer-brand>strong {display:block;color:#fff;font-size:26px;font-weight:850;letter-spacing:-.04em;}
.emirsal-footer-brand>span {display:block;margin-top:3px;color:#80d9e2;font-size:12px;font-weight:750;}
.emirsal-footer-brand p {max-width:360px;margin:17px 0 0;color:#9fb5c6;font-size:13px;line-height:1.7;}
.emirsal-full-footer>div:not(.emirsal-footer-brand):not(.emirsal-footer-bottom) {display:flex;flex-direction:column;gap:12px;}
.emirsal-full-footer>div>strong {margin-bottom:5px;color:#fff;font-size:14px;}
.emirsal-full-footer a {color:#a9bdcc!important;text-decoration:none!important;font-size:13px;}
.emirsal-full-footer a:hover {color:#fff!important;}
.emirsal-footer-bottom {grid-column:1/-1;display:flex;justify-content:space-between;gap:15px;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);color:#8fa6b8;font-size:11px;}
/* desktop nav refinements */
.emirsal-sitebar {min-height:74px;}
.emirsal-sitebar-nav {gap:clamp(12px,2vw,28px);}
.emirsal-sitebar-nav a {font-size:13px;font-weight:700;}
html {scroll-behavior:smooth;scroll-padding-top:90px;}
@media(max-width:1000px){
 .emirsal-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .emirsal-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .emirsal-why-section{padding:78px 7vw;gap:5vw;}
}
@media(max-width:700px){
 .emirsal-public-home .emirsal-portal-intro,.emirsal-audience-section,.emirsal-service-section,.emirsal-steps-section,.emirsal-faq-section{padding:60px 20px;}
 .emirsal-audience-grid,.emirsal-service-grid,.emirsal-steps-grid{grid-template-columns:1fr;}
 .emirsal-audience-card{min-height:0;}
 .emirsal-service-card{min-height:0;}
 .emirsal-service-card p{min-height:0;}
 .emirsal-why-section{grid-template-columns:1fr;padding:65px 22px;gap:34px;}
 .emirsal-final-cta{display:block;padding:48px 22px;}
 .emirsal-final-cta>a{margin-top:24px;}
 .emirsal-full-footer{grid-template-columns:1fr 1fr;gap:30px 22px;padding:44px 22px 20px;}
 .emirsal-footer-brand{grid-column:1/-1;}
 .emirsal-footer-bottom{flex-direction:column;grid-column:1/-1;}
 .emirsal-sitebar{flex-wrap:wrap;}
 .emirsal-sitebar-nav{flex-wrap:wrap;gap:9px 15px;}
}
