/* MİLOT Canlı V4 — responsive dijital operasyon ofisi */
#office{
  --office-ink:#203242;
  --office-muted:#758694;
  --office-line:#dce5eb;
  --office-surface:#ffffff;
  --office-floor:#0c2f43;
  padding-bottom:28px;
}

#office *{box-sizing:border-box}
#office .office-page{display:grid;gap:12px;min-width:0}
#office .office-page-head{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:2px 2px 0;
}
#office .office-page-head h2{
  margin:0;
  color:#172634;
  font-size:23px;
  line-height:1.15;
  letter-spacing:-.025em;
}
#office .office-page-head p{
  max-width:760px;
  margin:5px 0 0;
  color:#71808e;
  font-size:14px;
  line-height:1.45;
}
#office .office-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
#office .office-live-pill,
#office .office-user-pill,
#office .office-motion-toggle,
#office #officeRefreshBtn{
  min-height:38px;
  border:1px solid #d8e2e8;
  border-radius:10px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  background:#fff;
  color:#4a5e6e;
  font:800 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  box-shadow:0 3px 11px rgba(20,45,61,.05);
}
#office .office-motion-toggle,
#office #officeRefreshBtn{cursor:pointer}
#office .office-motion-toggle:hover,
#office #officeRefreshBtn:hover{border-color:#b9cad5;background:#f8fbfc}
#office .office-motion-toggle:focus-visible,
#office #officeRefreshBtn:focus-visible{
  outline:3px solid rgba(70,128,190,.24);
  outline-offset:2px;
}
#office .office-motion-toggle.is-off{opacity:.64}
#office .office-live-pill i{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#33b875;
  box-shadow:0 0 0 4px rgba(51,184,117,.12),0 0 11px rgba(51,184,117,.28);
}
#office .office-live-pill.is-warn i{
  background:#d99129;
  box-shadow:0 0 0 4px rgba(217,145,41,.12);
}
#office .office-user-pill svg,
#office .office-motion-toggle svg,
#office #officeRefreshBtn svg{width:15px;height:15px}

/* Canlı durum şeridi */
#office .office-kpis{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
}
#office .office-kpi{
  min-height:66px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid #dde5eb;
  border-radius:12px;
  background:linear-gradient(180deg,#fff,#f9fbfc);
  box-shadow:0 4px 14px rgba(25,45,58,.045);
}
#office .office-kpi-ico{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#edf3ff;
  color:#4f73c9;
}
#office .office-kpi-ico svg{width:19px;height:19px}
#office .office-kpi.green .office-kpi-ico{background:#e8f8ef;color:#258b59}
#office .office-kpi.amber .office-kpi-ico{background:#fff4df;color:#bf7a18}
#office .office-kpi.red .office-kpi-ico{background:#feedef;color:#bd3d48}
#office .office-kpi>div>span{display:block;color:#738392;font-size:11px;font-weight:800}
#office .office-kpi>div>strong{
  display:inline-block;
  margin-top:2px;
  color:#203242;
  font-size:21px;
  line-height:1;
}
#office .office-kpi>div>small{
  display:block;
  margin-top:3px;
  color:#8c99a4;
  font-size:10px;
  line-height:1.2;
}

/* Ana operasyon yüzeyi */
#office .office-grid{display:block;min-width:0}
#office .office-main-panel{
  min-width:0;
  overflow:hidden;
  border:1px solid #d7e1e8;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 32px rgba(20,43,57,.08);
}
#office .office-toolbar{
  display:block;
  min-height:54px;
  padding:8px 12px;
  border-bottom:1px solid #e2e9ee;
  background:linear-gradient(180deg,#fff,#f7fafb);
}
#office .office-toolbar-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
#office .office-toolbar-title{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}
#office .office-toolbar-title>span{
  width:34px;
  height:34px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eaf2ff;
  color:#4774c7;
}
#office .office-toolbar-title svg{width:18px;height:18px}
#office .office-toolbar-title b{display:block;color:#273b4b;font-size:13px}
#office .office-toolbar-title small{
  display:block;
  margin-top:2px;
  color:#7b8b98;
  font-size:11px;
  line-height:1.3;
}
#office .office-toolbar-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  color:#718391;
  font-size:10.5px;
}
#office .office-toolbar-meta span{
  padding:5px 8px;
  border:1px solid #e0e7ec;
  border-radius:999px;
  background:#fff;
  white-space:nowrap;
}
#office .office-toolbar-meta b{color:#2f4656}

