:root {
  --header-purple: #165dbe;
  --bg: #e8f1ff;
  --card: #ffffff;
  --text: #132238;
  --subtext: #52657d;
  --line: #c7d8ef;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: radial-gradient(circle at 20% 0%, #f3f8ff 0%, var(--bg) 40%);
  color: var(--text);
  padding-bottom: 96px;
}

.topbar {
  min-height: 64px;
  background: var(--header-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(12px, 2vw, 20px);
  box-shadow: 0 2px 12px rgba(13, 54, 112, 0.24);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.1;
}

.brand a {
  color: #fff;
  text-decoration: none;
}

.topbar-right {
  font-size: clamp(13px, 1.2vw, 15px);
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-label {
  opacity: 0.9;
}

.topbar-user {
  font-weight: 700;
}

.topbar-logout {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: clamp(12px, 1.1vw, 13px);
}

.topbar-logout:hover {
  background: rgba(255, 255, 255, 0.15);
}

.goal-strip {
  background: transparent;
  width: min(1220px, 100%);
  margin: 6px auto 0;
  padding: 0 clamp(10px, 2.2vw, 18px);
}

.goal-strip-inner {
  width: 100%;
  margin: 0 auto;
  min-height: 58px;
  padding: 5px clamp(14px, 2.2vw, 22px);
  background: #47b4dc;
  color: #fff;
  border: 2px solid #7ed2ee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(17, 86, 142, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.goal-line {
  width: 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 1px rgba(16, 83, 131, 0.22);
}

.page {
  width: min(1220px, 100%);
  margin: clamp(14px, 2vw, 26px) auto 40px;
  padding: 0 clamp(10px, 2.2vw, 18px);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.toolbar input {
  width: 220px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
}

button,
.btn {
  border: 0;
  background: #1f6fd1;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

button:hover,
.btn:hover {
  opacity: 0.9;
}

.status {
  min-height: 22px;
  margin: 4px 0 14px;
  color: var(--subtext);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 14px);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(12px, 1.5vw, 16px);
  box-shadow: 0 8px 24px rgba(17, 22, 30, 0.04);
  min-width: 0;
}

.card h2 {
  margin: 0 0 10px;
  font-size: clamp(16px, 1.5vw, 26px);
  font-weight: 800;
}

.session-heading-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.card h2.session-heading {
  margin: 0 0 0 14px;
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.25;
}

.session-status {
  min-height: 0;
  margin: 0;
}

.session-status:empty {
  display: none;
}

.card h3 {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 800;
}

.card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.summary,
.handover {
  grid-column: span 6;
  min-height: clamp(150px, 22vh, 240px);
}

.profile {
  grid-column: span 4;
}

.quick {
  grid-column: span 8;
}

.episodes,
.supports {
  grid-column: span 6;
}

.full {
  grid-column: span 12;
}

.muted {
  color: var(--subtext);
  font-size: clamp(13px, 1.1vw, 15px);
}

ul {
  margin: 0;
  padding-left: 17px;
}

li {
  margin: 6px 0;
  line-height: 1.5;
  font-size: clamp(14px, 1.15vw, 16px);
  word-break: break-word;
}

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

.actions a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #2d6dba;
  color: #174d92;
  background: #f6fbff;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
}

.actions a:hover {
  background: #eaf4ff;
}

.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 72vh;
  padding-bottom: 6px;
}

.episode-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
  align-items: start;
  width: 100%;
}

.episode-card-main h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.episode-card-main p {
  margin: 0 0 6px;
  color: #24425f;
  font-size: 15px;
  line-height: 1.45;
}

.episode-meta {
  color: #365273;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 4px;
}

.episode-saved-list {
  display: grid;
  gap: 3px;
  margin-top: 2px;
  color: #24425f;
  font-size: 15px;
  line-height: 1.55;
}

.episode-saved-line {
  display: block;
  word-break: break-word;
}

.episode-saved-number,
.episode-saved-label {
  font-weight: 700;
}

.episode-saved-number {
  margin-right: 4px;
}

.episode-saved-label {
  margin-right: 4px;
}

.episode-card-media {
  display: flex;
  justify-content: flex-end;
}

.episode-thumb-link {
  display: block;
}

.episode-thumb {
  width: 132px;
  height: 96px;
  object-fit: cover;
  border: 1px solid #bdd2ec;
  border-radius: 8px;
  display: block;
}

.episode-card-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.learning-flow-list {
  display: grid;
  gap: 18px;
  max-height: 72vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 4px 8px 0;
}

.flow-main-node {
  position: relative;
  padding: 14px 0 4px 18px;
  border-top: 2px solid #8fb7e6;
}

.flow-main-node::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 2px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(#1f6fd1, #31a56f 58%, #d4a017);
}

.flow-main-head,
.flow-sub-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.flow-node-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
  color: #174d92;
  font-size: 13px;
  font-weight: 800;
}

.flow-node-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #174d92;
  color: #fff;
  flex: 0 0 auto;
}

