:root {
  --app-bg: #f5f5f3;
  --app-ink: #202b32;
  --app-line: #e7e9e7;
  --app-red: #e60012;
  --sidebar: 0px;
}
body {
  background: var(--app-bg);
  color: var(--app-ink);
}
.app-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.app-icon svg {
  width: 100%;
  height: 100%;
}
.app-frame {
  min-height: 100dvh;
}
.app-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 30;
  background: #fff;
  border-right: 1px solid var(--app-line);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 30px 10px;
}
.app-wordmark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 52px;
}
.app-rail > small {
  margin-top: auto;
  font-size: 9px;
  color: #a0a6a4;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
}
.app-tabbar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.app-tab {
  padding: 16px 5px;
  border-radius: 16px;
  color: #89918e;
  text-align: center;
}
.app-tab > span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}
.app-tab.active {
  background: #fff0ee;
  color: var(--app-red);
  font-weight: 650;
}
.app-body {
  margin-left: 100px;
  min-height: 100dvh;
}
.app-header {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  background: #ffffffd9;
  border-bottom: 1px solid var(--app-line);
}
.app-header-left,
.app-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-header-left > strong {
  font-size: 16px;
}
.app-demo {
  font-size: 10px;
  color: #a2a19a;
}
.app-avatar {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  background: #fff;
}
.app-avatar .app-icon {
  width: 18px;
}
.app-back {
  display: flex;
  padding: 7px;
  margin-left: -7px;
}
.app-back .app-icon {
  width: 20px;
}
.app-main {
  max-width: 1160px;
  padding: 32px 40px 100px;
  margin: 0 auto;
}
.compose-fab {
  position: fixed;
  right: 38px;
  bottom: 30px;
  z-index: 40;
  color: #fff;
  background: var(--app-red);
  width: 60px;
  height: 60px;
  border-radius: 22px;
  box-shadow: 0 6px 20px #cd001426;
  display: grid;
  place-items: center;
}
.compose-fab > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.compose-fab .app-icon {
  width: 28px;
  height: 28px;
}
.compose-fab > span > span:last-child:not(.app-icon) {
  display: none;
}
.compose-fab:focus-visible {
  outline: 3px solid #202b32;
  outline-offset: 4px;
}
.home-section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.home-section-label > span:first-child {
  font-size: 24px;
  font-weight: 650;
}
.home-section-label > .muted {
  font-size: 12px;
}
.resource-launchers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.resource-launcher {
  border: 1px solid var(--app-line);
  border-radius: 22px;
  background: white;
  padding: 30px 22px;
}
.resource-launcher > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.launcher-symbol {
  width: 66px;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  margin-bottom: 3px;
}
.launcher-symbol .app-icon {
  width: 34px;
  height: 34px;
}
.launcher-symbol.product {
  background: #f9e8e3;
  color: #aa5643;
}
.launcher-symbol.company {
  background: #e9efea;
  color: #5c7869;
}
.launcher-symbol.expert {
  background: #ebeaf3;
  color: #73618f;
}
.resource-launcher strong {
  font-size: 17px;
}
.resource-launcher small {
  font-size: 11px;
  color: #929995;
}
.resource-launcher:hover {
  border-color: #cbd2cc;
}
.assistant-entry {
  display: block;
  margin: 24px 0;
}
.assistant-search {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e8ddd8;
  border-radius: 18px;
  background: linear-gradient(100deg, #fff6f2, #fff);
  padding: 22px;
}
.assistant-search > .app-icon:first-child {
  color: #c35b47;
  width: 30px;
  height: 30px;
}
.assistant-search > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.assistant-search strong {
  font-size: 15px;
}
.assistant-search small {
  font-size: 12px;
  color: #8b8f89;
}
.assistant-search > .app-icon:last-child {
  width: 17px;
  color: #9d9f99;
}
.home-access {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #8b938d;
  margin: 25px 2px;
}
.home-access .app-icon {
  width: 18px;
  height: 18px;
}
.home-access > a {
  margin-left: auto;
  white-space: nowrap;
  color: #a75445;
}
.home-section {
  margin-top: 34px;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.section-line h2,
.mine-management h2 {
  font-size: 17px;
  font-weight: 650;
}
.section-line > a,
.section-line > span {
  font-size: 11px;
  color: #939b96;
}
.app-list {
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  overflow: hidden;
}
.app-list > a {
  display: block;
}
.app-list > a:not(:last-child) {
  border-bottom: 1px solid #eef0ed;
}
.app-list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
}
.app-list-row > div {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}
.app-list-row strong {
  font-size: 13px;
  font-weight: 600;
}
.app-list-row small {
  font-size: 11px;
  color: #929a95;
}
.app-list-row > .app-icon:last-child {
  margin-left: auto;
  width: 17px;
  height: 17px;
  color: #a2aaa4;
}
.list-glyph {
  background: #f4f5f0;
  color: #909b88;
  border-radius: 12px;
  padding: 12px;
}
.app-empty-inline {
  min-height: 110px;
  border: 1px dashed #d8ddd7;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #7f8b82;
}
.app-empty-inline small {
  font-size: 11px;
  color: #9ca69e;
}
.mine-page {
  max-width: 720px;
  margin: auto;
}
.mine-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 5px 38px;
}
.mine-avatar {
  height: 76px;
  width: 76px;
  border-radius: 26px;
  background: #e6ebe5;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #697c6b;
}
.mine-identity h1 {
  font-size: 24px;
}
.mine-identity p {
  font-size: 12px;
  color: #8a948c;
  margin: 8px 0;
}
.mine-page .app-list-row > .app-icon:first-child {
  width: 22px;
  color: #7e8d81;
}
.mine-management {
  margin-top: 32px;
}
.mine-management h2 {
  margin-bottom: 16px;
}
.mine-logout {
  display: block;
  margin: 30px auto;
  background: none;
  border: 0;
  color: #9b7d76;
  font-size: 12px;
  padding: 12px;
}
.assistant-main {
  max-width: 1300px;
  padding-top: 20px;
  padding-bottom: 15px;
}
.assistant-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 110px);
}
.chat-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.assistant-status {
  font-size: 11px;
  color: #8c938d;
}
.assistant-status.connected {
  color: #65836e;
}
.new-chat-button {
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  padding: 8px 13px;
  color: #6f7e73;
}
.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 34px;
  flex: 1;
}
.chat-layout:has(.chat-results:empty) {
  display: flex;
}
.chat-messages {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 0 40px;
}
.chat-message {
  max-width: 90%;
  align-self: flex-start;
  font-size: 14px;
  line-height: 1.9;
}
.chat-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.chat-message.user {
  align-self: flex-end;
  background: #e7ece5;
  border-radius: 18px 18px 4px 18px;
  padding: 14px 20px;
  max-width: 85%;
}
.chat-author {
  display: block;
  color: #849180;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}
.thinking {
  color: #999;
}
.chat-welcome {
  margin: auto;
  text-align: center;
  padding: 65px 5px;
}
.chat-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: #f7e6de;
  color: #ae604b;
  margin-bottom: 25px;
}
.chat-mark .app-icon {
  width: 32px;
  height: 32px;
}
.chat-welcome h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.chat-welcome p {
  font-size: 13px;
  color: #8c968c;
  margin-top: 16px;
}
.chat-suggestions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.suggestion-chip {
  background: #ffffffbf;
  border: 1px solid #e6e9e1;
  padding: 11px 17px;
  border-radius: 16px;
  font-size: 12px;
  color: #76816f;
}
.chat-composer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid #e0e4db;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 24px #26331d04;
  margin-top: 12px;
}
.chat-composer textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  resize: none;
  min-height: 48px;
  max-height: 120px;
  padding: 5px;
  outline: none;
  line-height: 1.6;
  font-size: 13px;
}
.chat-composer textarea:focus {
  box-shadow: none;
}
.chat-voice,
.chat-send {
  border: 0;
  background: #f1f3ed;
  color: #76826d;
  border-radius: 14px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: none;
}
.chat-send {
  background: #e60012;
  color: #fff;
}
.chat-send:disabled {
  opacity: 0.4;
}
.chat-voice.recording {
  background: #fff0ee;
  color: #e60012;
}
.chat-input-hint {
  text-align: center;
  font-size: 10px;
  color: #a4aa9f;
  margin: 9px 0 0;
}
.chat-results:empty {
  display: none;
}
.chat-results h2 {
  font-size: 13px;
  margin-bottom: 14px;
}
.chat-resource-section {
  padding: 15px 0;
}
.chat-resource-card {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  margin-bottom: 10px;
}
.chat-resource-card > .app-icon:first-child {
  color: #97a28c;
  width: 20px;
}
.chat-resource-card > div {
  min-width: 0;
  flex: 1;
}
.chat-resource-card small {
  display: block;
  color: #98a190;
  font-size: 10px;
  margin-bottom: 7px;
}
.chat-resource-card strong {
  font-size: 13px;
}
.chat-resource-card p {
  font-size: 11px;
  color: #89927e;
  line-height: 1.7;
  margin-top: 7px;
}
.chat-resource-card > .app-icon:last-child {
  width: 14px;
  color: #a8ae9f;
}
.chat-draft {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  margin: 12px 0;
}
.chat-draft dl {
  margin: 10px 0 20px;
}
.chat-draft dl > div {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2ed;
  font-size: 12px;
}
.chat-draft dt {
  color: #939c8d;
  min-width: 55px;
}
.chat-draft dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-draft .muted {
  font-size: 11px;
}
.app-main .panel {
  border-radius: 16px;
  border-color: var(--app-line);
}
.app-main .page-heading h1 {
  font-size: 22px;
}
.app-main .profile-hero {
  border-radius: 18px;
}
.app-main .filter-bar {
  border-radius: 16px;
}
.app-main .button {
  border-radius: 10px;
}
.app-main .breadcrumb {
  font-size: 10px;
}
@media (min-width: 1200px) {
  .app-home {
    max-width: 920px;
    margin: auto;
  }
}
@media (max-width: 760px) {
  .app-rail {
    left: 0;
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: calc(68px + env(safe-area-inset-bottom));
    padding: 0 16px env(safe-area-inset-bottom);
    border-right: 0;
    border-top: 1px solid var(--app-line);
    background: #fffffff5;
  }
  .app-wordmark,
  .app-rail > small {
    display: none;
  }
  .app-tabbar {
    height: 68px;
    flex-direction: row;
    gap: 0;
    align-items: center;
  }
  .app-tab {
    flex: 1;
    border-radius: 0;
    padding: 0;
    background: none !important;
  }
  .app-tab > span {
    gap: 4px;
    font-size: 10px;
  }
  .app-tab .app-icon {
    width: 23px;
    height: 23px;
  }
  .app-body {
    margin: 0;
  }
  .app-header {
    height: 60px;
    padding: 0 20px;
  }
  .app-header-left > strong {
    font-size: 17px;
  }
  .app-header-right {
    gap: 9px;
  }
  .app-avatar {
    width: 30px;
    height: 30px;
  }
  .app-demo {
    font-size: 9px;
  }
  .app-main {
    padding: 24px 18px 110px;
  }
  .compose-fab {
    right: 22px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    border-radius: 19px;
  }
  .home-section-label {
    margin-bottom: 22px;
  }
  .home-section-label > span:first-child {
    font-size: 21px;
  }
  .home-section-label > .muted {
    display: none;
  }
  .resource-launchers {
    gap: 10px;
  }
  .resource-launcher {
    padding: 21px 4px;
    border-radius: 19px;
  }
  .resource-launcher > div {
    gap: 9px;
  }
  .launcher-symbol {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
  .launcher-symbol .app-icon {
    width: 29px;
    height: 29px;
  }
  .resource-launcher strong {
    font-size: 14px;
  }
  .resource-launcher small {
    display: none;
  }
  .assistant-entry {
    margin: 20px 0;
  }
  .assistant-search {
    padding: 18px 15px;
    gap: 13px;
    border-radius: 17px;
  }
  .assistant-search strong {
    font-size: 13px;
  }
  .assistant-search small {
    font-size: 10px;
  }
  .home-access {
    font-size: 10px;
    align-items: flex-start;
    margin: 18px 2px;
  }
  .home-access > span:nth-child(2) {
    flex: 1;
  }
  .home-section {
    margin-top: 28px;
  }
  .section-line h2 {
    font-size: 16px;
  }
  .app-list-row {
    padding: 20px 16px;
    gap: 13px;
  }
  .app-list-row strong {
    font-size: 12px;
  }
  .app-list-row small {
    font-size: 10px;
  }
  .list-glyph {
    padding: 10px;
  }
  .list-glyph > .app-icon {
    width: 20px;
    height: 20px;
  }
  .mine-identity {
    padding: 10px 4px 30px;
    gap: 17px;
  }
  .mine-avatar {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    font-size: 23px;
  }
  .mine-identity h1 {
    font-size: 21px;
  }
  .mine-page .app-list-row {
    padding: 24px 18px;
  }
  .assistant-main {
    padding: 14px 16px 100px;
  }
  .assistant-page {
    min-height: calc(100dvh - 175px);
  }
  .chat-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .chat-messages {
    padding: 10px 0 24px;
    gap: 18px;
  }
  .chat-welcome {
    padding: 50px 4px;
  }
  .chat-welcome h1 {
    font-size: 23px;
  }
  .chat-welcome p {
    font-size: 11px;
  }
  .chat-composer {
    position: sticky;
    bottom: calc(77px + env(safe-area-inset-bottom));
    gap: 8px;
    padding: 10px;
    border-radius: 19px;
    z-index: 10;
  }
  .chat-composer textarea {
    font-size: 12px;
  }
  .chat-voice,
  .chat-send {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }
  .chat-input-hint {
    font-size: 9px;
  }
  .chat-message {
    font-size: 13px;
  }
  .chat-draft {
    padding: 18px;
  }
  .chat-results {
    padding-bottom: 10px;
  }
  .chat-resource-section {
    padding-top: 0;
  }
  .chat-topline {
    margin-bottom: 10px;
  }
  .app-main .filter-bar {
    padding: 15px;
  }
  .app-main .page-heading {
    gap: 15px;
  }
  .app-main .page-heading h1 {
    font-size: 21px;
  }
  .app-main .data-table td {
    padding: 10px 0;
  }
  .app-main .permission-table td {
    padding: 9px 10px;
  }
  .app-main .app-empty-inline {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
/* Keep the conversation and composer inside the application viewport. */
.assistant-main {
  height: calc(100dvh - 74px);
  padding-bottom: 16px;
}
.assistant-page {
  height: 100%;
  min-height: 0;
}
.chat-layout {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.chat-composer,
.chat-topline,
.chat-input-hint {
  flex: none;
}
@media (max-width: 760px) {
  .assistant-main {
    height: calc(100dvh - 128px - env(safe-area-inset-bottom));
    padding-bottom: 12px;
  }
  .assistant-page {
    min-height: 0;
  }
  .chat-layout {
    flex: 1;
    min-height: 0;
  }
  .chat-messages {
    flex: none;
  }
  .chat-composer {
    position: static;
    margin-top: 10px;
  }
}
.app-institution {
  font-size: 10px;
  color: #8a948c;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .app-institution {
    display: none;
  }
}
/* Japanese expert submission: an isolated, invitation-bound form. */
.standalone-expert {
  min-height: 100dvh;
  background: #f5f5f3;
}
.standalone-expert .standalone-brand {
  max-width: 960px;
  margin: auto;
  padding: 25px 36px;
  border: 0;
}
.standalone-expert .standalone-brand img {
  width: 125px;
}
.standalone-expert .standalone-main {
  padding: 8px 24px 65px;
  max-width: none;
}
.expert-intake-page {
  max-width: 850px;
  margin: auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  line-height: 1.8;
}
.intake-heading {
  padding: 12px 8px 26px;
}
.intake-kicker {
  font-size: 10px;
  color: #8b958c;
  letter-spacing: 1px;
}
.intake-heading h1 {
  font-size: 27px;
  margin: 15px 0 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.intake-heading > p:not(.intake-kicker) {
  font-size: 12px;
  color: #828b82;
}
.intake-heading .intake-private {
  margin-top: 14px;
  font-size: 11px;
  color: #8b776d;
}
.intake-heading > .text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
}
.intake-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 8px;
  margin: 0 0 26px;
}
.intake-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #a5aba4;
  border-bottom: 2px solid #e1e5df;
  padding-bottom: 14px;
}
.intake-progress li > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #d6ddd4;
  font-size: 10px;
  flex: none;
}
.intake-progress li.active {
  color: #b74e41;
  border-color: #d75d4c;
}
.intake-progress li.active > span {
  background: #f9e8e3;
  border-color: #f9e8e3;
}
.intake-progress li.done {
  color: #7d947c;
  border-color: #a4b79f;
}
.intake-sheet {
  border: 1px solid #e5e9e2;
  background: #fff;
  border-radius: 22px;
  padding: 35px 38px;
}
.intake-step-title {
  margin-bottom: 28px;
}
.intake-step-title > span {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: #9ca497;
  letter-spacing: 1px;
}
.intake-step-title h2 {
  font-size: 19px;
  margin: 8px 0;
  color: #3d4b3e;
  outline: none;
}
.intake-step-title > small {
  font-size: 10px;
  color: #a99a8d;
}
.intake-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
}
.intake-fields > .wide {
  grid-column: 1/-1;
}
.intake-fields .field > span,
.intake-upload > label > span {
  font-size: 11px;
  font-weight: 500;
  color: #5c685b;
}
.intake-fields input,
.intake-fields textarea,
.intake-fields select {
  font: inherit;
  font-size: 13px;
  border-color: #dce2d7;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fdfefc;
  min-height: 46px;
}
.intake-fields textarea {
  min-height: 145px;
  resize: vertical;
}
.intake-fields input:focus-visible,
.intake-fields select:focus-visible,
.intake-fields textarea:focus-visible {
  outline: 2px solid #8aab83;
  outline-offset: 2px;
  box-shadow: none;
}
.intake-fields .field {
  gap: 9px;
}
.intake-choice-group {
  border: 1px solid #e2e7dd;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.intake-choice-group legend {
  font-size: 11px;
  color: #5c685b;
  padding: 0 6px;
}
.intake-choice-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 12px;
  color: #727c6c;
}
.intake-fields input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  padding: 0;
  accent-color: #7a9670;
  flex: none;
}
.intake-upload {
  padding: 20px;
  border: 1px dashed #cbd7c5;
  border-radius: 12px;
  background: #f8faf5;
}
.intake-upload > label {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.intake-upload > small {
  display: block;
  font-size: 10px;
  color: #96a18a;
  margin: 10px 0;
}
.intake-upload input {
  font-size: 11px;
  padding: 8px;
  max-width: 100%;
}
.intake-file-name {
  font-size: 11px;
  color: #839176;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-wrap: anywhere;
}
.intake-remove {
  border: 0;
  background: none;
  color: #b37765;
  font-size: 11px;
  min-height: 35px;
}
.intake-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #edf0e9;
  padding-top: 24px;
  margin-top: 8px;
}
.intake-actions .button {
  font-size: 12px;
  min-width: 120px;
  border-radius: 10px;
  min-height: 45px;
}
.intake-status {
  font-size: 12px;
  color: #89957d;
  min-height: 15px;
  margin: 0;
}
.intake-status.error {
  color: #c34135;
}
.intake-confirm-note {
  padding: 13px 17px;
  background: #f4f7ef;
  border-radius: 10px;
  font-size: 11px;
  color: #7e8b70;
}
.intake-confirm {
  margin: 0;
  font-size: 12px;
}
.intake-confirm > div {
  padding: 15px 0;
  border-bottom: 1px solid #edf0e8;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 15px;
}
.intake-confirm dt {
  color: #929d87;
}
.intake-confirm dd {
  margin: 0;
  color: #55634d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.intake-consent {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 11px;
  line-height: 1.9;
  color: #829075;
  border: 1px solid #e1e7da;
  padding: 20px;
  border-radius: 12px;
}
.intake-consent input {
  margin-top: 5px;
}
.expert-thanks {
  background: #fff;
  border: 1px solid #e5e9df;
  border-radius: 22px;
  padding: 50px 35px;
  margin-top: 25px;
}
.expert-thanks h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 20px 0;
}
.expert-thanks p {
  font-size: 13px;
  color: #7c8873;
  margin: 15px 0;
}
.expert-thanks .intake-note {
  font-size: 11px;
  line-height: 2;
}
.intake-check {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #eef3e8;
  color: #7c9a6b;
  border-radius: 17px;
  font-size: 24px;
}
.expert-thanks .intake-receipt {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: #a5ad9c;
  overflow-wrap: anywhere;
}
.expert-thanks .button {
  margin-top: 24px;
}
.expert-review-data > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #edf0e8;
  font-size: 12px;
}
.expert-review-data dt {
  color: #929b8a;
}
.expert-review-data dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.expert-review-files {
  margin-top: 25px;
}
.expert-invite-result:empty {
  display: none;
}
.expert-invite-result input {
  width: 100%;
  font-size: 11px;
  margin: 15px 0;
}
.expert-intake-entry {
  margin: 18px 0 24px;
}
@media (max-width: 640px) {
  .standalone-expert .standalone-brand {
    padding: 22px 20px 12px;
  }
  .standalone-expert .standalone-brand img {
    width: 110px;
  }
  .standalone-expert .standalone-main {
    padding: 0 16px 35px;
  }
  .intake-heading {
    padding: 12px 2px 25px;
  }
  .intake-heading h1 {
    font-size: 23px;
  }
  .intake-heading > p:not(.intake-kicker) {
    font-size: 11px;
  }
  .intake-progress {
    gap: 6px;
    padding: 0;
    margin-bottom: 20px;
  }
  .intake-progress li {
    flex-direction: column;
    gap: 7px;
    padding-bottom: 12px;
  }
  .intake-progress li small {
    font-size: 9px;
    white-space: nowrap;
  }
  .intake-sheet {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .intake-fields {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .intake-fields > .wide {
    grid-column: auto;
  }
  .intake-fields input,
  .intake-fields textarea,
  .intake-fields select {
    font-size: 16px;
  }
  .intake-step-title {
    margin-bottom: 24px;
  }
  .intake-step-title h2 {
    font-size: 18px;
  }
  .intake-choice-group {
    padding: 14px;
    gap: 8px 15px;
  }
  .intake-choice-group label {
    font-size: 11px;
  }
  .intake-actions .button {
    min-width: 100px;
  }
  .intake-confirm > div {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px 0;
  }
  .intake-confirm dd {
    font-size: 12px;
  }
  .intake-consent {
    padding: 15px;
    font-size: 10px;
    gap: 11px;
  }
  .expert-thanks {
    padding: 30px 22px;
  }
  .expert-thanks h1 {
    font-size: 21px;
  }
  .expert-review-data > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .intake-upload {
    padding: 15px;
  }
}