/* Toplu evrak durumu */
#office .office-toolbar-batch{
  display:none;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:5px 12px;
  margin-top:8px;
  padding:7px 10px 8px;
  border:1px solid #d4e6e2;
  border-radius:10px;
  background:linear-gradient(90deg,#edf3ff,#eaf8f1);
}
#office .office-toolbar-batch.is-active{display:grid}
#office .office-toolbar-batch>span{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
#office .office-toolbar-batch>span>i{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#3fc07c;
  box-shadow:0 0 0 5px rgba(63,192,124,.12);
  animation:officeBatchPulse 1.3s ease-in-out infinite;
}
#office .office-toolbar-batch b{color:#294758;font-size:11px;white-space:nowrap}
#office .office-toolbar-batch em{
  justify-self:end;
  color:#627d89;
  font-size:10px;
  font-style:normal;
  white-space:nowrap;
}
#office .office-toolbar-batch-track{
  grid-column:1/-1;
  height:4px;
  overflow:hidden;
  border-radius:999px;
  background:#dbe7e9;
}
#office .office-toolbar-batch-track i,
#office .office-batch-progress i,
#office .office-stage-progress>div i{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#5879ee 0%,#35c3c7 52%,#42b883 100%);
  transition:width .45s ease;
}

/* Dijital ofis sahnesi */
#office .office-scroll{
  width:100%;
  min-height:0;
  overflow:hidden;
  position:relative;
  background:#0d3043;
  overscroll-behavior:contain;
}
#office .office-stage{
  position:relative;
  width:1060px;
  min-width:1060px;
  height:520px;
  overflow:hidden;
  isolation:isolate;
  transform-origin:0 0;
  background:
    radial-gradient(circle at 51% 49%,rgba(77,185,226,.17),transparent 23%),
    radial-gradient(circle at 15% 74%,rgba(61,184,137,.09),transparent 24%),
    radial-gradient(circle at 84% 24%,rgba(140,103,219,.09),transparent 22%),
    linear-gradient(rgba(191,226,241,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(191,226,241,.075) 1px,transparent 1px),
    linear-gradient(145deg,#0c2e42 0%,#174a61 49%,#0e3549 100%);
  background-size:auto,auto,auto,30px 30px,30px 30px,auto;
}
#office .office-stage:before{
  content:"";
  position:absolute;
  inset:13px;
  z-index:0;
  pointer-events:none;
  border:1px solid rgba(178,222,239,.22);
  border-radius:23px;
  box-shadow:inset 0 0 62px rgba(79,177,216,.06);
}
#office .office-stage:after{
  content:"MİLOT  •  CANLI OPERASYON KATI";
  position:absolute;
  left:24px;
  bottom:11px;
  z-index:0;
  color:rgba(215,239,248,.36);
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  pointer-events:none;
}
#office .office-mobile-caption{display:none}

#office .office-flow-svg{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
#office .office-flow-mobile{display:none}
#office .office-flow{
  fill:none;
  opacity:.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 3px currentColor);
}
#office .office-flow.glow{opacity:.1}
#office .office-flow-dash{
  stroke-dasharray:8 12;
  animation:officeDash 2.7s linear infinite;
}

/* Çalışma istasyonları */
#office .office-station{
  --accent:#4d89d8;
  position:absolute;
  left:var(--x);
  top:var(--y);
  z-index:5;
  width:190px;
  height:132px;
  padding:0;
  overflow:visible;
  border:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
  text-align:left;
  cursor:pointer;
  transform:translate(-50%,-50%);
  transition:filter .18s ease,transform .18s ease;
}
#office .office-station:before{
  content:"";
  position:absolute;
  left:3px;
  right:3px;
  bottom:0;
  z-index:0;
  height:78px;
  border:1px solid color-mix(in srgb,var(--accent) 24%,rgba(255,255,255,.38));
  border-radius:50%;
  background:radial-gradient(ellipse at center,color-mix(in srgb,var(--accent) 18%,rgba(247,252,254,.90)),rgba(210,229,238,.46) 58%,rgba(117,185,214,.05) 77%,transparent 78%);
  box-shadow:0 12px 22px rgba(2,22,34,.22),0 0 24px color-mix(in srgb,var(--accent) 12%,transparent);
}
#office .office-station:after{
  content:"";
  position:absolute;
  left:19px;
  right:19px;
  bottom:14px;
  z-index:0;
  height:5px;
  border-radius:50%;
  background:rgba(1,18,29,.31);
  filter:blur(3px);
}
#office .office-station:hover{filter:brightness(1.08);transform:translate(-50%,-50%) translateY(-3px)}
#office .office-station:focus-visible{
  outline:3px solid color-mix(in srgb,var(--accent) 48%,#fff);
  outline-offset:6px;
  border-radius:20px;
}
#office .office-station.is-receiving{animation:officeReceive 1.05s ease}
#office .office-station.is-leaving .office-agent-seat{animation:officeStand .42s ease forwards}
#office .office-station-label{
  position:absolute;
  left:50%;
  top:-12px;
  z-index:11;
  max-width:184px;
  padding:6px 10px;
  transform:translateX(-50%);
  border:1.5px solid var(--accent);
  border-radius:9px;
  background:rgba(252,254,255,.97);
  box-shadow:0 5px 13px rgba(5,28,41,.17);
  color:#1f3444;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
