/* FOUR FLAMES LLC • FACETED EMBER 007 — real admin tables and records.
   Appearance only. Never hide, reorder or relabel underlying data, fields,
   roles, permissions, or approvals. Scoped to owner-selected Ember theme. */
@media screen {
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) {
  border:1px solid #6a9a8f;
  border-radius:16px 5px 16px 5px;
  background:linear-gradient(157deg,#1b3333,#102729);
  box-shadow:inset 0 1px 0 #d8fff01c,0 9px 24px #0006;
  scrollbar-color:#5ebeb2 #122e30;
  scrollbar-width:thin;
  overscroll-behavior-inline:contain;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) table {
  font-variant-numeric:tabular-nums;
  border-collapse:separate;
  border-spacing:0;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) :is(th,td) {
  padding:12px 13px;
  border-bottom:1px solid #4d726d;
  line-height:1.45;
  vertical-align:middle;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) th {
  color:#eafff6;
  background:#20554e;
  font-weight:780;
  white-space:normal;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) tr:nth-child(even)>td {
  background:#1b3435;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) tr:hover>td {
  background:#25504c;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) td button:not(.danger):not(:disabled) {
  background:linear-gradient(150deg,#277c73,#1b5752 62%,#10403e);
  border:1px solid #9ae8d8;
  border-radius:12px 4px 12px 4px;
  box-shadow:inset 0 2px #d4fff04d,inset 0 -3px #061e1eaa,0 4px 11px #0007;
  color:#f1fff9;
  font-weight:760;
  min-height:48px;
  padding:9px 14px;
}
body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)):focus-within {
  border-color:#a4f1df;
}
}
@media screen and (max-width:760px) {
  /* A wide operational table is not an empty/clipped card: show the complete
     source data on horizontal scroll, with the record name kept in view. */
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) {
    overflow-x:auto;
    max-width:100%;
    padding:12px;
    touch-action:pan-x pan-y;
  }
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)):has(th:nth-child(5))::before {
    content:"↔ Swipe to view all columns";
    position:sticky;
    left:0;
    display:block;
    width:max-content;
    max-width:100%;
    margin:0 0 12px;
    padding:8px 12px;
    color:#e5fffa;
    background:#1b504d;
    border:1px solid #82d5c7;
    border-radius:10px 4px 10px 4px;
    font-size:.85rem;
    font-weight:750;
    white-space:normal;
    z-index:2;
  }
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) table:has(tr:first-child th:nth-child(5)) {
    min-width:790px;
  }
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) table:has(tr:first-child th:nth-child(5)) tr > :first-child {
    position:sticky;
    left:0;
    z-index:1;
    min-width:120px;
    max-width:205px;
    background:#153133;
    box-shadow:3px 0 0 #6da89d;
  }
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) table:has(tr:first-child th:nth-child(5)) tr:nth-child(even) > td:first-child {
    background:#234044;
  }
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) table:has(tr:first-child th:nth-child(5)) tr:first-child > th:first-child {
    z-index:3;
    background:#20554e;
  }
  body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] .station-actions > button {
    min-height:58px;
  }
}
@media (prefers-reduced-motion:reduce) {
 body[data-ff-mode="plateau_ember_preview"] #content[data-ff-work-page="Administration"] :is(.panel.table-scroll,.panel:has(>table)) button {transition:none!important;}
}
