body {
  font-family: "Inter", sans-serif;
  background: #0e0e0e;
  color: #fff;
  overflow: hidden;
}

.ico-fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.ico {
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-style: normal;
  display: inline-block;
}

.grad {
  background: linear-gradient(135deg, #a4ffb9 0%, #00fd87 100%);
}

.glass {
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: #0e0e0e;
}

::-webkit-scrollbar-thumb {
  background: #484847;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a4ffb9;
}

.page {
  display: none;
  height: calc(100vh - 108px);
  overflow-y: auto;
  padding: 2rem 2rem 3rem;
}

.page.active {
  display: block;
}

body.apps-runtime-mode aside,
body.apps-runtime-mode #global-header-shell,
body.apps-runtime-mode #main-content > :not(#page-apps-runtime) {
  display: none !important;
}

body.apps-runtime-mode #page-apps-runtime {
  display: block !important;
}

.tab-btn {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 0 0 0.75rem;
  cursor: pointer;
  color: #adaaaa;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: #a4ffb9;
  border-bottom-color: #a4ffb9;
}

.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.2s;
  border-right: 2px solid transparent;
  text-align: left;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-bottom: 0;
}

.nav-item:hover {
  background: #1a1919;
  opacity: 1;
}

.nav-item.active {
  color: #a4ffb9;
  font-weight: 700;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-right-color: #a4ffb9;
}

.skill-card {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.skill-card:hover {
  border-color: rgba(164, 255, 185, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cat-btn {
  font-size: 11.5px;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  color: #7a7878;
  border: 1px solid transparent;
}

.cat-btn.active {
  background: rgba(164, 255, 185, 0.12);
  color: #a4ffb9;
  border-color: rgba(164, 255, 185, 0.15);
}

.cat-btn:hover:not(.active) {
  color: #e0dede;
}

.badge-pending {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.badge-published {
  background: rgba(164, 255, 185, 0.12);
  color: #a4ffb9;
}

.badge-draft {
  background: rgba(72, 72, 71, 0.25);
  color: #adaaaa;
}

.badge-offline {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.badge-rejected {
  background: rgba(255, 113, 108, 0.15);
  color: #ff716c;
  border: 1px solid rgba(255, 113, 108, 0.2);
}

.badge-need-changes {
  background: rgba(244, 176, 71, 0.14);
  color: #f4b047;
  border: 1px solid rgba(244, 176, 71, 0.2);
}

.apps-panel-card {
  background: #131313;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.875rem;
  padding: 1.25rem;
}

.apps-section-copy {
  color: #adaaaa;
  font-size: 13px;
  line-height: 1.7;
}

.apps-detail-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.apps-create-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: start;
}

.apps-detail-hero {
  background: linear-gradient(160deg, #141414 0%, #111 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
}

.apps-detail-body {
  display: block;
}

.apps-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apps-detail-meta {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
}

.apps-detail-label,
.detail-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(173, 170, 170, 0.48);
  margin-bottom: 0.4rem;
}

.apps-detail-value {
  font-size: 13px;
  color: #f3f3f3;
  line-height: 1.6;
}

.apps-empty-state {
  min-height: 260px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.92) 0%, rgba(17, 17, 17, 0.98) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #adaaaa;
  padding: 24px;
}

.apps-empty-state__icon {
  font-size: 42px;
  opacity: 0.34;
  margin-bottom: 14px;
}

.apps-empty-state__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.apps-empty-state__desc {
  font-size: 12px;
  line-height: 1.75;
  max-width: 360px;
}

.apps-runtime-page {
  padding: 0;
  overflow: hidden;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #0e0e0e;
  display: none;
  height: 100vh;
}

.apps-runtime-shell {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  position: relative;
}

.apps-runtime-shell.is-docked {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  height: 100vh;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.36);
}

.apps-runtime-topbar {
  height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #111111;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  flex-shrink: 0;
}

.apps-runtime-back {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4ffb9;
  background: rgba(164, 255, 185, 0.08);
  border: 1px solid rgba(164, 255, 185, 0.14);
  transition: all 0.18s;
  flex-shrink: 0;
}

.apps-runtime-window-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.apps-runtime-window-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 218px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(26, 26, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.apps-runtime-window-menu-wrap:hover .apps-runtime-window-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(2px);
}

.apps-runtime-tabbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.apps-runtime-window-menu__item {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #e7e4e4;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.18s;
}

.apps-runtime-window-menu__item:hover {
  background: rgba(164, 255, 185, 0.1);
  color: #fff;
}

.apps-runtime-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  flex: 0 1 auto;
  max-width: 100%;
  padding-bottom: 1px;
}

.apps-runtime-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  max-width: 260px;
  padding: 7px 10px;
  border-radius: 10px 10px 0 0;
  background: #171717;
  border: 1px solid transparent;
  border-bottom: none;
  color: #9c9898;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.18s;
}