#office .office-station-status{
  position:absolute;
  left:5px;
  top:21px;
  z-index:10;
  display:flex;
  align-items:center;
  gap:5px;
  color:#d9eef6;
  font-size:9px;
  font-weight:850;
  text-shadow:0 1px 3px rgba(0,0,0,.42);
}
#office .office-station-status i{
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:#47d184;
  box-shadow:0 0 0 3px rgba(71,209,132,.12);
}

/* Karakter, masa ve rol nesneleri */
#office .office-agent-seat{
  position:absolute;
  left:1px;
  bottom:10px;
  z-index:7;
  width:82px;
  height:112px;
  display:grid;
  place-items:end center;
  overflow:visible;
  transition:opacity .18s,transform .18s;
}
#office .office-agent-seat:after{
  content:"";
  position:absolute;
  left:14px;
  bottom:-1px;
  z-index:-1;
  width:54px;
  height:8px;
  border-radius:50%;
  background:rgba(1,19,30,.38);
  filter:blur(2px);
}
#office .office-agent-seat .office-voxel-person{
  width:80px;
  height:110px;
  display:block;
  overflow:visible;
  transform:none;
  transform-origin:50% 100%;
  filter:drop-shadow(0 6px 4px rgba(2,19,30,.3));
  image-rendering:pixelated;
  animation:officeVoxelStandingIdle 3.4s steps(2,end) infinite;
}
#office .office-voxel-person .voxel-head{transform-box:fill-box;transform-origin:center}
#office .office-voxel-person .voxel-hair{transform:none}
#office .office-voxel-person .arm,
#office .office-voxel-person .leg{transform-box:fill-box;transform-origin:50% 8%}
#office .office-station.is-away .office-agent-seat{opacity:.11;transform:none}
#office .office-station.is-away .office-agent-seat:after{opacity:.2}

#office .office-desk{
  position:absolute;
  left:79px;
  right:17px;
  bottom:20px;
  z-index:4;
  height:40px;
  border:1.5px solid #4b3426;
  border-radius:6px 6px 10px 10px;
  background:linear-gradient(180deg,#9d6c45,#70482e);
  box-shadow:0 7px 10px rgba(25,20,17,.28);
}
#office .office-desk:after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:-10px;
  height:12px;
  border-left:5px solid #314650;
  border-right:5px solid #314650;
}
#office .office-monitor{
  position:absolute;
  left:104px;
  bottom:60px;
  z-index:5;
  width:58px;
  height:40px;
  overflow:hidden;
  border:3px solid #233846;
  border-radius:6px;
  background:linear-gradient(160deg,#123e55,#092638);
  box-shadow:0 0 0 1px #72caeb,0 0 13px color-mix(in srgb,var(--accent) 34%,transparent);
}
#office .office-monitor:before{
  content:"";
  position:absolute;
  inset:6px;
  opacity:.56;
  background:repeating-linear-gradient(180deg,color-mix(in srgb,var(--accent) 80%,#fff) 0 2px,transparent 2px 7px);
}
#office .office-role-prop{
  position:absolute;
  right:3px;
  top:38px;
  z-index:8;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--accent) 37%,#dbe5eb);
  border-radius:11px;
  background:color-mix(in srgb,var(--accent) 14%,rgba(255,255,255,.95));
  box-shadow:0 5px 12px rgba(8,31,44,.1);
  color:var(--accent);
}
#office .office-role-prop svg{width:22px;height:22px}
#office .office-station-stat{
  position:absolute;
  right:-4px;
  bottom:2px;
  z-index:9;
  min-width:66px;
  padding:6px 7px;
  border:1px solid #d8e4ea;
  border-radius:9px;
  background:rgba(255,255,255,.97);
  box-shadow:0 4px 11px rgba(8,32,45,.15);
}
#office .office-station-stat span,
#office .office-station-stat small{
  display:block;
  max-width:74px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#office .office-station-stat span{color:#71828f;font-size:8.5px;font-weight:800}
