@charset "UTF-8";
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #213942;
  background: #f4f8fa;
  font-synthesis: none;
  --ink: #213942;
  --muted: #687e87;
  --blue: #277b9b;
  --dark: #165a74;
  --line: #deeaee;
  --pale: #eaf4f8;
  --white: #fff;
  --amber: #956a27;
  --red: #a14848;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #88c5dd;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.35;
  font-weight: 650;
}
h2 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
button svg,
.button-link svg,
.icon {
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  padding: 10px 15px;
  line-height: 1.4;
  font-weight: 500;
  min-height: 41px;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover:not(:disabled) {
  background: #f0f7fa;
  border-color: #bdd7e1;
}
button.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
button.primary:hover:not(:disabled) {
  background: var(--dark);
  border-color: var(--dark);
}
button.subtle {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
button.subtle:hover:not(:disabled) {
  color: var(--blue);
}
button.danger {
  color: var(--red);
}
button.compact {
  padding: 7px 11px;
  min-height: 34px;
  font-size: 13px;
}
.button-link {
  display: inline-flex;
  text-decoration: none;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 14px;
  background: white;
  font-weight: 500;
  min-height: 41px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.spaced {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--blue);
  margin-bottom: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  background: var(--pale);
  color: var(--blue);
  line-height: 1.6;
  white-space: nowrap;
}
.tag.warm {
  background: #fff4dd;
  color: var(--amber);
}
.tag.green {
  background: #e9f5ef;
  color: #42765a;
}
.tag.gray {
  background: #f0f3f4;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66a38f;
  display: inline-block;
  margin-right: 5px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.full {
  width: 100%;
}
[hidden] {
  display: none !important;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 31px 20px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 5px 32px;
}
.brand-symbol {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #275972;
  background: #e1f0f6;
  border: 1px solid #cae2ec;
  border-radius: 13px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -1px;
  transform: none;
}
.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.2px;
}
.brand-copy small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
}
.nav-label {
  font-size: 11px;
  color: #95a6ad;
  padding: 0 12px 10px;
  letter-spacing: 1px;
}
.sidebar-nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  border: 0;
  background: none;
  justify-content: flex-start;
  padding: 12px;
  border-radius: 9px;
  font-size: 14px;
  color: #6e838d;
}
.nav-item.active {
  background: #eaf4f8;
  color: #226e8a;
}
.nav-item span.num {
  font-size: 11px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #dce7eb;
  border-radius: 6px;
  background: #fff;
}
.nav-item.active span.num {
  border-color: #bedce9;
}
.sidebar-card {
  margin: 28px 12px 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  color: #6b848e;
}
.sidebar-card strong {
  display: block;
  color: #395866;
  font-size: 13px;
  margin-bottom: 6px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.sidebar-bottom button {
  width: 100%;
  justify-content: flex-start;
}
.sidebar-foot {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #96a8af;
  text-align: center;
  margin-top: 15px;
}
.main {
  padding: 30px 42px 64px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  align-self: start;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 12px;
}
.breadcrumb {
  font-size: 12px;
  color: #8b9ca3;
}
.breadcrumb strong {
  color: #52727f;
  font-weight: 500;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 25px;
}
.page-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 650px;
}
.panel {
  padding: 23px 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: none;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}
