/* Member pages overrides */
.mypage-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.mypage-nav {
  width: 200px;
  flex: 0 0 200px;
}

.mypage-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mypage-nav__list li {
  margin: 0 0 8px 0;
}

.mypage-main {
  flex: 1 1 auto;
  min-width: 0;
}


/* Mypage redesign */
.mypage-shell {
  background: #fbf8f1;
  padding: 16px 0 32px;
  min-height: calc(100vh - 80px);
}

.mypage-container {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.mypage-sidebar {
  flex: 0 0 260px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.mypage-menu__title {
  font-weight: 700;
  margin-bottom: 12px;
  color: #7b7b7b;
}

.mypage-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mypage-menu__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.mypage-menu__list .menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
}

.mypage-menu__list svg {
  width: 20px;
  height: 20px;
}

.mypage-menu__list li.is-active a {
  background: #fde7e9;
  color: #e14a57;
  font-weight: 700;
}

.mypage-menu__list a:hover {
  background: #f7f2f2;
}

.mypage-menu__list li.mypage-nav-tooltip-item {
  position: relative;
}

.mypage-menu__list li.mypage-nav-tooltip-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  right: 0;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 30;
}

.mypage-menu__list li.mypage-nav-tooltip-item:hover::after,
.mypage-menu__list li.mypage-nav-tooltip-item:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.mypage-nav-mobile-logout {
  display: none;
}

.nav-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.nav-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.nav-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #7b7b7b;
  margin-bottom: 6px;
}

.nav-section .mypage-menu__list {
  gap: 4px;
}

.nav-section .mypage-menu__list a {
  padding-left: 14px;
}

.mypage-content {
  flex: 1 1 auto;
  min-width: 0;
}

.mypage-header {
  margin-bottom: 14px;
}

.mypage-header h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

.mypage-dashboard {
  margin-bottom: 16px;
}

.mypage-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mypage-dashboard__card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 124px;
}

.mypage-dashboard__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mypage-dashboard__desc {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mypage-dashboard__status-list {
  margin: -4px 0 12px;
  padding-left: 18px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.mypage-dashboard__status {
  font-weight: 700;
}

.mypage-dashboard__status--set {
  color: #0f766e;
}

.mypage-dashboard__status--unset {
  color: #b91c1c;
}

.mypage-dashboard__status-note {
  color: #6b7280;
}

.mypage-dashboard__link {
  color: #e14a57;
  font-weight: 700;
  text-decoration: none;
}

.mypage-dashboard__link:hover {
  text-decoration: underline;
}

.mypage-alert {
  display: block;
  background: #fff2f2;
  border: 1px solid #f8caca;
  color: #b91c1c;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mypage-alert__count {
  font-size: 14px;
}

.mypage-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  line-height: 1.4;
}

.mypage-badge--new {
  background: #fee2e2;
  color: #b91c1c;
}

.mypage-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: lowercase;
}

.mypage-status-badge--ready {
  background: #dcfce7;
  color: #166534;
}

.mypage-status-badge--error {
  background: #fee2e2;
  color: #b91c1c;
}

.mypage-status-badge--other {
  background: #f3f4f6;
  color: #4b5563;
}

.mypage-header p {
  color: #7f8790;
}

.mypage-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  overflow: visible;
}

.mypage-content .mypage-card:last-child {
  margin-bottom: 0;
}

.mypage-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mypage-card__header h2 {
  margin: 0 0 4px 0;
  font-size: 18px;
}

.mypage-card__header p {
  color: #7f8790;
  margin: 0;
}

.mypage-note {
  background: #faf7f4;
  border-radius: 12px;
  padding: 12px 16px;
  color: #7b7b7b;
  margin-bottom: 16px;
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  vertical-align: middle;
}

.grade-ok {
  background: #e8f7ef;
  color: #0f7a4a;
}

.grade-needs {
  background: #fff4e5;
  color: #b45309;
}

.grade-high {
  background: #fee2e2;
  color: #b91c1c;
}

.mypage-form {
  display: grid;
  gap: 12px;
}

.mypage-field-label {
  margin: 12px 0 6px;
  font-weight: 600;
  color: #1f2937;
}

.mypage-textarea {
  width: 100%;
  border-radius: 12px;
  border: none;
  background: #f4f4f4;
  padding: 14px;
  resize: vertical;
  box-sizing: border-box;
}