#office .office-station-stat b{display:block;color:#243a4a;font-size:16px;line-height:1.05}
#office .office-station-stat small{margin-top:2px;color:var(--accent);font-size:8px;font-weight:850}
#office .office-role-match .office-monitor{box-shadow:0 0 0 1px #6fd3a1,0 0 15px rgba(66,184,131,.3)}
#office .office-role-ecr .office-role-prop{border-style:dashed}
#office .office-role-law .office-role-prop{border-radius:50%}
#office .office-role-map .office-monitor:before{
  background:radial-gradient(circle at 62% 42%,rgba(111,206,247,.86) 0 3px,transparent 4px),repeating-linear-gradient(45deg,rgba(111,206,247,.3) 0 1px,transparent 1px 6px);
}
#office .office-role-archive .office-desk:before{
  content:"";
  position:absolute;
  right:7px;
  top:-11px;
  width:22px;
  height:10px;
  border:1px solid #879d78;
  border-bottom:0;
  border-radius:3px 3px 0 0;
  background:#d7e4d0;
}

/* İnsan onay merkezi */
#office .office-hub{
  position:absolute;
  left:52%;
  top:50%;
  z-index:7;
  width:184px;
  height:130px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:4px solid rgba(247,252,254,.98);
  border-radius:50%;
  background:linear-gradient(180deg,#dcecf4,#a7c8d7);
  box-shadow:0 14px 27px rgba(2,24,39,.26),0 0 0 4px rgba(55,156,207,.23),0 0 34px rgba(58,173,234,.22);
  cursor:pointer;
  transform:translate(-50%,-50%);
}
#office .office-hub:before{
  content:"";
  position:absolute;
  inset:11px;
  border-radius:50%;
  background:linear-gradient(180deg,#173d54,#0c293c);
  box-shadow:inset 0 0 0 1.5px rgba(103,202,245,.26);
}
#office .office-hub:hover{filter:brightness(1.06)}
#office .office-hub:focus-visible{
  outline:3px solid rgba(255,216,102,.7);
  outline-offset:6px;
}
#office .office-hub-label{
  position:absolute;
  left:50%;
  top:-25px;
  z-index:10;
  padding:6px 11px;
  transform:translateX(-50%);
  border:1.5px solid #d8a928;
  border-radius:9px;
  background:#ffda67;
  box-shadow:0 5px 13px rgba(25,34,40,.17);
  color:#49370b;
  font-size:11px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
#office .office-hub-console{
  position:relative;
  z-index:2;
  width:136px;
  height:61px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  padding-top:7px;
  border:1.5px solid #6bc8ef;
  border-radius:46% 46% 31% 31%;
  background:linear-gradient(180deg,#24516a,#112e41);
  box-shadow:0 0 17px rgba(73,189,239,.28);
}
#office .office-hub-screen{
  position:relative;
  width:36px;
  height:27px;
  overflow:hidden;
  border:1px solid #7ed2f4;
  border-radius:4px;
  background:linear-gradient(180deg,#2189c8,#173e6b);
  box-shadow:0 0 9px rgba(81,196,242,.28);
}
#office .office-hub-screen:before{
  content:"";
  position:absolute;
  inset:4px;
  opacity:.56;
  background:repeating-linear-gradient(180deg,rgba(171,230,255,.82) 0 1px,transparent 1px 5px);
}
#office .office-hub-screen:nth-child(2){height:31px;transform:translateY(-4px)}
#office .office-supervisor{
  position:absolute;
  left:50%;
  bottom:1px;
  z-index:5;
  width:84px;
  height:115px;
  display:grid;
  place-items:end center;
  transform:translateX(-50%);
}
#office .office-supervisor .office-voxel-person{
  width:82px;
  height:114px;
  transform:none;
  transform-origin:50% 100%;
  filter:drop-shadow(0 5px 4px rgba(2,19,30,.3));
}
#office .office-hub-stats{
  position:absolute;
  right:-55px;
  top:24px;
  z-index:9;
  width:72px;
  display:grid;
  gap:5px;
}
#office .office-hub-stat{
  padding:5px 6px;
  border:1px solid rgba(215,227,234,.99);
  border-radius:8px;
  background:rgba(255,255,255,.97);
  box-shadow:0 4px 10px rgba(9,35,49,.16);
}
#office .office-hub-stat span{display:block;color:#6f818f;font-size:7.5px;font-weight:750}
#office .office-hub-stat b{display:block;margin-top:1px;font-size:14px}
#office .office-hub-stat.red b{color:#c43d47}
#office .office-hub-stat.blue b{color:#3d72bd}
#office .office-hub-stat.green b{color:#278c59}

