
html, body{height:100%;margin:0;overflow:hidden;}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;background:#f4f6f8;color:#111;}
#root{width:100%;height:100%;}

.desktop-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:10px 12px;
  height:100%;
  box-sizing:border-box;
  overflow:hidden;
}

.day-column{
  background:#f4f6f8;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  min-height:0;
  position:relative;
}

.day-title{
  margin:0;
  padding:5px 10px 6px;
  font-size:18px;
  font-weight:950;
  color:#0b4f6c;
}

.day-content{
  padding:0 4px 6px;
  overflow:hidden;
  min-height:0;
  flex:1 1 auto;
}

.total{
  background:
    radial-gradient(700px 220px at 0% 0%, rgba(11,79,108,.13), transparent 55%),
    linear-gradient(180deg,#fff 0%,#f6f9fc 100%);
  border:1px solid rgba(0,58,92,.12);
  box-shadow:0 5px 12px rgba(0,0,0,.10);
  border-radius:12px;
}

.total-mini{
  margin:0 4px 10px;
  padding:10px 14px;
  display:grid;
  grid-template-columns:150px 1fr;
  gap:16px;
  align-items:center;
}

.total-left{
  border-right:1px solid rgba(0,58,92,.18);
  padding-right:14px;
}

.tot-title{
  font-size:13px;
  font-weight:950;
  color:#003a5c;
  margin-bottom:5px;
}

.tot-main{
  display:block;
  font-size:32px;
  line-height:1;
  font-weight:950;
  color:#003a5c;
}

.total-right{display:grid;gap:7px;}

.tot-line{
  display:grid;
  grid-template-columns:120px 90px 110px 110px 130px;
  align-items:center;
  gap:10px;
  padding:0 0 7px;
  border-bottom:1px solid rgba(0,58,92,.12);
  font-size:14px;
  font-weight:950;
  color:#003a5c;
}

.tot-line:last-child{border-bottom:none;padding-bottom:0;}

.tot-badge{
  display:inline-flex;
  align-items:center;
  gap:3px;
  font-size:14px;
  font-weight:950;
  color:#003a5c;
  white-space:nowrap;
}

.tot-badge.afternoon,.tot-line .afternoon{color:#1b4d3e;}

.slot-header{
  background:linear-gradient(90deg,#0b4f6c,#0a3f57);
  color:#fff;
  padding:6px 10px;
  margin-top:5px;
  display:flex;
  flex-direction:column;
  border-radius:10px 10px 0 0;
}

.slot-header-main{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  font-weight:950;
  line-height:1.1;
}

.slot-header-main > div:first-child{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
}

.slot-header-right{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.slot-header-sub{display:none;}

.slot-tanks{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:rgba(255,255,255,.12);
  padding:1px 7px;
  border-radius:999px;
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
}

.slot-content{
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:0;
  border:1px solid rgba(0,58,92,.12);
  border-top:none;
  border-radius:0 0 10px 10px;
  overflow:hidden;
  background:#fff;
}

.pax{
  background:#fff;
  border-radius:0;
  padding:4px 8px;
  display:grid;
  grid-template-columns:190px 1fr;
  align-items:center;
  min-height:30px;
  border-bottom:1px solid rgba(0,58,92,.08);
}

.pax:last-child{border-bottom:none;}

.pax-name{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:16px;
  line-height:1.1;
  font-weight:900;
  color:#0b2f45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.pax-diff-icon{font-size:12px;opacity:.45;line-height:1;}

.pax-equip{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  overflow:hidden;
  white-space:nowrap;
  padding-bottom:0;
  align-items:center;
}

.equip-row,.equip-row.special{
  display:flex;
  flex-wrap:nowrap;
  gap:7px;
  border:none;
  padding:0;
  min-width:0;
}

.equip-pill{
  background:transparent;
  color:#003a5c;
  padding:0;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
  line-height:1.1;
}

.empty-day{
  height:100%;
  min-height:520px;
  border:1px solid rgba(0,58,92,.12);
  border-radius:12px;
  background:rgba(255,255,255,.35);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#0b4f6c;
  font-weight:950;
  text-align:center;
}

.empty-icon{font-size:42px;margin-bottom:18px;}
.empty-title{font-size:24px;}
.empty-sub{font-size:19px;font-style:italic;font-weight:700;margin-top:6px;}

.skeleton{opacity:.4;}
.skeleton .equip-pill{
  background:linear-gradient(90deg,#e9f1f7 25%,#f4f8fb 37%,#e9f1f7 63%);
  background-size:400% 100%;
  animation:shimmer 1.4s ease infinite;
}

@keyframes shimmer{0%{background-position:100% 0;}100%{background-position:0 0;}}

.header-signature{
  position:absolute;
  top:10px;
  right:12px;
  text-align:right;
  font-size:11px;
  font-weight:600;
  letter-spacing:.4px;
  color:rgba(0,0,0,1);
  opacity:.95;
  z-index:40;
  pointer-events:none;
  user-select:none;
  white-space:nowrap;
}

#loadingOverlay{
  position:fixed;
  inset:0;
  background:linear-gradient(180deg,#f4f6f8,#eef2f5);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.loader-box{display:flex;flex-direction:column;align-items:center;gap:12px;}
.spinner{
  width:42px;
  height:42px;
  border-radius:50%;
  border:4px solid rgba(11,79,108,.15);
  border-top-color:#0b4f6c;
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg);}}
.loader-text{font-size:13px;font-weight:700;color:#0b4f6c;opacity:.8;}

.fade-in{
  opacity:0;
  transform:translateY(6px);
  animation:fadeInUp .35s ease forwards;
}
@keyframes fadeInUp{to{opacity:1;transform:translateY(0);}}

#app{
  width:1920px;
  height:1080px;
  position:absolute;
  top:0;
  left:0;
}

#app{width:1920px;height:1080px;position:absolute;transform-origin:top left;transform:scale(.50);left:0;top:8px}