.panel-header h2 {
  font-size: 17px;
}
.section-caption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.empty-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 42px;
  background: linear-gradient(130deg, #e8f3f9, #f3f8fb);
  border: 1px solid #d6e7ef;
  border-radius: 18px;
  margin: 22px 0;
}
.empty-hero h2 {
  font-size: 27px;
  line-height: 1.5;
  margin-bottom: 13px;
}
.empty-hero p {
  color: #64808c;
  max-width: 460px;
  font-size: 14px;
  margin-bottom: 24px;
}
.hero-art {
  display: grid;
  place-items: center;
  min-height: 210px;
  position: relative;
}
.hero-art svg {
  width: min(100%, 290px);
  height: auto;
}
.floating-note {
  position: absolute;
  right: 0;
  bottom: 8px;
  background: white;
  box-shadow: 0 8px 24px #26668012;
  border: 1px solid #d6e7ef;
  border-radius: 9px;
  padding: 10px 14px;
  color: #568196;
  font-size: 12px;
  transform: rotate(-3deg);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 25px;
}
.how-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}
.how-card .how-no {
  color: #90bbcf;
  font-size: 11px;
  letter-spacing: 1.3px;
  display: block;
  margin-bottom: 13px;
}
.how-card h3 {
  margin-bottom: 7px;
}
.how-card p {
  color: var(--muted);
  font-size: 13px;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.activity-card {
  display: flex;
  flex-direction: column;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.activity-card h3 {
  font-size: 18px;
  margin: 14px 0 7px;
  overflow-wrap: anywhere;
}
.activity-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 23px;
}
.activity-card .actions {
  margin-top: auto;
}
.mini-progress,
.progress {
  height: 5px;
  background: #edf3f6;
  border-radius: 9px;
  overflow: hidden;
}
.mini-progress {
  margin: 16px 0 8px;
}
.progress-fill {
  height: 100%;
  background: #80b7cc;
  max-width: 100%;
  border-radius: 9px;
}
.activity-select {
  max-width: 420px;
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #52727f;
  padding: 5px 20px 5px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stat {
  background: transparent;
  padding: 18px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
.stat:last-child {
  border-right: 0;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
}
.stat-number {
  font-size: 28px;
  font-weight: 600;
  margin: 5px 0 2px;
  letter-spacing: -0.7px;
}
.stat-number span {
  font-size: 14px;
  color: #91a3ab;
  font-weight: 400;
  letter-spacing: 0;
}
.stat-note {
  font-size: 11px;
  color: #91a3ab;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 20px;
  align-items: start;
}
.detail-lines {
  display: grid;
  gap: 13px;
}
.detail-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  font-size: 13px;
}
.detail-line dt {
  color: #8a9ba3;
}
.detail-line dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.link-box {
  padding: 10px 12px;
  border: 1px solid #d6e6ed;
  background: #f7fafc;
  border-radius: 8px;
  color: #52788a;
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 15px 0 12px;
  user-select: all;
}
.notice {
  padding: 12px 15px;
  border: 1px solid #d8e9f0;
  border-radius: 9px;
  background: #eff7fb;
  color: #4c778a;
  font-size: 12px;
  line-height: 1.7;
}
.notice.warm {
  background: #fffaef;
  border-color: #eee3c7;
  color: #8e733d;
}
.notice.error {
  background: #fff5f4;
  border-color: #eed7d4;
  color: #9b5650;
}
.notice.success {
  background: #eef7f2;
  border-color: #d7e8df;
  color: #49755e;
}
.notice p + p {
  margin-top: 5px;
}
.notice ul {
  padding-left: 18px;
  margin: 6px 0;
}
.summary-bars {
  display: grid;
  gap: 15px;
}
.summary-row {
  display: grid;
  grid-template-columns: 93px 1fr 29px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.summary-row span:last-child {
  text-align: right;
  color: #75919d;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  background: #f2f7fa;
  border: 1px solid #e2edf1;
  border-radius: 7px;
  padding: 5px 10px;
  color: #5d7e8c;
  font-size: 12px;
}
.chip b {
  font-weight: 500;
  margin-left: 9px;
  color: #94adb8;
}
.divider {
  height: 1px;
  background: #edf2f4;
  margin: 20px 0;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
  text-align: left;
  font-size: 12px;
}
th {
  color: #77919d;
  background: #f6fafc;
  font-weight: 500;
  padding: 12px 15px;
  white-space: nowrap;
}
td {
  padding: 13px 15px;
  border-top: 1px solid #edf2f4;
  vertical-align: top;
  max-width: 260px;
  overflow-wrap: anywhere;
}
.answer-details {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 12px;
}
.answer-details summary {
  cursor: pointer;
  display: list-item;
  font-weight: 500;
}
.answer-details dl {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 8px 12px;
}
.answer-details dt {
  color: var(--muted);
}
.answer-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.participation-chips {
  margin: 12px 0;
}
.feedback-coverage {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.feedback-details {
  margin: 16px 0;
  font-size: 13px;
}
.feedback-details summary {
  cursor: pointer;
  color: var(--muted);
}
.feedback-details dl {
  margin-top: 12px;
}
.plan-conditions {
  padding: 4px 4px 20px;
  border-bottom: 1px solid var(--line);
}
.plan-conditions h3 {
  margin-bottom: 14px;
}
.plan-top .suggestion-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}
.activity-mode-menu {
  border: 0;
  padding: 0;
  margin: 18px 0;
  min-width: 0;
}
.activity-mode-menu legend {
  font-size: 13px;
  color: #486876;
}
.activity-mode-menu p {
  margin: 6px 0 12px;
}
.personal-reminders summary,
.survey-extra summary {
  cursor: pointer;
  font-weight: 500;
}
.personal-reminders > p {
  margin: 12px 0;
}
.plan-placeholder {
  text-align: center;
  padding: 40px 25px;
}
.plan-placeholder .icon-disc {
  display: grid;
  place-items: center;
  background: #edf6fa;
  color: #6b9db4;
  border-radius: 50%;
  height: 58px;
  width: 58px;
  margin: 0 auto 19px;
}
.icon-disc svg {
  width: 27px;
  height: 27px;
}
.plan-placeholder p {
  max-width: 450px;
  margin: 10px auto 23px;
  color: var(--muted);
}
.plan-top {
  padding: 27px;
  background: #eef6fa;
  border: 1px solid #d7e7ee;
  border-radius: 14px;
}
.plan-top h2 {
  margin: 13px 0 10px;
  font-size: 23px;
}
.plan-top p {
  color: #5a7c8c;
  white-space: pre-wrap;
}
.plan-meta {
  font-size: 11px;
  color: #8ca3ad;
  margin-top: 16px;
}
.plan-history {
  max-width: 280px;
  width: 100%;
}
.plan-reasons ul,
.plain-list {
  padding-left: 19px;
  margin: 9px 0 0;
  color: #637c88;
  font-size: 13px;
}
.plan-reasons li + li,
.plain-list li + li {
  margin-top: 7px;
}
.timeline {
  display: grid;
  gap: 18px;
}
.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.step-heading {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eaf1f4;
}
.step-index {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  background: #eef6fa;
  border: 1px solid #dcebf2;
  border-radius: 9px;
  color: #6596ad;
  font-size: 12px;
}
.step-heading .time {
  margin-left: auto;
  font-size: 12px;
  color: #6c91a3;
  white-space: nowrap;
}
.step-body {
  padding: 22px 24px;
}
.step-goal {
  font-size: 12px;
  color: #8399a4;
  margin-bottom: 14px;
}
.script {
  position: relative;
  background: #f4f9fc;
  border-left: 3px solid #a2cada;
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  color: #365b6d;
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.85;
}
.script-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #7d9faf;
  margin-bottom: 7px;
}
.step-instructions {
  padding-left: 20px;
  margin: 18px 0;
  color: #597381;
  font-size: 13px;
}
.step-instructions li + li {
  margin-top: 5px;
}
.step-participation {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 16px 0;
  font-size: 13px;
  color: #597381;
}
.step-participation p {
  margin: 0 0 8px;
}
.step-participation ul {
  margin: 6px 0 0;
}
.fallback {
  background: #faf8f2;
  border-radius: 8px;
  padding: 12px 15px;
  color: #8c7b59;
  font-size: 12px;
}
.fallback strong {
  font-weight: 550;
}
.transition {
  font-size: 12px;
  color: #8096a1;
  margin-top: 13px;
}
.contingency {
  padding: 17px 19px;
  border: 0;
  border-left: 2px solid #d6e6ed;
  border-radius: 0;
  background: transparent;
}
.contingency h3 {
  font-size: 13px;
  margin-bottom: 6px;
}
.contingency p {
  font-size: 12px;
  color: #6a828e;
  white-space: pre-wrap;
}
.plan-adjust {
  position: static;
  box-shadow: none;
}
.trace {
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 12px;
  color: #6b8694;
}
.trace li + li {
  margin-top: 6px;
}
.trace ul {
  margin: 8px 0;
  padding-left: 18px;
}
.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #c8e1eb;
  border-top-color: #3284a5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loading-screen {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 80vh;
  gap: 18px;
  color: var(--muted);
}
label.field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #486876;
}
.field small {
  font-size: 11px;
  line-height: 1.5;
}
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid #d7e3e9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  min-height: 42px;
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #a2b1b9;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #8bbbcf;
  box-shadow: 0 0 0 3px #e5f2f8;
}
textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.65;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #438ead;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 3px 0 0;
}
dialog {
  border: 1px solid #d7e5ec;
  border-radius: 17px;
  padding: 0;
  color: var(--ink);
  width: min(640px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 24px 90px #254c632e;
}
dialog::backdrop {
  background: #1b3d4d55;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 22px 25px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.modal-head h2 {
  font-size: 19px;
}
.modal-body {
  padding: 22px 25px;
  display: grid;
  gap: 18px;
}
.modal-foot {
  padding: 16px 25px 21px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: #fbfdfe;
  position: sticky;
  bottom: 0;
}
.modal-head .close {
  border: 0;
  background: none;
  padding: 6px;
  min-height: 30px;
  color: #8a9da5;
}
.form-error {
  color: #a15e57;
  font-size: 12px;
  margin-top: 8px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 36px);
  padding: 11px 19px;
  border: 1px solid #d6e8ed;
  border-radius: 10px;
  background: #244e60;
  color: white;
  box-shadow: 0 8px 30px #1f4a6320;
  z-index: 1000;
  font-size: 13px;
}
.toast.error {
  background: #8d514e;
}
.survey-page {
  max-width: 620px;
  padding: 30px 24px 50px;
  margin: auto;
}
.survey-brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #6e93a4;
  margin-bottom: 30px;
}
.survey-brand .brand-symbol {
  width: 29px;
  height: 29px;
  border-radius: 10px;
  font-size: 14px;
}
.survey-intro {
  padding-bottom: 25px;
}
.survey-intro h1 {
  font-size: 29px;
  margin: 10px 0 13px;
}
.survey-intro p {
  font-size: 14px;
  color: #6a8490;
  line-height: 1.85;
}
.survey-activity {
  border: 1px solid #d8e9ef;
  background: #eaf5fa;
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 23px;
}
.survey-activity strong {
  font-size: 14px;
  display: block;
}
.survey-activity p {
  font-size: 12px;
  color: #688a9a;
  margin-top: 5px;
  white-space: pre-wrap;
}
.survey-form {
  display: grid;
  gap: 17px;
}
.question-card {
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.question-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.question-title .qno {
  font-size: 11px;
  color: #8eb1c2;
  letter-spacing: 0.5px;
}
.question-title h2 {
  font-size: 16px;
}
.question-hint {
  font-size: 12px;
  color: #8b9ea8;
  margin-bottom: 17px;
}
.choice-grid {
  display: grid;
  gap: 9px;
}
.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #e0e9ee;
  padding: 12px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s;
}
.choice:has(input:checked) {
  background: #edf6fa;
  border-color: #a8cddd;
  color: #2d6d87;
}
.choice small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.choice-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.choice-chips .choice {
  padding: 8px 12px;
  font-size: 12px;
  gap: 7px;
  align-items: center;
}
.choice-chips input {
  width: 14px;
  height: 14px;
  margin: 0;
}
.participation-options {
  margin-bottom: 17px;
}
.survey-extra {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.survey-extra .choice-grid {
  margin-top: 12px;
}
.friend-fields {
  display: grid;
  gap: 14px;
  padding: 15px;
  background: #f8fbfd;
  border-radius: 9px;
  margin-top: 13px;
}
.survey-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #7a929d;
  font-size: 12px;
  line-height: 1.8;
  padding: 0 4px;
}
.survey-foot {
  font-size: 11px;
  color: #95a8b1;
  text-align: center;
  margin-top: 21px;
}
.survey-success {
  text-align: center;
  padding: 34px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.success-mark {
  width: 58px;
  height: 58px;
  background: #eaf6ef;
  color: #659c7e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 25px;
}
.survey-success h2 {
  font-size: 23px;
  margin-bottom: 13px;
}
.survey-success p {
  font-size: 13px;
  color: #78929d;
  margin-bottom: 23px;
}
.survey-success .actions {
  justify-content: center;
}
.survey-bottom-actions {
  display: grid;
  gap: 8px;
  margin-top: 7px;
}
.empty-note {
  padding: 23px;
  color: #8a9ea7;
  font-size: 13px;
  text-align: center;
}
.page-error {
  max-width: 600px;
  margin: 10vh auto;
  padding: 28px;
}
.tabbar {
  display: flex;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.tabbar button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 12px 18px;
  color: #8499a4;
  border-bottom: 2px solid transparent;
}
.tabbar button.active {
  color: #2c7897;
  border-bottom-color: #4b94b4;
}
.survey-status {
  margin-bottom: 20px;
}
.radio-caption {
  font-size: 11px;
  color: #96a9b2;
}
.field .required {
  color: #3f90ae;
  font-size: 11px;
}
.text-wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.page-bottom-note {
  font-size: 11px;
  color: #8fa4ad;
  margin-top: 24px;
  text-align: center;
}
.mobile-brand {
  display: none;
}
.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 26px;
  padding: 20px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.workflow-strip li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0 22px;
  min-width: 0;
}
.workflow-strip li:first-child {
  padding-left: 0;
}
.workflow-strip li + li {
  border-left: 1px solid var(--line);
}
.workflow-number {
  font-size: 12px;
  font-weight: 600;
  color: #7197a9;
  padding-top: 2px;
}
.workflow-strip strong {
  font-size: 14px;
  font-weight: 600;
}
.workflow-strip p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.button-link {
  white-space: nowrap;
  flex-shrink: 0;
}
.button-link.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.button-link.primary:hover {
  background: var(--dark);
}
.generation-status {
  padding: 19px 22px;
  border: 1px solid #bcd9e5;
  background: #edf6fa;
  border-radius: 12px;
}
.generation-status p {
  margin: 12px 0 6px;
  font-size: 13px;
  color: #446b7e;
  white-space: pre-wrap;
}
.generation-status small {
  font-size: 12px;
}
.generation-log {
  margin-top: 13px;
  border-top: 1px solid #d5e7ef;
  padding-top: 12px;
  color: #678492;
  font-size: 12px;
}
.generation-log summary,
.trace summary {
  cursor: pointer;
}
.generation-log ul {
  margin: 12px 0 0;
  padding-left: 18px;
}
.generation-log li + li {
  margin-top: 7px;
}
@media (max-width: 760px) {
  .workflow-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
    margin: 18px 0 22px;
  }
  .workflow-strip li,
  .workflow-strip li:first-child {
    padding: 0;
  }
  .workflow-strip li + li {
    border: 0;
  }
  .workflow-strip p {
    margin-top: 2px;
  }
  .page-head {
    flex-wrap: wrap;
  }
  .page-head h1 {
    overflow-wrap: anywhere;
  }
  .generation-status {
    padding: 17px 18px;
  }
  .generation-status .actions {
    gap: 12px;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .main {
    padding-left: 55px;
    padding-right: 55px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 27px 15px 18px;
  }
  .main {
    padding: 27px 26px 50px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats-grid {
    gap: 0;
  }
  .stat {
    padding: 15px;
  }
  .empty-hero {
    padding: 30px;
  }
  .hero-art {
    min-height: 180px;
  }
  .empty-hero h2 {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    margin: 0 0 16px;
  }
  .brand-symbol {
    height: 33px;
    width: 33px;
    font-size: 16px;
  }
  .brand-copy strong {
    font-size: 16px;
  }
  .brand-copy small {
    font-size: 9px;
  }
  .sidebar-nav {
    display: flex;
    gap: 5px;
  }
  .nav-item {
    font-size: 12px;
    padding: 10px 11px;
    border-radius: 8px 8px 0 0;
    flex: 1;
    justify-content: center;
  }
  .nav-item span.num {
    display: none;
  }
  .sidebar-card,
  .sidebar-bottom,
  .nav-label {
    display: none;
  }
  .main {
    padding: 22px 18px 40px;
  }
  .topbar {
    margin-bottom: 22px;
  }
  .topbar .tag {
    font-size: 10px;
  }
  h1 {
    font-size: 25px;
  }
  .page-head {
    align-items: flex-start;
    gap: 13px;
  }
  .page-head .actions {
    flex-shrink: 0;
  }
  .page-head p {
    font-size: 12px;
    margin-top: 8px;
  }
  .page-head .actions button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .empty-hero {
    grid-template-columns: 1fr;
    padding: 27px 25px;
  }
  .empty-hero h2 {
    font-size: 25px;
  }
  .hero-art {
    display: none;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .how-card {
    padding: 18px 20px;
  }
  .how-card .how-no {
    margin-bottom: 7px;
  }
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .stat {
    padding: 14px 16px;
  }
  .stat-number {
    font-size: 25px;
  }
  .panel {
    padding: 19px 18px;
    border-radius: 12px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .workspace-grid {
    gap: 16px;
  }
  .tabbar button {
    font-size: 13px;
    flex: 1;
    padding: 12px 5px;
  }
  .plan-top {
    padding: 23px 20px;
  }
  .plan-top h2 {
    font-size: 20px;
  }
  .step-heading {
    padding: 17px 18px;
  }
  .step-body {
    padding: 19px 18px;
  }
  .script {
    font-size: 14px;
    padding: 14px 15px;
  }
  .step-heading h3 {
    font-size: 14px;
  }
  .step-heading .time {
    font-size: 11px;
  }
  .step-instructions {
    font-size: 12px;
  }
  .plan-adjust {
    position: static;
  }
  .modal-head {
    padding: 19px 20px 14px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-foot {
    padding: 15px 20px 18px;
  }
  .survey-page {
    padding: 22px 17px 35px;
  }
  .survey-brand {
    margin-bottom: 23px;
  }
  .survey-intro h1 {
    font-size: 27px;
  }
  .question-card {
    padding: 20px;
  }
  .question-title h2 {
    font-size: 15px;
  }
  .detail-line {
    grid-template-columns: 68px 1fr;
    gap: 10px;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .activity-select {
    max-width: 200px;
  }
  .topbar .compact {
    padding: 7px 9px;
    font-size: 11px;
  }
  .page-head + .actions {
    margin-bottom: 15px;
  }
  .plan-history {
    max-width: 100%;
  }
  .survey-activity {
    padding: 14px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .tabbar,
  .page-head .actions,
  .plan-adjust,
  .no-print,
  .toast,
  .modal-foot {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .main {
    padding: 0;
    max-width: none;
  }
  .panel,
  .step-card,
  .plan-top,
  .contingency {
    box-shadow: none;
    break-inside: avoid;
    border: 1px solid #ddd;
  }
  .workspace-grid {
    display: block;
  }
  .workspace-grid > * {
    margin-bottom: 20px;
  }
  .step-card {
    margin-bottom: 15px;
  }
  body {
    background: white;
    font-size: 12px;
  }
  .script {
    font-size: 13px;
  }
  h1 {
    font-size: 24px;
  }
}
.online-survey-publish {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-soft, #f0f7fb);
}
.online-survey-publish h3 { margin: 0 0 8px; }
.online-survey-publish button { margin-top: 14px; }
.survey-link-label { margin-top: 18px; font-size: 12px; color: var(--muted); }
.survey-sync-note { margin: -6px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.survey-sync-note.sync-failed { color: #986324; }