.flow-node-label-sub {
  min-width: 142px;
  color: #137453;
}

.flow-node-label-sub span {
  background: #16845f;
}

.flow-main-title h3,
.flow-sub-title h4 {
  margin: 0 0 6px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.flow-main-title h3 {
  font-size: 20px;
}

.flow-sub-title h4 {
  font-size: 17px;
}

.flow-sub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #5c6f85;
  font-size: 13px;
  line-height: 1.4;
}

.flow-action {
  white-space: nowrap;
  align-self: start;
}

.flow-main-body,
.flow-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.flow-detail {
  min-width: 0;
  padding: 10px 12px;
  border-left: 4px solid #b7cfea;
  background: #f7fbff;
}

.flow-detail > span,
.flow-daily-heading,
.flow-daily-summary span,
.flow-reflection span,
.flow-next-start span {
  display: block;
  margin-bottom: 4px;
  color: #52657d;
  font-size: 12px;
  font-weight: 800;
}

.flow-detail p,
.flow-empty-text {
  margin: 0;
  color: #213f5b;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.flow-candidate-list {
  margin: 0;
  padding-left: 22px;
  color: #213f5b;
}

.flow-candidate-list li {
  margin: 4px 0;
}

.flow-sub-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-left: 22px;
}

.flow-sub-node {
  position: relative;
  padding: 12px 0 2px 16px;
  border-top: 1px solid #d6e5f3;
}

.flow-sub-node::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: #9ad3bf;
}

.flow-daily-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.flow-daily-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #e2edf7;
}

.flow-daily-step {
  display: grid;
  gap: 2px;
  color: #8a6200;
  font-size: 12px;
  line-height: 1.25;
}

.flow-daily-step strong {
  font-size: 15px;
  color: #6f4e00;
}

.flow-daily-body {
  min-width: 0;
}

.flow-daily-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.flow-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7df;
  color: #76570f;
  font-size: 12px;
  font-weight: 800;
}

.flow-status.is-saved {
  background: #e9f8ef;
  color: #12623f;
}

.flow-date {
  color: #697b8d;
  font-size: 12px;
}

.flow-daily-summary {
  margin: 0;
  color: #24425f;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.flow-reflection {
  margin-top: 6px;
  color: #415772;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.flow-next-start {
  margin-top: 6px;
  color: #174d92;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.flow-daily-link {
  justify-self: end;
  align-self: start;
  color: #174d92;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.flow-daily-link:hover {
  text-decoration: none;
}

.flow-empty-sub,
.flow-empty-daily {
  padding: 10px 0;
  color: #607287;
  font-size: 14px;
}

.form-row {
  margin-bottom: 10px;
}

.form-row label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--subtext);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  font-size: 14px;
  background: #fff;
}

.form-row textarea {
  min-height: 100px;
  resize: vertical;
}

.auth-wrap {
  max-width: 460px;
  margin: 70px auto;
}

.error-text {
  color: #be123c;
  font-size: 14px;
}

.chat-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
}

.dify-embed-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-height: min(70vh, 760px);
}

.dify-embed-frame {
  width: 100%;
  min-height: min(70vh, 760px);
  border: 0;
  display: block;
}

.session-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daily-cycle-panel {
  margin: 12px 0;
  border: 1px solid #b7d7ef;
  border-radius: 8px;
  background: #f1f8fe;
  padding: 12px 14px;
}

.daily-cycle-count {
  color: #174d92;
  font-weight: 800;
  margin-bottom: 4px;
}

.daily-cycle-content {
  line-height: 1.6;
}

.chat-log {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fbff;
  min-height: clamp(240px, 42vh, 460px);
  max-height: min(62vh, 520px);
  overflow: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  padding: 10px;
  border-radius: 10px;
  line-height: 1.5;
  font-size: 14px;
  display: inline-block;
  width: auto;
  max-width: min(78%, 820px);
}

.chat-msg.user {
  background: #dcecff;
  align-self: flex-end;
  text-align: left;
}

.chat-msg.assistant {
  background: #edf5ff;
  align-self: flex-start;
  text-align: left;
}

.chat-role {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
}

.chat-options {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-ref-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-ref-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid #7fa6d8;
  background: #fff;
  color: #1c4f8d;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

.chat-option-btn {
  border: 1px solid #7fa6d8;
  background: #fff;
  color: #1c4f8d;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.pending-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pending-file-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: #2b3442;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pending-remove {
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  padding: 0;
}

.chat-input-row textarea {
  flex: 1;
  min-height: clamp(88px, 14vh, 130px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font-size: clamp(14px, 1.1vw, 15px);
}

.chat-attachments {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-attachment-item {
  border: 1px solid #bdd2ec;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  max-width: 200px;
}

.chat-attachment-thumb {
  width: 100%;
  max-width: 184px;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.chat-attachment-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #59708a;
  word-break: break-all;
}

.chat-side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  width: 78px;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #2d6dba;
  color: #174d92;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-paperclip {
  width: 20px;
  height: 20px;
  display: block;
}

.session-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 50;
  pointer-events: none;
}

.session-dock-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(10px, 2.2vw, 18px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  gap: 12px;
}

.scenario-dock-inner {
  align-items: stretch;
}

.scenario-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.scenario-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #2d6dba;
  border-radius: 10px;
  background: #fff;
  color: #174d92;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 28, 39, 0.14);
}