/* Veri paketi taşıyan uzman */
#office .office-courier{
  position:absolute;
  left:0;
  top:0;
  z-index:25;
  width:86px;
  height:114px;
  pointer-events:none;
  will-change:transform;
  filter:drop-shadow(0 9px 8px rgba(2,20,32,.34));
}
#office .office-courier .office-voxel-person{
  position:absolute;
  left:1px;
  bottom:0;
  width:82px;
  height:112px;
  transform-origin:50% 100%;
}
#office .office-courier.walking .office-voxel-person .voxel-leg-left{animation:officeVoxelLegL .42s steps(2,end) infinite}
#office .office-courier.walking .office-voxel-person .voxel-leg-right{animation:officeVoxelLegR .42s steps(2,end) infinite}
#office .office-courier.walking .office-voxel-person .voxel-arm-left{animation:officeVoxelArmL .42s steps(2,end) infinite}
#office .office-courier.walking .office-voxel-person .voxel-arm-right{animation:officeVoxelArmR .42s steps(2,end) infinite}
#office .office-packet{
  --packet:#54b6ff;
  position:absolute;
  right:-1px;
  top:35px;
  width:27px;
  height:24px;
  display:grid;
  place-items:center;
  border:1.5px solid rgba(255,255,255,.94);
  border-radius:6px;
  background:color-mix(in srgb,var(--packet) 78%,#fff);
  box-shadow:0 0 0 1.5px color-mix(in srgb,var(--packet) 52%,transparent),0 0 15px var(--packet);
  color:#fff;
  transition:opacity .2s;
}
#office .office-packet svg{width:14px;height:14px}
#office .office-courier.returning .office-packet{opacity:0}
#office .office-courier-tag{
  position:absolute;
  left:67px;
  top:5px;
  max-width:170px;
  overflow:hidden;
  padding:5px 8px;
  border:1px solid rgba(147,207,232,.34);
  border-radius:999px;
  background:rgba(7,28,41,.94);
  color:#edf8fc;
  font-size:9px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#office .office-courier.returning .office-courier-tag{display:none}
#office .office-route-hint{
  position:absolute;
  left:52%;
  bottom:10px;
  z-index:4;
  padding:5px 9px;
  transform:translateX(-50%);
  border:1px solid rgba(157,212,235,.24);
  border-radius:999px;
  background:rgba(5,25,38,.78);
  color:#d9eef6;
  font-size:8px;
  backdrop-filter:blur(5px);
}

#office .office-stage.batch-active{box-shadow:inset 0 0 45px rgba(58,176,217,.12)}
#office .office-stage.batch-active .office-flow-dash{animation-duration:2.2s;opacity:.92}
#office .office-station.batch-busy:before{
  box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 54%,transparent),0 0 24px color-mix(in srgb,var(--accent) 40%,transparent);
}
#office .office-station.batch-busy .office-station-status i{
  box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 19%,transparent),0 0 13px var(--accent);
  animation:officeBatchPulse 1.2s ease-in-out infinite;
}

/* Sahne altı ilerleme */
#office .office-stage-progress{
  display:grid;
  grid-template-columns:auto minmax(180px,1fr);
  align-items:center;
  gap:12px;
  padding:9px 14px 10px;
  border-top:1px solid #d7e5e9;
  background:linear-gradient(180deg,#f8fbfc,#eef6f7);
}
#office .office-stage-progress>span{
  display:flex;
  align-items:baseline;
  gap:8px;
  white-space:nowrap;
}
#office .office-stage-progress b{color:#344f60;font-size:11px}
#office .office-stage-progress em{color:#728793;font-size:10px;font-style:normal}
#office .office-stage-progress>div{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#dce8eb;
  box-shadow:inset 0 1px 2px rgba(25,54,69,.09);
}
#office .office-stage-progress.is-active>div i{box-shadow:0 0 15px rgba(53,195,199,.4)}

/* Operasyon panelleri */
#office .office-side{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  align-items:stretch;
  gap:12px;
  margin-top:12px;
}
#office .office-side-card{
  overflow:hidden;
  border:1px solid #dbe4ea;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 16px rgba(24,44,57,.05);
}
#office .office-batch-card{
  grid-column:1/-1;
  border-color:#d2e1e9;
}
#office .office-batch-card.is-active{
  border-color:#73b6d3;
  box-shadow:0 7px 22px rgba(29,113,151,.12);
}
#office .office-side-head{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 14px;
  border-bottom:1px solid #e8eef2;
}
#office .office-side-head strong{color:#263c4c;font-size:13px}
#office .office-side-head small{color:#7d8e9a;font-size:10.5px;text-align:right}
#office .office-empty{padding:20px 14px;color:#72828f;font-size:11px;text-align:center}

#office .office-feed{
  max-height:198px;
  overflow:auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
