/* DrivePilot V4.1.2 – grosse, saubere Protokoll-Aktionsleiste */

.dp-screen-tools{
  position:fixed;
  left:14px;
  right:14px;
  bottom:calc(14px + env(safe-area-inset-bottom));
  z-index:99999;
  display:flex;
  justify-content:center;
  pointer-events:none;
}

.dp-screen-tools-inner{
  width:min(760px,100%);
  display:grid;
  grid-template-columns:120px 1fr;
  gap:10px;
  padding:10px;
  background:rgba(255,255,255,.97);
  border:1px solid #d5e9f5;
  border-radius:22px;
  box-shadow:0 18px 42px rgba(19,72,110,.18);
  backdrop-filter:blur(16px);
  pointer-events:auto;
}

.dp-screen-tool-btn{
  appearance:none;
  min-height:54px;
  border:0;
  border-radius:16px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:16px;
  font-weight:850;
  text-decoration:none;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

.dp-screen-tool-btn.back{
  background:#eef8ff;
  color:#173b60;
  border:1px solid #d5e9f5;
}

.dp-screen-tool-btn.primary{
  background:linear-gradient(135deg,#268fe5,#58bbef);
  color:#fff;
  box-shadow:0 9px 22px rgba(37,145,220,.28);
}

.dp-screen-tool-btn:disabled{
  opacity:.65;
  cursor:wait;
}

.dp-screen-tool-icon{
  font-size:21px;
  line-height:1;
}

.dp-screen-tool-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.05;
}

.dp-screen-tool-copy small{
  margin-top:4px;
  font-size:11px;
  font-weight:650;
  opacity:.86;
}

.dp-pdf-status{
  position:fixed;
  left:50%;
  bottom:calc(92px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:100000;
  max-width:calc(100% - 28px);
  padding:10px 14px;
  border-radius:14px;
  background:#173b60;
  color:#fff;
  font-size:13px;
  font-weight:750;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}

body.dp-has-screen-tools{
  padding-bottom:100px !important;
}

@media(max-width:430px){
  .dp-screen-tools{
    left:10px;
    right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom));
  }

  .dp-screen-tools-inner{
    grid-template-columns:94px 1fr;
    padding:8px;
    border-radius:20px;
  }

  .dp-screen-tool-btn{
    min-height:56px;
    padding:0 12px;
    font-size:15px;
  }

  .dp-screen-tool-copy small{
    font-size:10px;
  }
}

@media print{
  .dp-screen-tools,
  .dp-pdf-status,
  .no-print,
  .screen-only{
    display:none !important;
  }

  body.dp-has-screen-tools{
    padding-bottom:0 !important;
  }
}
