.app-development .project-credits div { grid-template-columns: 6em minmax(0, 1fr); }
.app-development .project-actions { width: 100%; }
.app-development .published-app-links { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: center; gap: 3px 18px; }
.app-development .sample-open { padding: 0; background: transparent; font-family: inherit; }
.app-development .sample-open[hidden] { display: none; }
.app-development [data-theme-project="urban"] { --canvas: #597b62; --glow: #b5c7a3; --edge: #425c50; --accent: #507455; }
[data-theme="dark"] .app-development [data-theme-project="urban"] { --card: #282e2c; --secondary: #c2cbc3; --rule: #445049; --soft: #354039; --accent: #abc6a9; }
.app-development [data-theme-project="urban"] .corner-pattern { --arc-ink: #f2f7de; }
.sample-dialog {
  --insight-ink: #302737; --insight-muted: #675c70; --insight-violet: #634e75;
  --insight-on-violet: #fff; --insight-card: #fffdfd; --insight-border: #dcd4e2;
  --insight-tint: #f2edf5; --insight-on-tint: #54415f;
  padding: 0; width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 28px); overflow: auto;
  border: 1px solid var(--insight-border); border-radius: 21px; color: var(--insight-ink); background: var(--insight-card);
}
.sample-dialog::backdrop { background: rgb(18 15 21 / 65%); backdrop-filter: blur(5px); }
[data-theme="dark"] .sample-dialog {
  --insight-ink: #f1edf3; --insight-muted: #c7bacd; --insight-violet: #d9c5e6;
  --insight-on-violet: #2e2435; --insight-card: #28242c; --insight-border: #514858;
  --insight-tint: #36303c; --insight-on-tint: #e5d7ed;
}
.insight-workflow { padding: clamp(17px, 2.6vw, 30px); }
.insight-window-header, .insight-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.insight-window-header { flex-wrap: nowrap; justify-content: space-between; margin-bottom: 18px; }
.insight-window-header h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.05em; font-weight: 600; }
.insight-window-header .insight-field-label { margin-bottom: 3px; }
.insight-field-label { color: var(--insight-muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; }
.insight-tabs { display: inline-flex; max-width: 100%; padding: 3px; gap: 2px; border-radius: 999px; background: var(--insight-tint); }
.insight-tabs button { border-radius: 999px; font-size: 12px; font-weight: 500; padding: 8px 12px; line-height: 1.2; background: none; color: var(--insight-on-tint); }
.insight-tabs [aria-selected="true"] { background: var(--insight-violet); color: var(--insight-on-violet); }
.insight-workspace { margin-top: 18px; padding-top: 18px; min-height: 255px; border-top: 1px solid var(--insight-border); }
.insight-workspace [hidden] { display: none; }
.insight-workspace [role="tabpanel"]:focus-visible { outline: 2px solid var(--insight-violet); outline-offset: 6px; border-radius: 7px; }
.insight-workspace h4 { margin: 4px 0 15px; font-size: clamp(18px, 1.65vw, 24px); font-weight: 550; line-height: 1.24; letter-spacing: -.04em; }
.insight-choices, .insight-form fieldset { display: grid; gap: 5px; margin: 0; padding: 0; border: 0; min-width: 0; list-style: none; }
.insight-choices li, .insight-form label {
  display: flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid var(--insight-border);
  border-radius: 10px; font-size: 13px; line-height: 1.4; min-width: 0;
}
.insight-choices i, .insight-form input { width: 15px; height: 15px; flex: none; margin: 0; }
.insight-choices i { border: 1.5px solid var(--insight-muted); border-radius: 50%; }
.insight-form label { cursor: pointer; min-height: 40px; }
.insight-form input { accent-color: var(--insight-violet); }
.insight-form label:has(:checked) { border-color: var(--insight-violet); background: var(--insight-tint); }
.insight-next { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; font-size: 13px; font-weight: 600; min-height: 36px; margin-top: 14px; padding: 7px 14px; background: var(--insight-tint); color: var(--insight-on-tint); }
.insight-form-actions { gap: 0 8px; }
.insight-feedback:not(:empty), .insight-note { margin-top: 12px; color: var(--insight-muted); font-size: 12px; line-height: 1.5; }
.insight-results { display: flex; align-items: center; flex-wrap: wrap; gap: 16px clamp(12px, 2vw, 28px); margin: 20px 0 12px; }
.insight-donut { width: clamp(92px, 10vw, 132px); aspect-ratio: 1; position: relative; flex: none; }
.insight-donut svg { display: block; width: 100%; height: 100%; fill: none; stroke-width: 14; }
.insight-donut span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 10px; line-height: 1.3; color: var(--insight-muted); }
.insight-donut strong { font-size: 23px; font-weight: 600; color: var(--insight-ink); }
.insight-results ul { flex: 1 1 160px; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.insight-results li { display: flex; align-items: center; gap: 8px; padding-block: 5px; }
.insight-results li i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.insight-results li strong { margin-left: auto; }
.insight-results .result-0 { stroke: #78608f; background: #78608f; }
.insight-results .result-1 { stroke: #a08bb6; background: #a08bb6; }
.insight-results .result-2 { stroke: #cbbbdc; background: #cbbbdc; }
.sample-dialog :is(button, input):focus-visible { outline-color: var(--insight-violet); outline-offset: 2px; }
