.operating-screen-page.fullscreen-touch-screen {
  position: fixed;
  inset: 0;
  z-index: 1500;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.18), transparent 30%),
    linear-gradient(135deg, #071318 0%, #0b1e25 44%, #111827 100%);
  color: #e8f3f1;
}

.kitchen-screen-page,
.field-screen-hero {
  position: relative;
}

.screen-exit-control {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 7;
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
  color: #e5edf0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.screen-exit-control:hover,
.screen-exit-control:focus-visible {
  border-color: rgba(45, 212, 191, 0.72);
  background: rgba(8, 47, 73, 0.92);
  color: #ccfbf1;
  outline: none;
}

.kitchen-screen-page > .screen-exit-control,
.field-screen-hero > .screen-exit-control {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-hero {
  position: sticky;
  top: 0;
  z-index: 3;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  background: rgba(7, 19, 24, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-hero .eyebrow,
.operating-screen-page.fullscreen-touch-screen .operating-screen-hero p {
  color: #9fb7b9;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-hero h1 {
  color: #f8fafc;
  font-size: clamp(34px, 4.2vw, 64px);
  text-shadow: 0 0 28px rgba(20, 184, 166, 0.2);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar label,
.operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar button,
.operating-screen-page.fullscreen-touch-screen .operating-touch-action {
  min-height: 56px;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar label {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.82);
  color: #cbd5e1;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar input,
.operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar select {
  color: #f8fafc;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-station-select {
  min-width: 260px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.92);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-station-select select {
  min-width: 170px;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-scoreboard {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-metric {
  min-height: 122px;
  border-color: rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.78);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-metric span,
.operating-screen-page.fullscreen-touch-screen .operating-screen-section-head span {
  color: #94a3b8;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-metric strong {
  color: #f8fafc;
  font-size: 40px;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-metric em {
  color: #9fb7b9;
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-dock {
  grid-template-columns: minmax(280px, 0.22fr) minmax(0, 1fr);
  border-color: rgba(45, 212, 191, 0.26);
  border-radius: 10px;
  background: rgba(8, 47, 73, 0.46);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.12), 0 18px 46px rgba(0, 0, 0, 0.24);
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-dock span {
  color: #67e8f9;
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-dock strong {
  color: #f8fafc;
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-dock small {
  color: #b6c7c9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-actions {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-action {
  min-height: 124px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  touch-action: manipulation;
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-action.green {
  border-color: rgba(34, 197, 94, 0.68);
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.96), rgba(22, 101, 52, 0.72));
  box-shadow: 0 0 0 1px rgba(187, 247, 208, 0.12), 0 18px 42px rgba(22, 163, 74, 0.2);
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-action.warn {
  border-color: rgba(251, 191, 36, 0.78);
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.98), rgba(180, 83, 9, 0.76));
  box-shadow: 0 0 0 1px rgba(254, 243, 199, 0.12), 0 18px 42px rgba(245, 158, 11, 0.22);
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-action.blue {
  border-color: rgba(56, 189, 248, 0.62);
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.98), rgba(14, 116, 144, 0.72));
  box-shadow: 0 0 0 1px rgba(186, 230, 253, 0.12), 0 18px 42px rgba(14, 165, 233, 0.18);
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-action strong {
  color: #fff;
  font-size: 20px;
}

.operating-screen-page.fullscreen-touch-screen .operating-touch-action span {
  color: #dbeafe;
  font-size: 13px;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-main,
.operating-screen-page.fullscreen-touch-screen .operating-screen-side > section {
  border-color: rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.76);
  color: #e5edf0;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-section-head strong {
  color: #f8fafc;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-risk {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(113, 63, 18, 0.44);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-risk.red {
  border-color: rgba(248, 113, 113, 0.52);
  background: rgba(127, 29, 29, 0.46);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-risk.blue {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(12, 74, 110, 0.42);
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-risk span,
.operating-screen-page.fullscreen-touch-screen .operating-screen-risk p,
.operating-screen-page.fullscreen-touch-screen .operating-screen-risk em {
  color: #cbd5e1;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-risk strong {
  color: #fff;
}

.operating-screen-page.fullscreen-touch-screen .operating-screen-chip-list span {
  background: rgba(20, 184, 166, 0.16);
  color: #ccfbf1;
}

.operating-screen-page.fullscreen-touch-screen .table {
  color: #e5edf0;
}

.operating-screen-page.fullscreen-touch-screen .table th {
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.9);
}

.operating-screen-page.fullscreen-touch-screen .table td {
  border-color: rgba(148, 163, 184, 0.14);
}

.operating-screen-page.fullscreen-touch-screen .row-title {
  color: #fff;
}

.operating-screen-page.fullscreen-touch-screen .row-sub,
.operating-screen-page.fullscreen-touch-screen .kitchen-screen-empty {
  color: #aab8bd;
}

.operating-screen-page.fullscreen-touch-screen .kitchen-screen-footer {
  color: #aab8bd;
  padding-bottom: 4px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) {
  overflow: hidden;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .toast,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer {
  z-index: 2100 !important;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel {
  border-left: 1px solid rgba(56, 189, 248, 0.28);
  background: #0f172a !important;
  color: #e5edf0;
  width: min(980px, 94vw);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-head,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-actions {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.96) !important;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-head {
  align-items: center;
  min-height: 86px;
  padding: 22px 28px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-body {
  gap: 22px;
  padding: 24px 28px 104px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-head h2,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .row-title {
  color: #fff;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-head h2 {
  font-size: 30px;
  line-height: 1.15;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-head span,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .row-sub,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-help {
  color: #b6c7c9;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-head button {
  min-width: 56px;
  min-height: 56px;
  border-radius: 12px;
  font-size: 18px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .edit-form {
  gap: 22px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-field {
  gap: 9px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-field span,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-section-title {
  color: #cbd5e1;
  font-size: 15px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-field input,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-field select,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-field textarea,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel input,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel select,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel textarea {
  min-height: 58px;
  padding: 0 18px;
  border-color: rgba(148, 163, 184, 0.32);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-size: 18px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel textarea,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-field textarea {
  min-height: 132px;
  padding-top: 16px;
  line-height: 1.5;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel input::placeholder,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel textarea::placeholder {
  color: #7f95a3;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel input:focus-visible,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel select:focus-visible,
body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel textarea:focus-visible {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.22);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-control {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  background: rgba(8, 47, 73, 0.36);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-control input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-control .mini-action {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 0 20px;
  border: 1px solid rgba(45, 212, 191, 0.44);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.95), rgba(20, 184, 166, 0.78));
  color: #ecfeff;
  font-size: 19px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-control .mobile-evidence-action {
  border-color: rgba(34, 197, 94, 0.54);
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.96), rgba(34, 197, 94, 0.78));
  color: #f0fdf4;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-qr-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  background: rgba(8, 47, 73, 0.36);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-qr {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-qr svg {
  width: 100%;
  height: auto;
  display: block;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-copy {
  display: grid;
  gap: 10px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-copy strong {
  color: #fff;
  font-size: 28px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-copy span,
body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-copy small {
  color: #b6c7c9;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-form-capture-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 14px;
  background: rgba(6, 78, 59, 0.24);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-form-capture-rail strong {
  display: block;
  color: #f8fafc;
  font-size: 22px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-form-capture-rail span {
  display: block;
  margin-top: 5px;
  color: #b6c7c9;
  font-size: 15px;
  line-height: 1.45;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-form-capture-rail > button,
body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-action {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #22c55e;
  color: #052e16;
  font-weight: 900;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-inline-panel {
  grid-column: 1 / -1;
  margin-top: 14px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-control [data-file-name] {
  align-self: end;
  color: #f8fafc;
  font-size: 17px;
  font-weight: 900;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-status {
  align-self: start;
  color: #aab8bd;
  font-size: 14px;
  line-height: 1.45;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-actions {
  position: sticky;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 8px -28px -104px;
  padding: 18px 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.98);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-actions button {
  min-width: 150px;
  min-height: 60px;
  border-radius: 14px;
  font-size: 18px;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .primary-action {
  background: #22c55e;
  color: #052e16;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .table {
  color: #e5edf0;
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .table th {
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.96);
}

body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .table td {
  border-color: rgba(148, 163, 184, 0.14);
}

@media (max-width: 980px) {
  .operating-screen-page.fullscreen-touch-screen {
    padding: 10px;
  }

  .operating-screen-page.fullscreen-touch-screen .operating-screen-hero,
  .operating-screen-page.fullscreen-touch-screen .operating-touch-dock {
    grid-template-columns: 1fr;
  }

  .operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar,
  .operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar label,
  .operating-screen-page.fullscreen-touch-screen .operating-screen-toolbar button {
    width: 100%;
  }

  .operating-screen-page.fullscreen-touch-screen .operating-screen-station-select select {
    width: 100%;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel {
    width: 100vw;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-grid {
    grid-template-columns: 1fr;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .form-actions button {
    width: 100%;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .drawer-panel .file-upload-control {
    grid-template-columns: 1fr;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-evidence-qr-card {
    grid-template-columns: 1fr;
  }

  body:has(.operating-screen-page.fullscreen-touch-screen) .mobile-form-capture-rail {
    grid-template-columns: 1fr;
  }
}
