/* Qorgon Create workspaces and unified Market — v5 product preview */
.portal-hero-create::before {
  background:
    radial-gradient(circle at 16% 20%, rgba(111, 89, 231, .34), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(44, 202, 170, .28), transparent 36%);
}

.create-side-mini > span { color: #725bdc; }

.create-quick-section .portal-section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.create-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.create-quick-grid > button {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface-2) 84%, transparent);
  color: var(--text);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.create-quick-grid > button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, #775ce5 38%, var(--line));
  box-shadow: 0 16px 30px rgba(70, 66, 116, .12), inset 0 1px 0 rgba(255,255,255,.7);
}

.create-quick-grid > button > span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(119,92,229,.16), rgba(47,197,169,.12));
  color: #735bdd;
}
.create-quick-grid > button > span svg { width: 20px; height: 20px; }
.create-quick-grid > button strong { font-size: 12px; }
.create-quick-grid > button small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.create-quick-grid > button > svg { width: 14px; height: 14px; color: var(--muted); }

.create-flow-card,
.create-system-flow,
.market-ranking-note,
.create-detail-head,
.create-detail-panel,
.embedded-create-card,
.create-work-card {
  border: 1px solid color-mix(in srgb, var(--glass-border) 82%, transparent);
  background: color-mix(in srgb, var(--panel-glass-strong) 78%, transparent);
  box-shadow: 0 18px 42px rgba(41, 52, 68, .1), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(calc(var(--glass-blur) * .72)) saturate(1.25);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * .72)) saturate(1.25);
}

