:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #17212f;
  background: #f5f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #17212f;
  --muted: #617086;
  --line: #dbe2eb;
  --panel: #ffffff;
  --panel-strong: #f9fbfd;
  --teal: #0e7c7b;
  --teal-dark: #075e5d;
  --blue: #2b59c3;
  --coral: #e85d4f;
  --amber: #c98815;
  --shadow: 0 18px 42px rgba(32, 45, 69, 0.11);
}

* {
  box-sizing: border-box;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 9% 10%, rgba(14, 124, 123, 0.11), transparent 25%),
    radial-gradient(circle at 91% 12%, rgba(232, 93, 79, 0.1), transparent 25%),
    linear-gradient(180deg, #f8fafd 0%, #eef3f8 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.app-shell {
  width: min(1520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(14, 124, 123, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(14, 124, 123, 0.96), rgba(43, 89, 195, 0.9)),
    #0e7c7b;
  box-shadow: 0 10px 24px rgba(14, 124, 123, 0.18);
}

.brand-mark .icon {
  width: 19px;
  height: 19px;
}

.brand p,
.brand span {
  margin: 0;
}

.brand p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.toast {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -16px);
  border: 1px solid rgba(14, 124, 123, 0.22);
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(239, 250, 248, 0.98);
  box-shadow: var(--shadow);
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.icon-button,
.primary-action,
.secondary-action,
.star-action,
.copy-button,
.wide-action,
.mini-action,
.tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  min-height: 40px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.icon-button:hover,
.primary-action:hover,
.secondary-action:hover,
.star-action:hover,
.copy-button:hover,
.wide-action:hover,
.mini-action:hover,
.tabs button:hover {
  border-color: #a8b7c9;
  background: #f9fbff;
  transform: translateY(-1px);
}

.icon-button {
  width: 40px;
  padding: 0;
}

.primary-action {
  padding: 0 14px;
  color: #ffffff;
  border-color: var(--teal-dark);
  background: var(--teal);
  box-shadow: 0 11px 22px rgba(14, 124, 123, 0.18);
}

.secondary-action {
  padding: 0 13px;
  color: var(--blue);
  border-color: #b9c9e1;
  background: #f8fbff;
  font-weight: 800;
}

.secondary-action:hover {
  color: #1f4faa;
  border-color: #9bb4d3;
  background: #eef5ff;
}

.star-action {
  padding: 0 13px;
  color: #6d4704;
  border-color: rgba(201, 136, 21, 0.38);
  background: #fff8e8;
  font-weight: 850;
}

.star-action:hover {
  color: #5c3b02;
  border-color: rgba(201, 136, 21, 0.62);
  background: #fff1cf;
}

.primary-action:hover {
  color: #ffffff;
  border-color: #064c4b;
  background: var(--teal-dark);
}

.wide-action {
  width: 100%;
  margin-top: 12px;
  color: #ffffff;
  border-color: var(--teal-dark);
  background: var(--teal);
  font-weight: 800;
}

.wide-action:hover {
  color: #ffffff;
  border-color: #064c4b;
  background: var(--teal-dark);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr) minmax(260px, 330px);
  gap: 16px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.input-panel,
.output-panel,
.side-rail .panel {
  padding: 18px;
}

.input-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-heading,
.section-title,
.score-top,
.copy-block-head,
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-heading {
  padding-bottom: 4px;
}

.panel-heading svg {
  color: var(--coral);
  flex: 0 0 auto;
}

.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

.panel-heading h1,
.section-title h2,
.score-top h2,
.repo-preview h2 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: #405069;
  font-size: 13px;
  font-weight: 700;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-label-row > span {
  min-width: 0;
}

.mini-action {
  min-height: 27px;
  border-color: rgba(14, 124, 123, 0.26);
  color: var(--teal-dark);
  background: #f4fbfb;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mini-action .icon {
  width: 14px;
  height: 14px;
}

.mini-action[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cdd7e5;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  min-height: 42px;
  padding: 10px 11px;
  outline: none;
}

.field textarea {
  min-height: 94px;
  line-height: 1.45;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.14);
}

.import-status {
  display: none;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  color: #405069;
  background: #f8fbff;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.35;
}

.import-status.show {
  display: block;
}

.import-status.success {
  border-color: rgba(14, 124, 123, 0.22);
  color: var(--teal-dark);
  background: #effaf8;
}