.apps-runtime-tab.is-webview {
  min-width: 230px;
  max-width: 300px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.apps-runtime-tab__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.apps-runtime-tab__app {
  font-size: 11px;
  line-height: 1;
  color: #d6d2d2;
}

.apps-runtime-tab__pages {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.apps-runtime-tab__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  font-size: 10px;
  color: #918d8d;
  white-space: nowrap;
}

.apps-runtime-tab__page.active {
  background: rgba(164, 255, 185, 0.08);
  border-color: rgba(164, 255, 185, 0.22);
  color: #a4ffb9;
}

.apps-runtime-tab.active {
  background: #1f1f1f;
  color: #fff;
  border-color: rgba(164, 255, 185, 0.18);
  box-shadow: inset 0 1px 0 rgba(164, 255, 185, 0.06);
}

.apps-runtime-tab.active .apps-runtime-tab__app {
  color: #fff;
}

.apps-runtime-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.apps-runtime-icon-btn,
.apps-runtime-add-tab {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9fa4aa;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.18s;
  flex-shrink: 0;
}

.apps-runtime-add-tab {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.apps-runtime-icon-btn:hover,
.apps-runtime-add-tab:hover {
  color: #fff;
  border-color: rgba(164, 255, 185, 0.18);
  background: #1b1b1b;
}

.apps-runtime-frame-wrap {
  flex: 1;
  min-height: 0;
  padding: 0;
  background: #0e0e0e;
}

.apps-runtime-frame-card {
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: #111;
  box-shadow: none;
}

.apps-runtime-resize-handle {
  position: absolute;
  top: 0;
  left: -3px;
  bottom: 0;
  width: 6px;
  cursor: col-resize;
  z-index: 2;
}

.apps-runtime-resize-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 2px;
  height: 72px;
  border-radius: 999px;
  background: rgba(164, 255, 185, 0.16);
  transform: translateY(-50%);
}

.apps-runtime-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.apps-runtime-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8f8b8b;
  gap: 10px;
}

.apps-runtime-launcher {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 130;
  width: 48px;
  height: 120px;
  border-radius: 16px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.apps-runtime-picker-anchor {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.apps-runtime-picker {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 135;
  width: 320px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
  padding: 14px;
}

.apps-runtime-picker.is-docked {
  right: 0;
}

.apps-runtime-picker-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: 420px;
  overflow: auto;
}

.apps-runtime-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.18s;
}

.apps-runtime-picker-item:hover {
  border-color: rgba(164, 255, 185, 0.18);
  background: #131313;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.confirm-modal.hidden {
  display: none;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.confirm-modal__panel {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  padding: 22px;
}

.confirm-modal__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.confirm-modal__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(164, 255, 185, 0.1);
  border: 1px solid rgba(164, 255, 185, 0.16);
  color: #a4ffb9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.confirm-modal__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.confirm-modal__message {
  margin: 6px 0 0;
  color: #adaaaa;
  font-size: 13px;
  line-height: 1.7;
}

.confirm-modal__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.confirm-modal__button {
  min-width: 88px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.18s;
}

.confirm-modal__button--secondary {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6d3d3;
}

.confirm-modal__button--secondary:hover {
  background: #1b1b1b;
  color: #fff;
}

.confirm-modal__button--primary {
  background: linear-gradient(135deg, #a4ffb9 0%, #00fd87 100%);
  border: 1px solid rgba(164, 255, 185, 0.16);
  color: #07110c;
}

.confirm-modal__button--primary:hover {
  opacity: 0.94;
}

.uninstall-modal__panel {
  width: min(640px, 100%);
}

.uninstall-modal__body {
  margin-top: 16px;
  display: block;
}

.uninstall-modal__actions {
  justify-content: space-between;
  gap: 14px;
}

.uninstall-modal__path-card {
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.uninstall-modal__path-value {
  margin: 0.55rem 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  word-break: break-all;
}

.uninstall-modal__button--cancel {
  background: rgba(164, 255, 185, 0.12);
  border: 1px solid rgba(164, 255, 185, 0.22);
  color: #a4ffb9;
}

.uninstall-modal__button--cancel:hover {
  background: rgba(164, 255, 185, 0.18);
}

.apps-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.apps-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #adaaaa;
}

.apps-field-required {
  color: #ff716c;
  margin-left: 2px;
}

.apps-field-input,
.apps-field-select,
.apps-field-textarea {
  width: 100%;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 13px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.apps-field-input:focus,
.apps-field-select:focus,
.apps-field-textarea:focus {
  border-color: rgba(164, 255, 185, 0.35);
  background: #1c1c1c;
}

.apps-field-select option {
  background: #171717;
  color: #fff;
}

.apps-field-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.6;
}

.apps-field-static {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
}

.role-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
  color: #b7b3b3;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s;
}