.scenario-switch-btn:hover {
  background: #eaf4ff;
}

.scenario-switch-btn.is-current {
  background: #174d92;
  color: #fff;
  border-color: #174d92;
  cursor: default;
}

.session-dock-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.session-dock-inner .btn,
.session-dock-inner button {
  box-shadow: 0 8px 18px rgba(20, 28, 39, 0.18);
}

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

.review-section {
  grid-column: span 6;
}

.review-supports {
  margin-top: 12px;
}

.support-edit-card {
  margin-top: 10px;
}

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

.review-card textarea {
  min-height: 90px;
}

.review-attachments {
  margin-top: 14px;
}

.daily-save-meta {
  padding: 12px 14px;
  border: 1px solid #c9dcf8;
  border-radius: 8px;
  background: #f7fbff;
  color: #082b5f;
  font-weight: 700;
  margin-bottom: 18px;
}

.next-start-choice-group {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.next-start-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9dcf8;
  border-radius: 8px;
  background: #f7fbff;
  color: #082b5f;
  font-weight: 700;
  cursor: pointer;
}

.next-start-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1f6fd1;
}

.next-start-choice.is-selected {
  border-color: #1f6fd1;
  background: #e8f2ff;
  box-shadow: inset 0 0 0 1px rgba(31, 111, 209, 0.18);
}

.field-error {
  margin: 6px 0 18px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.reflection-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.next-start-card {
  max-width: 980px;
  margin: 0 auto;
}

.next-start-review {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.next-start-block {
  border: 1px solid #d8e6f3;
  border-radius: 8px;
  padding: 14px;
  background: #f8fbff;
}

.next-start-block h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.next-start-block p {
  margin: 0;
  line-height: 1.75;
}

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

.next-start-grid div {
  border: 1px solid #d8e6f3;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  line-height: 1.6;
}

.next-start-grid span {
  display: block;
  margin-bottom: 4px;
  color: #5d6f82;
  font-size: 13px;
  font-weight: 700;
}

.next-start-lead {
  margin: 22px 0 12px;
  font-weight: 700;
}

.main-return-callout {
  margin-top: 18px;
  border: 2px solid #174d92;
  border-radius: 8px;
  padding: 16px;
  background: #eef7ff;
}

.main-return-callout h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.main-return-callout p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.main-return-callout ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

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

.next-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 2px solid #1075bd;
  border-radius: 8px;
  background: #9fd8f0;
  color: #10243b;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 2px 0 rgba(16, 117, 189, 0.35);
}

.next-start-btn:hover {
  background: #b9e6f7;
}

.next-start-btn-primary {
  background: #174d92;
  border-color: #123f78;
  color: #fff;
}

.next-start-btn-primary:hover {
  background: #2168b8;
}

@media (max-width: 900px) {
  .summary,
  .handover,
  .profile,
  .quick,
  .episodes,
  .supports,
  .full {
    grid-column: span 12;
  }

  .chat-shell {
    grid-template-columns: 1fr;
  }

  .episodes-list {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: visible;
    max-height: none;
  }

  .learning-flow-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .episode-card {
    grid-template-columns: 1fr;
    width: 100%;
    flex: 1 1 auto;
  }

  .episode-card-media {
    justify-content: flex-start;
  }

  .flow-main-head,
  .flow-sub-head,
  .flow-main-body,
  .flow-detail-grid,
  .flow-daily-row {
    grid-template-columns: 1fr;
  }

  .flow-action {
    justify-self: start;
  }

  .flow-node-label,
  .flow-node-label-sub {
    min-width: 0;
  }

  .review-section {
    grid-column: span 12;
  }

  .review-fields-grid {
    grid-template-columns: 1fr;
  }

  .next-start-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-input-row {
    flex-direction: column;
  }

  .chat-side-actions {
    flex-direction: row;
    justify-content: flex-start;
    width: auto;
  }

  .brand {
    font-size: 22px;
  }

  .topbar {
    align-items: flex-start;
  }

  .session-dock {
    bottom: 10px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 300px;
  }

  .topbar-right {
    gap: 6px;
  }

  .goal-line {
    font-size: 15px;
  }

  .session-dock-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .scenario-switcher,
  .session-dock-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .session-dock-inner .btn,
  .session-dock-inner button,
  .scenario-switch-btn {
    width: 100%;
    text-align: center;
  }

  .next-start-grid,
  .next-start-actions {
    grid-template-columns: 1fr;
  }

  .flow-main-node {
    padding-left: 14px;
  }

  .flow-sub-list {
    padding-left: 10px;
  }
}