.mypage-textarea--sm {
  min-height: 120px;
}

.mypage-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mypage-card__footer--right {
  justify-content: flex-end;
}
.mypage-card__footer--stacked {
  flex-direction: column;
  align-items: flex-end;
}
.mypage-card__footer--stacked .plan-note {
  margin: 0;
}
.plan-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  gap: 6px;
}
.plan-cta-stack .plan-note {
  margin-top: 6px;
  text-align: center;
}


.mypage-count {
  color: #7f8790;
}

.mypage-btn {
  background: #f05b6a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  min-height: 41px;
  box-sizing: border-box;
  vertical-align: middle;
}

.mypage-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.mypage-btn[disabled]:hover {
  background: #f05b6a;
  text-decoration: none;
}

.mypage-btn--ghost[disabled]:hover {
  background: #f4f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  text-decoration: none;
}

.mypage-tooltip-native {
  display: inline-flex;
  position: relative;
}

.mypage-tooltip-native .mypage-btn[disabled] {
  pointer-events: none;
}

.mypage-tooltip-native::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  right: 0;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.mypage-tooltip-native:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.mypage-tooltip-native--multiline::after {
  white-space: pre-line;
  max-width: 240px;
}


.js-confirm-delete {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.mypage-btn:hover {
  background: #D14657;
  text-decoration: none;
}

.mypage-btn--danger {
  background: #e24c4c;
}

.mypage-btn--danger:hover {
  background: #c63b3b;
}

.contract-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1f2937;
}

.contract-alert {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.contract-alert h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.contract-alert ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.contract-alert li {
  margin: 0;
  line-height: 1.6;
}

.contract-alert--danger {
  background: #fff5f5;
  border-color: #f4cccc;
}

.contract-alert--billing {
  background: #f7f9ff;
  border-color: #dbe3f8;
}

.contract-note {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 12px 14px;
  color: #6b7280;
  font-size: 14px;
}

.contract-confirm-box {
  border: 1px solid #ece7df;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.contract-confirm-box__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.contract-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.contract-confirm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contract-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.contract-actions--split {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.contract-link {
  color: #6b7280;
  text-decoration: none;
}

.contract-link:hover {
  text-decoration: underline;
}

.contract-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.contract-links a {
  color: #6b7280;
}

.contract-links a:hover {
  text-decoration: underline;
}

.mypage-field {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
}

.mypage-input {
  flex: 1 1 auto;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
  min-width: 0;
}


.mypage-open,
.mypage-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mypage-open:hover,
.mypage-copy:hover {
  background: #ededf0;
  border-color: #cfcfd4;
}

.mypage-open svg,
.mypage-copy svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5px;
}


/* Auth pages */
.auth-shell {
  min-height: calc(100vh - 80px);
  background: #fbf8f1;
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.auth-card {
  width: min(520px, 92vw);
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.auth-header h1 {
  margin: 0 0 6px 0;
  font-size: 28px;
}

.auth-header p {
  margin: 0 0 16px 0;
  color: #8b93a2;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-field > label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-label-note {
  font-size: 12px;
  font-weight: 400;
  color: #8b93a2;
  margin-left: 8px;
}

.auth-required {
  color: #e14a57;
  margin-left: 4px;
}

.auth-optional {
  color: #9aa0a6;
  font-weight: 400;
  margin-left: 4px;
}

.auth-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f4f4f4;
  border-radius: 14px;
  border: 1px solid transparent;
}

.auth-input input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
}

.auth-input input::placeholder {
  color: #a0a7b3;
}

.auth-input input:disabled {
  color: #8b93a2;
  cursor: not-allowed;
}

.auth-icon {
  display: inline-flex;
  align-items: center;
  color: #9aa0a6;
}

.auth-icon--right {
  margin-left: auto;
}

.auth-toggle {
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  color: #9aa0a6;
  cursor: pointer;
}

.auth-toggle:focus {
  outline: none;
}

.auth-toggle:hover {
  color: var(--color-gray-600);
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: #4b5563;
}
.auth-checkbox input {
  width: 18px;
  height: 18px;
}

.auth-help {
  margin: 8px 0 0 0;
  color: #8b93a2;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-help__icon {
  display: inline-flex;
  color: #9aa0a6;
}

