/**
 * ============================================================================
 * SKA PILOT — SHELL CSS
 * VERSION : 0.01.4.3 | RC1 | Integration 0.01.4.3-RC1
 * BUILD   : 2026-09-21 | 0.01.4.3-RC1
 *
 * SOURCE OF TRUTH
 * ---------------------------------------------------------------
 * Shell, navigation, Hero, profile, shared table visual standard and shared
 * close controls. Module métier styling remains inside each legacy module.
 *
 * PRINCIPLES
 * ---------------------------------------------------------------
 * - No global `button { width:100% }` or generic form reset.
 * - Shell visual rules are scoped under `.pilot-*`.
 * - Shared table header/filter appearance is intentionally normalized here.
 *
 * ANCHORS
 * ---------------------------------------------------------------
 * [UI-LOGIN-001]
 * [UI-SHELL-001]
 * [UI-HERO-002]
 * [UI-PROFILE-001]
 * [UI-TABLE-STANDARD-001]
 * [UI-REFRESH-004]
 * [UI-CLOSE-001]
 * ============================================================================
 */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../core-ux/fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../core-ux/fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../core-ux/fonts/IBMPlexSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root{
  --pilot-navy:#062b45;
  --pilot-orange:#ff6b00;
  --pilot-bg:#f3f6f9;
  --pilot-soft:#f8fafc;
  --pilot-line:#dce3e9;
  --pilot-muted:#53616d;
  --pilot-radius:6px;
  --pilot-card-radius:8px;
}

*{box-sizing:border-box}
html,body{margin:0}
body{font-family:"IBM Plex Sans",Arial,sans-serif}

/* ========================= [UI-LOGIN-001] LOGIN ========================= */

