:root {
  color: #172033;
  background: #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
}

.page-content {
  width: min(100%, 48rem);
  min-height: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.page-heading {
  margin: 0;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
}

.page-description {
  max-width: 36rem;
  margin: 0.75rem 0 0;
  color: #526077;
  font-size: 1rem;
  line-height: 1.6;
}

.social-page {
  padding-top: 1.75rem;
}

.team-header {
  padding: 0 0.375rem;
}

.team-header__label {
  margin: 0;
  color: #61708b;
  font-size: 0.875rem;
  line-height: 1.4;
}

.team-header__name {
  margin: 0.25rem 0 0;
  color: #152238;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
}

.notice-board {
  position: relative;
  margin-top: 2.25rem;
  overflow: hidden;
  border: 0.6875rem solid #57433a;
  border-radius: 0.25rem;
  background-color: #d4ba96;
  background-image:
    repeating-linear-gradient(
      178deg,
      rgba(78, 54, 39, 0.08) 0,
      rgba(78, 54, 39, 0.08) 0.0625rem,
      transparent 0.0625rem,
      transparent 0.75rem
    ),
    repeating-linear-gradient(
      2deg,
      rgba(255, 247, 231, 0.09) 0,
      rgba(255, 247, 231, 0.09) 0.125rem,
      transparent 0.125rem,
      transparent 1.625rem
    );
  box-shadow:
    0 0 0 0.1875rem #816657,
    0 0.875rem 1.5rem rgba(27, 36, 48, 0.16),
    inset 0 0 1.25rem rgba(86, 57, 40, 0.22);
  padding: 1.5rem;
  padding-bottom: 4.75rem;
}

.notice-board__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(76, 58, 47, 0.48);
}

.notice-board__title-group {
  min-width: 0;
}

.notice-board__title {
  margin: 0;
  color: #2d2522;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 0.0625rem rgba(255, 255, 255, 0.35);
}

.notice-board__stats {
  margin: 0.375rem 0 0;
  color: #685244;
  font-size: 0.75rem;
  line-height: 1.4;
}

.notice-board__header-aside {
  flex: 0 1 12rem;
}

.notice-board__hint {
  margin: 0;
  color: #4d3b31;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: right;
}

.question-filters {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 1rem;
  border-bottom: 1px dashed rgba(76, 58, 47, 0.38);
  padding-bottom: 1rem;
  gap: 0.75rem;
}

.question-filters__select-row {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.question-filters__select-label {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
  color: #59483d;
  font-size: 0.75rem;
  font-weight: 700;
}

.question-filters__select-name {
  line-height: 1.2;
}

.question-filters select {
  width: 100%;
  min-height: 2.25rem;
  border: 1px solid rgba(79, 62, 52, 0.42);
  border-radius: 0.1875rem;
  background: rgba(255, 253, 244, 0.78);
  padding: 0.375rem;
  color: #3f352f;
  font: inherit;
}

.question-filters__controls-row {
  display: grid;
  gap: 0.625rem;
}

.question-filters__sort,
.question-filters__topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.question-filters__sort-button,
.question-filters__topic {
  border: 1px solid rgba(79, 62, 52, 0.4);
  border-radius: 0.1875rem;
  background: rgba(255, 253, 244, 0.46);
  padding: 0.375rem 0.5rem;
  color: #59483d;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.question-filters__sort-button[aria-pressed="true"] {
  border-color: #2c607b;
  background: #2c607b;
  color: #ffffff;
}

.question-filters__topic[aria-pressed="true"] {
  border-color: #8a6c32;
  background: #f5d878;
  color: #493919;
}

.question-filters select:focus-visible,
.question-filters__sort-button:focus-visible,
.question-filters__topic:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: 2px;
}