#office .office-feed-item{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:11px 12px;
  border-right:1px solid #edf1f4;
  border-bottom:1px solid #edf1f4;
}
#office .office-feed-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:color-mix(in srgb,var(--feed,#4d89d8) 12%,#fff);
  color:var(--feed,#4d89d8);
}
#office .office-feed-icon svg{width:16px;height:16px}
#office .office-feed-item>div{min-width:0}
#office .office-feed-item b{display:block;color:#2d4252;font-size:11px}
#office .office-feed-item>div>span{
  display:block;
  overflow:hidden;
  margin-top:2px;
  color:#788894;
  font-size:10px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#office .office-feed-item time{color:#8796a0;font-size:9px;white-space:nowrap}

#office .office-load-list{display:grid;gap:11px;padding:14px}
#office .office-load-row{
  display:grid;
  grid-template-columns:82px minmax(0,1fr) 30px;
  align-items:center;
  gap:9px;
  color:#5e7280;
  font-size:11px;
}
#office .office-load-row b{color:#2c4150;font-size:11px;text-align:right}
#office .office-load-bar{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e9eff2;
}
#office .office-load-bar i{
  display:block;
  width:var(--w,0%);
  height:100%;
  border-radius:inherit;
  background:var(--bar,#4e85d3);
  transition:width .5s ease;
}
#office .office-legend{display:flex;flex-wrap:wrap;gap:7px;padding:14px}
#office .office-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border:1px solid #e0e7eb;
  border-radius:999px;
  background:#f8fafb;
  color:#5e7180;
  font-size:10px;
}
#office .office-legend i{width:7px;height:7px;border-radius:50%;background:var(--dot,#4d89d8)}
#office .office-note{
  padding:12px 14px;
  border-top:1px solid #e8eef2;
  background:#f7fafb;
  color:#6d7e8b;
  font-size:10.5px;
  line-height:1.55;
}
#office .office-note b{color:#3b5363}

/* Canlı evrak kuyruğu */
#office .office-batch-summary{
  position:relative;
  display:grid;
  grid-template-columns:repeat(6,minmax(74px,1fr));
  gap:8px;
  padding:12px 14px 9px;
  border-bottom:1px solid #e7eef2;
  background:linear-gradient(180deg,#fbfdfe,#f3f8fa);
}
#office .office-batch-summary>span{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid #dfe8ed;
  border-radius:10px;
  background:#fff;
}
#office .office-batch-summary>span b{color:#263d4d;font-size:19px;line-height:1}
#office .office-batch-summary>span small{color:#748794;font-size:9.5px;font-weight:750}
#office .office-batch-summary>span.ok b{color:#288c5c}
#office .office-batch-summary>span.manual b{color:#bc7a16}
#office .office-batch-summary>span.err b{color:#bd404a}
#office .office-batch-progress{
  grid-column:1/-1;
  height:6px;
  overflow:hidden;
  margin-top:1px;
  border-radius:999px;
  background:#e1eaee;
}
#office .office-batch-queue{
  max-height:238px;
  overflow:auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  background:#fff;
}
#office .office-batch-item{
  min-width:0;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  border-right:1px solid #eaf0f3;
  border-bottom:1px solid #eaf0f3;
}
#office .office-batch-item-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#edf2ff;
  color:#5879ee;
}
#office .office-batch-item-icon svg{width:16px;height:16px}
#office .office-batch-item.processing .office-batch-item-icon svg{animation:officeBatchSpin 1s linear infinite}
#office .office-batch-item>div{min-width:0}
#office .office-batch-item b,
#office .office-batch-item small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#office .office-batch-item b{color:#2b4151;font-size:11px}
#office .office-batch-item small{margin-top:2px;color:#778894;font-size:9.5px}
#office .office-batch-item strong{
  padding:5px 8px;
  border-radius:999px;
  background:#edf2ff;
  color:#5879ee;
  font-size:9.5px;
  white-space:nowrap;
}
#office .office-batch-item.processing strong,
#office .office-batch-item.processing .office-batch-item-icon{background:#e5f6fb;color:#187e9d}
#office .office-batch-item.ok strong,
#office .office-batch-item.dup strong,
#office .office-batch-item.ok .office-batch-item-icon,
#office .office-batch-item.dup .office-batch-item-icon{background:#e7f7ee;color:#277f56}
#office .office-batch-item.manual strong,
#office .office-batch-item.manual .office-batch-item-icon{background:#fff4dc;color:#ad700e}
#office .office-batch-item.err strong,
#office .office-batch-item.err .office-batch-item-icon{background:#fdebed;color:#b33b45}
#office .office-batch-item.retry strong,
#office .office-batch-item.retry .office-batch-item-icon{background:#fff2df;color:#ad6c0d}