/* [SHELL-LOGIN-01] Login composition; no CORE token or module changes. */
body.login{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:72px 24px 92px;background:#fff;color:var(--pilot-navy);position:relative;isolation:isolate}
.login-scene{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}
.login-photo{position:absolute;inset:0 auto 0 0;width:48%;background:linear-gradient(110deg,rgba(6,43,69,.85),rgba(6,43,69,.95)),url('../img/ska-pilot-header-goal.webp') center/cover;clip-path:polygon(0 0,100% 0,55% 100%,0 100%)}
.login-slash{position:absolute;left:calc(48% - 44px);top:-90px;width:24px;height:330px;background:var(--pilot-orange);transform:rotate(23deg);transform-origin:top}
.login-scene::after{content:'';position:absolute;right:-180px;bottom:-260px;width:500px;height:750px;border:1px solid #e1e6eb;transform:rotate(32deg);z-index:-1}
.login-motto{position:absolute;top:45px;right:5%;font-size:18px;line-height:1.4;font-weight:700;letter-spacing:.16em}
.login-motto::before,.login-signature::before{content:'';display:block;width:30px;height:4px;background:var(--pilot-orange);margin-bottom:15px}
.login-motto span{color:#707984}
.login-card{width:min(100%,480px);padding:42px 42px 32px;background:#fff;border:1px solid #e9edf0;border-radius:20px;box-shadow:0 16px 46px rgba(6,43,69,.1);text-align:center;z-index:1}
.login-logo{display:block;width:230px;max-width:80%;height:auto;margin:0 auto 22px}
.login-accent{height:4px;width:32px;background:var(--pilot-orange);margin:0 auto 19px}
.login-card h1{margin:0;font-size:36px;line-height:1.15;letter-spacing:-.03em;color:var(--pilot-navy)}
.login-description{font-size:16px;line-height:1.6;color:#596778;margin:14px 0 28px}
.login-card form{text-align:left}
.login-card label{display:block;font-size:13px;font-weight:700;margin:18px 0 8px}
.login-field{position:relative;display:flex;align-items:center;min-width:0}
.login-field>svg{position:absolute;left:15px;width:21px;height:21px;pointer-events:none}
.login-card svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.login-field input{width:100%;min-width:0;height:54px;border:1px solid #bbc7d2;border-radius:9px;background:#fff;padding:12px 48px;font:inherit;font-size:16px;color:var(--pilot-navy)}
.login-field input::placeholder{color:#626f7d;opacity:1}
.login-reveal{position:absolute;right:4px;top:5px;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:#536174;cursor:pointer;display:grid;place-items:center}
.login-reveal[hidden]{display:none}
.login-reveal svg{width:22px;height:22px}
.login-reveal[aria-pressed=true]{color:var(--pilot-navy);background:#edf2f6}
.login-submit{width:100%;min-height:56px;display:flex;align-items:center;justify-content:center;gap:16px;margin-top:25px;padding:12px 18px;background:#cf4900;color:#fff;border:1px solid #cf4900;border-radius:9px;font:inherit;font-size:18px;font-weight:700;cursor:pointer;position:relative}
.login-submit svg{width:23px;height:23px;position:absolute;right:18px}
.login-submit:hover{background:#b83f00;border-color:#b83f00}
.login-card :is(input,button):focus-visible,.pilot-brand:focus-visible{outline:3px solid var(--pilot-navy);outline-offset:3px}
.login-secure{display:flex;align-items:center;justify-content:center;gap:10px;color:#637181;font-size:10px;font-weight:700;letter-spacing:.15em;margin-top:29px}
.login-secure::before,.login-secure::after{content:'';height:1px;background:#dfe5eb;flex:1}
.login-secure svg{width:18px;height:20px}
.login-signature{position:absolute;bottom:28px;left:4.5%;color:white;font-size:11px;letter-spacing:.17em;line-height:1.7}
.login-signature strong{display:block;font-size:13px;letter-spacing:.28em}
.login-signature span{color:#d5e0e8;font-size:9px}
.login-values{position:absolute;bottom:28px;right:4.5%;font-size:10px;color:#626f7d;letter-spacing:.16em}
.login-card .alert{padding:12px 14px;border:1px solid #b34a2c;border-radius:8px;background:#fff4ee;color:#822e1c;font-size:14px;line-height:1.5;text-align:left;margin:20px 0}
@media(min-width:981px) and (max-height:820px){body.login{padding-top:28px;padding-bottom:72px}.login-card{padding-top:28px;padding-bottom:26px}.login-logo{width:190px;margin-bottom:15px}.login-description{margin-bottom:18px}}
@media(max-width:980px){.login-motto{font-size:13px;right:3%;top:30px}.login-photo{width:58%}.login-slash{left:calc(58% - 44px)}.login-values{display:none}.login-signature{font-size:9px}}
@media(max-width:600px){body.login{padding:42px 16px 86px;background:#f5f7f9}.login-photo{width:100%;height:240px;clip-path:polygon(0 0,100% 0,100% 48%,0 100%)}.login-slash{left:auto;right:22px;top:-70px;height:230px;width:15px}.login-motto,.login-scene::after{display:none}.login-card{padding:30px 22px 27px;border-radius:16px;box-shadow:0 8px 26px rgba(6,43,69,.06)}.login-logo{width:204px;margin-bottom:22px}.login-card h1{font-size:32px}.login-description{font-size:15px}.login-signature{left:0;right:0;bottom:18px;text-align:center;color:var(--pilot-navy)}.login-signature::before{display:none}.login-signature span{color:#596778}.login-card label{margin-top:16px}}

/* ========================= [UI-SHELL-001] TOPBAR ======================== */

body.pilot-app{
  margin:0;
  background:var(--pilot-bg);
  color:var(--pilot-navy);
  font-family:"IBM Plex Sans",Arial,sans-serif;
}
.pilot-topbar{
  min-height:74px;
  background:#fff;
  border-bottom:1px solid var(--pilot-line);
  display:flex;
  align-items:center;
  gap:26px;
  padding:0 clamp(18px,2.2vw,42px);
  position:sticky;
  top:0;
  z-index:10000;
}
.pilot-brand{
  font-weight:600;
  text-decoration:none;
  color:var(--pilot-navy);
  font-size:18px;
  white-space:nowrap;
}
.pilot-brand{display:flex;align-items:center;flex:0 0 auto}
.pilot-brand img{display:block;width:108px;height:auto}
@media(max-width:600px){.pilot-brand img{width:88px}}
.pilot-nav{
  display:flex;
  align-items:stretch;
  gap:4px;
  flex:1 1 auto;
  min-width:0;
  height:74px;
  overflow-x:auto;
  scrollbar-width:none;
}
.pilot-nav::-webkit-scrollbar{display:none}
.pilot-tab{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  text-decoration:none;
  color:var(--pilot-muted, #53616D);
  font-size:12px;
  text-transform:uppercase;
  font-weight:600;
  letter-spacing:.02em;
  white-space:nowrap;
  border-bottom:3px solid transparent;
}
.pilot-tab:hover,.pilot-tab.is-active{
  color:var(--pilot-navy);
  background:#f1f5f8;
}
.pilot-tab.is-active{border-bottom-color:var(--pilot-orange)}
.pilot-icon{width:17px;height:17px;display:inline-flex}
.pilot-icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.pilot-user{
  position:relative;
  display:inline-grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:8px;
}
.pilot-user-btn{
  border:1px solid #cfd9e1;
  background:#fff;
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:var(--pilot-navy);
  cursor:pointer;
  padding:0 12px;
}
.pilot-avatar{
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--pilot-navy);
  color:#fff;
  display:grid;
  place-items:center;
}
.pilot-user-pop{
  position:absolute;
  right:0;
  top:50px;
  width:276px;
  max-width:calc(100vw - 24px);
  box-sizing:border-box;
  background:#fff;
  border:1px solid var(--pilot-line);
  box-shadow:0 14px 36px rgba(5,36,58,.16);
  padding:18px;
  z-index:10010;
}
.pilot-user-pop strong,.pilot-user-pop small{display:block}
.pilot-user-pop small{
  color:#6b7884;
  margin:4px 0 14px;
  overflow-wrap:anywhere;
}
.pilot-user-pop a{
  display:block;
  padding:11px 0;
  border-top:1px solid #edf0f2;
  text-decoration:none;
  color:var(--pilot-navy);
  font-size:12px;
  font-weight:600;
}
.pilot-pop-action,
body.pilot-app .pilot-user-pop .pilot-pop-action{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  text-align:left!important;
  justify-content:flex-start!important;
  background:none!important;
  border:0!important;
  border-top:1px solid #edf0f2!important;
  border-radius:0!important;
  padding:11px 0!important;
  margin:0!important;
  color:var(--pilot-navy)!important;
  font-size:12px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.pilot-identity-block{
  border-top:1px solid #edf0f2;
  padding:12px 0 14px;
  margin-top:4px;
}
.pilot-identity-eyebrow{
  margin-bottom:8px;
  color:var(--pilot-orange);
  font-size:10px;
  font-weight:600;
  letter-spacing:.09em;
}
.pilot-identity-summary{
  display:flex;
  align-items:center;
  gap:10px;
}
.pilot-identity-thumb{
  width:48px;
  height:48px;
  flex:0 0 48px;
  box-sizing:border-box;
  padding:4px;
  border:1px solid var(--pilot-line);
  border-radius:6px;
  background:#f8fafc;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.pilot-identity-thumb img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
.pilot-identity-empty{
  font-size:10px;
  font-weight:600;
  color:#6b7884;
  text-align:center;
  line-height:1.2;
}
.pilot-identity-meta{min-width:0;flex:1}
.pilot-identity-org{
  display:block;
  color:var(--pilot-navy);
  font-size:12px;
  font-weight:600;
  line-height:1.25;
}
.pilot-identity-state{
  display:block;
  margin-top:3px;
  color:#6b7884;
  font-size:11px;
  line-height:1.25;
}
body.pilot-app .pilot-user-pop .pilot-identity-action{
  margin-top:10px!important;
  padding:9px 11px!important;
  border:1px solid #cfd9e1!important;
  border-radius:6px!important;
  background:#f8fafc!important;
  justify-content:center!important;
  text-align:center!important;
  letter-spacing:.02em!important;
}
body.pilot-app .pilot-user-pop .pilot-identity-action:hover{
  background:#eef3f6!important;
  border-color:var(--pilot-navy)!important;
}
.pilot-identity-drawer-card{
  margin-bottom:20px;
  padding:16px;
  border:1px solid var(--pilot-line);
  background:#f8fafc;
}
.pilot-identity-drawer-label{
  margin-bottom:10px;
  color:#53616d;
  font-size:11px;
  font-weight:600;
  letter-spacing:.04em;
}
.pilot-identity-preview-box{
  height:140px;
  display:grid;
  place-items:center;
  padding:12px;
  box-sizing:border-box;
  border:1px solid #d8e1e8;
  background:#fff;
}
.pilot-identity-preview-box img{
  display:block;
  max-width:100%;
  max-height:114px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.pilot-identity-meta-info{
  margin-top:10px;
  color:#53616d;
  font-size:12px;
  line-height:1.4;
}

/* ======================== [UI-HERO-002] HERO V2 ========================= */

.pilot-workspace{width:100%;box-sizing:border-box}
.pilot-module-head{
  position:relative;
  display:grid;
  grid-template-columns:minmax(500px,1.25fr) minmax(380px,.75fr);
  height:240px;
  min-height:240px;
  max-height:240px;
  margin:0;
  overflow:hidden;
  background:var(--pilot-bg);
}
.pilot-module-head-copy{
  min-width:0;
  align-self:center;
  padding:24px clamp(18px,2.2vw,42px);
}
.pilot-module-head-media{
  position:relative;
  min-width:0;
  height:240px;
  overflow:hidden;
}
.pilot-module-head-media::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    var(--pilot-bg) 0,
    rgba(243,246,249,.48) 11%,
    rgba(243,246,249,0) 31%
  );
}
.pilot-module-head-media img{
  display:block;
  width:100%;
  height:240px;
  min-height:0;
  max-height:240px;
  object-fit:cover;
  object-position:center 68%;
}
.pilot-eyebrow{
  margin-bottom:6px;
  color:var(--pilot-orange);
  font-size:12px;
  font-weight:600;
  letter-spacing:.12em;
}
.pilot-module-head h1{
  margin:0 0 9px;
  color:var(--pilot-navy);
  font-size:36px;
  line-height:1.05;
  letter-spacing:-.025em;
}
.pilot-hello{margin-bottom:4px;color:#52616d;font-size:14px}
.pilot-lead{margin-bottom:4px;font-size:16px;font-weight:900}
.pilot-sub{color:var(--pilot-muted);font-size:13px}
.pilot-module-version{
  position:absolute;
  top:16px;
  right:18px;
  z-index:3;
  padding:7px 10px;
  background:var(--pilot-navy);
  color:#fff;
  box-shadow:0 1px 2px rgba(3,27,44,.10);
  font-size:10px;
  font-weight:600;
  letter-spacing:.04em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}
.pilot-module-content{
  width:100%;
  max-width:none;
  box-sizing:border-box;
  padding:0 clamp(18px,2.2vw,42px) 42px;
  overflow-x:auto;
  min-width:0;
}
.pilot-module-content > *{
  min-width:0;
}
.pilot-module-content>*,
.pilot-module-content .wrap,
.pilot-module-content [class*="console"]{max-width:none!important}
.pilot-module-content table{max-width:none}

/* Operational toolbars remain compact on desktop. */
.pilot-module-content button,
.pilot-module-content select,
.pilot-module-content input{box-sizing:border-box}
@media(min-width:1050px){
  .pilot-module-content .ska-toolbar,
  .pilot-module-content .ska-controls,
  .pilot-module-content .ska-actions,
  .pilot-module-content [class*="toolbar"]{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    flex-wrap:wrap!important;
    max-width:none!important;
  }
  .pilot-module-content .ska-toolbar button,
  .pilot-module-content .ska-controls button,
  .pilot-module-content .ska-actions button,
  .pilot-module-content [class*="toolbar"] button{
    width:auto!important;
    min-width:0!important;
    white-space:nowrap!important;
  }
}

/* ====================== [UI-PROFILE-001] PROFILE ======================== */

.pilot-drawer{
  position:fixed;
  inset:0;
  z-index:20000;
  pointer-events:none;
  visibility:hidden;
}
.pilot-drawer.is-open{pointer-events:auto;visibility:visible}
.pilot-drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,27,44,.48);
  opacity:0;
  transition:opacity .18s;
}
.pilot-drawer.is-open .pilot-drawer-backdrop{opacity:1}
.pilot-drawer-panel{
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:min(480px,94vw);max-width:100vw;
  box-sizing:border-box;
  background:#fff;
  box-shadow:-18px 0 50px rgba(3,27,44,.18);
  padding:28px;
  transform:translateX(100%);
  transition:transform .2s;
  overflow:auto;
}
.pilot-drawer.is-open .pilot-drawer-panel{transform:none}
.pilot-drawer-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  border-bottom:1px solid var(--pilot-line);
  padding-bottom:18px;
  margin-bottom:22px;
}
.pilot-drawer-head h2{margin:0;font-size:28px}
.pilot-profile-identity{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:22px;
}
.pilot-profile-identity small{
  display:block;
  color:#77838d;
  margin-top:3px;
}
.pilot-profile-form label{
  display:block;
  margin:14px 0;
  color:#53616d;
  font-size:11px;
  font-weight:600;
  letter-spacing:.04em;
}
.pilot-profile-form label small{font-weight:400;letter-spacing:0}
.pilot-profile-form input{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:7px;
  padding:12px;
  border:1px solid #ccd6dd;
  background:#fff;
  color:var(--pilot-navy);
  font:inherit;
}
.pilot-profile-separator{
  border-top:1px solid var(--pilot-line);
  padding-top:20px;
  margin-top:24px;
  font-size:12px;
  font-weight:600;
}
.pilot-primary{
  width:100%;
  border:0;
  background:var(--pilot-orange);
  color:#fff;
  font-weight:600;
  padding:14px;
  cursor:pointer;
  margin-top:8px;
}
.pilot-profile-msg{min-height:20px;font-size:12px;margin:12px 0}
.pilot-profile-msg.is-ok{color:#217a45}
.pilot-profile-msg.is-error{color:#a8322a}

/* =================== [UI-TABLE-STANDARD-001] TABLES ===================== */

/*
 * Standard visual commun :
 * - ligne titres = navy
 * - ligne filtres = claire
 * Modules conservent leurs dimensions/colonnes métier.
 */
.pilot-module-content .ska-table-head-row > th,
.pilot-module-content .ska-sd-head-row > th,
.pilot-module-content .skaf-table-head-row > th,
.pilot-module-content .skas-table-head > th,
.pilot-module-content .skas-table thead > tr:first-child > th,
.pilot-module-content .skahr-table thead > tr:first-child > th,
.pilot-module-content .ska-eval-table thead > tr:first-child > th,
.pilot-module-content .ux-table thead > tr:first-child > th{
  background:var(--pilot-navy)!important;
  color:#fff!important;
  font-weight:600!important;
  font-size:11px!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}
.pilot-module-content .ska-table-filter-row > th,
.pilot-module-content .ska-sd-filter-row > th,
.pilot-module-content .skaf-table-filter-row > th,
.pilot-module-content .skas-filter-row > th,
.pilot-module-content .skahr-filter-row > th,
.pilot-module-content .ska-eval-filter-row > th,
.pilot-module-content .ux-table thead :is(.ux-filter-row, tr:nth-child(2)) > th{
  background:#f1f4f6!important;
  color:#26363e!important;
  border-bottom:1px solid #cbd5da!important;
  text-transform:none!important;
  letter-spacing:0!important;
  padding:6px 8px!important;
  vertical-align:middle!important;
}
.pilot-module-content .ska-table-filter-row input,
.pilot-module-content .ska-table-filter-row select,
.pilot-module-content .ska-sd-filter-row input,
.pilot-module-content .ska-sd-filter-row select,
.pilot-module-content .skaf-table-filter-row input,
.pilot-module-content .skaf-table-filter-row select,
.pilot-module-content .skas-filter-row input,
.pilot-module-content .skas-filter-row select,
.pilot-module-content .ux-table thead :is(.ux-filter-row, tr:nth-child(2)) input,
.pilot-module-content .ux-table thead :is(.ux-filter-row, tr:nth-child(2)) select{
  background:#fff!important;
  color:#26363e!important;
  border:1px solid #cbd5da!important;
  border-radius:6px!important;
  height:30px!important;
  min-height:30px!important;
  padding:4px 8px!important;
  font-size:11px!important;
}
.pilot-module-content :is(.ska-table-filter-row, .ska-sd-filter-row, .skaf-table-filter-row, .skas-filter-row) select,
.pilot-module-content .ux-table thead :is(.ux-filter-row, tr:nth-child(2)) select{
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23062B45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 8px center!important;
  background-size:10px 10px!important;
  padding-right:22px!important;
}
.pilot-module-content :is(.ux-table,.ska-table,.ska-sd-table,.skaf-table,.skas-table,.skahr-table,.ska-eval-table) :is(th,td){
  white-space:nowrap!important;
}

/* ====================== [UI-REFRESH-004] REFRESH ======================== */
/* ================== [SHELL-UX-01] HEADER ACTION HARMONY =================== */

body.pilot-app .pilot-topbar .pilot-user{
  --pilot-header-btn-w:clamp(166px,13.5vw,198px);
  --pilot-header-btn-h:42px;
  position:relative;
  display:inline-grid;
  grid-template-columns:var(--pilot-header-btn-w) var(--pilot-header-btn-w);
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  margin-left:auto;
}
body.pilot-app .pilot-topbar .pilot-user > .pilot-refresh,
body.pilot-app .pilot-topbar .pilot-user > .pilot-user-btn{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:var(--pilot-header-btn-h)!important;
  min-height:var(--pilot-header-btn-h)!important;
  max-height:var(--pilot-header-btn-h)!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #cfd9e1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:var(--pilot-navy)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  box-shadow:0 1px 2px rgba(3,27,44,.04)!important;
  cursor:pointer!important;
}
body.pilot-app .pilot-topbar .pilot-user > .pilot-refresh:hover,
body.pilot-app .pilot-topbar .pilot-user > .pilot-user-btn:hover,
body.pilot-app .pilot-topbar .pilot-user > .pilot-user-btn[aria-expanded="true"]{
  border-color:var(--pilot-navy)!important;
  background:#f1f5f8!important;
}
body.pilot-app .pilot-topbar .pilot-user > .pilot-refresh svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transform:none!important;
}
body.pilot-app .pilot-topbar .pilot-user > .pilot-refresh .pilot-refresh-label{
  display:inline-flex!important;
  align-items:center!important;
  height:18px!important;
  line-height:18px!important;
  font-size:11px!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
}
body.pilot-app .pilot-topbar .pilot-user > .pilot-user-btn{
  justify-content:space-between!important;
}
body.pilot-app .pilot-topbar .pilot-user .pilot-avatar{
  width:26px;
  height:26px;
  flex:0 0 26px;
  border-radius:50%;
  background:var(--pilot-navy);
  color:#fff;
  display:inline-grid;
  place-items:center;
  font-size:12px;
  font-weight:600;
  line-height:1;
}
body.pilot-app .pilot-topbar .pilot-user .pilot-user-name{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
  font-size:12px;
  font-weight:600;
  letter-spacing:0;
  line-height:1.2;
}
body.pilot-app .pilot-topbar .pilot-user .pilot-user-caret{
  flex:0 0 auto;
  font-size:12px;
  line-height:1;
  transform:translateY(-2px);
}

/* ========================= [UI-CLOSE-001] CLOSE ========================= */

.pilot-drawer-close,
.ska-modal-close,
.ska-drawer-close,
.ska-sd-close,
.skaf-modal-close,
.skaf-drawer-close,
.skas-drawer-close{
  box-sizing:border-box!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--pilot-navy)!important;
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 38px!important;
  align-self:flex-start!important;
  font-size:0!important;
  line-height:1!important;
  cursor:pointer!important;
}
.pilot-drawer-close::before,
.ska-modal-close::before,
.ska-drawer-close::before,
.ska-sd-close::before,
.skaf-modal-close::before,
.skaf-drawer-close::before,
.skas-drawer-close::before{
  content:"×";
  display:block;
  font-family:"IBM Plex Sans",Arial,sans-serif;
  font-size:28px;
  font-weight:600;
  line-height:1;
  transform:translateY(-1px);
}
.pilot-drawer-close:hover,
.ska-modal-close:hover,
.ska-drawer-close:hover,
.ska-sd-close:hover,
.skaf-modal-close:hover,
.skaf-drawer-close:hover,
.skas-drawer-close:hover{
  background:#eef3f6!important;
}

/* ============================== RESPONSIVE ================================ */

@media(max-width:1160px){
  .pilot-topbar{
    align-items:center;
    flex-wrap:wrap;
    padding-top:10px;
    gap:10px 20px;
  }
  .pilot-nav{
    order:3;
    flex-basis:100%;
    flex-shrink:0;
    width:100%;
    overflow-x:auto;
    height:54px;
  }
  .pilot-tab{height:51px}
  body.pilot-app .pilot-topbar .pilot-user{
    --pilot-header-btn-w:clamp(154px,24vw,192px);
    margin-left:auto;
  }
}
@media(max-width:980px){
  .pilot-module-head{
    grid-template-columns:1fr;
    height:auto;
    min-height:0;
    max-height:none;
  }
  .pilot-module-head-copy{padding:22px 18px 18px}
  .pilot-module-head-media{height:105px}
  .pilot-module-head-media::before{
    background:linear-gradient(180deg,var(--pilot-bg) 0,rgba(243,246,249,0) 42%);
  }
  .pilot-module-head-media img{
    height:105px;
    max-height:105px;
    object-position:center 70%;
  }
  .pilot-module-head h1{font-size:30px}
  .pilot-module-version{top:14px;right:14px}
}
@media(max-width:600px){
  body.pilot-app .pilot-topbar{
    gap:10px 12px;
    padding-bottom:6px;
  }
  body.pilot-app .pilot-topbar .pilot-user{
    --pilot-header-btn-w:minmax(0,1fr);
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.pilot-app .pilot-topbar .pilot-user > .pilot-refresh,
  body.pilot-app .pilot-topbar .pilot-user > .pilot-user-btn{
    padding:0 9px!important;
    font-size:11px!important;
  }
}
