@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #faf8f5;
  --paper: #fff;
  --ink: #282b28;
  --muted: #7b8079;
  --line: #e8e8df;
  --green: #3e6550;
  --pale: #edf3ed;
  --orange: #bf6e3d;
  --serif: Georgia, "Songti SC", "SimSun", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b88b57;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.85;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 15px;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
.sidebar {
  width: 228px;
  background: #f3f3ed;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  padding: 34px 23px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 2px;
}
.brandmark {
  background: var(--green);
  color: white;
  border-radius: 12px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.sidebar nav {
  margin-top: 47px;
  display: grid;
  gap: 9px;
}
.navbtn {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 9px;
  text-align: left;
  font-size: 13px;
  color: #74786f;
}
.navbtn.active {
  background: #e3e9df;
  color: var(--green);
  font-weight: 700;
}
.navbtn b {
  margin-left: auto;
  font-size: 10px;
}
.sidenote {
  border-top: 1px solid #dfdfd5;
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.avatar {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar span {
  width: 32px;
  height: 32px;
  background: #dfdfcf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5c6752;
}
.avatar b {
  font-size: 11px;
}
.shell {
  margin-left: 228px;
  min-height: 100vh;
}
.topbar {
  height: 80px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.crumb {
  color: var(--muted);
  font-size: 12px;
}
.topactions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pill {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 30px;
  background: #eeeae1;
  color: #7b6b4f;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.pill.green {
  background: var(--pale);
  color: var(--green);
}
.textbtn {
  font-size: 12px;
  color: var(--green);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
}
.content {
  max-width: 1260px;
  margin: auto;
  padding: 39px 42px 50px;
}
.pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 27px;
}
.sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.primary {
  background: var(--green);
  color: white;
  border-radius: 8px;
  padding: 13px 21px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
}
.secondary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 17px;
  min-height: 44px;
  font-size: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.hero {
  padding: 31px 34px;
  border: 1px solid #dbe3d6;
  border-radius: 15px;
  background: #edf1e8;
  position: relative;
  overflow: hidden;
  margin-bottom: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.hero h2 {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.7;
  font-weight: 500;
}
.hero p {
  color: #687460;
  font-size: 12px;
  max-width: 470px;
  margin-top: 11px;
}
.hero-art {
  width: 220px;
  height: 148px;
  position: relative;
  flex-shrink: 0;
}
.art-card {
  background: #fafbf7;
  border: 1px solid #d6dfd0;
  padding: 14px;
  border-radius: 9px;
  box-shadow: 0 8px 22px #5264440c;
  position: absolute;
  inset: 13px 18px 17px 15px;
  transform: rotate(-7deg);
}
.art-card.front {
  inset: 35px 0 0 40px;
  transform: rotate(5deg);
}
.art-line {
  height: 5px;
  border-radius: 4px;
  background: #dce4d6;
  margin: 9px 0;
  width: 85%;
}
.art-wave {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.art-wave i {
  width: 4px;
  border-radius: 4px;
  background: #779570;
  display: block;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 0 15px;
}
.sectionhead h2 {
  font-size: 16px;
}
.entrygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.entry {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
}
.entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px #30382c08;
}
.entryicon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #edf3ed;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--green);
}
.entry:nth-child(2) .entryicon {
  background: #f7eee3;
  color: #b27b45;
}
.entry h3 {
  font-size: 19px;
}
.entry p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 17px;
  max-width: 360px;
}
.entry .arrow {
  position: absolute;
  right: 26px;
  top: 29px;
  color: #9aa28e;
}
.mini {
  font-size: 10px;
  color: #89917f;
}
.project {
  display: flex;
  gap: 18px;
  align-items: center;
  background: white;
  padding: 19px 23px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
}
.project .entryicon {
  margin: 0;
  width: 40px;
  height: 40px;
}
.project h3 {
  font-size: 13px;
}
.project p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.project .secondary {
  margin-left: auto;
}
.notice {
  font-size: 11px;
  line-height: 1.9;
  color: #8c7a5b;
  background: #f6f0e5;
  border: 1px solid #ede4d3;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 21px;
}
.bottomnav {
  display: none;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 17px;
  font-size: 12px;
  background: white;
}
.filter.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.search {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
input,
textarea,
select {
  border: 1px solid #dfe2d8;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  width: 100%;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #6b8a6f;
  box-shadow: 0 0 0 3px #dce9db66;
}
.search input {
  flex: 1;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.refcard {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.refvisual {
  height: 139px;
  padding: 23px;
  background: #edeadf;
  color: #676b58;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.refcard:nth-child(2n) .refvisual {
  background: #e1e9e1;
  color: #4d6757;
}
.refcard:nth-child(3n) .refvisual {
  background: #f0e5db;
  color: #8a6a54;
}
.refvisual span {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  max-width: 190px;
  z-index: 1;
}
.refvisual:after {
  content: "“";
  position: absolute;
  right: 15px;
  top: 0;
  font: 150px var(--serif);
  opacity: 0.12;
}
.refbody {
  padding: 19px;
}
.refbody h3 {
  font-size: 15px;
  line-height: 1.7;
  margin: 12px 0;
}
.refbody p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.refmeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.refmeta span {
  font-size: 10px;
  color: var(--muted);
}
.wide {
  width: 100%;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
}
.sessionhead {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.switch {
  display: inline-flex;
  background: #efeee8;
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
}
.switch button {
  font-size: 11px;
  padding: 8px 13px;
  border-radius: 6px;
  min-height: 35px;
}
.switch button.active {
  background: white;
  box-shadow: 0 1px 5px #242a2110;
  color: var(--green);
  font-weight: 600;
}
.question {
  background: #edf2e9;
  border: 1px solid #d8e2d1;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 17px;
  position: relative;
}
.question .eyebrow {
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.question h2 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.8;
  min-height: 90px;
}
.questiontools {
  display: flex;
  gap: 15px;
  margin-top: 17px;
}
.questiontools button {
  font-size: 11px;
  color: #64815f;
  min-height: 32px;
}
.reason {
  margin: 14px 0 19px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.inputhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0 10px;
  font-size: 12px;
}
.answerbox {
  min-height: 118px;
  resize: vertical;
  font-size: 13px;
  line-height: 1.8;
}
.inputactions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
}
.fieldselect {
  max-width: 145px;
  font-size: 11px;
  padding: 9px;
}
.steps {
  display: flex;
  gap: 8px;
  margin: 16px 0 24px;
  font-size: 11px;
  color: var(--muted);
}
.steps span {
  padding: 6px 9px;
  border-radius: 5px;
  background: #f1f0eb;
}
.steps span.active {
  color: var(--green);
  background: #e8eee2;
}
.coverage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 16px;
}
.bar {
  height: 5px;
  background: #eeeee7;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 21px;
}
.bar i {
  display: block;
  background: #7e9677;
  height: 100%;
}
.checkrow {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #f0f0e9;
  font-size: 12px;
}
.checkcircle {
  width: 18px;
  height: 18px;
  border: 1px solid #dcded3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
}
.checkrow.done .checkcircle {
  background: #719168;
  border-color: #719168;
}
.checkrow small {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.sidetitle {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}
.hint {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 17px;
}
.transcript {
  margin-top: 21px;
}
.turn {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.turn .turnmeta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}
.turn p {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.turn b {
  font-size: 11px;
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
  color: #66715f;
}
.topicline {
  padding: 15px;
  border: 1px solid #e2e7db;
  border-radius: 8px;
  background: #f6f8f2;
  margin: 18px 0;
}
.topicline h3 {
  font-size: 13px;
  line-height: 1.8;
}
.topicline p {
  font-size: 11px;
  color: var(--muted);
  margin: 9px 0;
}
.topicline button {
  font-size: 12px;
  color: var(--green);
  padding: 8px 0;
}
.resultgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 21px;
}
.resultblock {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.resultblock:first-child {
  padding-top: 0;
}
.resultblock h3 {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 13px;
  display: flex;
  gap: 10px;
}
.resultblock p {
  font-size: 13px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.missing {
  padding: 15px;
  background: #f8f5ee;
  border-radius: 8px;
  margin: 10px 0;
}
.missing strong {
  font-size: 12px;
}
.missing p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty p {
  margin: 15px auto;
  max-width: 400px;
}
.modalback {
  position: fixed;
  inset: 0;
  background: #1b281e55;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal {
  width: 100%;
  max-width: 540px;
  background: var(--bg);
  padding: 28px;
  border-radius: 16px;
  max-height: 90dvh;
  overflow: auto;
}
.modalhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 21px;
}
.modalhead h2 {
  font-size: 21px;
}
.close {
  font-size: 23px;
  padding: 0 8px;
}
.modal label {
  display: block;
  font-size: 12px;
  margin: 17px 0 8px;
}
.modal .footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.detail {
  font-size: 12px;
  line-height: 2;
  background: white;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.detail b {
  color: var(--green);
}
#toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #334b3c;
  color: white;
  padding: 13px 23px;
  border-radius: 10px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: 0.2s;
  max-width: 90%;
  line-height: 1.7;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.selfie .question {
  padding: 38px 30px;
}
.selfie .question h2 {
  font-size: 31px;
  min-height: 170px;
}
.selfie .reason {
  display: none;
}
.actionsrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.desktoponly {
  display: block;
}
.mobilenote {
  display: none;
}
.escape {
  word-break: break-word;
}
.linkrow {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.modal li {
  font-size: 12px;
  line-height: 2;
}
.focusbanner {
  font-size: 11px;
  color: var(--green);
  margin-bottom: 13px;
}
.bottomnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 28px;
  text-align: center;
}
.profilefields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.drawtag {
  position: absolute;
  right: 12px;
  top: 12px;
}
.notebook {
  border-left: 3px solid #c6d5bc;
  padding-left: 13px;
  font-size: 12px;
  line-height: 1.9;
  margin: 15px 0;
}
.finish {
  color: #975b38;
}
.topicnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 21px;
}
.topicnav button {
  font-size: 11px;
  border: 1px solid var(--line);
  background: white;
  padding: 9px 13px;
  border-radius: 8px;
  max-width: 240px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.topicnav button.active {
  background: var(--pale);
  border-color: #b9cbb0;
  color: var(--green);
}
@media (min-width: 1500px) {
  .content {
    padding-top: 49px;
  }
  .hero {
    padding: 38px 42px;
  }
  .entry {
    padding: 31px;
  }
}
.pill.warn {
  background: #fbeee3;
  color: #a2552a;
  border: 1px solid #eedbc7;
}
.pill.green {
  background: #e6efe7;
  color: var(--green);
}
.aibox {
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: #fbfcfa;
  border-radius: 9px;
  padding: 14px 15px;
  margin: 12px 0;
}
.aibox.error {
  border-left-color: #c1662f;
  background: #fdf7f2;
}
.aiboxhead {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.aiboxhead .muted {
  font-size: 11px;
}
.aibox p {
  font-size: 13px;
  margin: 0;
}
.aimaterials {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}
.aimat {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  background: var(--paper);
}
.aimat b {
  font-size: 12px;
  color: var(--green);
}
.aimat p {
  font-size: 12.5px;
  margin: 3px 0 4px;
}
.aimat .muted {
  font-size: 11px;
}
.aimissing {
  margin-top: 11px;
  font-size: 12.5px;
}
.aimissing b {
  display: block;
  margin-bottom: 4px;
}
.aimissing ul {
  margin: 0;
  padding-left: 18px;
}
.aimissing li {
  margin: 3px 0;
}
.muted.small {
  font-size: 11px;
}
.filters {
  margin: 12px 0 16px;
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding: 30px 15px;
  }
  .shell {
    margin-left: 190px;
  }
  .content {
    padding: 29px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .resultgrid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .hero-art {
    width: 170px;
  }
  .pagehead h1 {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 13px;
  }
  .sidebar {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 64px;
    padding: 0 20px;
  }
  .crumb {
    font-weight: 700;
    color: var(--ink);
    font-size: 15px;
  }
  .topactions {
    gap: 6px;
  }
  .topactions .textbtn {
    font-size: 10px;
  }
  .topactions .pill {
    font-size: 9px;
    padding: 5px 7px;
  }
  .content {
    padding: 26px 18px 110px;
  }
  .pagehead {
    margin-bottom: 22px;
    align-items: flex-start;
  }
  .pagehead h1 {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .pagehead .primary {
    padding: 10px 13px;
    font-size: 11px;
    min-height: 41px;
  }
  .sub {
    font-size: 11px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  .hero {
    padding: 24px;
    margin-bottom: 24px;
    min-height: 180px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero p {
    font-size: 11px;
    max-width: 260px;
  }
  .hero-art {
    display: none;
  }
  .entrygrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .entry {
    padding: 21px 21px 19px 81px;
    min-height: 142px;
  }
  .entryicon {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 42px;
    height: 42px;
  }
  .entry h3 {
    font-size: 17px;
  }
  .entry p {
    font-size: 11px;
    margin: 8px 0 10px;
  }
  .entry .arrow {
    right: 18px;
    top: 25px;
  }
  .project {
    padding: 16px 14px;
    gap: 11px;
  }
  .project .entryicon {
    position: static;
    flex-shrink: 0;
  }
  .project .secondary {
    padding: 8px 10px;
    min-width: 59px;
    font-size: 10px;
  }
  .project h3 {
    font-size: 12px;
  }
  .project p {
    font-size: 10px;
  }
  .bottomnav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fcfcf9f7;
    border-top: 1px solid var(--line);
    padding: 7px 10px calc(8px + env(safe-area-inset-bottom));
    backdrop-filter: blur(15px);
  }
  .bottomnav button {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    color: #8b8f84;
    font-size: 9px;
    min-height: 46px;
    justify-content: center;
  }
  .bottomnav button.active {
    color: var(--green);
    font-weight: 700;
  }
  .bottomnav .icon {
    width: 21px;
    height: 21px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .refvisual {
    height: 130px;
  }
  .refvisual span {
    font-size: 27px;
    max-width: 230px;
  }
  .refbody {
    padding: 19px;
  }
  .search {
    gap: 8px;
  }
  .search .primary {
    padding: 10px 13px;
  }
  .filters {
    gap: 7px;
  }
  .filter {
    padding: 8px 12px;
    font-size: 11px;
  }
  .notice {
    font-size: 10px;
    padding: 10px 12px;
  }
  .workspace,
  .resultgrid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 19px;
    border-radius: 11px;
  }
  .workspace .panel.aside {
    order: 2;
  }
  .question {
    padding: 23px;
  }
  .question h2 {
    font-size: 23px;
    min-height: 105px;
  }
  .questiontools {
    gap: 13px;
  }
  .inputhead {
    font-size: 11px;
  }
  .inputactions {
    align-items: stretch;
  }
  .inputactions .primary {
    font-size: 12px;
    padding: 10px 15px;
  }
  .fieldselect {
    max-width: 125px;
  }
  .selfie .question {
    padding: 28px 22px;
  }
  .selfie .question h2 {
    font-size: 27px;
    min-height: 160px;
  }
  .steps {
    font-size: 10px;
    gap: 5px;
    margin-bottom: 18px;
  }
  .sessionhead {
    flex-wrap: wrap;
  }
  .switch button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .desktoponly {
    display: none;
  }
  .mobilenote {
    display: block;
  }
  .modalback {
    padding: 10px;
    align-items: flex-end;
  }
  .modal {
    padding: 24px 20px;
    border-radius: 18px 18px 10px 10px;
    max-height: 92dvh;
  }
  .modal .footer .primary {
    flex: 1;
  }
  #toast {
    bottom: 95px;
    min-width: 220px;
    text-align: center;
  }
  .resultblock {
    padding: 20px 0;
  }
  .resultblock p {
    font-size: 12px;
  }
  .sectionhead {
    margin-top: 24px;
  }
  .sectionhead h2 {
    font-size: 15px;
  }
  .pagehead .actionsrow {
    gap: 6px;
  }
  .pagehead .secondary {
    font-size: 10px;
    padding: 10px;
  }
  .bottomnote {
    margin-top: 25px;
  }
  .profilefields {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