/* Sol menü canlı sinyali */
.nav-office .office-nav-live{
  width:8px;
  height:8px;
  margin-left:auto;
  border-radius:50%;
  background:#46c27a;
  box-shadow:0 0 0 4px rgba(70,194,122,.09);
}
.nav-office.active .office-nav-live{
  box-shadow:0 0 0 4px rgba(70,194,122,.15),0 0 11px rgba(70,194,122,.48);
}

@keyframes officeDash{to{stroke-dashoffset:-40}}
@keyframes officeReceive{0%,100%{filter:none}45%{filter:brightness(1.28) drop-shadow(0 0 13px var(--accent))}}
@keyframes officeStand{to{transform:translateY(-7px) scale(1.04)}}
@keyframes officeVoxelStandingIdle{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}
@keyframes officeVoxelLegL{0%,100%{transform:rotate(9deg)}50%{transform:rotate(-16deg)}}
@keyframes officeVoxelLegR{0%,100%{transform:rotate(-16deg)}50%{transform:rotate(9deg)}}
@keyframes officeVoxelArmL{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(13deg)}}
@keyframes officeVoxelArmR{0%,100%{transform:rotate(13deg)}50%{transform:rotate(-10deg)}}
@keyframes officeBatchPulse{0%,100%{opacity:.65;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}
@keyframes officeBatchSpin{to{transform:rotate(360deg)}}

@media(max-width:1100px){
  #office .office-page-head p{display:none}
  #office .office-kpis{
    grid-auto-flow:column;
    grid-auto-columns:minmax(160px,1fr);
    grid-template-columns:none;
    overflow-x:auto;
    padding-bottom:2px;
    scrollbar-width:thin;
  }
  #office .office-side{grid-template-columns:1fr 1fr}
  #office .office-batch-card{grid-column:1/-1}
  #office .office-batch-summary{grid-template-columns:repeat(3,1fr)}
  #office .office-batch-queue{grid-template-columns:1fr}
}

@media(max-width:900px){
  #office .office-page-head{min-height:50px}
  #office .office-page-head h2{font-size:20px}
  #office .office-user-pill{display:none}
  #office .office-toolbar-title small{display:none}
  #office .office-toolbar-meta span:nth-child(2){display:none}
  #office .office-side{grid-template-columns:1fr}
  #office .office-side-card{grid-column:auto}
}

