.crowd-dashboard-page {
  min-height: 100vh;
  background: #f4f5f7;
  background-image: none;
  color: #2f343a;
}

.crowd-dashboard-page [hidden] {
  display: none !important;
}

.crowd-dashboard-page button,
.crowd-dashboard-page input,
.crowd-dashboard-page textarea,
.crowd-dashboard-page select {
  font: inherit;
  letter-spacing: 0;
}

.dashboard-notice {
  min-height: 34px;
  background: #27313b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 16px;
  font-size: 12px;
}

.dashboard-notice strong {
  min-width: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 10px;
  text-align: center;
}

.dashboard-shell {
  width: 100%;
  margin: 0;
  padding: 26px 0 64px;
}

.dashboard-status,
.dashboard-auth,
.project-overview,
.dashboard-tabs {
  width: min(1316px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.dashboard-panel {
  width: min(1316px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.dashboard-status,
.dashboard-auth,
.dashboard-panel,
.project-overview,
.dashboard-workbox,
.url-box {
  border: 1px solid #e1e4e8;
  background: #fff;
  box-shadow: 0 10px 28px rgba(44, 52, 60, 0.05);
}

.dashboard-status,
.dashboard-auth {
  border-radius: 6px;
  padding: 22px;
}

.dashboard-status p,
.dashboard-auth h1 {
  margin: 0;
}

.dashboard-auth {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.dashboard-auth h1 {
  font-size: 24px;
  line-height: 1.4;
}

.dashboard-app {
  display: grid;
  gap: 20px;
}

.project-overview {
  min-height: 118px;
  border-radius: 0;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: center;
  gap: 26px;
}

.project-overview__side {
  display: grid;
  gap: 12px;
}

.project-switcher {
  justify-self: end;
  width: min(260px, 100%);
  display: grid;
  gap: 5px;
}

.project-switcher span {
  color: #68717a;
  font-size: 12px;
  font-weight: 800;
}

.project-switcher select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  background: #fff;
  color: #2f343a;
  padding: 7px 10px;
  font-size: 13px;
}

.dashboard-kicker {
  margin: 0 0 7px;
  color: #7b828a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-overview h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.38;
  letter-spacing: 0;
}

.project-overview p:not(.dashboard-kicker) {
  margin: 8px 0 0;
  color: #6b727a;
  font-size: 13px;
  line-height: 1.7;
}

.project-overview__stats {
  display: grid;
  grid-template-columns: 96px repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.project-thumb {
  width: 96px;
  aspect-ratio: 16 / 9;
  border: 1px solid #d9dee4;
  background: #f7f8fa;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overview__stats span,
.metric-card span,
.url-row span,
.project-card__status,
.project-card small,
.project-form label span,
.publish-grid label span {
  color: #68717a;
  font-size: 12px;
  line-height: 1.3;
}

.project-overview__stats strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.2;
}

.dashboard-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid #dce0e5;
}

.dashboard-tabs button {
  min-height: 40px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #59616a;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.dashboard-tabs button.is-active {
  border-bottom-color: #ff3b25;
  color: #2f343a;
  background: #fff;
}

.dashboard-panel {
  display: none;
  border-radius: 6px;
  padding: 24px;
}

.dashboard-panel.is-active {
  display: grid;
  gap: 20px;
}

.dashboard-panel.is-panel-empty > :not([data-panel-empty-state]) {
  display: none !important;
}

.panel-empty-action {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.dashboard-create-screen {
  width: 100%;
  display: grid;
  gap: 20px;
}

.crowd-dashboard-page.is-create-mode .project-overview,
.crowd-dashboard-page.is-create-mode .dashboard-tabs,
.crowd-dashboard-page.is-create-mode .dashboard-panel {
  display: none;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading--compact {
  margin-top: 4px;
}

.dashboard-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.dashboard-filterbar label {
  display: grid;
  gap: 6px;
}

.dashboard-filterbar span,
.readiness-card span {
  color: #68717a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.dashboard-filterbar input,
.dashboard-filterbar select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  background: #fff;
  color: #2f343a;
  padding: 8px 10px;
  font-size: 13px;
}

.readiness-card {
  border: 1px solid #e6d3d7;
  border-radius: 6px;
  background: #fff7f8;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.readiness-card.is-ready {
  border-color: #cfe5d8;
  background: #f4fbf7;
}

.readiness-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.readiness-card strong {
  color: #2f343a;
  font-size: 14px;
}

.readiness-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3f454d;
  font-size: 13px;
  line-height: 1.7;
}

.panel-heading h2,
.panel-heading h3,
.dashboard-workbox h2,
.contact-panel h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.dashboard-primary,
.dashboard-secondary,
.url-row button,
.table-button {
  min-height: 38px;
  border: 1px solid #2f343a;
  border-radius: 4px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2f343a;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.dashboard-primary {
  border-color: #f6b52d;
  background: #ffc447;
}

.dashboard-secondary,
.url-row button,
.table-button {
  border-color: #d8dde3;
}

.dashboard-primary:hover,
.dashboard-secondary:hover,
.url-row button:hover,
.table-button:hover:not(:disabled) {
  filter: brightness(0.98);
}

.table-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboard-primary:disabled,
.dashboard-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboard-workbox {
  border-radius: 6px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.check-list li {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3f454d;
  font-size: 13px;
  font-weight: 700;
}

.check-list li::before {
  content: "Check";
  border-radius: 4px;
  background: #ff4e6f;
  color: #fff;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1;
}

.check-list li.is-done::before {
  background: #2d9f68;
}

.action-stack {
  display: grid;
  align-content: start;
  gap: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid--analytics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card {
  min-height: 92px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background: #fff;
  padding: 16px;
  display: grid;
  align-content: space-between;
}

.metric-card strong {
  display: block;
  margin-top: 15px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.analytics-card,
.coming-soon-panel,
.stripe-connect-panel,
.payment-formula {
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background: #fff;
  padding: 18px;
}

.analytics-funnel,
.reward-breakdown {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.funnel-row,
.reward-breakdown-row {
  display: grid;
  gap: 7px;
}

.funnel-row__label,
.reward-breakdown-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #4a525a;
  font-size: 13px;
  font-weight: 800;
}

.funnel-row__bar,
.reward-breakdown-row__bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f4;
}

.funnel-row__bar span,
.reward-breakdown-row__bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #f6b52d;
}

.reward-breakdown-row__bar span {
  background: #d9492f;
}

.coming-soon-panel {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.coming-soon-panel strong {
  color: #2f343a;
  font-size: 24px;
}

.coming-soon-panel p {
  max-width: 420px;
  margin: 0;
  color: #68717a;
  font-size: 13px;
  line-height: 1.7;
}

.payment-formula {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto;
  align-items: center;
  gap: 10px;
  color: #59616a;
  font-size: 13px;
  font-weight: 800;
}

.payment-formula strong {
  color: #2f343a;
  font-size: 18px;
}

.payment-fee-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.info-tooltip {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #cfd5db;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #59616a;
  font-size: 12px;
  font-weight: 900;
  cursor: help;
}

.info-tooltip:hover::after,
.info-tooltip:focus::after {
  content: "手数料は17%です。";
  position: absolute;
  right: -6px;
  top: -42px;
  width: max-content;
  max-width: 220px;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  background: #20252a;
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  z-index: 20;
}

.stripe-connect-panel {
  display: grid;
  gap: 14px;
}

.stripe-connect-status {
  display: grid;
  gap: 6px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background: #f7f8fa;
  padding: 14px;
}

.stripe-connect-status span {
  width: fit-content;
  border-radius: 999px;
  background: #eceff3;
  color: #58616a;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.stripe-connect-status strong {
  color: #2f343a;
  font-size: 14px;
  line-height: 1.5;
}

.stripe-connect-status.is-connected {
  border-color: #a5d6b5;
  background: #f2fbf5;
}

.stripe-connect-status.is-connected span {
  background: #d8f3df;
  color: #246a3d;
}

.stripe-connect-notes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #59616a;
  font-size: 13px;
  line-height: 1.6;
}

.url-box {
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
}

.url-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e8ec;
  padding: 12px 14px;
}

.url-row:last-child {
  border-bottom: 0;
}

.url-row input,
.project-form input,
.project-form textarea,
.project-form select,
.publish-grid input,
.publish-grid select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  background: #fff;
  color: #2f343a;
  padding: 8px 10px;
  font-size: 13px;
}

.url-row input {
  background: #f7f8fa;
}

.project-list {
  display: grid;
  gap: 10px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}

.project-card.is-selected {
  border-color: #ffc447;
  background: #fffdf5;
}

.project-card > button:first-child {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.project-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.project-form {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e5e8ec;
  padding-top: 20px;
}

.project-form label,
.publish-grid label {
  display: grid;
  gap: 6px;
}

.project-form textarea {
  resize: vertical;
}

.asset-upload-control {
  align-items: start;
  border: 1px dashed #c8ced6;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fafbfc;
}

.asset-upload-control input[type="file"] {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
}

.form-grid,
.publish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-editor {
  display: grid;
  gap: 12px;
  border-top: 1px solid #e5e8ec;
  padding-top: 18px;
}

.reward-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 14px;
}

.reward-row__wide {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-error-summary {
  flex: 1 0 100%;
  margin: 0;
  color: #c53025;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.project-form input.is-invalid,
.project-form textarea.is-invalid,
.project-form select.is-invalid {
  border-color: #d9492f;
  background: #fff7f5;
}

.dashboard-toast-region {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 120;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 32px));
  pointer-events: none;
}

.dashboard-toast {
  position: relative;
  border: 1px solid #f1c5bd;
  border-radius: 6px;
  background: #fff4f1;
  color: #7f261a;
  padding: 14px 16px 14px 44px;
  box-shadow: 0 16px 34px rgba(44, 52, 60, 0.12);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  transform: translateX(110%);
  opacity: 0;
  animation: toast-slide-in 180ms ease forwards;
}

.dashboard-toast::before {
  content: "×";
  position: absolute;
  top: 13px;
  left: 16px;
  color: #b13a2a;
  font-size: 18px;
  line-height: 1;
}

@keyframes toast-slide-in {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid #e5e8ec;
  padding: 12px;
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}

th {
  background: #f7f8fa;
  color: #68717a;
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.table-empty {
  color: #68717a;
  text-align: center;
}

.contact-panel {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.panel-note {
  margin: 0;
  color: #68717a;
  font-size: 13px;
  line-height: 1.7;
}

.project-setup-titlebar {
  min-height: 70px;
  border-top: 1px solid #dfe2e6;
  border-bottom: 1px solid #dfe2e6;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
}

.project-setup-titlebar strong {
  grid-column: 2;
  color: #45484d;
  font-size: 21px;
}

.project-setup-titlebar a {
  justify-self: end;
  color: #6c727a;
  font-size: 13px;
  font-weight: 800;
}

.project-setup-titlebar button {
  justify-self: start;
  width: auto;
}

.project-setup-intro {
  text-align: center;
  padding: 28px 24px 18px;
}

.project-setup-intro img {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border: 1px solid #d8dde3;
  border-radius: 50%;
  padding: 8px;
  background: #fff;
  object-fit: contain;
}

.project-setup-intro h2 {
  margin: 18px 0 0;
  color: #4a4d52;
  font-size: 24px;
  line-height: 1.5;
}

.ai-draft-card {
  width: min(1316px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 28px rgba(44, 52, 60, 0.05);
}

.ai-draft-card strong {
  color: #2f343a;
  font-size: 15px;
  line-height: 1.35;
}

.ai-draft-card p {
  margin: 4px 0 0;
  color: #68717a;
  font-size: 12px;
  line-height: 1.5;
}

.ai-draft-card button {
  width: auto;
  gap: 8px;
  white-space: nowrap;
}

.ai-draft-card svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.project-setup-form {
  border-top: 0;
  padding-top: 0;
  gap: 20px;
}

.project-setup-form [data-create-page] {
  display: grid;
  gap: 20px;
}

.project-setup-card {
  width: min(1316px, calc(100% - 32px));
  min-height: 300px;
  margin: 0 auto;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  box-shadow: 0 10px 28px rgba(44, 52, 60, 0.05);
}

.project-setup-card__inner {
  width: min(620px, 100%);
  margin: 0 auto;
}

.project-setup-card__inner--wide {
  width: min(820px, 100%);
  text-align: center;
}

.project-setup-card__inner--story {
  width: min(860px, 100%);
}

.project-setup-card h3 {
  margin: 0 0 24px;
  color: #4a4d52;
  font-size: 23px;
  line-height: 1.45;
}

.setup-choice-stack {
  display: grid;
  gap: 18px;
}

.setup-choice-panel {
  margin: 0;
  border: 1px solid #d9dee4;
  border-radius: 4px;
  padding: 0;
}

.setup-choice-panel legend {
  width: 100%;
  border-bottom: 1px solid #d9dee4;
  padding: 12px 18px;
  background: #f7f8fa;
  color: #555a61;
  font-size: 15px;
  font-weight: 800;
}

.setup-choice-grid {
  display: grid;
}

.setup-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.setup-choice-cell {
  min-height: 70px;
  display: flex !important;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #e2e5e9;
  padding: 16px 18px;
  color: #4d5157;
  font-size: 17px;
  font-weight: 800;
}

.setup-choice-cell:nth-child(2n) {
  border-right: 0;
}

.setup-choice-cell input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #33373d;
}

.setup-icon {
  width: 52px;
  height: 52px;
  margin: -4px auto 26px;
  display: grid;
  place-items: center;
  color: #2f3844;
}

.setup-icon--coins::before {
  content: "¥";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid #2f3844;
  border-radius: 50%;
  background: #ffe372;
  box-shadow: 14px 0 0 #ffe372, 14px 0 0 3px #2f3844;
  font-size: 23px;
  font-weight: 900;
}

.setup-icon--calendar {
  border: 3px solid #2f3844;
  border-radius: 7px;
  background:
    linear-gradient(#ffe372 0 11px, transparent 11px),
    repeating-linear-gradient(90deg, transparent 0 9px, #dfe3e8 9px 11px);
}

.setup-icon--calendar::before,
.setup-icon--calendar::after {
  content: "";
  width: 8px;
  height: 14px;
  border-radius: 999px;
  background: #2f3844;
  position: relative;
  top: -26px;
}

.setup-icon--calendar::before {
  left: -12px;
}

.setup-icon--calendar::after {
  left: 12px;
}

.setup-segment-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #d9dee4;
  border-radius: 4px;
  overflow: hidden;
}

.setup-segment-row button {
  min-height: 76px;
  border: 0;
  border-right: 1px solid #d9dee4;
  background: #fff;
  color: #555a61;
  padding: 14px 10px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.setup-segment-row button:last-child {
  border-right: 0;
}

.setup-segment-row button.is-active,
.setup-genre-grid button.is-active {
  background: #fff6df;
  box-shadow: inset 0 0 0 2px #efb632;
}

.setup-inline-input {
  width: min(420px, 100%);
  margin: 20px auto 0;
  text-align: left;
}

.setup-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px auto 0;
  text-align: left;
}

.setup-genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.setup-genre-grid--planning {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.setup-genre-grid button {
  min-height: 118px;
  border: 1px solid #d9dee4;
  border-radius: 6px;
  background: #fff;
  color: #4d5157;
  padding: 16px 12px;
  display: grid;
  gap: 10px;
  place-items: center;
  cursor: pointer;
}

.setup-genre-grid strong {
  font-size: 15px;
  line-height: 1.35;
}

.setup-genre-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid #2f3844;
  color: #2f3844;
  background: #ffe372;
}

.setup-genre-icon--product {
  transform: rotate(-8deg);
}

.setup-genre-icon--product::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  transform: rotate(45deg);
  background: #fff;
}

.setup-genre-icon--ai {
  border-radius: 50%;
}

.setup-genre-icon--ai::before {
  content: "</>";
  font-size: 13px;
  font-weight: 900;
}

.setup-genre-icon--game {
  border-radius: 10px;
}

.setup-genre-icon--game::before {
  content: "";
  width: 24px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 999px;
  background: #fff;
}

.setup-genre-icon--saas::before {
  content: "";
  width: 22px;
  height: 18px;
  border: 3px solid currentColor;
  background: #fff;
}

.setup-genre-icon--oss {
  border-radius: 50%;
}

.setup-genre-icon--oss::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.setup-genre-icon--content::before {
  content: "";
  width: 24px;
  height: 18px;
  border: 3px solid currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 62% 76%, 50% 100%, 38% 76%, 0 76%);
  background: #fff;
}

.setup-genre-icon--food {
  border-radius: 50%;
}

.setup-genre-icon--food::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.setup-genre-icon--store::before {
  content: "";
  width: 24px;
  height: 18px;
  border: 3px solid currentColor;
  border-top-width: 7px;
  background: #fff;
}

.setup-wide-choice {
  width: min(360px, 100%);
  min-height: 58px;
  margin: 24px auto 0;
  border: 1px solid #d9dee4;
  border-radius: 6px;
  background: #fff;
  color: #555a61;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.setup-wide-choice.is-active {
  background: #fff6df;
  box-shadow: inset 0 0 0 2px #efb632;
}

.setup-card-note {
  margin: -8px 0 20px;
  color: #6b727a;
  font-size: 13px;
  line-height: 1.7;
}

.setup-icon--notice::before {
  content: "";
  width: 34px;
  height: 18px;
  border: 3px solid #2f3844;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 -10px 0 -4px #ffe372;
  transform: rotate(-8deg);
}

.setup-icon--people::before {
  content: "";
  width: 36px;
  height: 24px;
  border: 3px solid #2f3844;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(90deg, transparent 0 27%, #2f3844 27% 34%, transparent 34% 66%, #2f3844 66% 73%, transparent 73%);
  box-shadow: -14px 4px 0 -6px #ffe372, 14px 4px 0 -6px #ffe372;
}

.setup-field-stack {
  display: grid;
  gap: 14px;
}

.setup-story-field {
  margin-bottom: 20px;
}

.form-actions--center {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .project-overview {
    grid-template-columns: 1fr;
  }

  .project-overview__stats {
    grid-template-columns: 96px repeat(3, minmax(0, 1fr));
  }

  .dashboard-tabs {
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .dashboard-workbox,
  .dashboard-filterbar,
  .analytics-layout,
  .form-grid,
  .publish-grid,
  .setup-date-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .metric-grid--analytics,
  .setup-genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-formula {
    grid-template-columns: 1fr;
  }

  .setup-segment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-status,
  .dashboard-auth,
  .project-overview,
  .dashboard-tabs,
  .dashboard-panel,
  .ai-draft-card,
  .project-setup-card {
    width: min(100% - 20px, 1316px);
  }

  .project-overview,
  .dashboard-panel,
  .dashboard-workbox,
  .ai-draft-card,
  .project-setup-card {
    padding: 16px;
  }

  .project-overview h1,
  .project-setup-card h3,
  .project-setup-intro h2 {
    font-size: 20px;
  }

  .project-overview__stats,
  .metric-grid,
  .metric-grid--analytics,
  .reward-row,
  .project-card,
  .setup-choice-grid--two,
  .setup-segment-row,
  .setup-genre-grid {
    grid-template-columns: 1fr;
  }

  .project-setup-titlebar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 18px;
    text-align: center;
  }

  .project-setup-titlebar strong,
  .project-setup-titlebar a,
  .project-setup-titlebar button {
    grid-column: auto;
    justify-self: center;
  }

  .project-thumb {
    width: 100%;
  }

  .url-row {
    grid-template-columns: 1fr;
  }

  .ai-draft-card {
    display: grid;
  }

  .dashboard-primary,
  .dashboard-secondary,
  .url-row button {
    width: 100%;
  }
}