.role-pill:hover {
  color: #fff;
  border-color: rgba(164, 255, 185, 0.18);
  background: #1c1c1c;
}

.role-pill.selected {
  color: #a4ffb9;
  border-color: rgba(164, 255, 185, 0.28);
  background: rgba(164, 255, 185, 0.08);
}

.apps-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.apps-form-grid--plain {
  padding: 0;
}

.apps-form-grid .full {
  grid-column: 1 / -1;
}

.apps-type-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apps-inline-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.apps-inline-toggle__title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.apps-inline-toggle__desc {
  margin-top: 0.3rem;
  color: #9b9898;
  font-size: 11px;
  line-height: 1.6;
}

.apps-release-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apps-release-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 72px;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.18s;
}

.apps-release-option:hover {
  border-color: rgba(164, 255, 185, 0.16);
  background: #1a1a1a;
}

.apps-release-option.selected {
  border-color: rgba(164, 255, 185, 0.28);
  background: linear-gradient(180deg, rgba(164, 255, 185, 0.08) 0%, rgba(164, 255, 185, 0.03) 100%);
  box-shadow: inset 0 0 0 1px rgba(164, 255, 185, 0.08);
}

.apps-release-option__radio {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apps-release-option__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.apps-release-option.selected .apps-release-option__radio {
  border-color: rgba(164, 255, 185, 0.38);
}

.apps-release-option.selected .apps-release-option__dot {
  background: #a4ffb9;
}

.apps-release-option__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.apps-release-option__title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.apps-release-option__desc {
  color: #9b9898;
  font-size: 11px;
  line-height: 1.55;
}

.apps-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.apps-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.apps-switch__track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #262626;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  padding: 2px;
  transition: all 0.18s;
}

.apps-switch__thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #b4b0b0;
  transition: all 0.18s;
}

.apps-switch input:checked + .apps-switch__track {
  background: rgba(164, 255, 185, 0.14);
  border-color: rgba(164, 255, 185, 0.26);
}

.apps-switch input:checked + .apps-switch__track .apps-switch__thumb {
  transform: translateX(18px);
  background: #a4ffb9;
}

.apps-type-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 88px;
  padding: 0.95rem 1rem 0.9rem;
  border-radius: 0.9rem;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.18s;
}

.apps-type-option:hover {
  border-color: rgba(164, 255, 185, 0.16);
  background: #1a1a1a;
}

.apps-type-option.selected {
  border-color: rgba(164, 255, 185, 0.28);
  background: linear-gradient(180deg, rgba(164, 255, 185, 0.08) 0%, rgba(164, 255, 185, 0.03) 100%);
  box-shadow: inset 0 0 0 1px rgba(164, 255, 185, 0.08);
}

.apps-type-option__radio {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apps-type-option__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.apps-type-option.selected .apps-type-option__radio {
  border-color: rgba(164, 255, 185, 0.38);
}

.apps-type-option.selected .apps-type-option__dot {
  background: #a4ffb9;
}

.apps-type-option__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.apps-type-option__title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.apps-type-option__desc {
  color: #9b9898;
  font-size: 11px;
  line-height: 1.65;
}

.apps-create-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.apps-create-toolbar__crumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-size: 12px;
  color: #adaaaa;
}

.apps-create-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.apps-form-side-section {
  padding-top: 0.15rem;
}

.apps-form-side-section__header {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.25rem;
}

.apps-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 244px;
  padding: 1.4rem 1.25rem;
  border-radius: 1rem;
  border: 1px dashed rgba(164, 255, 185, 0.22);
  background: linear-gradient(145deg, rgba(164, 255, 185, 0.05), rgba(255, 255, 255, 0.02));
}

.apps-upload-dropzone--compact {
  min-height: 160px;
  justify-content: center;
}

.apps-upload-dropzone__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4ffb9;
  background: rgba(164, 255, 185, 0.09);
  border: 1px solid rgba(164, 255, 185, 0.18);
}