.auth-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.auth-consent input {
  width: 18px;
  height: 18px;
}

.auth-submit {
  margin-top: 4px;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px;
  background: #f05b6a;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

.auth-submit:hover {
  background: #D14657;
}

.auth-link {
  margin: 8px 0 0 0;
  text-align: center;
}

.auth-link a {
  color: #e14a57;
  text-decoration: none;
}

.auth-field .errorlist,
.auth-form > .errorlist {
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0;
  color: #e14a57;
  font-size: 13px;
}

.mypage-tooltip {
  position: absolute;
  top: -34px;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.mypage-copy.is-copied .mypage-tooltip {
  opacity: 1 !important;
  visibility: visible;
  transform: translateY(0);
}

.mypage-toast {
  white-space: nowrap;
  position: fixed;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 2000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -100%);
}

.mypage-card--tight {
  margin-bottom: 0;
}


.log-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.log-contact {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf7f4;
  border: 1px solid #f0e7df;
  display: grid;
  gap: 4px;
}

.log-contact__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #7b7b7b;
}

.log-contact__value {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.log-detail-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.log-original {
  margin-top: 6px;
}

.log-original summary {
  cursor: pointer;
  color: #5d6779;
  font-size: 12px;
}

.log-original__text {
  margin-top: 6px;
  padding: 8px 10px;
  background: #f7f7f7;
  border-radius: 8px;
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.quick-question,
.quick-questions .add_tell {
  border: 1px solid #e1e1e6;
  border-radius: 999px;
  padding: 6px 12px;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  font-size: 13px;
}

.quick-question:hover,
.quick-questions .add_tell:hover {
  background: #f3f1ea;
}


.mypage-summary ul {
  margin-left: 24px;
}

.auth-hours {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.auth-hours input[type="time"] {
  flex: 0 0 60px;
  width: 60px;
  min-width: 0;
  appearance: textfield;
  -webkit-appearance: textfield;
}

.auth-hours input[type="time"]::-webkit-calendar-picker-indicator {
  display: none;
}

.auth-hours__label {
  font-size: 15px;
  color: var(--color-gray-600);
  flex: 0 0 auto;
  margin-bottom: 0;
}

.auth-hours__sep {
  color: var(--color-gray-500);
  margin-right: 20px;
}


.your_talk__box[contenteditable="true"] {
	white-space: pre-wrap;
	word-break: break-word;
	outline: none;
}

.input_wrap .your_talk__mic,
.input_wrap .your_talk__btn {
	flex: 0 0 auto;
}

.input_wrap .your_talk__btn {
	width: 36px;
	min-width: 36px;
}

.input_wrap .your_talk__mic {
	width: 36px;
	min-width: 36px;
}

.your_talk__placeholder {
	position: absolute;
	left: 20px;
	top: 10px;
	transform: none;
	color: #cccccc;
	padding: 6px 0 6px 0;
	pointer-events: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.your_talk__placeholder.is-hidden {
	display: none;
}


.baloon_bounce--once {
  animation: bounce .4s ease 1;
}

@keyframes bounce{
  0% {transform: translateY(0px);} 
  100% {transform: translateY(-6px);} 
}


.input_wrap {
  background-color: #E0EFFF;
}

.input_wrap:focus-within {
  background-color: #ffffff;
}

.log-detail-csv svg {
  width: 18px;
  height: 18px;
}
.summary-download svg {
  width: 18px;
  height: 18px;
}

/* end your_talk public aligned */
.is-muted {
  background-color: #CCCCCC;
}


.log-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  margin: 16px 0 20px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #f8f8fb;
}

.log-filter__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.log-filter__label {
  font-size: 12px;
  color: #666666;
}

.log-filter__input,
.log-filter__select {
  height: 34px;
  padding: 0 8px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
}

.log-filter__actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.log-filter__sep {
  color: #999999;
}

.mypage-pagination {
  margin: 4px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mypage-pagination__meta {
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
}

.mypage-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.mypage-pagination__link:hover {
  background: #f7f2f2;
  border-color: #f0dadd;
  text-decoration: none;
}


.schedule-guide {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
}

.schedule-guide__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
  align-self: flex-start;
  border: 1px solid #e6e6e6;
  background: #ffffff;
}

.schedule-guide__bubble {
  position: relative;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  padding: 12px 16px;
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
}

.schedule-guide__bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #e6e6e6;
}

.schedule-guide__bubble::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 19px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 9px solid #ffffff;
}


.mypage-card__header--with-action {
  align-items: center;
}

.mypage-btn--ghost {
  background: #f4f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.mypage-btn--ghost:hover {
  background: #e9eaee;
}

.mypage-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.mypage-modal.is-open {
  display: flex;
}

.mypage-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
}

