/* Home roadmap. Uses Diogel's verified main-site colours and system font. */
.rm-shell {
  --rm-forest: #0f231c;
  --rm-forest-soft: #274d40;
  --rm-bone: #f5f2ea;
  --rm-mist: #ece6d8;
  --rm-brass: #c39a4d;
  --rm-border: #ddd5c6;
  --rm-muted: #625e53;
  display: grid;
  gap: 32px;
  min-width: 0;
  color: var(--ink, #1a1305);
}
.rm-shell *, .rm-shell *::before, .rm-shell *::after { box-sizing: border-box; }
.rm-shell > *, .rm-shell section, .rm-shell article, .rm-shell form,
.rm-shell fieldset, .rm-shell label { min-width: 0; }
.rm-shell h1, .rm-shell h2, .rm-shell h3, .rm-shell h4 { color: var(--rm-forest); }
.rm-shell p { line-height: 1.7; }
.rm-shell .eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: .16em; }
.rm-shell :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--rm-brass);
  outline-offset: 4px;
}
.rm-shell :is(button, a, input, select, textarea) { max-width: 100%; }
.rm-shell .button { min-height: 46px; padding: 12px 18px; white-space: normal; }
.rm-shell .text-button { min-height: 42px; white-space: normal; }
.rm-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
  min-width: 0;
  border: 1px solid #c7c0b1;
  border-radius: 8px;
  background: white;
  color: var(--rm-forest);
  font-size: 16px;
  line-height: 1.5;
}
.rm-shell :is(input, select, textarea)::placeholder { color: #767064; opacity: 1; }
.rm-shell input[type=checkbox], .rm-shell input[type=radio] { accent-color: var(--rm-forest); }

/* A situation map to start with, rather than a questionnaire. */
.rm-intro { max-width: 820px; padding: 0 0 2px; }
.rm-intro h1 { max-width: 780px; font-size: clamp(32px, 4.7vw, 48px); line-height: 1.1; }
.rm-intro > p { max-width: 720px; margin: 18px 0 0; font-size: 16px; color: var(--rm-muted); }
.rm-section { min-width: 0; }
.rm-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.rm-section-heading > div { min-width: 0; }
.rm-section-heading h2 { font-size: clamp(23px, 2.8vw, 30px); line-height: 1.2; }
.rm-section-heading h3 { font-size: 20px; line-height: 1.3; }
.rm-section-heading p { max-width: 720px; margin: 9px 0 0; font-size: 14px; color: var(--rm-muted); }
.rm-situation-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rm-situation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 180px;
  padding: 23px;
  border: 1px solid var(--rm-border);
  border-radius: 12px;
  background: white;
  color: var(--rm-forest);
  text-align: left;
  font: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rm-situation-card:hover { color: var(--rm-forest); border-color: var(--rm-brass); background: #fdfbf6; }
.rm-situation-card.selected, .rm-situation-card[aria-pressed=true] {
  border-color: var(--rm-brass);
  background: #f4eedf;
  box-shadow: inset 0 0 0 1px var(--rm-brass);
}
.rm-situation-card.selected::after, .rm-situation-card[aria-pressed=true]::after {
  content: "✓";
  position: absolute;
  inset: 18px 18px auto auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--rm-forest);
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.rm-situation-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; margin-bottom: 17px; border: 1px solid #dfd9cb; border-radius: 10px; background: var(--rm-bone); color: var(--rm-forest-soft); font-size: 22px; line-height: 1; }
.rm-situation-icon svg { display: block; width: 25px; height: 25px; }
.rm-situation-title { display: block; max-width: 100%; padding-right: 18px; font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; }
.rm-situation-description { display: block; margin-top: 9px; font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--rm-muted); }
.rm-side-situations { margin-top: 18px; border: 1px solid var(--rm-border); border-radius: 10px; background: #f9f7f1; }
.rm-side-situations > summary { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 16px 20px; color: var(--rm-forest); font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.rm-side-situations > summary::-webkit-details-marker { display: none; }
.rm-side-situations > summary::after { content: "+"; flex: none; margin-left: auto; font-size: 22px; font-weight: 400; line-height: 1; }
.rm-side-situations[open] > summary::after { content: "−"; }
.rm-side-situations[open] > summary { border-bottom: 1px solid var(--rm-border); }
.rm-side-situations > .rm-situation-grid { padding: 18px; }
.rm-side-situation { min-height: 150px; padding: 21px; background: white; }
.rm-side-situation .rm-situation-title { font-size: 16px; }
.rm-context-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 22px; border: 1px solid var(--rm-border); border-radius: 10px; background: white; }
.rm-context-switch > div { min-width: 0; }
.rm-context-switch p { margin: 0; font-size: 14px; }
.rm-context-switch strong { display: block; color: var(--rm-forest); font-size: 16px; line-height: 1.5; }
.rm-context-switch .text-button { color: var(--rm-forest); font-size: 14px; }

/* Three workspaces stay visible and usable without a horizontal tab scroller. */
.rm-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 5px; margin: 0; border: 1px solid var(--rm-border); border-radius: 10px; background: var(--rm-mist); }
.rm-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 58px; padding: 12px 14px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #514d43; font: 600 14px/1.4 var(--font, sans-serif); text-align: center; white-space: normal; transition: background-color .18s ease, border-color .18s ease; }
.rm-tab:hover { background: #ffffff80; color: var(--rm-forest); }
.rm-tab.active, .rm-tab[aria-selected=true] { border-color: #d7d0c1; background: white; color: var(--rm-forest); box-shadow: 0 1px 2px #0f231c08; }
.rm-tab svg { flex: none; width: 19px; height: 19px; }
.rm-panel { display: grid; gap: 24px; min-width: 0; }
.rm-panel > .surface-card { padding: 28px; }

/* A visible board with a keyboard alternative on every draggable priority. */
.rm-people { display: grid; gap: 28px; }
.rm-priority-board { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px; min-width: 0; }
.rm-priority-column { min-width: 0; padding: 18px; border: 1px solid var(--rm-border); border-radius: 10px; background: #f8f6f0; }
.rm-priority-column > h3, .rm-priority-column > h4 { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 7px; font-size: 16px; line-height: 1.4; }
.rm-priority-column > p { margin: 0 0 16px; font-size: 13px; color: var(--rm-muted); }
.rm-priority-column > .pill { margin-bottom: 16px; }
.rm-priority-column.is-over, .rm-priority-column.drag-over, .rm-priority-column[data-drag-over=true] { border-color: var(--rm-brass); background: #eee4ce; box-shadow: inset 0 0 0 1px var(--rm-brass); }
.rm-priority-chip { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 15px; margin-top: 10px; border: 1px solid #d9d3c5; border-radius: 8px; background: white; color: var(--rm-forest); cursor: grab; }
.rm-priority-chip:first-of-type { margin-top: 14px; }
.rm-priority-chip[draggable=true]::before { content: "⠿"; position: absolute; top: 15px; right: 11px; color: #928b7a; font-size: 16px; line-height: 1; }
.rm-priority-chip > :is(strong, span, p):first-child { display: block; padding-right: 18px; font-size: 14px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.rm-priority-chip.is-dragging, .rm-priority-chip.dragging, .rm-priority-chip[aria-grabbed=true] { opacity: .55; cursor: grabbing; }
.rm-priority-chip:focus-within { border-color: var(--rm-brass); }
.rm-priority-chip label { display: flex; flex-direction: column; gap: 5px; margin: 0; color: var(--rm-muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.rm-priority-move, .rm-priority-chip select { display: block; width: 100%; min-width: 0; min-height: 40px; padding: 8px 30px 8px 10px; background-color: #fcfbf7; font-size: 13px !important; font-weight: 500; line-height: 1.5; cursor: pointer; }
.rm-priority-chip :is(button, a, select) { cursor: pointer; }
.rm-priority-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--rm-border); }
.rm-priority-add label { display: flex; flex: 1 1 220px; flex-direction: column; gap: 7px; margin: 0; font-size: 14px; font-weight: 600; }
.rm-priority-add input { display: block; width: 100%; min-height: 46px; padding: 10px 12px; }
.rm-priority-add > input { flex: 1 1 220px; width: auto; }
.rm-priority-add .button { flex: 0 1 auto; }
.rm-priority-empty { padding: 18px 2px 4px; color: var(--rm-muted); font-size: 13px; line-height: 1.65; }

/* Costs sit beside each other while unanswered figures remain explicit. */
.rm-comparison { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 20px; }
.rm-cost-card { display: flex; flex-direction: column; min-width: 0; padding: 25px; border: 1px solid var(--rm-border); border-radius: 12px; background: white; }
.rm-cost-card > h2, .rm-cost-card > h3 { font-size: 24px; line-height: 1.25; }
.rm-cost-card > p { margin: 10px 0 20px; color: var(--rm-muted); font-size: 14px; }
.rm-cost-card .eyebrow { margin-bottom: 10px; }
.rm-cost-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid #e8e3d8; }
.rm-cost-row > label, .rm-cost-row > div > label { display: block; margin: 0; color: var(--rm-forest); font-size: 14px; font-weight: 600; line-height: 1.5; }
.rm-cost-row :is(small, .muted) { display: block; margin-top: 5px; color: var(--rm-muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.rm-cost-input-wrap { position: relative; display: flex; align-items: center; gap: 0; min-width: 0; width: 100%; }
.rm-cost-input-wrap > span { position: absolute; z-index: 1; left: 13px; color: var(--rm-muted); font-size: 16px; pointer-events: none; }
.rm-cost-row input, .rm-cost-input-wrap input { width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 10px 12px; text-align: right; font-variant-numeric: tabular-nums; }
.rm-cost-input-wrap > span + input { padding-left: 32px; }
.rm-cost-row select { display: block; width: 100%; min-height: 43px; margin: 0; padding: 8px 32px 8px 11px; font-size: 14px !important; }
.rm-cost-status { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; gap: 5px; padding: 4px 8px; border-radius: 5px; background: var(--rm-mist); color: #5e563f; font-size: 12px; line-height: 1.5; }
.rm-cost-status[data-status=unknown], .rm-cost-status.is-unknown { border: 1px dashed #c9b88e; background: #f8f3e7; }
.rm-cost-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 16px; padding: 20px 0 0; margin-top: auto; color: var(--rm-forest); }
.rm-cost-total > span, .rm-cost-total > p { margin: 0; font-size: 14px; line-height: 1.6; }
.rm-cost-total strong { display: block; font-size: clamp(25px, 3.2vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rm-cost-total small { display: block; flex-basis: 100%; color: var(--rm-muted); font-size: 12px; font-weight: 400; line-height: 1.65; }
.rm-cost-missing { padding: 12px 14px; margin-top: 16px; border: 1px solid #e2d4b3; border-radius: 8px; background: #f7f1e3; color: #615432; font-size: 13px; line-height: 1.65; }
.rm-cost-missing p { margin: 0; font-size: inherit; }
.rm-benefits-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rm-benefits-grid > * { min-width: 0; padding: 20px; border: 1px solid var(--rm-border); border-radius: 10px; background: white; }
.rm-benefits-grid h3 { margin-bottom: 9px; font-size: 17px; line-height: 1.35; }
.rm-benefits-grid :is(p, label) { color: var(--rm-muted); font-size: 14px; line-height: 1.65; }
.rm-benefits-grid textarea { display: block; width: 100%; min-height: 112px; padding: 11px 12px; margin-top: 10px; resize: vertical; }
.rm-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 22px; border: 1px solid var(--rm-border); border-radius: 10px; background: #f7f4ed; }
.rm-facts label { display: flex; flex-direction: column; gap: 7px; margin: 0; color: var(--rm-forest); font-size: 14px; font-weight: 600; }
.rm-facts select, .rm-facts input { display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; }
.rm-facts small { color: var(--rm-muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.rm-option-notes { padding: 20px 22px; border: 1px solid var(--rm-border); border-radius: 10px; background: white; }
.rm-option-notes h3 { margin-bottom: 9px; font-size: 18px; }
.rm-option-notes p, .rm-option-notes li { font-size: 14px; color: var(--rm-muted); line-height: 1.7; }
.rm-option-notes li + li { margin-top: 8px; }

/* Decisions and the relevant learning follow the main task. */
.rm-next-action { padding: 28px; border: 1px solid var(--rm-forest); border-radius: 12px; background: var(--rm-forest); color: white; }
.rm-next-action h2, .rm-next-action h3 { max-width: 740px; color: white; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; }
.rm-next-action .eyebrow { color: #d4b06a; }
.rm-next-action p { max-width: 770px; margin: 14px 0 0; color: #f5f2eae6; font-size: 15px; line-height: 1.75; }
.rm-next-action .actions { flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding-top: 22px; margin-top: 24px; border-color: #ffffff30; }
.rm-next-action .button.secondary { border-color: #ffffff80; background: transparent; color: white; }
.rm-next-action .button.secondary:hover { background: #ffffff12; color: white; }
.rm-next-action .text-button { color: white; font-size: 14px; }
.rm-next-action .pill { background: #ffffff18; color: #f5f2ea; }
.rm-next-action a:not(.button) { color: inherit; }
.rm-knowledge-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rm-knowledge-card { min-width: 0; padding: 22px; border: 1px solid var(--rm-border); border-top: 3px solid var(--rm-brass); border-radius: 10px; background: white; }
.rm-knowledge-card h3 { font-size: 19px; line-height: 1.3; }
.rm-knowledge-card p { margin-top: 11px; color: var(--rm-muted); font-size: 14px; line-height: 1.7; }
.rm-knowledge-card ul { padding-left: 19px; margin: 13px 0 0; }
.rm-knowledge-card li { margin-top: 8px; color: var(--rm-muted); font-size: 14px; line-height: 1.65; }
.rm-knowledge-card .button { margin-top: 18px; }
.rm-resource-wrap { min-width: 0; }
.rm-resource-wrap .context-resources { margin-top: 0; }
.rm-resource-wrap .resource-grid { min-width: 0; }
.rm-resource-wrap .resource-card { min-width: 0; }
.rm-studio-details { min-width: 0; border: 1px solid var(--rm-border); border-radius: 10px; background: white; }
.rm-studio-details > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 18px 22px; color: var(--rm-forest); font-size: 15px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.rm-studio-details > summary::-webkit-details-marker { display: none; }
.rm-studio-details > summary::after { content: "+"; flex: none; margin-left: auto; font-size: 22px; font-weight: 400; line-height: 1; }
.rm-studio-details[open] > summary { border-bottom: 1px solid var(--rm-border); }
.rm-studio-details[open] > summary::after { content: "−"; }
.rm-studio-details > :not(summary) { margin: 22px; }
.rm-studio-details .surface-card { margin: 0; border: 0; border-radius: 0 0 10px 10px; }

/* The rendered workspace groups the tools into small, optional sections. */
.rm-working-roadmap, .rm-next, .rm-options { display: grid; gap: 24px; }
.rm-working-roadmap > .rm-section-heading, .rm-options > .rm-section-heading { margin-bottom: 0; }
.rm-shell .form-help { margin: 9px 0 0; color: var(--rm-muted); font-size: 12px; line-height: 1.65; }
.rm-shell .footer-note { font-size: 12px; line-height: 1.7; }
.rm-shell label { font-size: 14px; font-weight: 600; line-height: 1.5; }
.rm-situation-arrow { position: absolute; right: 21px; bottom: 17px; color: #8c6b2c; font-size: 20px; line-height: 1; }
.rm-situation-card { padding-bottom: 34px; }
.rm-situation-card.selected .rm-situation-arrow, .rm-situation-card[aria-pressed=true] .rm-situation-arrow { display: none; }
.rm-context-switch h3 { font-size: 17px; line-height: 1.35; }
.rm-context-switch p { margin-top: 6px; color: var(--rm-muted); }
.rm-context-buttons, .rm-partner-switch, .rm-add-person { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.rm-shell :is(.rm-context-buttons, .rm-partner-switch, .rm-add-person) .concern-chip { min-height: 42px; padding: 9px 12px; border-radius: 7px; font-size: 13px; line-height: 1.45; white-space: normal; }
.rm-context-note { flex-basis: 100%; padding-top: 12px; margin: 0 !important; border-top: 1px solid var(--rm-border); font-size: 13px !important; }
.rm-person-board { min-width: 0; padding: 24px; border: 1px solid var(--rm-border); border-radius: 12px; background: white; }
.rm-person-board > .rm-section-heading { align-items: center; margin-bottom: 18px; }
.rm-person-board > .rm-section-heading h3 { font-size: 20px; }
.rm-person-board > .rm-section-heading .pill { flex: none; font-size: 12px; }
.rm-priority-items { display: grid; gap: 10px; min-width: 0; }
.rm-priority-items .rm-priority-chip { margin: 0; }
.rm-priority-chip { display: grid; gap: 5px; }
.rm-priority-chip > strong { margin-bottom: 5px; }
.rm-shell .rm-priority-move-label { margin: 0; font-size: 12px; font-weight: 500; }
.rm-empty-priority { margin: 10px 0 0; color: var(--rm-muted); font-size: 13px; line-height: 1.65; }
.rm-unranked-priorities { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #cfc6b5; }
.rm-unranked-priorities > h4 { margin-bottom: 12px; font-size: 15px; }
.rm-priority-unranked-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rm-priority-unranked-list .rm-priority-chip { margin: 0; background: #fcfbf7; }
.rm-unranked-priorities.is-over, .rm-unranked-priorities.drag-over { border-color: var(--rm-brass); background: #f8f3e7; }
.rm-priority-add { display: block; padding: 23px; border: 1px solid var(--rm-border); border-radius: 12px; background: #f0eadc; }
.rm-priority-add h3 { margin-bottom: 17px; font-size: 19px; }
.rm-add-person { margin-bottom: 16px; }
.rm-add-priority-fields { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 12px; }
.rm-add-priority-fields > div { min-width: 0; }
.rm-add-priority-fields label { margin-bottom: 7px; }
.rm-add-priority-fields :is(input, select) { display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; }
.rm-add-priority-fields .button { align-self: end; }
.rm-facts { display: block; padding: 0; background: #f9f7f1; }
.rm-facts > summary, .rm-cost-details > summary, .rm-answers > summary, .rm-service-routes > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 17px 22px; color: var(--rm-forest); font-size: 14px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.rm-facts > summary::-webkit-details-marker, .rm-cost-details > summary::-webkit-details-marker, .rm-answers > summary::-webkit-details-marker, .rm-service-routes > summary::-webkit-details-marker { display: none; }
.rm-facts > summary::after, .rm-cost-details > summary::after, .rm-answers > summary::after, .rm-service-routes > summary::after { content: "+"; flex: none; margin-left: auto; font-size: 22px; font-weight: 400; line-height: 1; }
.rm-facts[open] > summary::after, .rm-cost-details[open] > summary::after, .rm-answers[open] > summary::after, .rm-service-routes[open] > summary::after { content: "−"; }
.rm-facts[open] > summary, .rm-cost-details[open] > summary, .rm-answers[open] > summary, .rm-service-routes[open] > summary { border-bottom: 1px solid var(--rm-border); }
.rm-facts > :not(summary) { margin: 18px 22px; }
.rm-facts > .form-two { gap: 18px; margin-top: 20px; }
.rm-facts .form-two label { margin-top: 0; margin-bottom: 7px; }
.rm-facts > label { display: block; margin-bottom: 8px; }
.rm-facts > textarea { display: block; width: calc(100% - 44px); padding: 11px 12px; margin-top: 0; }
.rm-facts > .form-help { margin: 9px 22px 20px; }
.rm-cost-details, .rm-answers, .rm-service-routes { min-width: 0; border: 1px solid var(--rm-border); border-radius: 10px; background: white; }
.rm-cost-details > :not(summary) { margin-left: 22px; margin-right: 22px; }
.rm-cost-explanation { margin-top: 20px; margin-bottom: 20px; color: var(--rm-muted); font-size: 14px; }
.rm-cost-details > .footer-note { text-align: left; padding: 0; margin-top: 16px; margin-bottom: 22px; }
.rm-cost-label > label { display: block; margin: 0; }
.rm-cost-controls { display: grid; gap: 6px; min-width: 0; }
.rm-cost-controls > .rm-cost-basis-label { margin: 2px 0 0; color: var(--rm-muted); font-size: 12px; font-weight: 500; }
.rm-cost-row.is-unknown .rm-cost-input-wrap input { border-style: dashed; border-color: #bba773; background: #fffdf8; }
.rm-cost-row.is-unknown .rm-cost-input-wrap input::placeholder { color: #75684a; }
.rm-comparison-totals { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.rm-comparison-totals .rm-cost-total { display: block; padding: 21px; margin: 0; border: 1px solid #d4c7a9; border-radius: 10px; background: #f3eedf; }
.rm-comparison-totals .rm-cost-total > span { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.rm-comparison-totals .rm-cost-total > p { margin: 10px 0 0; font-size: 12px; color: var(--rm-muted); }
.rm-comparison-totals .rm-cost-total[data-complete=false] { border-style: dashed; background: #f8f5ec; }
.rm-cost-difference, .rm-comparison-totals > .rm-cost-missing { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.7; }
.rm-cost-difference { padding: 15px 18px; border: 1px solid #d4ddcf; border-radius: 8px; background: #edf1e9; color: var(--rm-forest); }
.rm-option-notes label { display: block; margin-bottom: 0; font-weight: 400; }
.rm-action-detail { padding-top: 22px; margin-top: 22px; border-top: 1px solid #ffffff30; }
.rm-next-action .rm-action-detail h3 { font-size: 21px; }
.rm-next-action .rm-action-detail p { margin-top: 10px; font-size: 14px; }
.rm-next-action .actions > .button.primary { margin-left: 0; }
.rm-answer-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
.rm-answer-card { min-width: 0; padding: 20px; border: 1px solid var(--rm-border); border-radius: 9px; background: #fbf9f4; }
.rm-answer-card h3 { font-size: 18px; line-height: 1.35; }
.rm-answer-card p { margin: 9px 0 18px; color: var(--rm-muted); font-size: 13px; line-height: 1.65; }
.rm-answer-card label { display: block; margin: 15px 0 7px; font-size: 13px; }
.rm-answer-card :is(select, textarea) { display: block; width: 100%; margin: 0; padding: 10px 12px; }
.rm-revisit { padding: 24px; border: 1px solid var(--rm-border); border-radius: 10px; background: #f0eadc; }
.rm-revisit h3 { margin-bottom: 18px; font-size: 20px; }
.rm-revisit label { display: block; margin-top: 17px; margin-bottom: 7px; }
.rm-revisit .form-two { gap: 18px; }
.rm-revisit .form-two label { margin-top: 0; }
.rm-revisit :is(input, select) { display: block; width: 100%; margin: 0; padding: 10px 12px; }
.rm-suggested-offer { padding: 25px; border: 1px solid var(--rm-brass); border-radius: 10px; background: #f4eedf; }
.rm-suggested-offer h3 { font-size: 24px; }
.rm-suggested-offer > p { margin: 12px 0 18px; color: var(--rm-muted); font-size: 14px; }
.rm-suggested-offer > strong { display: block; margin: 0 0 18px; font-size: 21px; color: var(--rm-forest); }
.rm-suggested-offer > .form-help { margin-top: 15px; }
.rm-service-routes > p { padding: 18px 22px 0; margin: 0; color: var(--rm-muted); font-size: 14px; }
.rm-service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 22px; }
.rm-service-card { display: flex; flex-direction: column; min-width: 0; padding: 21px; border: 1px solid var(--rm-border); border-radius: 9px; background: #fcfbf7; }
.rm-service-card h3 { margin-bottom: 11px; font-size: 21px; }
.rm-service-card p { flex: 1; margin: 0 0 18px; color: var(--rm-muted); font-size: 14px; }
.rm-service-card strong { display: block; margin-bottom: 8px; color: var(--rm-forest); font-size: 18px; line-height: 1.4; }
.rm-service-card .text-button { justify-content: flex-start; text-align: left; color: var(--rm-forest); font-size: 13px; }
.rm-start-note { max-width: 760px; padding: 28px; border-left: 3px solid var(--rm-brass); border-radius: 0 10px 10px 0; background: #ece6d8; }
.rm-start-note h2 { font-size: 25px; }
.rm-start-note p { margin: 13px 0 0; color: var(--rm-muted); font-size: 15px; }

@media (min-width: 600px) {
  .rm-situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .rm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-knowledge-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-cost-row { grid-template-columns: minmax(0, 1fr) minmax(125px, .72fr); align-items: start; gap: 12px; }
  .rm-shell .form-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-priority-unranked-list, .rm-comparison-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-add-priority-fields { grid-template-columns: minmax(0, 1.4fr) minmax(150px, 1fr); }
  .rm-add-priority-fields .button { width: fit-content; }
}
@media (min-width: 760px) {
  .rm-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-comparison .rm-cost-row { grid-template-columns: minmax(0, 1fr); }
  .rm-answer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .rm-situation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .rm-situation-card { min-height: 198px; }
  .rm-side-situation { min-height: 158px; }
  .rm-priority-board { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .rm-priority-column { min-height: 230px; }
  .rm-knowledge-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-comparison .rm-cost-row { grid-template-columns: minmax(0, 1fr) minmax(125px, .72fr); }
  .rm-priority-unranked-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-next .rm-knowledge-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-add-priority-fields { grid-template-columns: minmax(0, 1.5fr) minmax(150px, .8fr) auto; }
}
@media (max-width: 599px) {
  .rm-shell { gap: 25px; }
  .rm-intro > p { margin-top: 15px; font-size: 15px; }
  .rm-section-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
  .rm-section-heading p { font-size: 14px; }
  .rm-situation-card { min-height: 158px; padding: 20px; }
  .rm-situation-icon { width: 38px; height: 38px; margin-bottom: 13px; }
  .rm-situation-title { font-size: 17px; }
  .rm-situation-description { font-size: 14px; }
  .rm-side-situations > summary { padding: 15px 17px; }
  .rm-side-situations > .rm-situation-grid { padding: 14px; gap: 12px; }
  .rm-side-situation { min-height: 0; }
  .rm-context-switch { padding: 16px 18px; align-items: flex-start; }
  .rm-context-switch .text-button { padding: 0; min-height: 38px; }
  .rm-tabs { gap: 3px; padding: 4px; }
  .rm-tab { flex-direction: column; gap: 5px; min-height: 65px; padding: 10px 5px; font-size: 12px; line-height: 1.4; }
  .rm-tab svg { width: 17px; height: 17px; }
  .rm-panel { gap: 20px; }
  .rm-panel > .surface-card { padding: 20px; }
  .rm-people { gap: 24px; }
  .rm-priority-column { padding: 16px; }
  .rm-priority-chip { padding: 14px; }
  .rm-priority-add { gap: 11px; }
  .rm-priority-add .button { width: 100%; }
  .rm-cost-card { padding: 20px; }
  .rm-cost-row { gap: 9px; padding: 15px 0; }
  .rm-cost-row :is(input, select) { font-size: 16px !important; }
  .rm-cost-total { gap: 8px 14px; padding-top: 20px; }
  .rm-cost-total strong { font-size: 28px; }
  .rm-benefits-grid > *, .rm-facts, .rm-option-notes { padding: 18px; }
  .rm-next-action { padding: 23px 20px; }
  .rm-next-action p { font-size: 14px; }
  .rm-next-action .actions { align-items: stretch; gap: 11px; }
  .rm-next-action .actions > .button { width: 100%; }
  .rm-next-action .actions > .text-button { justify-content: center; width: 100%; text-align: center; }
  .rm-knowledge-card { padding: 20px; }
  .rm-studio-details > summary { padding: 17px 18px; font-size: 14px; }
  .rm-studio-details > :not(summary) { margin: 16px; }
  .rm-working-roadmap, .rm-next, .rm-options { gap: 20px; }
  .rm-situation-card { padding-bottom: 32px; }
  .rm-context-buttons { width: 100%; }
  .rm-context-buttons .concern-chip { flex: 1 1 120px; }
  .rm-partner-switch { width: 100%; }
  .rm-partner-switch .concern-chip { flex: 1; }
  .rm-person-board, .rm-priority-add, .rm-revisit, .rm-suggested-offer { padding: 18px; }
  .rm-person-board > .rm-section-heading h3 { font-size: 18px; }
  .rm-person-board > .rm-section-heading .pill { font-size: 11px; }
  .rm-priority-column { padding: 15px; }
  .rm-priority-chip { padding: 13px; }
  .rm-facts > summary, .rm-cost-details > summary, .rm-answers > summary, .rm-service-routes > summary { padding: 16px 18px; }
  .rm-facts > :not(summary) { margin: 16px 18px; }
  .rm-facts > textarea { width: calc(100% - 36px); margin-top: 0; }
  .rm-facts > .form-help { margin: 9px 18px 18px; }
  .rm-cost-details > :not(summary) { margin-left: 15px; margin-right: 15px; }
  .rm-cost-details .rm-cost-card { padding: 17px; }
  .rm-comparison-totals .rm-cost-total { padding: 18px; }
  .rm-answer-list, .rm-service-grid { padding: 15px; }
  .rm-answer-card { padding: 17px; }
  .rm-revisit .form-two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rm-service-routes > p { padding: 16px 18px 0; }
  .rm-service-card { padding: 18px; }
  .rm-start-note { padding: 23px 20px; }
}
@media (max-width: 359px) {
  .rm-intro h1 { font-size: 31px; }
  .rm-situation-card { padding: 18px; }
  .rm-tab { font-size: 12px; padding-left: 3px; padding-right: 3px; }
  .rm-panel > .surface-card, .rm-cost-card { padding: 17px; }
  .rm-priority-column { padding: 14px; }
  .rm-priority-chip { padding: 12px; }
  .rm-next-action { padding: 21px 18px; }
  .rm-next-action .button { padding-left: 12px; padding-right: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-shell *, .rm-shell *::before, .rm-shell *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
}
@media print {
  .rm-shell { display: block; color: black; }
  .rm-shell > *, .rm-panel > * { margin-bottom: 20px; }
  .rm-tabs, .rm-context-switch .text-button, .rm-priority-add,
  .rm-priority-move, .rm-priority-chip label, .rm-next-action .actions { display: none !important; }
  .rm-situation-grid, .rm-priority-board, .rm-comparison, .rm-knowledge-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-situation-card, .rm-priority-column, .rm-cost-card, .rm-next-action, .rm-knowledge-card { break-inside: avoid; border-color: #999; box-shadow: none; }
  .rm-next-action { background: white; color: black; }
  .rm-next-action :is(h2, h3, p, .eyebrow) { color: black; }
  .rm-priority-chip[draggable=true]::before { display: none; }
}
