.suite-access-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #1a1917;
  text-align: left;
  table-layout: fixed;
}
.suite-access-table thead th { background: #f7f4ef; color: #5b554d; font-size: .75rem; }
.suite-access-table th, .suite-access-table td { padding: 11px clamp(9px, 1.8vw, 18px); border-bottom: 1px solid #ded9d0; }
.suite-access-table thead th:first-child { width: 54%; }
.suite-access-table thead th:nth-child(2) { width: 23%; }
.suite-access-table thead th:nth-child(3) { width: 23%; }
.suite-access-table tbody:last-child tr:last-child th, .suite-access-table tbody:last-child tr:last-child td { border-bottom: 0; }
.suite-access-table .suite-access-group-heading th { padding-block: 12px; background: #f0ebe2; color: #242019; }
.suite-access-group-heading strong { font-size: .94rem; }
.suite-access-group-heading small { display: block; margin-top: 3px; color: #5b554d; font-size: .75rem; font-weight: 400; }
.suite-access-tool { display: flex; align-items: center; gap: clamp(7px, 2vw, 14px); }
.suite-access-tool strong, .suite-access-tool small { display: block; overflow-wrap: anywhere; line-height: 1.4; }
.suite-access-tool strong { font-size: .87rem; }
.suite-access-tool small { color: #5b554d; font-size: .73rem; font-weight: 400; margin-top: 4px; }
.suite-access-badge { display: inline-block; padding: 5px 8px; background: #f1eee9; color: #514a42; border-radius: 6px; font-size: .74rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.suite-access-badge[data-level="Owner"],
.suite-access-badge[data-level="Admin"],
.suite-access-badge[data-level="Reviewer"],
.suite-access-badge[data-level="Staff"],
.suite-access-badge[data-level="All schools"],
.suite-access-badge[data-level="View reports"] { color: #245238; background: #e4f0e6; }
.suite-access-badge[data-level="Recorded"] { color: #603517; background: #faeee7; }
.suite-access-actions { display: flex; flex-wrap: wrap; gap: 4px 9px; }
.suite-access-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #e1d8cf;
  padding: 4px 9px;
  border-radius: 6px;
  background: #fff;
  color: #a7361d;
  font: 600 .75rem/1.28 "Poppins", system-ui, sans-serif;
  text-decoration: none;
  text-align: left;
}
.suite-access-action:hover { color: #822610; border-color: #a7361d; }
.suite-access-empty { color: #5b554d; font-size: .78rem; }
.suite-tools-sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.suite-thumb {
  width: 52px;
  height: 39px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #f8ebe3;
  color: #a7361d;
  --thumb-pale: #eed1c3;
}
.suite-thumb[data-tool="school"] { background: #e8efe8; color: #34664a; --thumb-pale: #c8decf; }
.suite-thumb[data-tool="management"] { background: #ede8f3; color: #695482; --thumb-pale: #ded3ea; }
.suite-thumb[data-tool="analytics"] { background: #e7eff4; color: #285578; --thumb-pale: #cbdce8; }
.suite-thumb[data-tool="web"] { background: #f5efde; color: #785d31; --thumb-pale: #e5d7b8; }
.suite-thumb:is([data-tool="ios"],[data-tool="android"]) { background: #ecebe7; color: #494e53; --thumb-pale: #d8dbdc; }
.suite-thumb[data-tool="android"] { background: #e8efe8; color: #34664a; --thumb-pale: #c8decf; }
.suite-thumb-frame {
  position: relative;
  width: 32px;
  height: 23px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2,1fr);
  gap: 2px;
  padding: 6px 3px 3px;
}
.suite-thumb-frame::before { position: absolute; content: ""; inset: 3px 3px auto; height: 1px; background: currentColor; opacity: .75; }
.suite-thumb-frame span { background: var(--thumb-pale); border-radius: 1px; }
.suite-thumb-frame span:first-child { grid-row: span 2; background: currentColor; opacity: .63; }
.suite-thumb[data-tool="analytics"] .suite-thumb-frame { grid-template-columns: repeat(3,1fr); grid-template-rows: 1fr; align-items: end; }
.suite-thumb[data-tool="analytics"] .suite-thumb-frame span { height: 58%; background: currentColor; }
.suite-thumb[data-tool="analytics"] .suite-thumb-frame span:first-child { grid-row: auto; height: 34%; opacity: .45; }
.suite-thumb[data-tool="analytics"] .suite-thumb-frame span:last-child { height: 91%; opacity: .8; }
.suite-thumb[data-tool="management"] .suite-thumb-frame, .suite-thumb:is([data-tool="ios"],[data-tool="android"]) .suite-thumb-frame { grid-template-columns: 1fr; grid-template-rows: repeat(3,1fr); }
.suite-thumb[data-tool="management"] .suite-thumb-frame span:first-child, .suite-thumb:is([data-tool="ios"],[data-tool="android"]) .suite-thumb-frame span:first-child { grid-row: auto; }
.suite-thumb:is([data-tool="ios"],[data-tool="android"]) .suite-thumb-frame { width: 17px; height: 28px; border-radius: 4px; }
.suite-thumb[data-tool="web"] .suite-thumb-frame { grid-template-columns: 1fr 2fr; }
@media (max-width: 475px) {
  .suite-access-table thead th:first-child { width: 51%; }
  .suite-access-table thead th:nth-child(2) { width: 25%; }
  .suite-access-table thead th:nth-child(3) { width: 24%; }
  .suite-access-table th, .suite-access-table td { padding-inline: 7px; }
  .suite-thumb { width: 34px; height: 30px; }
  .suite-thumb-frame { transform: scale(.78); }
  .suite-access-action { padding-inline: 5px; }
}