.mypage-modal__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.mypage-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.mypage-modal__close:hover {
  background: #f4f4f6;
}

.mypage-loading {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.28);
  z-index: 2100;
}

.mypage-loading.is-active {
  display: flex;
}

.mypage-loading__panel {
  width: min(92vw, 360px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mypage-loading__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: #e14a57;
  border-radius: 50%;
  animation: mypage-spin 0.8s linear infinite;
}

.mypage-loading__text {
  margin: 0;
  color: #374151;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.mypage-btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

@keyframes mypage-spin {
  to {
    transform: rotate(360deg);
  }
}


.mypage-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mypage-actions form {
  display: inline-flex;
  margin: 0;
}


.mypage-actions .mypage-btn {
  white-space: nowrap;
}


/* assistant visibility toggle */
.assistant-visibility {
  display: flex;
  align-items: center;
  gap: 8px;
}

.assistant-visibility__label {
  font-size: 14px;
  color: #666666;
}

.assistant-visibility__form {
  margin: 0;
}

.log-filter__field.is-hidden {
  display: none;
}

.plan-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: #666;
}
.plan-note--links {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0ebea;
}

.plan-upgrade {
  display: grid;
  gap: 12px;
}

.plan-upgrade__lead {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}

.plan-upgrade__features {
  margin: 0;
  padding: 12px 16px 12px 30px;
  border-radius: 12px;
  border: 1px solid #f2d8dc;
  background: #fff7f8;
  color: #374151;
  display: grid;
  gap: 6px;
}

.plan-upgrade__features li {
  margin: 0;
  line-height: 1.6;
}

.plan-upgrade__summary {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.plan-upgrade__summary div {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f9fb;
  border: 1px solid #eceff3;
}

.plan-upgrade__summary dt {
  margin: 0 0 4px;
  font-size: 12px;
  color: #6b7280;
}

.plan-upgrade__summary dd {
  margin: 0;
  font-size: 13px;
  color: #111827;
  line-height: 1.5;
}

.office-diagnosis-progress {
  margin-bottom: 16px;
}

.office-diagnosis-progress__text {
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.office-diagnosis-progress__track {
  height: 8px;
  border-radius: 999px;
  background: #ececec;
  overflow: hidden;
}

.office-diagnosis-progress__bar {
  height: 100%;
  width: 0;
  background: #ea5d6b;
  transition: width 0.2s ease;
}

.office-diagnosis-step {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #ead2d6;
  background: #fff6f7;
}

.office-diagnosis-step__title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.office-diagnosis-step__help {
  margin-top: 8px;
  color: #666;
}

/* Contact pages: align card width with terms/privacy pages */
.contact-page .terms__inner {
  width: min(960px, 92vw);
  max-width: none;
  padding: 24px;
}

@media screen and (max-width: 768px) {
  .contact-page .terms__inner {
    padding: 16px;
  }
}

.office-diagnosis-step__choices {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.office-diagnosis-step__choice {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 5px;
  background: #f3f4f6;
  color: #333;
  cursor: pointer;
  border: 1px solid #d1d5db;
}

.office-diagnosis-step__choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.office-diagnosis-step__choice:has(input[type="radio"]:checked) {
  background: #f05b6a;
  border-color: #f05b6a;
  color: #fff;
}

.office-diagnosis-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}

.mypage-button--ghost {
  background: #f3f4f6;
  color: #333;
}

.office-diagnosis-card ul {
  margin-left: 24px;
}

.office-diagnosis-card h2 {
  font-size: 18px;
}

.office-diagnosis-card__grade-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-diagnosis-start-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.office-diagnosis-start-inline__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.office-diagnosis-start-inline__label,
.office-diagnosis-start-inline__select {
  font-size: 16px;
}