.create-flow-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 21px;
}
.create-flow-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.create-flow-card > header span { color: #7159db; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.create-flow-card h2 { margin: 3px 0 0; font-size: 17px; }
.create-flow-card > header > b { padding: 7px 10px; border-radius: 999px; background: rgba(47,188,143,.12); color: #2ca47d; font-size: 9px; }
.create-flow-card > div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.create-flow-card > div article { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 6px; color: var(--muted); }
.create-flow-card > div article:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 23px; width: 16px; height: 1px; background: var(--line); }
.create-flow-card article > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 9px; font-weight: 900; }
.create-flow-card article.done > span { border-color: rgba(47,188,143,.3); background: rgba(47,188,143,.14); color: #2ca47d; }
.create-flow-card article.active > span { border-color: rgba(117,91,229,.35); background: rgba(117,91,229,.16); color: #7159db; box-shadow: 0 0 0 5px rgba(117,91,229,.07); }
.create-flow-card article b { font-size: 9px; }
.create-flow-card footer p { margin: 0; color: var(--muted); font-size: 10px; }

.create-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.create-work-card { display: grid; gap: 12px; padding: 16px; border-radius: 19px; }
.create-work-card > header { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; }
.create-work-card > header > span,
.create-detail-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(117,91,229,.12); color: #7159db; }
.create-work-card > header > div { min-width: 0; display: grid; gap: 2px; }
.create-work-card small { color: var(--muted); font-size: 8px; }
.create-work-card h3 { margin: 0; font-size: 13px; }
.create-work-card > header > b { padding: 6px 8px; border-radius: 999px; background: rgba(47,188,143,.11); color: #2ca47d; font-size: 8px; }
.create-work-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.create-work-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.create-work-meta span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 8px; }
.create-work-meta svg { width: 11px; height: 11px; }
.create-work-card footer { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.create-work-card footer button,
.embedded-create-card footer button,
.create-detail-actions button,
.create-detail-panel button { min-height: 33px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border-radius: 9px; background: var(--surface-2); color: var(--muted); font-size: 9px; font-weight: 850; }
.create-work-card footer button.primary,
.embedded-create-card footer button.primary,
.create-detail-actions button.primary,
.create-detail-panel button.primary { background: linear-gradient(135deg, #775ce5, #38bfa6); color: #fff; }
.create-work-card footer svg,
.create-detail-actions svg { width: 13px; height: 13px; }

.create-system-flow { display: grid; gap: 16px; padding: 20px; border-radius: 21px; }
.create-system-flow header span { color: #7159db; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.create-system-flow h2 { margin: 3px 0 0; font-size: 17px; }
.create-system-flow > div { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.create-system-flow > div > article { min-height: 112px; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px; border-radius: 16px; background: var(--surface-2); text-align: center; }
.create-system-flow article svg { width: 25px; height: 25px; color: #7159db; }
.create-system-flow article strong { font-size: 11px; }
.create-system-flow article small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.create-system-flow > div > svg { width: 18px; color: var(--muted); }

.embedded-create-card {
  width: min(680px, calc(100% - 28px));
  display: grid;
  gap: 12px;
  margin: 14px auto 8px;
  padding: 15px;
  border-radius: 20px;
}
.embedded-create-card > header { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; }
.embedded-create-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(117,91,229,.13); color: #7159db; }
.embedded-create-card small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.embedded-create-card h3 { margin: 2px 0 0; font-size: 14px; }
.embedded-create-card > header > b { padding: 6px 8px; border-radius: 999px; background: rgba(47,188,143,.12); color: #2ca47d; font-size: 8px; }
.embedded-create-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.embedded-create-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.embedded-create-stages span { display: grid; justify-items: center; gap: 3px; padding: 8px 5px; border-radius: 11px; background: var(--surface-2); color: var(--muted); font-size: 7px; text-align: center; }
.embedded-create-stages b { color: var(--text); font-size: 12px; }
.embedded-create-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.embedded-create-card footer > span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; }
.embedded-create-card footer > span svg { width: 12px; height: 12px; }
.embedded-create-card footer > div { display: flex; gap: 6px; }

.create-detail-dashboard { gap: 14px; }
.create-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 23px; }
.create-detail-title { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 13px; }
.create-detail-title > span { width: 52px; height: 52px; }
.create-detail-title h1 { margin: 2px 0 5px; font-size: 24px; }
.create-detail-title p { margin: 0; max-width: 720px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.create-detail-title small { color: #7159db; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.create-detail-actions { display: flex; gap: 8px; }
.create-stage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.create-stage-grid article { display: grid; justify-items: center; gap: 4px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.create-stage-grid strong { font-size: 20px; }
.create-stage-grid span { color: var(--muted); font-size: 8px; }
.create-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.create-detail-panel { display: grid; gap: 14px; padding: 18px; border-radius: 20px; }
.create-detail-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.create-detail-panel > header span { color: #7159db; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.create-detail-panel h2 { margin: 3px 0 0; font-size: 15px; }
.release-panel > header > b { padding: 6px 8px; border-radius: 999px; background: rgba(117,91,229,.12); color: #7159db; font-size: 8px; }
.create-release-compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.create-release-compare article { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.create-release-compare small { color: var(--muted); font-size: 8px; }
.create-release-compare strong { font-size: 12px; }
.create-release-compare span { color: #2ca47d; font-size: 8px; }
.create-release-compare > svg { width: 18px; color: var(--muted); }
.release-panel footer { display: flex; justify-content: flex-end; gap: 7px; }
.alert-panel article { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; padding: 9px; border-radius: 12px; background: var(--surface-2); }
.alert-panel article > svg { width: 16px; color: #dc8b36; }
.alert-panel article span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.classroom-table { gap: 0; overflow: hidden; }
.classroom-table > header { padding-bottom: 14px; }
.classroom-table-head,
.classroom-row { display: grid; grid-template-columns: 1.1fr .8fr .8fr .5fr; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; }
.classroom-table-head { border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 8px; font-weight: 850; }
.classroom-row { border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent); font-size: 9px; }
.classroom-row small { color: var(--muted); }
.classroom-row b { color: #2ca47d; }
.context-permissions > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.context-permissions article { display: grid; gap: 4px; padding: 11px; border-radius: 13px; background: var(--surface-2); }
.context-permissions article svg { width: 15px; color: #7159db; }
.context-permissions article span { color: var(--muted); font-size: 8px; }
.context-permissions article strong { font-size: 9px; }

.create-tool-panel { display: grid; gap: 12px; padding: 12px; }
.create-tool-panel > header { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 9px; }
.create-tool-panel > header > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: rgba(117,91,229,.13); color: #7159db; }
.create-tool-panel header div { min-width: 0; display: grid; gap: 2px; }
.create-tool-panel header small { color: var(--muted); font-size: 8px; }
.create-tool-panel header strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.create-tool-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.create-tool-quick button { min-height: 52px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 6px; padding: 8px; border-radius: 11px; background: var(--surface-2); color: var(--text); font-size: 8px; text-align: left; }
.create-tool-quick svg { width: 15px; color: #7159db; }
.create-tool-current,
.create-tool-security { display: grid; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); }
.create-tool-current p,
.create-tool-security p,
.create-tool-note { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.create-tool-current > div { display: flex; justify-content: flex-end; gap: 5px; }
.create-tool-current button { min-height: 29px; padding: 0 8px; border-radius: 8px; background: rgba(117,91,229,.12); color: #7159db; font-size: 8px; }
.create-tool-security { grid-template-columns: 28px 1fr; }
.create-tool-security > svg { width: 18px; color: #2ca47d; }
.create-tool-security > div { display: grid; gap: 3px; }
.create-tool-security strong { font-size: 9px; }

.create-builder-preview { display: grid; gap: 7px; }
.create-builder-preview label { display: grid; grid-template-columns: 120px 1fr; gap: 9px; padding: 9px 10px; border-radius: 11px; background: var(--surface-2); }
.create-builder-preview span { color: var(--muted); font-size: 9px; }
.create-builder-preview b { font-size: 9px; }
.temporary-code-card { display: grid; justify-items: center; gap: 5px; padding: 17px; border-radius: 16px; background: linear-gradient(135deg, rgba(117,91,229,.13), rgba(47,188,143,.11)); }
.temporary-code-card small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.temporary-code-card strong { font-size: 28px; letter-spacing: .08em; }
.temporary-code-card span { color: #2ca47d; font-size: 9px; }

.market-ranking-note { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; }
.market-ranking-note > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(221,158,35,.13); color: #c58a22; }
.market-ranking-note strong { font-size: 12px; }
.market-ranking-note p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.market-ranking-note > b { padding: 7px 9px; border-radius: 999px; background: rgba(47,188,143,.12); color: #2ca47d; font-size: 8px; }
.product-card.official-product { border-color: rgba(117,91,229,.28); box-shadow: 0 17px 36px rgba(96,73,190,.12), inset 0 1px 0 rgba(255,255,255,.72); }
.product-visual { position: relative; }
.product-visual > em { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; background: rgba(117,91,229,.88); color: #fff; font-size: 7px; font-style: normal; font-weight: 900; }
.product-visual > em svg { width: 10px; height: 10px; }
.product-seller { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 7px; border-radius: 10px; background: var(--surface-2); color: var(--text); text-align: left; }
.product-seller > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(117,91,229,.12); color: #7159db; font-size: 8px; font-weight: 900; }
.product-seller > div { min-width: 0; display: grid; gap: 2px; }
.product-seller strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.product-seller small { color: var(--muted); font-size: 7px; }
.product-seller > svg { width: 13px; color: var(--muted); }

