:root{
  --gim-bg:#050b15;
  --gim-panel:#0b1626;
  --gim-panel-2:#101d30;
  --gim-card:#ffffff;
  --gim-text:#0b1220;
  --gim-muted:#64748b;
  --gim-line:#e8edf4;
  --gim-primary:#071426;
  --gim-accent:#f5a623;
  --gim-accent-2:#ff7a00;
  --gim-success:#16a34a;
  --gim-warning:#d97706;
  --gim-danger:#dc2626;
  --gim-shadow:0 24px 70px rgba(2,8,23,.22);
  --gim-radius:26px;
  --gim-safe-bottom:env(safe-area-inset-bottom,0px);
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  min-height:100%;
  background:#edf2f7;
  color:var(--gim-text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing:antialiased;
}

body{
  overflow-x:hidden;
}

button,
input,
select{
  font:inherit;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}

.gim-app{
  min-height:100vh;
  background:
    radial-gradient(circle at 15% -20%,rgba(245,166,35,.18),transparent 34%),
    linear-gradient(180deg,#071426 0,#0a1728 255px,#eef3f8 255px);
  padding-bottom:calc(92px + var(--gim-safe-bottom));
}

.gim-app-header{
  position:sticky;
  top:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:
    calc(10px + env(safe-area-inset-top,0px))
    16px
    10px;
  background:rgba(7,20,38,.92);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(24px);
}

.gim-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}

.gim-brand-logo{
  width:48px;
  height:48px;
  border-radius:15px;
  object-fit:contain;
  background:#fff;
  padding:4px;
  box-shadow:0 10px 30px rgba(0,0,0,.26);
}

.gim-brand-copy{
  min-width:0;
}

.gim-brand-copy strong{
  color:#fff;
  display:block;
  font-size:16px;
  line-height:1.12;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.gim-brand-copy span{
  display:block;
  color:#a8b5c7;
  font-size:11px;
  margin-top:4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.gim-status-pill{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:8px 11px;
  font-size:12px;
  font-weight:900;
}

.gim-status-pill.online{
  background:rgba(22,163,74,.17);
  border-color:rgba(34,197,94,.4);
  color:#86efac;
}

.gim-main{
  width:min(100%,860px);
  margin:0 auto;
  padding:16px 14px 26px;
}

.gim-hero{
  color:#fff;
  padding:8px 2px 14px;
}

.gim-eyebrow{
  color:#f8c661;
  font-weight:1000;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-size:11px;
}

.gim-hero h1{
  margin:8px 0 5px;
  font-size:clamp(27px,7vw,42px);
  letter-spacing:-.045em;
  line-height:1;
}

.gim-hero p{
  margin:0;
  color:#b5c2d3;
  font-size:14px;
  line-height:1.55;
}

.gim-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  border-radius:var(--gim-radius);
  box-shadow:var(--gim-shadow);
  margin-bottom:14px;
  overflow:hidden;
}

.gim-card-pad{
  padding:18px;
}

.gim-map-card{
  position:relative;
  height:min(54vh,500px);
  min-height:355px;
  background:#dce5ef;
}

.gim-map-card iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#dce5ef;
}

.gim-map-empty{
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  padding:32px;
  color:#475569;
  background:
    linear-gradient(135deg,#dfe7f0,#f4f7fa);
}

.gim-map-float{
  position:absolute;
  left:12px;
  right:12px;
  top:12px;
  display:flex;
  gap:8px;
  justify-content:space-between;
  pointer-events:none;
}

.gim-map-float > *{
  pointer-events:auto;
}

.gim-map-badge{
  background:rgba(7,20,38,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  padding:9px 12px;
  font-size:12px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(2,8,23,.22);
  backdrop-filter:blur(14px);
}

.gim-map-job{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  background:rgba(255,255,255,.96);
  border-radius:20px;
  padding:14px;
  box-shadow:0 16px 40px rgba(2,8,23,.23);
  backdrop-filter:blur(18px);
}

.gim-map-job strong{
  display:block;
  font-size:15px;
  margin-bottom:4px;
}

.gim-map-job small{
  color:#64748b;
  line-height:1.4;
}

.gim-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.gim-metric{
  background:#f8fafc;
  border:1px solid #edf1f5;
  border-radius:18px;
  padding:14px;
}

.gim-metric span{
  display:block;
  font-size:11px;
  color:#64748b;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.gim-metric strong{
  display:block;
  font-size:21px;
  margin-top:6px;
  letter-spacing:-.025em;
}

.gim-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:2px 0 12px;
}

.gim-section-title h2{
  margin:0;
  font-size:21px;
  letter-spacing:-.025em;
}

.gim-service-strip{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:0 0 12px;
  scrollbar-width:none;
}

.gim-service-strip::-webkit-scrollbar{
  display:none;
}

.gim-chip{
  border:1px solid #dfe6ee;
  background:#fff;
  color:#334155;
  border-radius:999px;
  padding:9px 13px;
  white-space:nowrap;
  font-size:12px;
  font-weight:900;
}

.gim-chip.active{
  background:var(--gim-primary);
  border-color:var(--gim-primary);
  color:#fff;
}

.gim-btn{
  appearance:none;
  border:0;
  border-radius:15px;
  padding:12px 15px;
  font-weight:1000;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  min-height:44px;
}

.gim-btn.primary{
  color:#111827;
  background:
    linear-gradient(
      135deg,
      var(--gim-accent),
      var(--gim-accent-2)
    );
}

.gim-btn.dark{
  background:var(--gim-primary);
  color:#fff;
}

.gim-btn.light{
  background:#f3f6f9;
  color:#172033;
  border:1px solid #e4e9ef;
}

.gim-btn.danger{
  background:#fff1f2;
  color:#b91c1c;
  border:1px solid #fecdd3;
}

.gim-btn.full{
  width:100%;
}

.gim-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.gim-job{
  border:1px solid #e8edf3;
  border-radius:20px;
  padding:15px;
  margin-top:10px;
  background:#fff;
}

.gim-job:first-child{
  margin-top:0;
}

.gim-job-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.gim-job-head strong{
  font-size:15px;
}

.gim-job-status{
  border-radius:999px;
  padding:6px 9px;
  background:#f1f5f9;
  color:#475569;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.gim-job-route{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:7px;
  margin:14px 0;
  color:#334155;
  font-size:13px;
  line-height:1.45;
}

.gim-dot{
  width:11px;
  height:11px;
  margin:4px auto 0;
  border-radius:50%;
  background:var(--gim-accent);
  box-shadow:0 0 0 4px rgba(245,166,35,.16);
}

.gim-dot.end{
  background:#16a34a;
  box-shadow:0 0 0 4px rgba(22,163,74,.13);
}

.gim-notice{
  border-radius:18px;
  padding:13px 14px;
  font-size:13px;
  line-height:1.5;
  margin-bottom:12px;
  background:#fff8e7;
  border:1px solid #f7dda0;
  color:#754b00;
}

.gim-notice.success{
  background:#ecfdf3;
  border-color:#bbf7d0;
  color:#166534;
}

.gim-notice.dark{
  background:#0b1626;
  border-color:#1c2d43;
  color:#d6deea;
}

.gim-empty{
  text-align:center;
  color:#64748b;
  padding:25px 14px;
}

.gim-profile{
  display:grid;
  gap:10px;
}

.gim-profile-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid #edf1f5;
  padding:10px 0;
  font-size:13px;
}

.gim-profile-row:last-child{
  border-bottom:0;
}

.gim-profile-row span{
  color:#64748b;
}

.gim-profile-row strong{
  text-align:right;
}

.gim-bottom-nav{
  position:fixed;
  z-index:100;
  left:10px;
  right:10px;
  bottom:calc(8px + var(--gim-safe-bottom));
  height:68px;
  max-width:760px;
  margin:auto;
  border-radius:24px;
  background:rgba(7,20,38,.97);
  border:1px solid rgba(255,255,255,.1);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:2px;
  padding:6px;
  box-shadow:0 20px 55px rgba(2,8,23,.35);
  backdrop-filter:blur(24px);
}

.gim-nav-btn{
  appearance:none;
  border:0;
  background:transparent;
  color:#8fa0b6;
  border-radius:17px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:3px;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
}

.gim-nav-btn b{
  font-size:18px;
  line-height:1;
}

.gim-nav-btn.active{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.gim-nav-btn.action{
  color:#111827;
  background:
    linear-gradient(
      135deg,
      var(--gim-accent),
      var(--gim-accent-2)
    );
  transform:translateY(-14px);
  box-shadow:0 10px 24px rgba(245,166,35,.3);
}

.gim-sheet{
  position:fixed;
  z-index:500;
  inset:0;
  background:rgba(1,7,17,.82);
  backdrop-filter:blur(10px);
  display:flex;
  flex-direction:column;
}

.gim-sheet-head{
  background:#071426;
  color:#fff;
  padding:
    calc(10px + env(safe-area-inset-top,0px))
    14px
    10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.gim-sheet-head strong{
  font-size:15px;
}

.gim-sheet-body{
  flex:1;
  background:#fff;
  overflow:hidden;
}

.gim-sheet iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#fff;
}

.gim-loading{
  min-height:100vh;
  background:#071426;
  color:#fff;
  display:grid;
  place-items:center;
  text-align:center;
  padding:30px;
}

.gim-loading img{
  width:92px;
  height:92px;
  object-fit:contain;
  background:#fff;
  border-radius:25px;
  padding:6px;
  margin-bottom:18px;
}

.gim-error{
  background:#fff;
  max-width:520px;
  border-radius:28px;
  padding:24px;
  color:#172033;
  box-shadow:var(--gim-shadow);
}

@media(min-width:760px){
  .gim-main{
    padding-top:22px;
  }

  .gim-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .gim-map-card{
    min-height:470px;
  }
}