.question-notes {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 1.25rem;
  gap: 0.875rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.question-notes__empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed rgba(76, 58, 47, 0.48);
  background: rgba(255, 253, 244, 0.38);
  padding: 1rem;
  color: #59483d;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.question-note {
  position: relative;
  display: flex;
  min-height: 8.5rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0.875rem 1.125rem;
  box-shadow:
    0.1875rem 0.25rem 0 rgba(83, 73, 64, 0.18),
    0.4375rem 0.5625rem 0 rgba(83, 73, 64, 0.11),
    0.625rem 0.8125rem 0 rgba(83, 73, 64, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.question-note__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.question-note__topic,
.question-note__status {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25;
}

.question-note__topic {
  min-width: 0;
  overflow: hidden;
  color: #5f6876;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-note__status {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 0.1875rem;
  padding: 0.125rem 0.25rem;
}

.question-note__status--unanswered {
  color: #9b5e21;
}

.question-note__status--answered {
  color: #27714b;
}

.question-note::after {
  position: absolute;
  right: 0.3125rem;
  bottom: -0.375rem;
  left: 0.4375rem;
  z-index: -1;
  height: 0.5rem;
  background: rgba(95, 78, 63, 0.22);
  content: "";
}

.question-note:nth-child(3n + 1) {
  transform: rotate(-1.25deg) translateY(-0.125rem);
}

.question-note:nth-child(3n + 2) {
  transform: rotate(1.1deg) translateY(0.125rem);
}

.question-note:nth-child(3n) {
  transform: rotate(-0.65deg) translateX(0.1875rem);
}

.question-note:hover {
  box-shadow:
    0.25rem 0.3125rem 0 rgba(83, 73, 64, 0.2),
    0.625rem 0.8125rem 0 rgba(83, 73, 64, 0.14),
    0.8125rem 1.0625rem 0 rgba(83, 73, 64, 0.08);
}

.question-note:nth-child(3n + 1):hover {
  transform: rotate(-0.25deg) translateY(-0.25rem);
}

.question-note:nth-child(3n + 2):hover {
  transform: rotate(0.3deg) translateY(-0.125rem);
}

.question-note:nth-child(3n):hover {
  transform: rotate(0.15deg) translateX(0.1875rem) translateY(-0.1875rem);
}

.question-note--yellow {
  background: #fff1a8;
}

.question-note--pink {
  background: #ffd6d8;
}

.question-note--green {
  background: #ccebdc;
}

.question-note--blue {
  background: #d4e8ff;
}

.question-note__content {
  margin: 0.75rem 0 0;
  color: #273248;
  font-size: 0.9375rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.question-note__detail {
  display: block;
  color: #5f6876;
  font-size: 0.75rem;
  line-height: 1.3;
}

.question-note__details {
  display: grid;
  min-width: 0;
  gap: 0.125rem;
}

.question-note__attention {
  color: #6f7a88;
  font-size: 0.6875rem;
  line-height: 1.3;
}

.question-note__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.question-note__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.question-note__like-button {
  min-width: 1.25rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: #64748b;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.question-note__like-button.is-active {
  color: #d13d4c;
}

.question-note__like-button:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: 2px;
}

.question-note__answer-link {
  color: #146c94;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.175rem;
}

.question-note__answer-link:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: 2px;
}

.notice-board__ask-link {
  color: #2c607b;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
}

.notice-board__footer {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  display: flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.notice-board__pagination {
  display: flex;
  max-width: 65%;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.notice-board__pagination::-webkit-scrollbar {
  display: none;
}

.notice-board__page-button {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  border: 1px solid rgba(76, 58, 47, 0.45);
  border-radius: 0.1875rem;
  background: rgba(255, 255, 255, 0.48);
  color: #4d3b31;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.notice-board__page-current {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  place-items: center;
  border: 1px solid #2c607b;
  border-radius: 0.1875rem;
  background: #2c607b;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.notice-board__page-button:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: 2px;
}

.notice-board__ask-link:focus-visible,
.question-composer__submit:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: 3px;
}

.question-composer {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 1.25rem;
  gap: 0.625rem;
}

.question-composer[hidden],
.answer-composer[hidden] {
  display: none;
}

.question-composer__label {
  color: #344157;
  font-size: 0.875rem;
  font-weight: 700;
}

.question-composer textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  border: 1px solid #aebdca;
  border-radius: 0;
  background: #ffffff;
  padding: 0.75rem;
  color: #172033;
  font: inherit;
  line-height: 1.5;
}

.question-composer__submit {
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: #146c94;
  padding: 0.625rem 1rem;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.answer-composer {
  display: grid;
  margin-top: 1.25rem;
  border-top: 1px dashed #b9c7d3;
  padding-top: 1rem;
  gap: 0.625rem;
}

.answer-composer__target {
  margin: 0;
  color: #344157;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.answer-composer__label {
  color: #344157;
  font-size: 0.875rem;
  font-weight: 700;
}

.answer-composer textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  border: 1px solid #aebdca;
  border-radius: 0;
  background: #ffffff;
  padding: 0.75rem;
  color: #172033;
  font: inherit;
  line-height: 1.5;
}

.answer-composer__submit {
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: #146c94;
  padding: 0.625rem 1rem;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.answer-composer__status {
  margin: 0;
  color: #27714b;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.answer-composer__preview {
  margin: 0;
  border-left: 0.1875rem solid #6f9f7c;
  background: rgba(255, 255, 255, 0.46);
  padding: 0.625rem 0.75rem;
  color: #344157;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.bottom-navigation {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  border-top: 1px solid #dce2ed;
  background: #ffffff;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-navigation__items {
  display: grid;
  width: min(100%, 48rem);
  height: 4.5rem;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bottom-navigation__item {
  display: grid;
  min-width: 0;
  position: relative;
  place-items: center;
  border: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1.25;
}

.bottom-navigation__badge {
  position: absolute;
  top: 0.75rem;
  right: calc(50% - 1.4rem);
  display: grid;
  min-width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: #d13d4c;
  padding: 0 0.1875rem;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}

.bottom-navigation__item[aria-current="page"] {
  color: #146c94;
  font-weight: 700;
}

.bottom-navigation__item:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: -3px;
}

.profile-page {
  display: grid;
  gap: 1.5rem;
}

.message-inbox {
  border-top: 1px solid #c9d8df;
  padding-top: 1rem;
}

.message-inbox__title {
  margin: 0;
  color: #1e2a3b;
  font-size: 1.125rem;
  font-weight: 700;
}

.message-inbox__empty {
  margin: 1rem 0 0;
  color: #66758d;
  font-size: 0.9375rem;
}

.message-list {
  display: grid;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.message-list__item {
  border-bottom: 1px solid #dce2ed;
  padding: 1rem 0;
}

.message-list__title,
.message-list__body,
.message-list__time {
  margin: 0;
}

.message-list__title {
  color: #26364c;
  font-size: 0.9375rem;
  font-weight: 700;
}

.message-list__body {
  margin-top: 0.375rem;
  color: #526077;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-line;
}

.message-list__time {
  display: block;
  margin-top: 0.5rem;
  color: #738198;
  font-size: 0.75rem;
}

.profile-page {
  padding-top: 1.75rem;
}

.profile-header {
  padding: 0 0.375rem;
}

.profile-header__label {
  margin: 0;
  color: #61708b;
  font-size: 0.875rem;
  line-height: 1.4;
}

.profile-header__title {
  margin: 0.25rem 0 0;
  color: #152238;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
}

.profile-account {
  display: grid;
  margin-top: 2rem;
  border: 1px solid #c9d8df;
  border-radius: 0.375rem;
  background: #ffffff;
  padding: 1rem;
  gap: 0.875rem;
}

.profile-account__loading,
.profile-account__description {
  margin: 0;
  color: #526077;
  font-size: 0.875rem;
  line-height: 1.55;
}

.profile-account__title,
.profile-account__name {
  margin: 0;
  color: #243047;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.profile-account__details {
  min-width: 0;
}

.profile-account__eyebrow,
.profile-account__phone,
.profile-account__preview {
  margin: 0;
  color: #61708b;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.profile-account__name {
  margin-top: 0.125rem;
}

.profile-account__phone {
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.profile-account__preview {
  color: #8a5a16;
}

.profile-account__sign-out {
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #a3493b;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
}

.profile-account__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.message-inbox-button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #146c94;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
}

.message-inbox-button__count {
  display: grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: #c75445;
  padding: 0 0.25rem;
  color: #ffffff;
  font-size: 0.6875rem;
  line-height: 1;
  text-decoration: none;
}

.message-inbox-button__count[hidden] {
  display: none;
}

.auth-form {
  display: grid;
  gap: 0.625rem;
}

.auth-form__label {
  color: #344157;
  font-size: 0.875rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #aebdca;
  border-radius: 0;
  background: #ffffff;
  padding: 0.625rem 0.75rem;
  color: #172033;
  font: inherit;
}

.auth-phone-field {
  display: flex;
  min-height: 2.75rem;
  border: 1px solid #aebdca;
  background: #ffffff;
}

.auth-phone-field__prefix {
  display: grid;
  min-width: 3.125rem;
  place-items: center;
  border-right: 1px solid #d0dae3;
  color: #526077;
  font-size: 0.875rem;
}

.auth-phone-field input {
  min-width: 0;
  min-height: 0;
  border: 0;
}

.auth-auto-login {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.5rem;
  color: #526077;
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.auth-auto-login input {
  width: 1rem;
  min-height: 1rem;
  margin: 0;
  accent-color: #146c94;
}

.auth-form__submit {
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: #146c94;
  padding: 0.625rem 1rem;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.auth-form__change {
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #146c94;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
}

.auth-form__submit:disabled,
.profile-account__sign-out:disabled,
.profile-record__withdraw:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-form__feedback,
.auth-form__preview-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.auth-form__feedback {
  color: #a3493b;
}

.auth-form__preview-note {
  color: #8a5a16;
}

.profile-tabs {
  display: grid;
  margin-top: 2rem;
  border: 1px solid #c9d8df;
  background: #ffffff;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-tabs[hidden],
.profile-records[hidden],
.message-inbox[hidden] {
  display: none;
}

.profile-tabs__tab {
  min-height: 3rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.profile-tabs__tab[aria-selected="true"] {
  border-bottom-color: #146c94;
  color: #146c94;
}

.profile-tabs__tab:focus-visible,
.profile-record__withdraw:focus-visible,
.profile-account__sign-out:focus-visible,
.auth-form__submit:focus-visible,
.auth-form__change:focus-visible,
.message-inbox-button:focus-visible,
.message-inbox__back:focus-visible,
.profile-record__answers-link:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: -3px;
}

.profile-records {
  display: grid;
  margin-top: 1rem;
  gap: 0.875rem;
}

.profile-records__loading,
.profile-records__error,
.profile-records__empty {
  margin: 0;
  color: #526077;
  font-size: 0.875rem;
  line-height: 1.55;
}

.profile-records__error {
  color: #a3493b;
}

.message-inbox {
  display: grid;
  margin-top: 1rem;
  border-top: 0;
  padding-top: 0;
  gap: 0.875rem;
}

.message-inbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.message-inbox__title {
  margin: 0;
  color: #243047;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.message-inbox__back {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #146c94;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
}

.message-inbox__loading,
.message-inbox__empty,
.message-inbox__error {
  margin: 0;
  color: #526077;
  font-size: 0.875rem;
  line-height: 1.55;
}

.message-inbox__error {
  color: #a3493b;
}

.message-item {
  border: 1px solid #d7e0e9;
  border-left: 4px solid #9aa9b8;
  border-radius: 0.375rem;
  background: #ffffff;
  padding: 1rem;
}

.message-item--unread {
  border-left-color: #d09c2f;
}

.message-item__title {
  margin: 0;
  color: #243047;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
}

.message-item__content {
  margin: 0.625rem 0 0;
  color: #526077;
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-line;
}

.message-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

.message-item__time {
  color: #7a8799;
  font-size: 0.75rem;
  line-height: 1.3;
}

.question-answers__question {
  margin: 0;
  border-left: 3px solid #78badd;
  padding-left: 0.75rem;
  color: #344157;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.55;
}

.question-answer {
  border: 1px solid #d7e0e9;
  border-left: 4px solid #4c9e78;
  border-radius: 0.375rem;
  background: #ffffff;
  padding: 1rem;
}

.question-answer__content {
  margin: 0;
  color: #344157;
  font-size: 0.875rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.question-answer__time {
  display: block;
  margin-top: 0.875rem;
  color: #7a8799;
  font-size: 0.75rem;
  line-height: 1.3;
}

.profile-record {
  border: 1px solid #d7e0e9;
  border-left: 4px solid #e4b83c;
  border-radius: 0.375rem;
  background: #ffffff;
  padding: 1rem;
}

.profile-record--answer {
  border-left-color: #4c9e78;
}

.profile-record--tool {
  border-left-color: #7a65a8;
}

.profile-record--with-action {
  display: grid;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.profile-record__body {
  min-width: 0;
}

.profile-record__answers-link {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #146c94;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
  white-space: nowrap;
}

.profile-record__header,
.profile-record__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.profile-record__category,
.profile-record__status {
  color: #526077;
  font-size: 0.75rem;
  line-height: 1.3;
}

.profile-record__status {
  color: #27714b;
  font-weight: 700;
}

.profile-record__status--withdrawn {
  color: #8a5a16;
}

.profile-record__title {
  margin: 0.875rem 0;
  color: #243047;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
}

.profile-record__answer {
  margin: -0.25rem 0 0.875rem;
  color: #526077;
  font-size: 0.875rem;
  line-height: 1.55;
}

.profile-record__time {
  color: #7a8799;
  font-size: 0.75rem;
  line-height: 1.3;
}

.profile-record__withdraw {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #a3493b;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2rem;
}

@media (min-width: 48rem) {
  .app-shell {
    box-shadow: 0 0 0 1px #e2e8f0;
  }
}

@media (max-width: 30rem) {
  .notice-board {
    border-width: 0.5rem;
    padding: 1rem;
    padding-bottom: 4.25rem;
  }

  .notice-board__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .notice-board__hint {
    text-align: left;
  }

  .question-notes {
    grid-template-columns: 1fr;
  }

  .notice-board__ask-link {
    font-size: 0.875rem;
  }

  .notice-board__footer {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .notice-board__pagination {
    max-width: 60%;
  }
}

/* Full-screen player used by the teaching-tools section. */
.page-content--tools {
  height: calc(100dvh - 4.5rem - env(safe-area-inset-bottom));
  padding: 0;
  overflow: hidden;
}

.tool-player__status {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 1.5rem;
  background: #edf4f7;
  color: #173b50;
  text-align: center;
}

.tool-player__status-content {
  display: grid;
  justify-items: center;
  gap: 0.875rem;
}

.tool-player__status-message {
  max-width: 22rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tool-player__retry {
  min-height: 2.75rem;
  border: 1px solid rgba(17, 93, 127, 0.58);
  border-radius: 0.3125rem;
  background: #16668b;
  padding: 0.5rem 1rem;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.tool-player {
  --tool-overlay-border: rgba(255, 255, 255, 0.42);
  --tool-overlay-surface: rgba(241, 248, 252, 0.42);
  --tool-overlay-surface-strong: rgba(241, 248, 252, 0.52);
  --tool-overlay-shadow: rgba(15, 31, 45, 0.09);
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #152331;
  overscroll-behavior: contain;
}

.tool-player__preview,
.tool-player__iframe {
  width: 100%;
  height: 100%;
}

.tool-player__preview {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  background: #f8fafc;
}

.tool-player__iframe {
  display: block;
  border: 0;
  background: #ffffff;
}

.tool-player__empty-preview {
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #476474;
  font-size: 0.9375rem;
}

.tool-player__info,
.tool-player__action,
.tool-player__drawer-toggle,
.tool-player__drawer-panel {
  border: 1px solid var(--tool-overlay-border);
  background: var(--tool-overlay-surface);
  box-shadow: 0 0.5rem 1.5rem var(--tool-overlay-shadow);
  backdrop-filter: blur(0.875rem) saturate(1.08);
  -webkit-backdrop-filter: blur(0.875rem) saturate(1.08);
}

.tool-player__info {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-areas:
    "uploader navigation meta"
    "description navigation tags";
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.1875rem;
  width: auto;
  border-width: 1px 0 0;
  border-radius: 0;
  background: var(--tool-overlay-surface-strong);
  box-shadow: 0 -0.5rem 1.25rem var(--tool-overlay-shadow);
  padding: 0.5rem max(0.75rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom))
    max(0.75rem, env(safe-area-inset-left));
  color: #142b3b;
  pointer-events: none;
}

.tool-player__uploader,
.tool-player__description,
.tool-player__meta {
  margin: 0;
  overflow-wrap: anywhere;
}

.tool-player__uploader,
.tool-player__meta {
  color: #355467;
  font-size: 0.75rem;
}

.tool-player__uploader {
  grid-area: uploader;
  min-width: 0;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-player__description {
  grid-area: description;
  min-width: 0;
  display: -webkit-box;
  margin-top: 0;
  overflow: hidden;
  color: #172e3c;
  font-size: 0.875rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.tool-player__meta {
  grid-area: meta;
  min-width: 0;
  margin-top: 0;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-player__tags {
  grid-area: tags;
  max-width: min(52vw, 17rem);
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 0.25rem;
  margin-top: 0;
  overflow: hidden;
}

.tool-player__tag {
  min-width: 0;
  flex: 0 1 auto;
  border: 1px solid rgba(43, 101, 128, 0.22);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.28);
  padding: 0.1875rem 0.4375rem;
  color: #1f5974;
  font-size: 0.6875rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-player__navigation {
  grid-area: navigation;
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 0.3125rem;
  padding: 0 0.5rem;
  pointer-events: auto;
}

.tool-player__navigation-button {
  display: grid;
  width: 2.375rem;
  min-height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(31, 89, 116, 0.24);
  border-radius: 0.3125rem;
  background: rgba(255, 255, 255, 0.2);
  color: #173e54;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.tool-player__navigation-button:hover {
  background: rgba(255, 255, 255, 0.44);
}

.tool-player__navigation-button:active {
  transform: scale(0.94);
}

.tool-player__navigation-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.tool-player__actions {
  position: absolute;
  z-index: 7;
  top: 50%;
  right: max(0.75rem, env(safe-area-inset-right));
  display: grid;
  gap: 0.625rem;
  transform: translateY(-50%);
}

.tool-player__action,
.tool-player__drawer-toggle {
  display: grid;
  place-items: center;
  padding: 0.25rem;
  border-radius: 50%;
  color: #152c3d;
  cursor: pointer;
}

.tool-player__action {
  width: 3.25rem;
  min-height: 3.25rem;
}

.tool-player__action:active {
  transform: scale(0.94);
}

.tool-player__action.is-pressed {
  background: rgba(201, 231, 241, 0.62);
}

.tool-player__action-icon {
  display: block;
  min-height: 1.25rem;
  color: #123d56;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.tool-player__action[data-feedback-action="comment"] .tool-player__action-icon {
  font-family: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.tool-player__action-label {
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.tool-player__drawer-toggle {
  position: absolute;
  z-index: 31;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  width: 2.75rem;
  min-height: 2.75rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.tool-player__drawer-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.tool-player__drawer {
  position: absolute;
  z-index: 30;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  display: flex;
  width: min(22rem, calc(100% - 4rem));
  pointer-events: none;
  opacity: 0;
  transform: translateX(calc(100% + 0.75rem));
  transition: transform 220ms ease, opacity 160ms ease;
}

.tool-player__drawer.is-open {
  top: calc(max(0.75rem, env(safe-area-inset-top)) + 3.25rem);
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

.tool-player__drawer-panel {
  display: grid;
  width: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 0.5rem;
  color: #142a3a;
}

.tool-player__drawer-header {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(45, 82, 101, 0.17);
  padding: 0.625rem 0.75rem 0.625rem 1rem;
}

.tool-player__drawer-title {
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.tool-player__drawer-back,
.tool-player__list-item,
.tool-player__upload-button,
.tool-player__submit-button,
.tool-player__retry {
  border: 1px solid rgba(42, 89, 113, 0.25);
  border-radius: 0.3125rem;
  background: rgba(255, 255, 255, 0.34);
  color: #1b4d66;
  cursor: pointer;
  font: inherit;
}

.tool-player__drawer-back {
  min-height: 2.5rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.tool-player__drawer-content {
  min-height: 0;
  overflow-y: auto;
  padding: 0.875rem;
  scrollbar-width: thin;
}

.tool-player__search,
.tool-player__form-control input[type="text"],
.tool-player__form-control input[type="file"],
.tool-player__form-control textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(36, 83, 106, 0.28);
  border-radius: 0.3125rem;
  background: rgba(255, 255, 255, 0.44);
  padding: 0.625rem 0.6875rem;
  color: #142a3a;
  font: inherit;
}

.tool-player__form-control textarea {
  min-height: 5.75rem;
  line-height: 1.45;
  resize: vertical;
}

.tool-player__form-control input[type="file"] {
  border-style: dashed;
  padding: 0.5rem;
}

.tool-player__list {
  margin-top: 0.75rem;
}

.tool-player__title-list,
.tool-player__upload-form,
.tool-player__form-field {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-player__list-item {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.75rem;
  color: #1c3e51;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
}

.tool-player__list-item[aria-current="true"] {
  border-color: rgba(28, 111, 147, 0.44);
  background: rgba(213, 240, 247, 0.5);
  color: #0e4d68;
}

.tool-player__empty-state,
.tool-player__form-help,
.tool-player__form-feedback {
  margin: 0;
  color: #476474;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.tool-player__form-label {
  color: #23465a;
  font-size: 0.8125rem;
  font-weight: 700;
}

.tool-player__required,
.tool-player__form-feedback:not(:empty) {
  color: #a3492d;
}

.tool-player__required {
  margin-left: 0.375rem;
  font-size: 0.6875rem;
}

.tool-player__form-uploader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  border: 1px solid rgba(39, 86, 108, 0.18);
  border-radius: 0.3125rem;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.625rem 0.6875rem;
}

.tool-player__form-uploader-value {
  min-width: 0;
  color: #365d73;
  font-size: 0.8125rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.tool-player__upload-button,
.tool-player__submit-button,
.tool-player__retry {
  min-height: 2.875rem;
  border-color: rgba(17, 93, 127, 0.58);
  background: rgba(22, 102, 139, 0.72);
  color: #ffffff;
  font-weight: 700;
}

.tool-player__upload-button {
  margin: 0.75rem;
}

.tool-player__submit-button {
  width: 100%;
}

.tool-player__submit-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.tool-player__drawer-back:hover,
.tool-player__list-item:hover {
  background: rgba(255, 255, 255, 0.52);
}

.tool-player__upload-button:hover,
.tool-player__submit-button:hover,
.tool-player__retry:hover {
  background: rgba(16, 81, 113, 0.8);
}

.tool-player__action:focus-visible,
.tool-player__drawer-toggle:focus-visible,
.tool-player__navigation-button:focus-visible,
.tool-player__drawer-back:focus-visible,
.tool-player__list-item:focus-visible,
.tool-player__upload-button:focus-visible,
.tool-player__submit-button:focus-visible,
.tool-player__retry:focus-visible {
  outline: 3px solid #78badd;
  outline-offset: 2px;
}

@media (min-width: 48rem) {
  .tool-player__drawer {
    width: min(23rem, calc(100% - 5rem));
  }
}

@media (max-width: 23rem) {
  .tool-player__info {
    column-gap: 0.5rem;
    padding-top: 0.4375rem;
    padding-bottom: max(0.4375rem, env(safe-area-inset-bottom));
  }

  .tool-player__uploader,
  .tool-player__meta {
    font-size: 0.6875rem;
  }

  .tool-player__description {
    font-size: 0.8125rem;
  }

  .tool-player__tags {
    max-width: 48vw;
  }

  .tool-player__navigation {
    gap: 0.25rem;
    padding-right: 0.375rem;
    padding-left: 0.375rem;
  }

  .tool-player__navigation-button {
    width: 2.125rem;
    min-height: 2rem;
  }

  .tool-player__tag {
    padding-right: 0.3125rem;
    padding-left: 0.3125rem;
    font-size: 0.625rem;
  }

  .tool-player__drawer {
    width: calc(100% - 3.5rem);
  }

  .tool-player__drawer-header {
    padding-left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-player *,
  .tool-player *::before,
  .tool-player *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 30rem) {
  .notice-board__header-aside {
    flex-basis: auto;
  }

  .question-filters__controls-row {
    gap: 0.5rem;
  }

  .question-filters__sort-button,
  .question-filters__topic {
    padding: 0.375rem 0.4375rem;
  }
}