.apps-screenshot-placeholder {
  min-height: 156px;
  border-radius: 0.875rem;
  border: 1px dashed rgba(164, 255, 185, 0.22);
  background: linear-gradient(145deg, rgba(164, 255, 185, 0.05), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4ffb9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.apps-screenshot-gallery {
  display: flex;
  overflow-x: auto;
  gap: 0.9rem;
  padding-bottom: 0.25rem;
}

.apps-upload-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.75rem;
}

.apps-upload-thumb {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #141414;
}

.apps-upload-thumb--sortable {
  cursor: grab;
}

.apps-upload-thumb--sortable:active {
  cursor: grabbing;
}

.apps-upload-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #9ea3a8;
  font-size: 12px;
  font-weight: 600;
}

.apps-upload-thumb__image {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.apps-upload-thumb__remove,
.apps-upload-thumb__sort-handle {
  position: absolute;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.72);
  color: #f3f1f1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.apps-upload-thumb__remove {
  right: 8px;
}

.apps-upload-thumb__sort-handle {
  left: 8px;
  cursor: grab;
}

.apps-screenshot-card {
  flex: 0 0 min(720px, 78vw);
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #111;
}

.apps-screenshot-image {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.apps-feedback-item {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
}

.apps-inline-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #adaaaa;
  font-size: 12px;
}

.apps-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c4c1c1;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.apps-chip.primary {
  background: rgba(164, 255, 185, 0.1);
  color: #a4ffb9;
  border-color: rgba(164, 255, 185, 0.18);
}

.apps-chip.warn {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.16);
}

.apps-chip.error {
  background: rgba(255, 113, 108, 0.12);
  color: #ff716c;
  border-color: rgba(255, 113, 108, 0.16);
}

.installed-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #131313;
  border-radius: 0.75rem;
  border: 1px solid rgba(72, 72, 71, 0.1);
  transition: all 0.2s;
}

.installed-row:hover {
  border-color: rgba(72, 72, 71, 0.25);
}

.installed-row.is-clickable {
  cursor: pointer;
}

.installed-row.is-clickable:hover {
  border-color: rgba(164, 255, 185, 0.2);
  background: rgba(164, 255, 185, 0.02);
}

.installed-row__content {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.05rem;
}

.installed-row__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.installed-row__note {
  color: #f1eeee;
  font-size: 12.5px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.installed-row__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  align-self: center;
}

.installed-row__link {
  color: #9ea3a8;
  font-size: 12px;
  font-weight: 700;
  padding: 0.55rem 0.25rem;
  transition: color 0.18s;
}

.installed-row__link:hover {
  color: #ff716c;
}

.created-card {
  background: #131313;
  border: 1px solid rgba(72, 72, 71, 0.15);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.created-card:hover {
  border-color: rgba(164, 255, 185, 0.2);
}

.created-card--draft {
  border-color: rgba(72, 72, 71, 0.24);
}

.created-card--pending_review {
  border-color: rgba(251, 191, 36, 0.24);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.04), rgba(19, 19, 19, 1));
}

.created-card--need_changes {
  border-color: rgba(244, 176, 71, 0.24);
  background: linear-gradient(180deg, rgba(244, 176, 71, 0.04), rgba(19, 19, 19, 1));
}

.created-card--rejected {
  border-color: rgba(255, 113, 108, 0.24);
  background: linear-gradient(180deg, rgba(255, 113, 108, 0.04), rgba(19, 19, 19, 1));
}

.created-card--published {
  border-color: rgba(164, 255, 185, 0.18);
}

.created-card-body {
  flex: 1;
}

.apps-created-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.created-card__status-copy {
  margin-top: 0.7rem;
  color: #9ea3a8;
  font-size: 12px;
  line-height: 1.6;
}

.created-card-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.review-item {
  background: #131313;
  border: 1px solid rgba(72, 72, 71, 0.15);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-item:hover {
  border-color: rgba(164, 255, 185, 0.25);
  background: #1a1919;
}

.review-item__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.1rem;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  padding: 0.875rem 1.25rem;
  background: #262626;
  border-radius: 0.75rem;
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid #a4ffb9;
  display: none;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  min-width: 280px;
}

.toast.show {
  display: flex;
}

@media (max-width: 1180px) {
  .apps-create-layout,
  .apps-detail-body {
    grid-template-columns: 1fr;
  }

  .apps-detail-sidebar {
    position: static;
  }
}

.toast.error {
  border-left-color: #f87171;
}

.support-entry {
  position: relative;
}

.support-entry .support-popover {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  padding: 1.125rem 1.125rem 1rem;
  width: 168px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  z-index: 300;
  pointer-events: none;
}

.support-entry:hover .support-popover {
  display: block;
}

.app-user-entry {
  margin-top: 12px;
  padding: 10px 8px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7d7d7;
  cursor: pointer;
  width: 100%;
  background: transparent;
  text-align: left;
  font-family: inherit;
}

.app-user-entry:hover {
  background: rgba(255, 255, 255, 0.045);
}