.import-status.error {
  border-color: rgba(232, 93, 79, 0.32);
  color: #9c352c;
  background: #fff5f3;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.output-panel {
  min-width: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tabs button {
  flex: 1 1 86px;
  min-width: 0;
  padding: 0 10px;
  color: #45566e;
  font-size: 14px;
  font-weight: 800;
}

.tabs button.active {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.tabs button.active:hover {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.tab-content {
  min-height: 628px;
}

.stack {
  display: grid;
  gap: 12px;
}

.copy-button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--teal-dark);
  border-color: rgba(14, 124, 123, 0.26);
  background: #f4fbfb;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.copy-button.copied {
  border-color: rgba(14, 124, 123, 0.55);
  background: #e8f6f5;
}

.readme-preview {
  overflow: auto;
  max-height: 650px;
  margin: 16px 0 0;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  color: #1f2a3a;
  background:
    linear-gradient(180deg, rgba(249, 251, 253, 0.94), rgba(255, 255, 255, 0.98)),
    #ffffff;
  padding: 16px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.58;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-block {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 15px;
}

.copy-block h2 {
  font-size: 15px;
  line-height: 1.25;
}

.copy-block p {
  margin-top: 12px;
  color: #34445b;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.badge-preview {
  overflow: auto;
  margin: 13px 0 0;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  color: #1f2a3a;
  background: #ffffff;
  padding: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.launch-summary p {
  color: var(--muted);
}

.launch-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.launch-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 5px 9px;
  align-items: center;
  border: 1px solid #c8d7ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 11px;
}

.launch-link:hover {
  border-color: #9bb4d3;
  background: #f8fbff;
}

.launch-link .icon {
  grid-row: span 2;
  color: var(--blue);
}

.launch-link span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.launch-link small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.ask-summary p,
.ask-next p {
  color: var(--muted);
}

.ask-next p {
  color: #213047;
}

.ask-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.ask-stat {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.ask-stat strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.ask-stat span,
.ask-form label span,
.ask-edit-grid label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ask-form,
.ask-edit-grid {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.ask-form {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.72fr) minmax(110px, 0.56fr);
}

.ask-form-note,
.ask-note-field {
  grid-column: 1 / -1;
}

.ask-form label,
.ask-edit-grid label {
  display: grid;
  gap: 6px;
}

.ask-form input,
.ask-form textarea,
.ask-form select,
.ask-edit-grid input,
.ask-edit-grid textarea,
.ask-edit-grid select {
  width: 100%;
  border: 1px solid #cbd8e8;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  padding: 9px 10px;
  font-size: 14px;
  outline: none;
}

.ask-form textarea,
.ask-edit-grid textarea {
  resize: vertical;
}

.suggestion-row,
.ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #c8d7ea;
  border-radius: 999px;
  color: #214d8f;
  background: #eef5ff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

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

.ask-card,
.ask-empty {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 14px;
}

.ask-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ask-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #c8d7ea;
  border-radius: 999px;
  color: #214d8f;
  background: #eef5ff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.ask-pill.status-ready,
.ask-pill.status-replied,
.ask-pill.status-starred {
  color: var(--teal-dark);
  border-color: rgba(14, 124, 123, 0.26);
  background: #effaf8;
}

.ask-pill.status-sent {
  color: #7b520c;
  border-color: rgba(201, 136, 21, 0.28);
  background: #fff8e8;
}

.ask-actions {
  justify-content: flex-end;
}

.muted-action {
  color: #596981;
  border-color: #d7e0ea;
  background: #ffffff;
}

.ask-empty {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: #405069;
  font-size: 14px;
  line-height: 1.4;
}

.hook-block p {
  font-size: 16px;
  color: #213047;
}

.sprint-summary p {
  color: var(--muted);
}

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

.sprint-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 14px;
}

.sprint-step > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.sprint-step h2 {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.sprint-step p {
  margin-top: 7px;
  color: #34445b;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.doctor-summary p {
  color: var(--muted);
}

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

.doctor-card {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 14px;
}

.doctor-card.warn {
  border-color: rgba(232, 93, 79, 0.28);
  background: #fff8f6;
}

.doctor-card-head {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.doctor-card-head .icon {
  color: var(--teal);
}

.doctor-card.warn .doctor-card-head .icon {
  color: #9c352c;
}

.doctor-card h2 {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.doctor-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(14, 124, 123, 0.24);
  border-radius: 999px;
  color: var(--teal-dark);
  background: #effaf8;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
}

.doctor-card.warn .doctor-card-head span {
  border-color: rgba(232, 93, 79, 0.32);
  color: #9c352c;
  background: #fff5f3;
}

.doctor-card p {
  margin-top: 10px;
  color: #34445b;
  font-size: 14px;
  line-height: 1.45;
}

.doctor-card strong {
  display: block;
  margin-top: 8px;
  color: #213047;
  font-size: 13px;
  line-height: 1.4;
}

.patch-summary p {
  color: var(--muted);
}

.patch-card {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 15px;
}

.patch-card h2 {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.patch-card pre {
  overflow: auto;
  max-height: 300px;
  margin: 13px 0 0;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  color: #1f2a3a;
  background: #ffffff;
  padding: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.topic-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #c8d7ea;
  border-radius: 999px;
  color: #214d8f;
  background: #eef5ff;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 750;
}

.issue-list {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding-left: 18px;
  color: #34445b;
  font-size: 14px;
  line-height: 1.45;
}

.side-rail {
  display: grid;
  gap: 16px;
}

.score-panel {
  display: grid;
  gap: 18px;
}

.score-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.score-ring::after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.score-ring span {
  position: relative;
  z-index: 1;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 850;
}

.score-list {
  display: grid;
  gap: 13px;
}

.nudge-list {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.nudge-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #34445b;
  font-size: 12px;
  line-height: 1.35;
}

.nudge-item svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.score-item {
  display: grid;
  gap: 8px;
}

.score-item div {
  display: grid;
  gap: 2px;
}

.score-item strong {
  color: #26354a;
  font-size: 14px;
}

.score-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

meter {
  width: 100%;
  height: 9px;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: #dce4ee;
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.repo-preview {
  overflow: hidden;
}

.preview-head {
  justify-content: flex-start;
  color: #405069;
  font-size: 13px;
  font-weight: 800;
}

.repo-preview h2 {
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.repo-preview p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.preview-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  border: 1px solid #cfdae8;
  border-radius: 8px;
  padding: 0 10px;
  color: #214d8f;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 800;
}

.repo-pulse-panel {
  overflow: hidden;
}

.star-watch-panel {
  overflow: hidden;
}

.star-watch-head {
  justify-content: space-between;
}

.star-watch-head > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.star-watch-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.star-watch-main strong {
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.star-watch-main span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.star-watch-main.has-star strong {
  color: var(--teal-dark);
}

.star-watch-note,
.star-watch-empty {
  margin-top: 9px;
  color: #34445b;
  font-size: 13px;
  line-height: 1.4;
}

.star-watch-empty {
  color: var(--muted);
}

.star-watch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.star-watch-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #c8d7ea;
  border-radius: 999px;
  color: #214d8f;
  background: #eef5ff;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
}

.pulse-empty {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.pulse-grid div {
  display: grid;
  gap: 2px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
}

.pulse-grid strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.pulse-grid span,
.pulse-meta span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.pulse-meta,
.pulse-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.pulse-meta span,
.pulse-checks div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  border: 1px solid #c8d7ea;
  border-radius: 999px;
  background: #eef5ff;
  padding: 0 9px;
  font-weight: 800;
}

.pulse-checks div {
  color: var(--teal-dark);
  background: #effaf8;
}

.pulse-checks div.warn {
  color: #9c352c;
  border-color: rgba(232, 93, 79, 0.32);
  background: #fff5f3;
}

.pulse-checks .icon {
  width: 14px;
  height: 14px;
}

.checklist-panel {
  display: grid;
  gap: 12px;
}

.check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #34445b;
  font-size: 13px;
  line-height: 1.35;
}

.check-row svg {
  color: var(--teal);
}

.share-card-panel {
  overflow: hidden;
}

.launch-card {
  display: grid;
  gap: 11px;
  margin-top: 14px;
  border: 1px solid #cbd9e7;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 247, 246, 0.98), rgba(255, 241, 239, 0.95)),
    #ffffff;
  padding: 18px;
}

.launch-card-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.launch-card h2 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.launch-card p {
  color: #405069;
  font-size: 14px;
  line-height: 1.45;
}

.launch-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(203, 217, 231, 0.82);
  padding-top: 12px;
  color: #214d8f;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  }

  .side-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}

@media (max-width: 840px) {
  .app-shell {
    width: min(100% - 22px, 720px);
    padding-top: 16px;
  }

  .topbar,
  .workspace,
  .side-rail {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .top-actions {
    justify-content: stretch;
  }

  .primary-action,
  .secondary-action,
  .star-action {
    flex: 1 1 auto;
  }

  .workspace {
    display: grid;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .ask-form,
  .ask-stats {
    grid-template-columns: 1fr;
  }

  .tab-content {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sprint-step {
    grid-template-columns: 1fr;
  }

  .launch-link-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .score-top,
  .copy-block-head,
  .ask-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-button,
  .ask-actions {
    width: 100%;
  }

  .ask-actions .mini-action {
    flex: 1 1 auto;
  }
}