/* Telefonda sahne küçültülmez; 420 × 760 mobil plana yeniden dizilir. */
@media(max-width:720px){
  #office{padding:0 0 18px}
  #office .office-page{gap:8px}
  #office .office-page-head{
    min-height:42px;
    padding:0;
  }
  #office .office-page-head>div:first-child{display:none}
  #office .office-head-actions{
    width:100%;
    justify-content:flex-start;
    gap:6px;
    overflow-x:auto;
    padding:1px 0 2px;
    scrollbar-width:none;
  }
  #office .office-head-actions::-webkit-scrollbar{display:none}
  #office .office-live-pill,
  #office .office-motion-toggle,
  #office #officeRefreshBtn{
    min-height:36px;
    flex:0 0 auto;
    padding:0 10px;
    border-radius:9px;
    font-size:10.5px;
  }
  #office .office-kpis{display:none}
  #office .office-main-panel{border-radius:13px}
  #office .office-toolbar{min-height:46px;padding:7px 8px}
  #office .office-toolbar-title{gap:8px}
  #office .office-toolbar-title>span{width:31px;height:31px;border-radius:9px}
  #office .office-toolbar-title b{font-size:12px}
  #office .office-toolbar-meta span{
    padding:4px 6px;
    font-size:9px;
  }
  #office .office-toolbar-batch{
    grid-template-columns:1fr;
    gap:5px;
    margin-top:6px;
    padding:7px 8px;
  }
  #office .office-toolbar-batch em{display:none}
  #office .office-scroll{background:#0c2f43}
  #office .office-stage{
    width:420px;
    min-width:420px;
    height:760px;
    background-size:auto,auto,auto,26px 26px,26px 26px,auto;
  }
  #office .office-stage:before{inset:9px;border-radius:18px}
  #office .office-stage:after{left:14px;bottom:8px;font-size:8px}
  #office .office-mobile-caption{
    position:absolute;
    left:50%;
    top:8px;
    z-index:14;
    display:flex;
    align-items:center;
    gap:6px;
    padding:5px 9px;
    transform:translateX(-50%);
    border:1px solid rgba(169,219,239,.25);
    border-radius:999px;
    background:rgba(5,25,38,.82);
    color:#ebf8fc;
    font-size:9px;
    font-weight:900;
    letter-spacing:.03em;
    white-space:nowrap;
    backdrop-filter:blur(5px);
  }
  #office .office-mobile-caption i{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#43c67b;
    box-shadow:0 0 0 3px rgba(67,198,123,.14);
  }
  #office .office-flow-desktop{display:none}
  #office .office-flow-mobile{display:block}
  #office .office-flow{opacity:.34}
  #office .office-flow.glow{opacity:.07}
  #office .office-station{
    left:var(--mx);
    top:var(--my);
    width:184px;
    height:130px;
  }
  #office .office-station-label{
    top:-11px;
    max-width:178px;
    padding:6px 9px;
    font-size:12.5px;
  }
  #office .office-station-status{top:21px;font-size:9.5px}
  #office .office-agent-seat{
    left:2px;
    bottom:10px;
    width:78px;
    height:108px;
  }
  #office .office-agent-seat .office-voxel-person{width:76px;height:105px}
  #office .office-desk{left:75px;right:16px}
  #office .office-monitor{left:98px}
  #office .office-role-prop{right:2px;width:40px;height:40px}
  #office .office-station-stat{right:-1px;bottom:7px;min-width:64px;padding:4px 6px}
  #office .office-station-stat span{font-size:8.5px;line-height:1}
  #office .office-station-stat b{font-size:16px;line-height:1}
  #office .office-station-stat small{font-size:8px;line-height:1.05}
  #office .office-hub{
    left:50%;
    top:51.5%;
    width:154px;
    height:112px;
  }
  #office .office-hub-label{top:-22px;padding:6px 9px;font-size:10px}
  #office .office-hub-console{width:113px;height:53px}
  #office .office-hub-screen{width:29px;height:24px}
  #office .office-supervisor{bottom:-1px;width:78px;height:107px}
  #office .office-supervisor .office-voxel-person{width:76px;height:105px;transform:none}
  #office .office-hub-stats{right:-43px;top:6px;width:58px;gap:2px}
  #office .office-hub-stat{padding:3px 4px;border-radius:6px}
  #office .office-hub-stat span{font-size:6.3px;line-height:1}
  #office .office-hub-stat b{font-size:11.5px;line-height:1.05}
  #office .office-route-hint{display:none}
  #office .office-stage-progress{
    grid-template-columns:1fr;
    gap:5px;
    padding:8px 10px 9px;
  }
  #office .office-stage-progress>span{justify-content:space-between}
  #office .office-stage-progress b{font-size:10.5px}
  #office .office-stage-progress em{font-size:9.5px}
  #office .office-stage-progress>div{height:7px}
  #office .office-side{
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
    margin-top:9px;
  }
  #office .office-side-card:nth-of-type(3),
  #office .office-side-card:nth-of-type(4){display:none}
  #office .office-batch-card,
  #office .office-side-card{grid-column:auto}
  #office .office-side-head{min-height:44px;padding:0 12px}
  #office .office-side-head strong{font-size:12px}
  #office .office-side-head small{font-size:9.5px}
  #office .office-batch-summary{
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    padding:10px 10px 8px;
  }
  #office .office-batch-summary>span{padding:8px}
  #office .office-batch-summary>span b{font-size:17px}
  #office .office-batch-summary>span small{font-size:9px}
  #office .office-batch-queue{grid-template-columns:1fr;max-height:228px}
  #office .office-batch-item{padding:10px}
  #office .office-feed{grid-template-columns:1fr;max-height:220px}
  #office .office-feed-item{border-right:0}
}

@media(max-width:430px){
  #office .office-live-pill{max-width:136px}
  #office .office-live-pill span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #office .office-motion-toggle,
  #office #officeRefreshBtn{padding:0 9px}
  #office .office-toolbar-meta span{display:none}
  #office .office-toolbar-title{width:100%}
  #office .office-toolbar-title b{font-size:11.5px}
}

@media(prefers-reduced-motion:reduce){
  #office .office-flow-dash,
  #office .office-agent-seat .office-voxel-person,
  #office .office-courier.walking .office-voxel-person .voxel-leg-left,
  #office .office-courier.walking .office-voxel-person .voxel-leg-right,
  #office .office-courier.walking .office-voxel-person .voxel-arm-left,
  #office .office-courier.walking .office-voxel-person .voxel-arm-right,
  #office .office-batch-item.processing .office-batch-item-icon svg,
  #office .office-toolbar-batch>span>i,
  #office .office-station.batch-busy .office-station-status i{
    animation:none!important;
  }
  #office .office-station{transition:none}
}
