/* 40-team-hub.css
   Team Hub: tabs, page builder and resources.
   Files in css/ load in filename order and the cascade depends on it: see docs/CSS.md. */

/* Team Hub */
.team-hub-app,
.team-editor-overlay {
  --panel: var(--card);
  --panel-2: color-mix(in srgb, var(--card) 90%, var(--bg));
  --border: var(--line);
}
.team-editor-grid [hidden] {
  display: none !important;
}
.tool-workspace-screen[data-tool="team-hub"] .tool-workspace-canvas {
  overflow-y: auto;
  padding: 0;
}
.team-hub-app {
  min-height: 100%;
  padding: 28px 28px 94px;
  color: var(--text);
  background: var(--bg);
}
.team-hub-header {
  max-width: 1120px;
  margin: 0 auto 18px;
}
.team-hub-header h2 {
  margin: 0;
  font-size: 30px;
}
.team-hub-header span {
  color: var(--muted);
  font-size: 13px;
}
.team-hub-tabs {
  max-width: 1120px;
  margin: 0 auto 20px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}
.team-hub-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px 14px;
  font: 700 13px inherit;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.team-hub-tabs button.active {
  color: var(--text);
  border-color: #f4c542;
}
.team-hub-tabs span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 9px;
  background: var(--panel-2);
  font-size: 10px;
}
.team-hub-app > main {
  max-width: 1120px;
  margin: auto;
}
.team-hub-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.team-hub-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.team-hub-panel h3,
.team-hub-panel p {
  margin: 0;
}
.team-hub-panel header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.team-primary,
.team-hub-panel button,
.team-hub-corner-actions button,
.team-editor-modal button {
  font: 750 13px inherit;
  cursor: pointer;
}
.team-primary {
  border: 0;
  border-radius: 9px;
  padding: 10px 14px;
  background: #f4c542;
  color: #181818;
}
.team-builder-list {
  display: grid;
  gap: 8px;
}
.team-builder-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel-2);
}
.team-builder-item.hidden-item {
  opacity: 0.55;
}
.team-item-kind {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: color-mix(in srgb, #f4c542 16%, transparent);
  color: #d7aa21;
  font-size: 9px;
  font-weight: 900;
}
.team-builder-item strong,
.team-builder-item small {
  display: block;
}
.team-builder-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.team-builder-actions {
  display: flex;
  gap: 5px;
}
.team-builder-actions button {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 9px;
  background: transparent;
  color: var(--text);
}
.team-builder-actions button:disabled {
  opacity: 0.3;
  cursor: default;
}
.team-hub-app:has(.team-builder-workspace) > main {
  max-width: none;
}
.team-hub-app:has(.team-builder-workspace) > .team-hub-header,
.team-hub-app:has(.team-builder-workspace) > .team-hub-tabs {
  max-width: none;
  margin-right: 390px;
}
.team-builder-workspace {
  display: grid;
  grid-template-columns: minmax(480px, 760px) 350px;
  align-items: start;
  justify-content: space-between;
  gap: 38px;
}
.team-builder-canvas {
  min-width: 0;
}
.team-builder-sections {
  display: grid;
  gap: 14px;
}
.team-builder-section {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.team-builder-section > header {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.team-builder-section > header input {
  min-width: 0;
  background: transparent;
  color: var(--text);
  font: 850 14px inherit;
}
.team-builder-section > header > div {
  display: flex;
  gap: 4px;
}
.team-builder-section > header button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.team-drag-handle {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: grab;
}
.team-builder-section .team-builder-list {
  padding: 9px;
}
.team-builder-section .team-builder-item {
  grid-template-columns: 20px 36px minmax(0, 1fr) auto;
}
.team-section-add-item {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.team-live-preview {
  position: sticky;
  top: 28px;
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: -141px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
body.admin-preview-active .team-live-preview {
  top: 76px;
}
.team-live-preview > span,
.team-preview-page > span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-phone-frame {
  --phone-available: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  width: min(320px, calc(var(--phone-available) * 0.516));
  height: min(620px, var(--phone-available));
  box-sizing: border-box;
  border-radius: 36px;
}
body.admin-preview-active .team-phone-frame {
  --phone-available: calc(100dvh - 96px);
}
.team-phone-speaker {
  flex: 0 0 5px;
  width: 22.5%;
  height: 5px;
  margin: 2px auto 8px;
  border-radius: 99px;
  background: #303641;
}
.team-phone-home {
  flex: 0 0 4px;
}
.team-phone-frame .team-public-preview {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  border: 0;
}
.team-phone-frame .team-public-preview header {
  padding: 24px 17px;
}
.team-phone-frame .team-public-preview header h2 {
  font-size: 23px;
}
.team-phone-frame .team-public-preview-body {
  padding: 13px;
}
.team-phone-frame .team-preview-link {
  grid-template-columns: 30px 1fr auto;
  padding: 9px;
}
.team-phone-frame .team-preview-link strong {
  font-size: 12px;
}
.team-phone-frame .team-preview-link small {
  font-size: 9px;
}
.team-preview-page {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.team-section-modal {
  width: min(430px, 100%);
}
.team-section-modal form > label {
  display: grid;
  gap: 7px;
}
.team-section-modal form > label span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}
.team-section-modal form > label input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  padding: 11px;
  font: inherit;
}
.team-empty {
  text-align: center;
  padding: 44px 18px;
  color: var(--muted);
}
.team-empty h3 {
  color: var(--text);
  margin-bottom: 7px;
}
.team-native-form-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel-2);
}
.team-native-form-card > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: #111;
  font-weight: 900;
}
.team-native-form-card small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.team-native-form-card button {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  background: transparent;
  color: var(--text);
}
.team-submission-list {
  display: grid;
  gap: 8px;
}
.team-submission-list article {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel-2);
}
.team-submission-list article > span {
  font-size: 9px;
  font-weight: 850;
  color: var(--muted);
  text-transform: uppercase;
}
.team-submission-list strong {
  display: block;
  margin-top: 3px;
}
.team-submission-list p {
  margin: 7px 0;
  color: var(--text);
  font-size: 13px;
}
.team-submission-list footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.team-submission-list footer b {
  color: var(--text);
}
.team-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
}
.team-settings-fields {
  display: grid;
  gap: 15px;
}
.team-settings-fields label,
.team-editor-grid label {
  display: grid;
  gap: 7px;
}
.team-settings-fields label > span,
.team-editor-grid label > span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-settings-fields input,
.team-settings-fields textarea,
.team-editor-grid input,
.team-editor-grid textarea,
.team-editor-grid select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg, var(--panel-2));
  color: var(--text);
  padding: 10px 11px;
  font: 500 14px inherit;
}
.team-url-row {
  display: flex;
  gap: 7px;
}
.team-url-row input {
  min-width: 0;
}
.team-url-row button,
.team-qr-card button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  padding: 9px 12px;
}
.team-danger-link {
  justify-self: start;
  border: 0 !important;
  background: transparent !important;
  color: #e66 !important;
  padding: 2px !important;
}
.team-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel-2);
}
#team-hub-qr {
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  min-height: 220px;
  box-sizing: border-box;
}
.team-qr-card small {
  color: var(--muted);
  line-height: 1.4;
}
.team-public-preview {
  max-width: 620px;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel-2);
}
.team-public-preview header {
  padding: 30px;
  background: linear-gradient(135deg, #f4c542, #ec8b35);
  color: #181818;
}
.team-public-preview header span {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.team-public-preview header h2 {
  margin: 5px 0 2px;
  font-size: 28px;
}
.team-public-preview header p {
  margin: 0;
}
.team-public-preview-body {
  padding: 18px;
}
.team-public-preview section + section {
  margin-top: 19px;
}
.team-public-preview h3 {
  margin: 0 0 7px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.team-public-preview section > div {
  display: grid;
  gap: 7px;
}
.team-preview-link {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  text-align: left;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px;
  background: var(--panel);
  color: var(--text);
}
.team-preview-link b {
  font-size: 8px;
}
.team-preview-link strong,
.team-preview-link small {
  display: block;
}
.team-preview-link small {
  color: var(--muted);
  margin-top: 2px;
}
.team-preview-link i {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
}
.team-hub-corner-actions {
  position: fixed;
  z-index: 15;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 7px;
}
.team-hub-corner-actions button {
  height: 43px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 8px 25px #0004;
}
.team-hub-corner-actions button[data-team-publish] {
  color: #151515;
}
.team-hub-corner-actions button:disabled {
  opacity: 0.42;
  cursor: default;
}
.team-tools-button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-tools-button .tools-home-icon {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 2px;
}
.team-tools-button .tools-home-icon i {
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
}
.team-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #000a;
}
.team-editor-modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 70px #0008;
}
.team-editor-modal > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.team-editor-modal header span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.team-editor-modal h2 {
  margin: 3px 0 0;
}
.team-editor-modal header button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}
.team-editor-grid {
  display: grid;
}
.team-editor-wide {
  grid-column: 1/-1;
}
.team-visible-toggle {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.team-visible-toggle input {
  width: auto;
}
.team-editor-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.team-editor-modal footer button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}
.team-editor-modal footer .team-primary {
  background: #f4c542;
  color: #151515;
}
.team-toast {
  position: fixed;
  left: 50%;
  bottom: 76px;
  z-index: 1200;
  translate: -50% 0;
  padding: 9px 14px;
  border-radius: 8px;
  background: #20242b;
  color: #fff;
  box-shadow: 0 8px 24px #0007;
  font-size: 13px;
}
@media (max-width: 899px) {
  .team-hub-app:has(.team-builder-workspace) > .team-hub-header,
  .team-hub-app:has(.team-builder-workspace) > .team-hub-tabs {
    margin-right: 0;
  }
  .team-builder-workspace {
    grid-template-columns: 1fr;
  }
  .team-live-preview,
  body.admin-preview-active .team-live-preview {
    position: static;
    margin-top: 10px;
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 720px) {
  .team-hub-app {
    padding: 18px 12px 86px;
  }
  .team-hub-header h2 {
    font-size: 25px;
  }
  .team-hub-panel {
    padding: 14px;
  }
  .team-hub-panel > header {
    align-items: flex-start;
  }
  .team-builder-section .team-builder-item {
    grid-template-columns: 18px 34px minmax(0, 1fr);
  }
  .team-builder-actions {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .team-settings-grid {
    grid-template-columns: 1fr;
  }
  .team-qr-card {
    order: 2;
  }
  .team-editor-wide {
    grid-column: auto;
  }
  .team-hub-corner-actions {
    left: 10px;
    right: 10px;
    justify-content: flex-end;
  }
  .team-hub-corner-actions button {
    padding: 0 10px;
  }
  .team-hub-corner-actions .team-tools-button {
    margin-left: auto;
  }
  .team-public-preview header {
    padding: 24px 20px;
  }
  .team-phone-frame,
  body.admin-preview-active .team-phone-frame {
    --phone-available: min(620px, calc(100dvh - 140px));
    width: min(320px, 100%);
    height: var(--phone-available);
  }
}
@media (min-width: 721px) {
  .team-phone-frame {
    --phone-available: calc(100dvh - 68px);
  }
  body.admin-preview-active .team-phone-frame {
    --phone-available: calc(100dvh - 116px);
  }
}
@media (min-width: 900px) {
  .team-hub-app > .team-hub-header,
  .team-hub-app > .team-hub-tabs,
  .team-hub-app > main {
    max-width: none;
    margin-right: 390px;
  }
  .team-builder-workspace {
    display: block;
  }
  .team-live-preview {
    position: fixed;
    z-index: 10;
    top: 28px;
    right: 28px;
    bottom: 71px;
    width: 350px;
    margin: 0;
    padding-left: 28px;
    box-sizing: border-box;
    align-content: start;
  }
  body.admin-preview-active .team-live-preview {
    top: 76px;
  }
  body.demo-mode .team-live-preview {
    top: 84px;
  }
  .team-live-preview .team-phone-frame,
  body.admin-preview-active .team-live-preview .team-phone-frame,
  body.demo-mode .team-live-preview .team-phone-frame {
    --phone-available: calc(100dvh - 120px);
    width: min(320px, calc((100dvh - 120px) * 0.516));
    height: calc(100% - 21px);
    max-height: 620px;
  }
  body.admin-preview-active .team-live-preview .team-phone-frame {
    --phone-available: calc(100dvh - 168px);
    width: min(320px, calc((100dvh - 168px) * 0.516));
  }
  body.demo-mode .team-live-preview .team-phone-frame {
    --phone-available: calc(100dvh - 176px);
    width: min(320px, calc((100dvh - 176px) * 0.516));
  }
}
@media (min-width: 900px) {
  .team-live-preview .team-phone-frame {
    height: min(620px, calc(100dvh - 120px));
  }
  body.admin-preview-active .team-live-preview .team-phone-frame {
    height: min(620px, calc(100dvh - 168px));
  }
  body.demo-mode .team-live-preview .team-phone-frame {
    height: min(620px, calc(100dvh - 176px));
  }
}
.team-phone-frame {
  position: relative;
  overflow: visible !important;
  padding: 5px !important;
  border: 1px solid #70747b !important;
  background: linear-gradient(110deg, #303238 0%, #a5a8ad 8%, #3a3c42 17%, #16171a 48%, #565960 85%, #b6b8bc 93%, #34363b 100%) !important;
  box-shadow:
    0 24px 65px #0009,
    inset 0 0 0 1px #d8dade55 !important;
}
.team-phone-glass {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 3px solid #050506;
  border-radius: 30px;
  background: #07080a;
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.team-phone-status {
  position: absolute;
  z-index: 6;
  top: 7px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 17px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  pointer-events: none;
  text-shadow: 0 1px 2px #000;
}
.team-phone-status-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}
.team-phone-status-icons > i:first-child {
  width: 8px;
  height: 6px;
  background: linear-gradient(
    to top,
    right,
    #fff 0 20%,
    transparent 20% 30%,
    #fff 30% 50%,
    transparent 50% 60%,
    #fff 60% 80%,
    transparent 80%
  );
}
.team-phone-status-icons > i:nth-child(2) {
  width: 7px;
  height: 5px;
  border: 1px solid #fff;
  border-width: 1px 1px 0;
  border-radius: 7px 7px 0 0;
}
.team-phone-status-icons > b {
  position: relative;
  width: 11px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 2px;
}
.team-phone-status-icons > b:after {
  content: "";
  position: absolute;
  inset: 1px;
  background: #fff;
}
.team-phone-island {
  position: absolute;
  z-index: 7;
  top: 5px;
  left: 50%;
  translate: -50% 0;
  width: 29%;
  height: 16px;
  border-radius: 999px;
  background: #020203;
  box-shadow: inset 0 -1px 1px #ffffff10;
}
.team-phone-island i {
  position: absolute;
  right: 7px;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #243a59, #07101f 55%, #000);
  box-shadow: 0 0 2px #275da477;
}
.team-phone-frame .team-public-preview {
  margin-top: 0;
}
.team-phone-home {
  position: absolute;
  z-index: 6;
  bottom: 5px;
  left: 50%;
  translate: -50% 0;
  width: 34%;
  height: 4px;
  margin: 0;
  background: #fff;
  border-radius: 99px;
  box-shadow: 0 1px 3px #0008;
}
.team-phone-button {
  position: absolute;
  display: block;
  width: 3px;
  background: linear-gradient(90deg, #202126, #8b8d93, #282a2f);
  border: 1px solid #202126;
  box-sizing: border-box;
}
.team-phone-action {
  left: -3px;
  top: 16%;
  height: 7%;
  border-radius: 2px 0 0 2px;
}
.team-phone-volume-up {
  left: -3px;
  top: 27%;
  height: 11%;
  border-radius: 2px 0 0 2px;
}
.team-phone-volume-down {
  left: -3px;
  top: 41%;
  height: 11%;
  border-radius: 2px 0 0 2px;
}
.team-phone-power {
  right: -3px;
  top: 30%;
  height: 17%;
  border-radius: 0 2px 2px 0;
}
.team-phone-safari {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  color: #dce8f7;
}
.team-safari-address {
  display: grid;
  align-items: center;
}
.team-safari-address > span {
  font-weight: 800;
}
.team-safari-address > strong {
  text-align: center;
  white-space: nowrap;
}
.team-safari-address > strong i {
  color: #cbd0d5;
  font-style: normal;
}
.team-safari-address > b {
  text-align: center;
}
.team-safari-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  line-height: 1;
}
.team-safari-share {
  font-size: 13px;
  border: 1px solid currentColor;
  border-top: 0;
  border-radius: 2px;
  padding: 1px 3px 2px;
}
.team-phone-safari + .team-phone-home {
  z-index: 7;
}
.team-phone-safari {
  border-top-color: #ffffff20;
}
.team-safari-address > span {
  padding-left: 8px;
  font-size: 8px;
}
.team-safari-address > strong i {
  font-size: 6px;
}
.team-safari-address > b {
  position: relative;
  height: 20px;
  font-size: 0;
}
.team-safari-address > b:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 8px;
  height: 8px;
  border: 1.4px solid #e8edf5;
  border-left-color: transparent;
  border-radius: 50%;
}
.team-safari-address > b:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  border-left: 3px solid #e8edf5;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  rotate: -35deg;
}
.team-safari-tools span {
  font-size: 0;
  border: 0;
  padding: 0;
}
.team-safari-tools span:nth-child(1):before,
.team-safari-tools span:nth-child(2):before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  rotate: 45deg;
}
.team-safari-tools span:nth-child(2):before {
  left: 5px;
  rotate: 225deg;
}
.team-safari-tools span:nth-child(2) {
  opacity: 0.32;
}
.team-safari-tools .team-safari-share:before {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}
.team-safari-tools .team-safari-share:after {
  content: "↑";
  position: absolute;
  left: 7px;
  top: -5px;
  font-size: 17px;
  font-weight: 500;
}
.team-safari-tools span:nth-child(4):before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 12px;
  height: 13px;
  border: 1.4px solid currentColor;
  border-radius: 2px 4px 3px 2px;
}
.team-safari-tools span:nth-child(4):after {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  height: 12px;
  border-left: 1px solid currentColor;
}
.team-safari-tools span:nth-child(5):before,
.team-safari-tools span:nth-child(5):after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}
.team-safari-tools span:nth-child(5):before {
  left: 4px;
  top: 4px;
}
.team-safari-tools span:nth-child(5):after {
  left: 8px;
  top: 7px;
  background: #30343b;
}
iphone-16-max.team-phone-frame {
  display: block !important;
  width: min(320px, calc((100dvh - 120px) * 0.4923)) !important;
  height: auto !important;
  aspect-ratio: 415/843;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: 0 24px 65px #0009 !important;
}
body.admin-preview-active iphone-16-max.team-phone-frame {
  width: min(320px, calc((100dvh - 168px) * 0.4923)) !important;
}
body.demo-mode iphone-16-max.team-phone-frame {
  width: min(320px, calc((100dvh - 176px) * 0.4923)) !important;
}
.team-phone-frame .team-phone-glass {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #07080a;
  box-shadow: none;
}
.team-phone-frame .team-public-preview {
  height: 100%;
  border-radius: 0 !important;
}
