@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;500&family=Inter:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;700&family=Poppins:wght@500;700&display=swap');

:root {
  --app-viewport-height: 100vh;
  --app-safe-area-top: env(safe-area-inset-top, 0px);
  --app-safe-area-right: env(safe-area-inset-right, 0px);
  --app-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --app-safe-area-left: env(safe-area-inset-left, 0px);
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #1b1d22;
  background:
    radial-gradient(circle at top, rgba(214, 227, 255, 0.8), rgba(238, 243, 252, 0.7) 35%, #f4f6fb 100%);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

@supports (height: 100dvh) {
  :root {
    --app-viewport-height: 100dvh;
  }
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: var(--app-viewport-height);
}

html[data-shell-mode='webview'],
html[data-shell-mode='webview'] body,
html[data-shell-mode='webview'] #root {
  height: var(--app-viewport-height);
  min-height: 0;
  overflow: hidden;
}

body {
  margin: 0;
}

body[data-shell-mode='webview'] {
  background: #ffffff;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}
.app-shell {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.phone-shell {
  width: 390px;
  height: 844px;
  background: #ffffff;
  border-radius: 40px;
  box-shadow:
    0 28px 60px rgba(31, 52, 83, 0.14),
    0 10px 24px rgba(52, 73, 102, 0.1);
  overflow: hidden;
  position: relative;
}

.mobile-page-layout {
  width: 100%;
  height: 100%;
}

.mobile-page-surface {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 844px;
  min-height: 844px;
  background: #ffffff;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.mobile-page-header-slot {
  flex-shrink: 0;
}

.mobile-page-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 24px;
  box-sizing: border-box;
}

.mobile-page-content::-webkit-scrollbar {
  display: none;
}

.mobile-page-bottom-slot {
  flex-shrink: 0;
}

.child-header {
  width: 100%;
}

.child-header.has-divider {
  border-bottom: 1px solid #eef2f7;
}

.child-header-inner {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  min-height: 72px;
  padding: 18px 20px 12px;
  box-sizing: border-box;
}

.child-header-side {
  display: flex;
  align-items: center;
  min-width: 0;
}

.child-header-side.is-left {
  justify-content: flex-start;
}

.child-header-side.is-right {
  justify-content: flex-end;
  gap: 12px;
}

.child-header-center {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.child-header-brand {
  color: #111111;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.child-header-title {
  margin: 0;
  color: #111111;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.child-header-icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4f5d75;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0;
  width: 24px;
  height: 24px;
}

.child-floating-action-button {
  align-items: center;
  background: #344966;
  border: 0;
  border-radius: 999px;
  bottom: 52px;
  box-shadow: 0 16px 24px rgba(52, 73, 102, 0.28);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  position: absolute;
  right: 24px;
  z-index: 2;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
  width: 56px;
}

.child-floating-action-button:hover {
  background: #2d415f;
  box-shadow: 0 18px 28px rgba(52, 73, 102, 0.34);
  transform: translateY(-1px);
}

.child-floating-action-button:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.phone-shell--landing {
  display: flex;
}

.phone-shell--auth {
  display: flex;
  flex-direction: column;
}

.phone-shell--signup {
  height: 844px;
}

body[data-shell-mode='webview'] .app-shell {
  align-items: stretch;
  height: var(--app-viewport-height);
  justify-content: stretch;
  min-height: var(--app-viewport-height);
  overflow: hidden;
  padding: 0;
}

body[data-shell-mode='webview'] .phone-shell {
  max-height: var(--app-viewport-height);
  overflow: hidden;
  width: 100%;
  height: var(--app-viewport-height);
  min-height: var(--app-viewport-height);
  border-radius: 0;
  box-shadow: none;
}

body[data-shell-mode='webview'] .phone-shell--auth {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body[data-shell-mode='webview'] .mobile-page-surface {
  height: 100%;
  min-height: 0;
  border-radius: 0;
}

body[data-shell-mode='webview'] .mobile-page-layout {
  height: 100%;
  min-height: 0;
}

body[data-shell-mode='webview'] .mobile-page-content {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body[data-shell-mode='webview'] .phone-shell--signup {
  height: var(--app-viewport-height);
  min-height: var(--app-viewport-height);
}

body[data-shell-mode='webview'] .mobile-page-header-slot {
  padding-top: 0;
}

body[data-shell-mode='webview'] .child-header-inner {
  min-height: calc(74px + var(--app-safe-area-top));
  padding:
    calc(20px + var(--app-safe-area-top))
    20px
    12px;
}

body[data-shell-mode='webview'] .mobile-page-bottom-slot {
  padding-bottom: 0;
}

body[data-shell-mode='webview'] .child-floating-action-button {
  bottom: calc(20px + var(--app-safe-area-bottom));
}

.primary-button {
  border: none;
  border-radius: 15px;
  background: #344966;
  color: #ffffff;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(52, 73, 102, 0.22);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button:disabled {
  background: #8b9bb3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.field {
  display: block;
}

.field + .field {
  margin-top: 14px;
}

.field input {
  width: 100%;
  height: 46px;
  border: 1px solid #cbcbcb;
  border-radius: 15px;
  padding: 0 16px;
  box-sizing: border-box;
  background: #ffffff;
  color: #2d3748;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.field input::placeholder {
  color: #cacaca;
}

.field input:focus {
  border-color: #344966;
}

.password-link {
  margin-top: 6px;
  align-self: flex-end;
  color: #cacaca;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.text-link {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.social-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 104px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.social-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.social-divider span {
  flex: 1;
  height: 1px;
  background: #d8dadc;
}

.social-divider p {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.social-icon-button {
  width: 52px;
  height: 52px;
  border: 1px solid #d8dadc;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.social-icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(52, 73, 102, 0.08);
}

.social-icon-button img {
  width: 20px;
  height: 20px;
}

.social-icon-button--kakao {
  background: #fee500;
  border-color: #fee500;
}

.social-icon-button--kakao:hover {
  box-shadow: 0 10px 22px rgba(25, 25, 25, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label-row {
  align-items: center;
  display: flex;
  gap: 4px;
  justify-content: space-between;
}

.field-label {
  color: #111111;
  font-size: 15px;
  line-height: 1.5;
}

.field-input-wrap {
  position: relative;
}

.field-input {
  appearance: none;
  background: #ffffff;
  border: 1px solid #cbcbcb;
  border-radius: 15px;
  color: #111111;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
  outline: none;
  padding: 11px 108px 11px 12px;
  width: 100%;
}

.field-input::placeholder {
  color: #cacaca;
}

.field-input:focus {
  border-color: #344966;
}

.field-input.is-error {
  border-color: #ff6b5f;
}

.field-input.is-readonly {
  color: rgba(0, 0, 0, 0.5);
}

.field-input-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 500;
  height: 24px;
  justify-content: center;
  min-width: 73px;
  padding: 0 12px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.field-input-action.is-disabled {
  background: #cbcbcb;
  color: #ffffff;
  cursor: default;
}

.field-input-action.is-active {
  background: #344966;
  color: #f8fafc;
}

.field-input-icon {
  align-items: center;
  background: transparent;
  border: 0;
  color: #666666;
  cursor: pointer;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  padding: 0 14px;
  position: absolute;
  right: 0;
  top: 0;
}

.field-help,
.field-error,
.field-success,
.status-message {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.field-help,
.status-message--help {
  color: #a5a5a5;
}

.field-error,
.status-message--error {
  color: #eb4335;
}

.field-success,
.status-message--success {
  color: #1a6dff;
}

.field-inline-error {
  color: #eb4335;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.code-meta {
  align-items: center;
  color: #111111;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 10px;
  line-height: 1.5;
}

.code-meta-timer {
  color: #c2bab5;
}

.code-meta-divider {
  color: #1a6dff;
  font-size: 10px;
}

.code-input-row {
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 334px;
  padding: 1px;
  width: 100%;
}

.code-input {
  aspect-ratio: 1 / 1;
  border: 1px solid #344966;
  box-sizing: border-box;
  color: #111111;
  font-size: 28px;
  line-height: 1;
  outline: none;
  text-align: center;
  width: 100%;
}

.code-input.is-error {
  border-color: #ff6b5f;
}

.code-resend {
  color: #a5a5a5;
  display: flex;
  font-size: 13px;
  gap: 4px;
  line-height: 1.54;
}

.code-error-message {
  text-align: center;
}

.code-resend button {
  background: transparent;
  border: 0;
  color: #1a6dff;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.gender-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gender-option {
  background: #ffffff;
  border: 1px solid #cbcbcb;
  border-radius: 15px;
  color: #cacaca;
  cursor: pointer;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  min-height: 44px;
}

.gender-option.is-selected {
  background: rgba(52, 73, 102, 0.08);
  border-color: #344966;
  color: #344966;
}

.password-rules {
  color: #a4a4a4;
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  gap: 16px;
  line-height: 1.5;
}

.password-rules span::before {
  color: #a4a4a4;
  content: '•';
  margin-right: 4px;
}

.password-rules span.is-valid {
  color: #1a6dff;
}

.password-rules span.is-valid::before {
  color: #1a6dff;
}

.password-rules span.is-optional {
  color: #6b7280;
}

.password-rules span.is-optional::before {
  color: #6b7280;
}

.common-modal-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10;
}

.common-modal {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(31, 52, 83, 0.12);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.common-modal-header {
  display: flex;
  flex-direction: column;
}

.common-modal-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 22px 24px 0;
}

.common-modal-title-group {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-width: 0;
  position: relative;
}

.common-modal-title {
  color: #2d3748;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.common-modal-title.is-center {
  text-align: center;
  width: 100%;
}

.common-modal-close-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #9aa4b2;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  margin-left: 12px;
  padding: 0;
  width: 32px;
}

.common-modal-divider {
  background: #eef2f7;
  height: 1px;
  width: 100%;
}

.common-modal-header-content {
  display: flex;
  flex-direction: column;
}

.common-modal-body {
  display: flex;
  flex-direction: column;
}

.common-modal-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.common-modal-actions > :only-child {
  grid-column: 1 / -1;
}

.settings-item {
  align-items: center;
  background: transparent;
  border: 0;
  color: #1f2937;
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  text-align: left;
  width: 100%;
}

.settings-item.has-divider {
  border-bottom: 1px solid #eef2f7;
}

.settings-item.is-button {
  cursor: pointer;
}

.settings-item.is-button:hover {
  opacity: 0.96;
}

.settings-item.is-button:focus-visible {
  border-radius: 12px;
  outline: 2px solid rgba(52, 73, 102, 0.2);
  outline-offset: 2px;
}

.settings-item.is-danger .settings-item-label {
  color: #dc2626;
}

.settings-item.is-disabled {
  cursor: default;
  opacity: 0.56;
}

.settings-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.settings-item-label {
  color: #1f2937;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.settings-item-description {
  color: #8a94a6;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.settings-item-trailing {
  align-items: center;
  color: #8a94a6;
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
  margin-left: 16px;
}

.settings-item-chevron {
  align-items: center;
  color: #b2bbc9;
  display: inline-flex;
}

.password-reset-preview-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 24px;
  box-sizing: border-box;
}

.password-reset-preview-phone {
  width: min(100%, 390px);
  min-height: min(844px, 100svh - 48px);
  background: #ffffff;
  border-radius: 40px;
  box-shadow:
    0 28px 60px rgba(31, 52, 83, 0.14),
    0 10px 24px rgba(52, 73, 102, 0.1);
  overflow: hidden;
  position: relative;
}

.landing-screen,
.login-screen {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

.find-password-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 0;
  margin-top: -50px;
}

.find-password-notice {
  align-items: center;
  background: #f9fafb;
  border-radius: 16px;
  color: #787878;
  display: flex;
  font-family: 'Andada Pro', 'Noto Sans KR', serif;
  font-size: 14px;
  justify-content: center;
  line-height: 1.6;
  min-height: 76px;
  padding: 16px;
  text-align: center;
}

.find-password-notice-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.find-password-notice-lines span {
  display: block;
  white-space: nowrap;
}

.find-password-resend {
  color: #a5a5a5;
  display: flex;
  font-size: 13px;
  gap: 4px;
  line-height: 1.38;
}

.find-password-resend button {
  background: transparent;
  border: 0;
  color: #1a6dff;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.find-password-reset {
  color: #eb4335 !important;
}

.landing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 176px;
  padding: 120px 31px 160px;
}

body[data-shell-mode='webview'] .landing-screen {
  padding:
    calc(120px + var(--app-safe-area-top))
    calc(31px + var(--app-safe-area-right))
    calc(160px + var(--app-safe-area-bottom))
    calc(31px + var(--app-safe-area-left));
}

.landing-logo {
  width: min(266px, 100%);
  height: auto;
  display: block;
}

.primary-button:focus-visible,
.social-button:focus-visible,
.text-link:focus-visible,
.field input:focus-visible,
.field-input:focus-visible,
.auth-button:focus-visible,
.auth-type-card:focus-visible,
.gender-option:focus-visible,
.code-input:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.landing-button {
  min-width: 114px;
  min-height: 50px;
  padding: 14px 34px;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(52, 73, 102, 0.25);
  font-size: 20px;
  line-height: 1;
}

.login-screen {
  display: flex;
  flex-direction: column;
  padding: 92px 31px 72px;
}

body[data-shell-mode='webview'] .login-screen {
  min-height: var(--app-viewport-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding:
    calc(92px + var(--app-safe-area-top))
    calc(31px + var(--app-safe-area-right))
    calc(72px + var(--app-safe-area-bottom))
    calc(31px + var(--app-safe-area-left));
  -webkit-overflow-scrolling: touch;
}

.login-header {
  padding-top: 2px;
}

.login-header h1 {
  margin: 0;
  text-align: center;
  color: #2d3748;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.login-form {
  display: flex;
  flex-direction: column;
  margin-top: 111px;
}

.field--password {
  position: relative;
}

.field--password input {
  padding-right: 48px;
}

.login-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #9ca3af;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
}

.login-password-toggle svg {
  width: 20px;
  height: 20px;
}

.login-password-toggle:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.login-button {
  width: 100%;
  min-height: 45px;
  margin-top: 52px;
}

.mock-entry-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.mock-entry-title {
  margin: 0;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.mock-entry-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mock-entry-button {
  min-height: 44px;
}

.signup-copy {
  margin: 40px 0 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.signup-link {
  color: #4285f4;
  font-weight: 600;
}

.auth-screen {
  display: flex;
  flex-direction: column;
  min-height: 844px;
  position: relative;
}

body[data-shell-mode='webview'] .auth-screen {
  min-height: var(--app-viewport-height);
}

.auth-screen--find-password .auth-content {
  padding-top: 94px;
}

.phone-shell--signup .auth-screen {
  height: 100%;
  min-height: 0;
}

.auth-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 28px;
  min-height: 0;
  padding: 60px 26px 132px;
}

body[data-shell-mode='webview'] .auth-content {
  padding:
    calc(60px + var(--app-safe-area-top))
    calc(26px + var(--app-safe-area-right))
    calc(132px + var(--app-safe-area-bottom))
    calc(26px + var(--app-safe-area-left));
}

.auth-title-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.auth-title {
  color: #2d3748;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin: 0;
}

.auth-description {
  color: #6a7282;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.auth-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.phone-shell--signup .auth-body.is-scrollable {
  min-height: 0;
  margin-left: -4px;
  margin-right: -18px;
  overflow-y: auto;
  padding-bottom: 20px;
  padding-left: 4px;
  padding-right: 18px;
  scroll-padding-bottom: 96px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.phone-shell--signup .auth-body.is-scrollable::-webkit-scrollbar {
  display: none;
}

.phone-shell--signup .auth-body.is-scrollable .field-input:focus-visible {
  outline-offset: 2px;
}

.auth-body.is-centered {
  justify-content: flex-start;
  padding-top: 56px;
}

.auth-footer {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  bottom: 0;
  box-shadow: 0 -8px 24px rgba(107, 154, 196, 0.1);
  display: flex;
  gap: 12px;
  left: 0;
  padding: 12px 26px 29px;
  position: absolute;
  right: 0;
}

body[data-shell-mode='webview'] .auth-footer {
  padding:
    12px
    calc(26px + var(--app-safe-area-right))
    calc(29px + var(--app-safe-area-bottom))
    calc(26px + var(--app-safe-area-left));
}

.auth-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.5;
  min-height: 47px;
  padding: 12px 16px;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  width: 100%;
}

.auth-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.auth-button:disabled {
  cursor: default;
  opacity: 0.55;
}

.auth-button.is-primary {
  background: #344966;
  color: #f8fafc;
}

.auth-button.is-secondary {
  background: #ffffff;
  border-color: #344966;
  color: #111111;
}

.auth-button.is-neutral {
  background: #e0e0e0;
  color: #666666;
}

.auth-type-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.auth-type-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbcbcb;
  border-radius: 15px;
  color: #4a5565;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 83px;
  justify-content: center;
  padding: 12px;
}

.auth-type-card.is-selected {
  background: rgba(52, 73, 102, 0.06);
  border-color: #344966;
  color: #344966;
}

.auth-type-icon {
  font-size: 24px;
  line-height: 1;
}

.auth-inline-row {
  color: #020618;
  font-size: 14px;
  line-height: 1.43;
  margin-top: auto;
  text-align: center;
}

.auth-inline-link {
  background: transparent;
  border: 0;
  color: #b4cded;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.auth-overlay {
  background: rgba(15, 23, 42, 0.18);
}

.auth-modal {
  gap: 24px;
  max-width: 320px;
  padding: 38px 24px 24px;
}

.auth-modal .common-modal-topbar {
  justify-content: center;
  padding: 0;
}

.auth-modal .common-modal-header {
  gap: 24px;
}

.auth-modal .common-modal-title {
  font-size: 24px;
}

.auth-modal-message {
  color: #6a7282;
  font-size: 14px;
  line-height: 1.43;
  margin: 0;
  text-align: center;
}

.auth-modal-panel {
  background: #f9fafb;
  border-radius: 16px;
  color: #6a7282;
  font-size: 14px;
  line-height: 1.43;
  padding: 16px;
  text-align: center;
}

.auth-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-modal-fields .field-input.is-readonly:focus,
.auth-modal-fields .field-input.is-readonly:focus-visible {
  border-color: #cbcbcb;
  outline: none;
}

.auth-modal-body {
  gap: 24px;
}

.auth-modal-actions {
  gap: 12px;
}

.password-reset-overlay {
  background: rgba(15, 23, 42, 0.18);
  position: fixed;
}

.password-reset-modal {
  gap: 18px;
  max-width: 320px;
  padding: 0 0 24px;
}

.password-reset-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.password-reset-stepper-panel {
  align-items: center;
  background: #f9fafb;
  display: flex;
  justify-content: center;
  min-height: 64px;
  padding: 16px 0;
}

.password-reset-stepper-item {
  display: flex;
  align-items: center;
}

.password-reset-stepper-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #d9dfe8;
  color: #8b97ab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.password-reset-stepper-dot.is-active {
  background: #344966;
  color: #f8fafc;
}

.password-reset-stepper-dot.is-complete {
  background: #e8edf5;
  color: #5f6c80;
}

.password-reset-stepper-line {
  width: 28px;
  height: 2px;
  background: #e5e9f0;
  margin: 0 10px;
}

.password-reset-stepper-line.is-active {
  background: rgba(52, 73, 102, 0.3);
}

.password-reset-modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 24px 0;
}

.password-reset-modal-actions {
  gap: 12px;
  padding: 0 24px;
}

.password-reset-placeholder-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.password-reset-step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.password-reset-step-title {
  margin: 0;
  color: #272727;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.password-reset-step-description {
  margin: 0;
  color: #707070;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.43;
  text-align: center;
}

.password-reset-step-content .field-group {
  width: 100%;
  margin-top: 10px;
}

.password-reset-step-content .field-group .field-label-row {
  display: none;
}

.password-reset-rules {
  color: #a4a4a4;
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  gap: 16px;
  line-height: 1.5;
  justify-content: center;
  margin-top: -2px;
}

.password-reset-rules span::before {
  color: #a4a4a4;
  content: '•';
  margin-right: 4px;
}

.password-reset-rules span.is-valid {
  color: #1a6dff;
}

.password-reset-rules span.is-valid::before {
  color: #1a6dff;
}

.counselor-auth-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 22%, rgba(202, 230, 156, 0.24), transparent 30%),
    radial-gradient(circle at 86% 78%, rgba(161, 192, 225, 0.18), transparent 32%),
    linear-gradient(135deg, #f3f6f1 0%, #edf2f7 48%, #f8faf7 100%);
  padding: 32px;
  box-sizing: border-box;
}

.counselor-auth-frame {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(460px, 1.22fr);
  width: min(100%, 1120px);
  height: calc(100svh - 64px);
  min-height: 0;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 223, 211, 0.74);
  border-radius: 34px;
  box-shadow:
    0 28px 70px rgba(42, 57, 75, 0.1),
    0 12px 28px rgba(67, 83, 101, 0.08);
  overflow: hidden;
}

.counselor-auth-brand-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(204, 232, 151, 0.24), transparent 34%),
    #ffffff;
  padding: 48px;
}

.counselor-auth-brand-logo {
  width: min(268px, 72%);
  height: auto;
}

.counselor-auth-content-panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 48px;
  background: #ffffff;
  border-left: 1px solid #d8dadc;
  border-radius: 0 34px 34px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(52, 73, 102, 0.28) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.counselor-auth-content-panel::-webkit-scrollbar {
  width: 10px;
}

.counselor-auth-content-panel::-webkit-scrollbar-track {
  background: transparent;
  margin: 34px 0;
}

.counselor-auth-content-panel::-webkit-scrollbar-thumb {
  background: rgba(52, 73, 102, 0.18);
  border: 3px solid #ffffff;
  border-radius: 999px;
}

.counselor-auth-content-panel:hover::-webkit-scrollbar-thumb {
  background: rgba(52, 73, 102, 0.34);
}

.counselor-auth-card {
  display: flex;
  flex-direction: column;
  width: min(100%, 448px);
  margin: auto 0;
  padding: 40px 0;
  background: transparent;
}

.counselor-auth-card-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.counselor-auth-card-title {
  margin: 0;
  color: #243447;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.counselor-auth-card-description {
  margin: 0;
  color: #6b7a90;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.counselor-auth-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0 0;
}

.counselor-auth-card-footer {
  padding-top: 12px;
}

.counselor-auth-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 40px 28px;
  border: 1px dashed #cdd7e6;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
  text-align: center;
}

.counselor-auth-placeholder-title {
  margin: 0;
  color: #344966;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.counselor-auth-placeholder-copy,
.counselor-auth-placeholder-caption {
  margin: 0;
  color: #73839a;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.counselor-login {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.counselor-login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.counselor-login .field-group {
  width: 100%;
}

.counselor-login .field-label {
  color: #324052;
  font-size: 14px;
  font-weight: 600;
}

.counselor-login .field-input-wrap {
  min-height: 56px;
}

.counselor-login .field-input {
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border-color: #d7dfeb;
  font-size: 15px;
}

.counselor-login .field-input-wrap:has(.counselor-password-toggle) .field-input,
.counselor-signup .field-input-wrap:has(.counselor-password-toggle) .field-input {
  padding-right: 56px;
}

.counselor-login .field-input:focus {
  border-color: #344966;
  box-shadow: 0 0 0 4px rgba(52, 73, 102, 0.08);
  outline: none;
}

.counselor-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #7a8799;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
}

.counselor-password-toggle svg {
  width: 20px;
  height: 20px;
}

.counselor-login-links {
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
}

.counselor-auth-link {
  background: transparent;
  border: 0;
  color: #5e7aa2;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  padding: 0;
  text-decoration: none;
}

.counselor-auth-link:hover {
  color: #344966;
}

.counselor-auth-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 56px;
  padding: 16px 20px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
  width: 100%;
}

.counselor-auth-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(52, 73, 102, 0.16);
}

.counselor-auth-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.counselor-auth-button--primary {
  background: #344966;
  color: #ffffff;
}

.counselor-auth-button-link {
  text-decoration: none;
}

.counselor-social-divider {
  align-items: center;
  display: flex;
  gap: 12px;
}

.counselor-social-divider span {
  flex: 1;
  height: 1px;
  background: #dbe3ef;
}

.counselor-social-divider p {
  margin: 0;
  color: #8a97aa;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.counselor-social-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.counselor-social-icon-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7dfeb;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  padding: 0;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  width: 52px;
}

.counselor-social-icon-button:hover {
  border-color: #b9c6d9;
  box-shadow: 0 10px 18px rgba(95, 114, 139, 0.1);
  transform: translateY(-1px);
}

.counselor-social-icon-button img {
  width: 20px;
  height: 20px;
}

.counselor-social-icon-button--kakao {
  background: #fee500;
  border-color: #fee500;
}

.counselor-social-icon-button--kakao:hover {
  box-shadow: 0 10px 18px rgba(25, 25, 25, 0.12);
}

.counselor-auth-inline-copy {
  margin: 0;
  color: #7a8799;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.counselor-signup {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.counselor-signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.counselor-signup .field-group {
  width: 100%;
}

.counselor-signup .field-label {
  color: #324052;
  font-size: 14px;
  font-weight: 600;
}

.counselor-signup .field-input-wrap {
  min-height: 56px;
}

.counselor-signup .field-input {
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border-color: #d7dfeb;
  font-size: 15px;
}

.counselor-signup .field-input-wrap:has(.counselor-inline-action) .field-input {
  padding-right: 108px;
}

.counselor-signup .field-input-wrap:has(.field-input-action) .field-input {
  padding-right: 112px;
}

.counselor-signup .field-input-action {
  height: 31px;
  right: 14px;
}

.counselor-signup .field-input:focus {
  border-color: #344966;
  box-shadow: 0 0 0 4px rgba(52, 73, 102, 0.08);
  outline: none;
}

.counselor-inline-action {
  align-items: center;
  background: #344966;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 10px;
  font-weight: 600;
  height: 31px;
  justify-content: center;
  min-width: 74px;
  padding: 0 12px;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.counselor-inline-action.is-success {
  background: #ffffff;
  border-color: #344966;
  color: #344966;
}

.counselor-signup-form--verification {
  gap: 22px;
}

.counselor-code-header {
  align-items: center;
  display: flex;
  gap: 16px;
}

.counselor-code-label {
  margin: 0;
  color: #28384c;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.counselor-code-timer {
  align-items: center;
  color: #c2bab5;
  display: inline-flex;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.counselor-code-timer-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1a6dff;
}

.counselor-code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.counselor-code-input {
  width: 100%;
  height: 62px;
  border: 1px solid #344966;
  border-radius: 0;
  color: #111111;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.counselor-code-inputs.is-error .counselor-code-input {
  border-color: #fb2c36;
}

.counselor-code-input:focus {
  border-color: #344966;
  box-shadow: 0 0 0 4px rgba(52, 73, 102, 0.08);
  outline: none;
}

.counselor-code-actions {
  align-items: center;
  display: flex;
  gap: 4px;
}

.counselor-code-helper {
  margin: 0;
  color: #a5a5a5;
  font-size: 13px;
  line-height: 1.5;
}

.counselor-code-resend {
  background: transparent;
  border: 0;
  color: #1a6dff;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}

.counselor-code-error {
  margin: -4px 0 0;
  color: #fb2c36;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.counselor-address-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.counselor-password-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: -8px;
  color: #d65f5f;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.counselor-password-rules span {
  transition:
    color 0.18s ease,
    font-weight 0.18s ease;
}

.counselor-password-rules span::before {
  content: '\2022';
  margin-right: 4px;
}

.counselor-password-rules span.is-valid {
  color: #344966;
  font-weight: 700;
}

.counselor-password-rules span.is-optional {
  color: #7a8799;
  font-weight: 600;
}

.counselor-find-password {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.counselor-find-password-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.counselor-find-password .field-group {
  width: 100%;
}

.counselor-find-password .field-label {
  color: #324052;
  font-size: 14px;
  font-weight: 600;
}

.counselor-find-password .field-input-wrap {
  min-height: 56px;
}

.counselor-find-password .field-input {
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border-color: #d7dfeb;
  font-size: 15px;
}

.counselor-find-password .field-input:focus {
  border-color: #344966;
  box-shadow: 0 0 0 4px rgba(52, 73, 102, 0.08);
  outline: none;
}

.counselor-find-password-meta {
  align-items: center;
  display: flex;
  gap: 4px;
}

.counselor-find-password-helper {
  margin: 0;
  color: #a5a5a5;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .counselor-auth-frame {
    grid-template-columns: minmax(280px, 0.78fr) minmax(400px, 1.22fr);
  }

  .counselor-auth-brand-panel,
  .counselor-auth-content-panel {
    padding: 32px;
  }

  .counselor-auth-card-body {
    padding-top: 56px;
  }
}

@media (max-width: 920px) {
  .counselor-auth-shell {
    padding: 20px;
  }

  .counselor-auth-frame {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100svh - 40px);
    min-height: 0;
  }

  .counselor-auth-content-panel {
    border-left: 0;
    border-radius: 0 0 34px 34px;
    border-top: 1px solid #d8dadc;
  }

  .counselor-auth-brand-panel {
    padding: 56px 28px 24px;
  }

  .counselor-auth-brand-logo {
    width: min(224px, 64%);
  }

  .counselor-auth-content-panel {
    padding: 24px 24px 48px;
  }

  .counselor-auth-card {
    width: 100%;
  }

  .counselor-auth-card-body {
    padding-top: 40px;
  }

  .counselor-login {
    gap: 20px;
  }

  .counselor-code-inputs {
    gap: 10px;
  }

  .counselor-code-input {
    height: 58px;
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .counselor-auth-shell {
    padding: 0;
  }

  .counselor-auth-frame {
    border-radius: 0;
    border: 0;
    height: 100svh;
    min-height: 0;
    box-shadow: none;
  }

  .counselor-auth-brand-panel {
    padding: 48px 20px 20px;
  }

  .counselor-auth-content-panel {
    border-radius: 0;
    padding: 20px 20px 40px;
  }

  .counselor-auth-content-panel::-webkit-scrollbar-track {
    margin: 18px 0;
  }

  .counselor-auth-content-panel::-webkit-scrollbar {
    width: 6px;
  }

  .counselor-auth-content-panel::-webkit-scrollbar-thumb {
    border-width: 2px;
  }

  .counselor-auth-card-body {
    padding-top: 32px;
  }

  .counselor-auth-card-title {
    font-size: 26px;
  }

  .counselor-code-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .counselor-code-inputs {
    gap: 8px;
  }

  .counselor-code-input {
    height: 52px;
    font-size: 28px;
  }
}

.counselor-dashboard {
  --dashboard-bg: #f5f8fa;
  --dashboard-card: #ffffff;
  --dashboard-text: #2d3748;
  --dashboard-muted: #718096;
  --dashboard-primary: #344966;
  --dashboard-blue: #88b5c4;
  display: flex;
  width: 100%;
  min-height: 100svh;
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

.counselor-dashboard button {
  font: inherit;
}

.counselor-mobile-header,
.counselor-dashboard-sidebar-backdrop {
  display: none;
}

.counselor-dashboard-main {
  flex: 1 1 0;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 100svh;
  padding: clamp(32px, 4vw, 56px);
}

.counselor-dashboard-content {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-content {
  width: min(100%, 1240px);
}

.counselor-dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: var(--dashboard-card);
  border: 1px solid rgba(139, 181, 196, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(38, 55, 76, 0.035);
}

.counselor-dashboard-hero h2 {
  margin: 0;
  max-width: 100%;
  color: #1f2b3a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.counselor-dashboard-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 12px 0 0;
  color: #8a98aa;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.counselor-dashboard-profile-meta span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.counselor-dashboard-profile-meta span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 12px;
  background: #c8d1dc;
  border-radius: 999px;
  content: '';
}

.counselor-dashboard-grid,
.counselor-biometric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.counselor-biometric-grid {
  align-items: stretch;
}

.counselor-dashboard-grid {
  align-items: start;
}

.counselor-dashboard-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  min-height: 0;
}

.counselor-dashboard-column--analysis {
  align-self: start;
  min-height: 0;
}

.counselor-observation-list,
.counselor-timeline {
  scrollbar-color: rgba(136, 181, 196, 0.55) rgba(136, 181, 196, 0.08);
  scrollbar-width: thin;
}

.counselor-observation-list::-webkit-scrollbar,
.counselor-timeline::-webkit-scrollbar {
  width: 8px;
}

.counselor-observation-list::-webkit-scrollbar-track,
.counselor-timeline::-webkit-scrollbar-track {
  background: rgba(136, 181, 196, 0.08);
  border-radius: 999px;
}

.counselor-observation-list::-webkit-scrollbar-thumb,
.counselor-timeline::-webkit-scrollbar-thumb {
  background: rgba(136, 181, 196, 0.55);
  border: 2px solid rgba(248, 250, 252, 0.92);
  border-radius: 999px;
}

.counselor-observation-list::-webkit-scrollbar-thumb:hover,
.counselor-timeline::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 181, 196, 0.78);
}

.counselor-biometric-section {
  margin-top: 36px;
}

.counselor-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.counselor-section-title h3 {
  margin: 0;
  color: var(--dashboard-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.counselor-dashboard-floating-summary {
  display: none;
}

.counselor-dashboard-empty {
  display: flex;
  min-height: calc(100svh - 112px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 24px;
  text-align: center;
}

.counselor-dashboard-empty h2 {
  margin: 0;
  color: #1f2b3a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}

.counselor-dashboard-empty p {
  max-width: 440px;
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.counselor-dashboard-empty.is-error p {
  color: #b45353;
}

@media (max-width: 1180px) {
  .counselor-dashboard {
    display: block;
  }

  .counselor-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: calc(56px + env(safe-area-inset-top, 0px));
    padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(18px, 4vw, 40px)
      8px;
    background: rgba(245, 248, 250, 0.94);
    border-bottom: 1px solid rgba(168, 178, 188, 0.12);
    box-shadow: none;
    backdrop-filter: blur(10px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .counselor-mobile-header__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    color: var(--dashboard-primary);
    background: transparent;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    cursor: pointer;
    transition:
      background 160ms ease,
      transform 160ms ease;
  }

  .counselor-mobile-header__menu svg {
    width: 21px;
    height: 21px;
  }

  .counselor-mobile-header__menu:hover {
    background: rgba(136, 181, 196, 0.1);
    transform: translateY(-1px);
  }

  .counselor-mobile-header__brand {
    display: block;
    max-width: calc(100vw - 96px);
    overflow: hidden;
    color: var(--dashboard-primary);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .counselor-dashboard:not(.is-sidebar-collapsed) .counselor-dashboard-mobile-header {
    opacity: 0;
    pointer-events: none;
  }

  .counselor-dashboard-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    padding: 0;
    background: rgba(31, 43, 58, 0.28);
    border: 0;
    cursor: pointer;
  }

  .counselor-dashboard-main {
    min-height: 100svh;
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 900px) {
  .counselor-dashboard {
    padding: 16px;
  }

  .counselor-dashboard-main {
    min-height: auto;
  }

  .counselor-dashboard-grid,
  .counselor-biometric-grid {
    grid-template-columns: 1fr;
  }

  .counselor-dashboard-hero {
    flex-direction: column;
  }

  .counselor-dashboard-hero p {
    flex-direction: column;
    gap: 4px;
  }
}

.counselor-dashboard-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 260px;
  height: 100svh;
  flex: 0 0 260px;
  background: var(--dashboard-bg);
  border-right: 1px solid rgba(168, 178, 188, 0.18);
  overflow: hidden;
  transition:
    width 180ms ease,
    flex-basis 180ms ease;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-sidebar {
  width: 56px;
  flex-basis: 56px;
  border-right-color: transparent;
  overflow-x: hidden;
}

.counselor-dashboard-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px 14px;
  border-bottom: 1px solid rgba(168, 178, 188, 0.1);
}

.counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-brand {
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  border-bottom: 0;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-brand-link {
  display: none;
}

.counselor-dashboard-brand-link {
  display: block;
  min-width: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.counselor-dashboard-brand-link:focus-visible {
  outline: 2px solid rgba(136, 181, 196, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}

.counselor-dashboard-brand h1 {
  margin: 0;
  color: var(--dashboard-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.counselor-dashboard-brand p {
  margin: 4px 0 0;
  color: var(--dashboard-muted);
  font-size: 11px;
  line-height: 1.5;
}

.counselor-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #7a8aa0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.counselor-sidebar-toggle:hover {
  background: rgba(136, 181, 196, 0.12);
  color: var(--dashboard-primary);
}

.counselor-child-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  min-height: 0;
  padding: 8px 10px 16px;
  overflow-y: auto;
}

.counselor-child-list button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  min-height: 63px;
  padding: 12px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
}

.counselor-child-list-state {
  margin: 6px 2px;
  padding: 14px 12px;
  color: var(--dashboard-muted);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(136, 181, 196, 0.12);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.counselor-child-list-state.is-error {
  color: #b45353;
  background: rgba(255, 245, 245, 0.78);
  border-color: rgba(180, 83, 83, 0.22);
}

.counselor-dashboard:not(.is-sidebar-collapsed) .counselor-child-list button {
  grid-template-columns: minmax(0, 1fr) auto;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-child-list button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 10px 0;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-child-list {
  display: none;
}

.counselor-dashboard-sidebar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 10px 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(136, 181, 196, 0.12);
  border-radius: 12px;
}

.counselor-dashboard-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.counselor-dashboard-sidebar-profile strong {
  overflow: hidden;
  color: var(--dashboard-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.counselor-dashboard-sidebar-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  color: var(--dashboard-muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.counselor-dashboard-sidebar-settings:hover {
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.12);
}

.counselor-dashboard-sidebar-footer svg {
  width: 18px;
  height: 18px;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-sidebar-footer {
  display: none;
}

.counselor-child-list button:hover,
.counselor-child-list button.is-selected {
  background: #ffffff;
  border-color: rgba(136, 181, 196, 0.12);
  box-shadow: 0 8px 20px rgba(38, 55, 76, 0.035);
}

.counselor-child-avatar {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.14);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.counselor-child-summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.counselor-child-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.counselor-child-unread-dot {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 2px;
  background: #f05d5d;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(240, 93, 93, 0.14);
}

.counselor-child-list strong {
  min-width: 0;
  overflow: hidden;
  color: var(--dashboard-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.counselor-child-list em {
  min-width: 0;
  overflow: hidden;
  color: #a8b2bc;
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.counselor-child-subtext {
  grid-column: 1;
  max-width: 100%;
  color: var(--dashboard-muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.counselor-dashboard.is-sidebar-collapsed .counselor-child-summary,
.counselor-dashboard.is-sidebar-collapsed .counselor-child-subtext {
  display: none;
}

@media (max-width: 1180px) {
  .counselor-dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: min(84vw, 300px);
    height: 100svh;
    flex: none;
    background: var(--dashboard-bg);
    border-right-color: rgba(168, 178, 188, 0.18);
    box-shadow: 18px 0 38px rgba(38, 55, 76, 0.16);
    transform: translateX(0);
    transition:
      transform 220ms ease,
      box-shadow 220ms ease;
  }

  .counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-sidebar {
    width: min(84vw, 300px);
    flex-basis: auto;
    height: 100svh;
    border-right-color: rgba(168, 178, 188, 0.18);
    box-shadow: none;
    pointer-events: none;
    transform: translateX(calc(-100% - 24px));
  }

  .counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-brand {
    align-items: center;
    justify-content: flex-start;
    padding: 16px 18px;
  }

  .counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-brand-link {
    display: none;
  }

  .counselor-child-list {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .counselor-child-list button {
    min-width: 0;
  }

  .counselor-dashboard.is-sidebar-collapsed .counselor-child-list button {
    display: none;
  }

  .counselor-dashboard.is-sidebar-collapsed .counselor-child-avatar {
    display: none;
  }

  .counselor-dashboard.is-sidebar-collapsed .counselor-child-list,
  .counselor-dashboard.is-sidebar-collapsed .counselor-dashboard-sidebar-footer,
  .counselor-dashboard.is-sidebar-collapsed .counselor-child-summary,
  .counselor-dashboard.is-sidebar-collapsed .counselor-child-subtext {
    display: none;
  }
}

.counselor-dashboard-card {
  box-sizing: border-box;
  padding: 24px;
  background: var(--dashboard-card);
  border: 1px solid rgba(139, 181, 196, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(38, 55, 76, 0.035);
}

.counselor-dashboard-card-title {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
}

.counselor-dashboard-card-title.is-info-open {
  z-index: 120;
}

.counselor-dashboard-card-title h3 {
  margin: 0;
  color: var(--dashboard-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.counselor-dashboard-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 31;
}

.counselor-dashboard-card-title.is-info-open .counselor-dashboard-info-wrap {
  z-index: 121;
}

.counselor-dashboard-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #94a3b8;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.counselor-dashboard-info-button:hover,
.counselor-dashboard-info-button[aria-expanded='true'] {
  color: var(--dashboard-blue);
  background: rgba(136, 181, 196, 0.12);
}

.counselor-dashboard-info-button:focus-visible {
  outline: 2px solid rgba(136, 181, 196, 0.45);
  outline-offset: 2px;
}

.counselor-dashboard-info-button svg {
  width: 16px;
  height: 16px;
}

.counselor-dashboard-tooltip-row {
  position: absolute;
  top: 30px;
  left: 50%;
  z-index: 100;
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: min(300px, calc(100vw - 96px));
  pointer-events: none;
  transform: translateX(-50%);
}

.counselor-dashboard-tooltip {
  position: relative;
  box-sizing: border-box;
  max-width: 300px;
  padding: 12px 14px;
  color: #4b5563;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.counselor-dashboard-tooltip::before {
  position: absolute;
  top: -6px;
  left: var(--tooltip-arrow-left, 50%);
  width: 12px;
  height: 12px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  content: '';
  transform: translateX(-50%) rotate(45deg);
}

.counselor-dashboard-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 2px 9px;
  border-radius: 999px;
  color: #a8b2bc;
  background: rgba(168, 178, 188, 0.12);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.counselor-dashboard-tag.is-green {
  color: #9bc4a8;
  background: rgba(155, 196, 168, 0.12);
}

.counselor-dashboard-tag.is-blue {
  color: var(--dashboard-blue);
  background: rgba(136, 181, 196, 0.2);
}

.counselor-dashboard-tag.is-orange {
  color: #f2a57d;
  background: rgba(242, 165, 125, 0.14);
}

.counselor-card-note {
  margin: 8px 0 0;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.6;
}

.counselor-card-week,
.counselor-expression-week {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.counselor-card-week button,
.counselor-expression-week button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--dashboard-blue);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.counselor-card-week button:hover:not(:disabled),
.counselor-expression-week button:hover:not(:disabled) {
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.12);
}

.counselor-card-week button:disabled,
.counselor-expression-week button:disabled {
  color: rgba(113, 128, 150, 0.35);
  cursor: not-allowed;
}

.counselor-card-week strong,
.counselor-expression-week strong {
  color: var(--dashboard-text);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .counselor-dashboard-card {
    padding: 18px;
  }
}

.counselor-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 3.4vw, 30px);
  min-height: 184px;
  padding: 22px 4px 0;
}

.counselor-bar-chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.counselor-bar-score {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #6b9ac4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 1;
}

.counselor-bar-score.is-warning {
  color: #efa88f;
}

.counselor-bar-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 30px;
  height: 148px;
}

.counselor-bar-fill {
  display: block;
  width: 100%;
  min-height: 24px;
  background: linear-gradient(180deg, #84c4e6 0%, #6faed3 100%);
  border-radius: 10px 10px 2px 2px;
}

.counselor-bar-fill.is-warning {
  background: linear-gradient(180deg, #f7bb91 0%, #ee9f6f 100%);
}

.counselor-bar-chart-item strong {
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 600;
}

.counselor-line-chart {
  width: 100%;
  height: auto;
  min-height: 164px;
}

.counselor-line-chart line {
  stroke: rgba(168, 178, 188, 0.18);
  stroke-width: 1;
}

.counselor-line-chart path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.counselor-line-chart circle {
  stroke: #ffffff;
  stroke-width: 2;
}

.counselor-line-chart text {
  fill: #a0aec0;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 9px;
}

.counselor-line-chart-label {
  fill: var(--dashboard-muted);
  text-anchor: middle;
}

.counselor-line-chart-emotion {
  overflow: visible;
  pointer-events: none;
}

.counselor-line-chart-emotion-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .counselor-bar-chart {
    gap: 12px;
    justify-content: space-between;
  }

  .counselor-bar-track {
    width: 24px;
  }
}

.counselor-observation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 290px;
  max-height: 290px;
  min-height: 290px;
  overflow-y: auto;
  padding-right: 8px;
}

.counselor-observation-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 13px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: rgba(248, 250, 252, 0.7);
  border: 1px solid rgba(168, 178, 188, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.counselor-observation-card:hover,
.counselor-observation-card:focus-visible {
  border-color: rgba(136, 181, 196, 0.35);
  box-shadow: 0 12px 24px rgba(52, 73, 102, 0.08);
  transform: translateY(-1px);
}

.counselor-observation-card:focus-visible {
  outline: 3px solid rgba(107, 154, 196, 0.18);
  outline-offset: 3px;
}

.counselor-observation-empty {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px 14px;
  color: var(--dashboard-muted);
  background: rgba(248, 250, 252, 0.7);
  border: 1px dashed rgba(168, 178, 188, 0.24);
  border-radius: 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.counselor-observation-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dashboard-blue);
}

.counselor-observation-date strong {
  font-size: 12px;
  line-height: 1.35;
}

.counselor-observation-date span {
  color: #9aa8b6;
  font-size: 11px;
  line-height: 1.5;
}

.counselor-observation-content {
  min-width: 0;
}

.counselor-observation-content p {
  display: -webkit-box;
  margin: 8px 0 0;
  max-width: 100%;
  overflow: hidden;
  color: #4a5568;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.counselor-comment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  color: var(--dashboard-blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
}

.counselor-comment-link svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 560px) {
  .counselor-observation-card {
    grid-template-columns: 1fr;
  }

  .counselor-observation-date {
    align-items: flex-start;
  }
}

.counselor-expression-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--counselor-expression-card-height, 1092.5px);
  width: 100%;
  height: var(--counselor-expression-card-height, 1092.5px);
  max-height: var(--counselor-expression-card-height, 1092.5px);
  min-height: 0;
  overflow: hidden;
}

.counselor-expression-card .counselor-dashboard-info-wrap {
  position: static;
}

.counselor-expression-card .counselor-dashboard-tooltip-row {
  left: 0;
  width: min(100%, 640px);
  max-width: 100%;
  transform: none;
}

.counselor-expression-card .counselor-dashboard-tooltip {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.counselor-expression-tabs {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -40px 0 18px auto;
}

.counselor-expression-tab-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: rgba(136, 181, 196, 0.1);
  border: 1px solid rgba(136, 181, 196, 0.16);
  border-radius: 999px;
}

.counselor-expression-tabs button {
  height: 30px;
  padding: 0 14px;
  color: var(--dashboard-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.counselor-expression-tabs button:hover {
  color: var(--dashboard-primary);
  background: rgba(52, 73, 102, 0.06);
}

.counselor-expression-tabs button.is-active {
  color: #ffffff;
  background: var(--dashboard-primary);
  box-shadow: 0 8px 18px rgba(52, 73, 102, 0.18);
}

.counselor-expression-tabs button.is-active:hover {
  color: #ffffff;
  background: var(--dashboard-primary);
}

.counselor-expression-tabs .counselor-expression-more {
  margin-left: 6px;
  padding: 0;
  color: var(--dashboard-blue);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.counselor-expression-tabs .counselor-expression-more:hover {
  color: var(--dashboard-primary);
  background: transparent;
}

.counselor-expression-scroll {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding-right: 0;
  scrollbar-color: rgba(136, 181, 196, 0.55) rgba(136, 181, 196, 0.08);
  scrollbar-width: thin;
}

.counselor-expression-scroll::-webkit-scrollbar {
  width: 8px;
}

.counselor-expression-scroll::-webkit-scrollbar-track {
  background: rgba(136, 181, 196, 0.08);
  border-radius: 999px;
}

.counselor-expression-scroll::-webkit-scrollbar-thumb {
  background: rgba(136, 181, 196, 0.55);
  border: 2px solid rgba(248, 250, 252, 0.92);
  border-radius: 999px;
}

.counselor-expression-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 181, 196, 0.78);
}

@media (max-width: 1180px) {
  .counselor-expression-tabs {
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 18px;
  }

  .counselor-expression-tabs .counselor-expression-more {
    margin-left: 6px;
  }
}

.counselor-ai-summary {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(136, 181, 196, 0.08);
  border: 1px solid rgba(136, 181, 196, 0.18);
  border-radius: 12px;
}

.counselor-ai-summary span {
  color: var(--dashboard-primary);
  font-size: 12px;
  font-weight: 800;
}

.counselor-ai-summary p {
  margin: 8px 0 0;
  color: #4a5568;
  font-size: 11px;
  line-height: 1.65;
}

.counselor-expression-chart {
  margin-bottom: 18px;
  padding: 10px 12px 0;
  background: #ffffff;
  border: 1px solid rgba(168, 178, 188, 0.12);
  border-radius: 12px;
}

.counselor-expression-empty {
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 0;
  overflow-y: auto;
}

.counselor-timeline {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
}

.counselor-expression-scroll .counselor-timeline {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 8px;
}

.counselor-timeline-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin: 0;
  color: var(--dashboard-muted);
  background: rgba(136, 181, 196, 0.04);
  border: 1px dashed rgba(136, 181, 196, 0.28);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
}

.counselor-timeline-day {
  position: relative;
  padding-left: 24px;
}

.counselor-timeline-day::before {
  position: absolute;
  top: 28px;
  bottom: -18px;
  left: 6px;
  width: 2px;
  background: rgba(136, 181, 196, 0.18);
  content: '';
}

.counselor-timeline-day:last-child::before {
  display: none;
}

.counselor-timeline-day h4 {
  position: relative;
  margin: 0 0 12px;
  color: var(--dashboard-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.counselor-timeline-day h4::before {
  position: absolute;
  top: 8px;
  left: -22px;
  width: 6px;
  height: 6px;
  background: var(--dashboard-blue);
  border-radius: 999px;
  content: '';
}

.counselor-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.counselor-timeline-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 13px;
  background: rgba(136, 181, 196, 0.02);
  border: 1px solid rgba(168, 178, 188, 0.15);
  border-radius: 12px;
}

.counselor-timeline-entry > div {
  min-width: 0;
}

.entry-time {
  display: block;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.entry-emotion {
  display: block;
  margin-bottom: 6px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  line-height: 1;
}

.counselor-timeline-entry p {
  margin: 4px 0 10px;
  max-width: 100%;
  color: #4a5568;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 900px) {
  .counselor-expression-card {
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .counselor-expression-tabs {
    flex-wrap: wrap;
    margin: 0 0 18px;
  }
}

@media (max-width: 560px) {
  .counselor-timeline-entry {
    grid-template-columns: 1fr;
  }
}

.counselor-observation-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.22);
  backdrop-filter: blur(3px);
}

.counselor-observation-modal {
  width: min(448px, calc(100vw - 32px));
  max-height: calc(100svh - 48px);
  overflow: hidden;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.counselor-observation-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 89px;
  padding: 18px 24px 17px;
  border-bottom: 1px solid #f3f4f6;
}

.counselor-observation-modal-header h2 {
  margin: 0;
  color: var(--dashboard-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.counselor-observation-modal-header .counselor-observation-modal-close {
  position: absolute;
  right: 24px;
  top: 20px;
}

.counselor-observation-modal-header h2 span {
  color: var(--dashboard-blue);
  font-size: 12px;
  font-weight: 500;
}

.counselor-observation-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.counselor-observation-modal-close {
  width: 32px;
  height: 32px;
  color: #4a5565;
  background: #f3f4f6;
  border-radius: 999px;
}

.counselor-observation-modal-close svg {
  width: 20px;
  height: 20px;
}

.counselor-observation-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100svh - 137px);
  overflow-y: auto;
  padding: 24px;
}

.counselor-observation-modal-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 48px;
  min-height: 32px;
  padding: 6px 13px;
  color: #9bc4a8;
  background: rgba(155, 196, 168, 0.12);
  border: 1px solid rgba(155, 196, 168, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.counselor-observation-modal-summary {
  max-width: 100%;
  padding: 16px;
  color: #4a5568;
  background: rgba(155, 196, 168, 0.04);
  border: 1px solid rgba(168, 178, 188, 0.08);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: keep-all;
}

.counselor-connection-floating-button {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: var(--dashboard-primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(52, 73, 102, 0.26);
  cursor: pointer;
}

.counselor-connection-floating-button:hover {
  background: #283a52;
  transform: translateY(-1px);
}

.counselor-connection-floating-button svg {
  width: 22px;
  height: 22px;
}

.counselor-connection-floating-button span {
  position: absolute;
  right: -2px;
  top: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: #ffffff;
  background: #d97745;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.counselor-connection-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 32px;
  pointer-events: none;
}

.counselor-connection-modal {
  display: flex;
  flex-direction: column;
  width: min(480px, calc(100vw - 32px));
  max-height: min(720px, calc(100svh - 64px));
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(136, 181, 196, 0.14);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
  pointer-events: auto;
}

.counselor-connection-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(168, 178, 188, 0.14);
}

.counselor-connection-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--dashboard-blue);
  font-size: 12px;
  font-weight: 800;
}

.counselor-connection-modal-kicker svg {
  width: 14px;
  height: 14px;
}

.counselor-connection-modal-header h2 {
  margin: 0;
  color: var(--dashboard-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.counselor-connection-modal-header p {
  margin: 8px 0 0;
  color: var(--dashboard-muted);
  font-size: 13px;
  line-height: 1.6;
}

.counselor-connection-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #4a5565;
  background: #f3f4f6;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.counselor-connection-modal-close:hover {
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.16);
}

.counselor-connection-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
}

.counselor-connection-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: linear-gradient(145deg, #f8fbfc 0%, #ffffff 72%);
  border: 1px solid rgba(136, 181, 196, 0.18);
  border-radius: 18px;
}

.counselor-connection-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.16);
  border-radius: 14px;
}

.counselor-connection-card-icon svg {
  width: 20px;
  height: 20px;
}

.counselor-connection-card-copy strong {
  display: block;
  color: var(--dashboard-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.counselor-connection-card-copy p,
.counselor-connection-card-copy small {
  display: block;
  margin: 6px 0 0;
  color: var(--dashboard-muted);
  font-size: 12px;
  line-height: 1.5;
}

.counselor-connection-card-actions {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.counselor-connection-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 72px;
  height: 34px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--dashboard-primary);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.counselor-connection-card-actions button.is-secondary {
  color: #d97745;
  background: rgba(217, 119, 69, 0.1);
}

.counselor-connection-card-actions button:hover {
  filter: brightness(0.96);
}

.counselor-connection-empty {
  margin: 0;
  padding: 28px 18px;
  color: var(--dashboard-muted);
  background: rgba(136, 181, 196, 0.06);
  border: 1px dashed rgba(136, 181, 196, 0.22);
  border-radius: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.counselor-connection-empty.is-error {
  color: #b45353;
  background: rgba(255, 245, 245, 0.78);
  border-color: rgba(180, 83, 83, 0.22);
}

.counselor-observation-comment-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(159deg, #f5f8fa 8.54%, #fafbfc 91.46%);
  border-radius: 20px;
}

.counselor-observation-comment-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dashboard-text);
  font-size: 14px;
  line-height: 1.5;
}

.counselor-observation-comment-title svg {
  width: 16px;
  height: 16px;
  color: #d97745;
}

.counselor-observation-comment-item {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 8px;
}

.counselor-observation-comment-dot {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: #6b9ac4;
  border-radius: 999px;
}

.counselor-observation-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.counselor-observation-comment-meta span,
.counselor-observation-comment-empty {
  color: #a8b2bc;
  font-size: 11px;
  line-height: 1.5;
}

.counselor-observation-comment-meta button {
  padding: 0;
  color: #fb2c36;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.counselor-observation-comment-item p {
  margin: 4px 0 0;
  max-width: 100%;
  max-height: 160px;
  color: #718096;
  font-size: 12px;
  line-height: 1.62;
  overflow-y: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
  white-space: pre-wrap;
  word-break: keep-all;
}

.counselor-observation-comment-empty {
  margin: 0;
}

.counselor-observation-comment-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(168, 178, 188, 0.12);
}

.counselor-observation-comment-form textarea {
  width: 100%;
  min-height: 80px;
  max-height: 150px;
  resize: none;
  padding: 12px;
  color: #2d3748;
  background: transparent;
  border: 1px solid rgba(168, 178, 188, 0.15);
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  overflow-y: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
  word-break: keep-all;
}

.counselor-observation-comment-item p,
.counselor-observation-comment-form textarea {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.counselor-observation-comment-item p::-webkit-scrollbar,
.counselor-observation-comment-form textarea::-webkit-scrollbar {
  display: none;
}

.counselor-observation-comment-form textarea:focus {
  border-color: rgba(107, 154, 196, 0.6);
  box-shadow: 0 0 0 3px rgba(107, 154, 196, 0.12);
}

.counselor-observation-comment-form textarea::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.counselor-observation-comment-count-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -7px;
  min-height: 18px;
}

.counselor-observation-comment-count {
  color: #99a1af;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.counselor-observation-comment-form button {
  min-height: 41px;
  color: #ffffff;
  background: #6b9ac4;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.counselor-observation-comment-form button:disabled {
  cursor: not-allowed;
  background: #d1d5dc;
}

.counselor-emotion-flow-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
}

.counselor-emotion-flow-modal {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  width: min(672px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.counselor-emotion-flow-header {
  padding: 24px 24px 22px;
  border-bottom: 0.76px solid #f3f4f6;
}

.counselor-emotion-flow-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.counselor-emotion-flow-topbar h2 {
  margin: 0;
  color: #2d3748;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.counselor-emotion-flow-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #4a5565;
  background: #f3f4f6;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.counselor-emotion-flow-close:hover {
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.16);
}

.counselor-emotion-flow-close svg {
  width: 20px;
  height: 20px;
}

.counselor-emotion-flow-tabs {
  display: inline-flex;
  gap: 6px;
  margin-top: 26px;
  padding: 2px;
  background: rgba(107, 154, 196, 0.08);
  border-radius: 999px;
}

.counselor-emotion-flow-tabs button {
  min-width: 84px;
  height: 34px;
  padding: 0 16px;
  color: var(--dashboard-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.counselor-emotion-flow-tabs button.is-active {
  color: #ffffff;
  background: var(--dashboard-primary);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

.counselor-emotion-flow-body {
  display: flex;
  overflow: auto;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.counselor-emotion-flow-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.counselor-emotion-flow-period button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--dashboard-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.counselor-emotion-flow-period button:hover:not(:disabled) {
  color: var(--dashboard-primary);
  background: rgba(136, 181, 196, 0.12);
}

.counselor-emotion-flow-period button:disabled {
  color: rgba(113, 128, 150, 0.35);
  cursor: not-allowed;
}

.counselor-emotion-flow-period strong {
  color: #2d3748;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.counselor-emotion-flow-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--dashboard-muted);
  font-size: 11px;
  line-height: 1.5;
}

.counselor-emotion-flow-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.counselor-emotion-flow-legend i {
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
}

.counselor-emotion-flow-legend i.is-diary {
  background: var(--dashboard-primary);
}

.counselor-emotion-flow-legend i.is-conversation {
  background: var(--dashboard-blue);
}

.counselor-emotion-flow-chart-panel {
  height: 280px;
  padding: 16px 17px 1px;
  border: 0.76px solid rgba(168, 178, 188, 0.15);
  border-radius: 12px;
}

.counselor-emotion-flow-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.counselor-emotion-flow-grid {
  stroke: #f7fafc;
  stroke-width: 1;
}

.counselor-emotion-flow-axis {
  fill: #a0aec0;
  font-size: 10px;
  text-anchor: end;
}

.counselor-emotion-flow-label {
  fill: var(--dashboard-muted);
  font-size: 9px;
  text-anchor: middle;
}

.counselor-emotion-flow-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 560px) {
  .counselor-connection-floating-button {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .counselor-connection-modal-overlay {
    align-items: flex-end;
    padding: 14px;
  }

  .counselor-connection-modal {
    width: 100%;
    max-height: calc(100svh - 28px);
    border-radius: 20px;
  }

  .counselor-connection-card {
    grid-template-columns: 1fr;
  }

  .counselor-connection-card-actions {
    grid-column: 1;
  }

  .counselor-emotion-flow-overlay {
    padding: 14px;
  }

  .counselor-emotion-flow-modal {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    border-radius: 20px;
  }

  .counselor-emotion-flow-header,
  .counselor-emotion-flow-body {
    padding: 20px;
  }

  .counselor-emotion-flow-tabs {
    width: 100%;
  }

  .counselor-emotion-flow-tabs button {
    flex: 1;
    min-width: 0;
  }

  .counselor-emotion-flow-chart-panel {
    overflow-x: auto;
  }

  .counselor-emotion-flow-chart {
    min-width: 560px;
  }
}

.counselor-settings-page {
  --dashboard-bg: #f5f8fa;
  --dashboard-card: #ffffff;
  --dashboard-text: #2d3748;
  --dashboard-muted: #718096;
  --dashboard-primary: #344966;
  --dashboard-blue: #88b5c4;
  display: flex;
  width: 100%;
  min-height: 100svh;
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

.counselor-settings-page button,
.counselor-settings-page input {
  font: inherit;
}

.counselor-settings-sidebar-backdrop {
  display: none;
}

.counselor-settings-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 240px;
  height: 100svh;
  flex: 0 0 240px;
  background: var(--dashboard-bg);
  border-right: 1px solid rgba(168, 178, 188, 0.18);
}

.counselor-settings-sidebar__header {
  padding: 20px;
  border-bottom: 1px solid rgba(168, 178, 188, 0.15);
}

.counselor-settings-sidebar__header button,
.counselor-settings-sidebar__footer button,
.counselor-settings-sidebar__nav button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.counselor-settings-sidebar__header button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--dashboard-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.counselor-settings-sidebar__header svg {
  width: 20px;
  height: 20px;
}

.counselor-settings-sidebar__header button:hover {
  color: var(--dashboard-primary);
}

.counselor-settings-sidebar__body {
  flex: 1;
  min-height: 0;
  padding: 16px;
}

.counselor-settings-sidebar__body h2 {
  margin: 0 0 16px;
  color: var(--dashboard-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.counselor-settings-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.counselor-settings-sidebar__nav button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--dashboard-muted);
  background: transparent;
  border-radius: 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.counselor-settings-sidebar__nav button:hover,
.counselor-settings-sidebar__nav button.is-active {
  color: var(--dashboard-primary);
  background: rgba(107, 154, 196, 0.1);
}

.counselor-settings-sidebar__footer {
  padding: 16px;
  border-top: 1px solid rgba(168, 178, 188, 0.15);
}

.counselor-settings-sidebar__footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  color: #d97745;
  background: transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.counselor-settings-sidebar__footer button:hover {
  background: rgba(217, 119, 69, 0.08);
}

.counselor-settings-main {
  flex: 1 1 0;
  min-width: 0;
  min-height: 100svh;
  padding: clamp(32px, 4vw, 56px);
}

.counselor-settings-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 832px);
  margin: 0 auto;
}

.counselor-settings-content h1 {
  margin: 0;
  color: var(--dashboard-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.counselor-settings-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 24px;
  background: var(--dashboard-card);
  border: 1px solid rgba(139, 181, 196, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(38, 55, 76, 0.035);
}

.counselor-settings-card--compact {
  gap: 20px;
}

.counselor-settings-card h2 {
  margin: 0;
  color: var(--dashboard-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.counselor-settings-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.counselor-settings-field span {
  color: var(--dashboard-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.counselor-settings-input-wrap {
  position: relative;
  width: 100%;
}

.counselor-settings-field input {
  width: 100%;
  height: 47px;
  padding: 12px 16px;
  color: #0a0a0a;
  background: #ffffff;
  border: 1px solid #cbcbcb;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  line-height: 1.5;
}

.counselor-settings-field.has-action input {
  padding-right: 92px;
}

.counselor-settings-field input[readonly] {
  color: #4a5568;
  background: #fafbfc;
}

.counselor-settings-field input:disabled {
  cursor: not-allowed;
  color: #718096;
  background: #f3f5f7;
}

.counselor-settings-field input:focus {
  border-color: var(--dashboard-primary);
  box-shadow: 0 0 0 3px rgba(52, 73, 102, 0.1);
}

.counselor-settings-field input::placeholder {
  color: #a8b2bc;
}

.counselor-settings-page .counselor-settings-address-button {
  position: absolute;
  right: 10px;
  top: 50%;
  min-width: 62px;
  height: 24px;
  padding: 0 8px;
  color: #ffffff;
  background: var(--dashboard-primary);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  transform: translateY(-50%);
}

.counselor-settings-page .counselor-settings-address-button:hover {
  background: #283a52;
}

.counselor-settings-page .counselor-settings-address-button:disabled {
  cursor: not-allowed;
  background: #d1d5dc;
}

.counselor-settings-field__error,
.counselor-settings-field__help {
  font-size: 12px;
  line-height: 1.5;
}

.counselor-settings-field__error {
  color: #d97745;
}

.counselor-settings-field__help {
  color: #718096;
}

.counselor-settings-status {
  margin: 0;
  padding: 12px 14px;
  color: #4a5568;
  background: rgba(136, 181, 196, 0.12);
  border: 1px solid rgba(136, 181, 196, 0.18);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.counselor-settings-status.is-error {
  color: #b45309;
  background: rgba(217, 119, 69, 0.1);
  border-color: rgba(217, 119, 69, 0.18);
}

.counselor-settings-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}

.counselor-settings-actions button {
  min-width: 100px;
  min-height: 45px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--dashboard-primary);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.counselor-settings-actions button:hover {
  background: #283a52;
}

.counselor-settings-actions button:disabled {
  cursor: not-allowed;
  background: #d1d5dc;
}

.counselor-settings-actions button:disabled:hover {
  background: #d1d5dc;
}

.counselor-settings-feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
}

.counselor-settings-feedback {
  width: min(420px, calc(100vw - 32px));
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(136, 181, 196, 0.16);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
  text-align: center;
}

.counselor-settings-feedback h2 {
  margin: 0;
  color: var(--dashboard-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.counselor-settings-feedback p {
  margin: 12px 0 22px;
  color: var(--dashboard-muted);
  font-size: 14px;
  line-height: 1.7;
}

.counselor-settings-feedback button {
  min-width: 108px;
  min-height: 42px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--dashboard-primary);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.counselor-settings-feedback.is-error {
  border-color: rgba(217, 119, 69, 0.24);
}

.counselor-settings-feedback.is-error button {
  background: #d97745;
}

@media (max-width: 1180px) {
  .counselor-settings-page {
    display: block;
  }

  .counselor-settings-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: min(84vw, 300px);
    height: 100svh;
    flex: none;
    background: var(--dashboard-bg);
    border-right-color: rgba(168, 178, 188, 0.18);
    box-shadow: 18px 0 38px rgba(38, 55, 76, 0.16);
    transform: translateX(0);
    transition:
      transform 220ms ease,
      box-shadow 220ms ease;
  }

  .counselor-settings-page.is-sidebar-collapsed .counselor-settings-sidebar {
    box-shadow: none;
    pointer-events: none;
    transform: translateX(calc(-100% - 24px));
  }

  .counselor-settings-page:not(.is-sidebar-collapsed)
    .counselor-settings-mobile-header {
    opacity: 0;
    pointer-events: none;
  }

  .counselor-settings-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    padding: 0;
    background: rgba(31, 43, 58, 0.28);
    border: 0;
    cursor: pointer;
  }

  .counselor-settings-sidebar__body {
    padding: 16px;
  }

  .counselor-settings-sidebar__nav {
    flex-direction: column;
    overflow-x: visible;
  }

  .counselor-settings-sidebar__nav button {
    width: 100%;
    min-width: 0;
  }

  .counselor-settings-sidebar__footer {
    display: block;
  }

  .counselor-settings-main {
    min-height: 100svh;
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 900px) {
  .counselor-settings-main {
    min-height: auto;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 560px) {
  .counselor-settings-card {
    padding: 18px;
  }
}

.parent-home-page {
  --parent-webview-bottom-nav-height: calc(70px + var(--app-safe-area-bottom));
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.parent-home-page__content {
  padding: 0;
}

.parent-home-page__viewport {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.parent-home-page__header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(243, 244, 246, 0.65);
  padding: 48px 24px 16px;
}

body[data-shell-mode='webview'] .parent-home-page__header {
  padding:
    calc(48px + var(--app-safe-area-top))
    calc(24px + var(--app-safe-area-right))
    14px
    calc(24px + var(--app-safe-area-left));
}

.parent-home-page__header-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.parent-home-page__title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.parent-home-page__subtitle {
  margin: 0;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 16px;
}

.parent-home-page__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  padding: 24px 24px 32px;
}

body[data-shell-mode='webview'] .parent-home-page__body,
body[data-shell-mode='webview'] .parent-observations-page__body,
body[data-shell-mode='webview'] .parent-report-page__body,
body[data-shell-mode='webview'] .parent-notifications-page__body,
body[data-shell-mode='webview'] .parent-settings-page__body {
  padding-bottom: calc(24px + var(--parent-webview-bottom-nav-height));
}

.parent-home-page__summary-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #fdfdfe 33.33%, #fbfcfc 66.67%, #f9fafb 100%);
  border: 0.74px solid rgba(139, 181, 196, 0.12);
  border-radius: 28px;
  box-shadow:
    0 6px 14px rgba(45, 55, 72, 0.06),
    0 2px 6px rgba(45, 55, 72, 0.04);
  padding: 25px 25px 22px;
}

.parent-child-empty-state {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #fdfdfe 45%, #fafbfc 100%);
  border: 0.74px solid rgba(139, 181, 196, 0.12);
  border-radius: 28px;
  box-shadow:
    0 6px 14px rgba(45, 55, 72, 0.06),
    0 2px 6px rgba(45, 55, 72, 0.04);
  padding: 26px 24px 24px;
}

.parent-child-empty-state__title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.parent-child-empty-state__description,
.parent-child-empty-state__note {
  margin: 0;
  max-width: 100%;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 21px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-child-empty-state__note {
  color: #88b5c4;
  font-weight: 600;
}

.parent-home-page__summary-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.parent-home-page__section-title {
  margin: 0;
  width: 100%;
  max-width: 292px;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  text-align: left;
}

.parent-home-page__section-title-line {
  display: block;
}

.parent-home-page__section-description {
  margin: 0;
  width: 100%;
  max-width: 292px;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
  text-align: left;
  word-break: keep-all;
}

.parent-home-page__insight-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgba(107, 154, 196, 0.08) 0%,
    rgba(124, 169, 187, 0.069) 35.71%,
    rgba(144, 187, 175, 0.056) 78.57%,
    rgba(155, 196, 168, 0.05) 100%
  );
  padding: 16px;
}

.parent-home-page__tip-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  max-width: 292px;
  color: #a0725d;
}

.parent-home-page__tip-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.parent-home-page__tip-copy {
  margin: 0;
  min-width: 0;
  color: #a0725d;
  font-family: 'Sora', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  overflow-wrap: anywhere;
  text-align: left;
  word-break: keep-all;
}

.parent-home-page__quote {
  margin: 0;
  width: 100%;
  max-width: 292px;
  box-sizing: border-box;
  color: #718096;
  font-family: 'Sora', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 21px;
  padding-left: 22px;
  text-align: left;
}

.parent-home-page__records-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parent-home-page__records-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.parent-home-page__records-title-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-home-page__records-icon {
  width: 20px;
  height: 20px;
  color: #9bc4a8;
  flex-shrink: 0;
}

.parent-home-page__records-heading {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.parent-home-page__add-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b9ac4 0%, #88b5c4 100%);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.parent-home-page__add-button:disabled {
  cursor: default;
  opacity: 0.9;
}

.parent-home-page__add-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.parent-home-page__empty-banner {
  border: 1.11px dashed rgba(107, 154, 196, 0.3);
  border-radius: 20px;
  background: linear-gradient(171.23deg, #f5f8fa 5.65%, #fafbfc 94.35%);
  padding: 17px;
}

.parent-home-page__empty-banner-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.parent-home-page__prompt-icon {
  width: 18px;
  height: 18px;
  color: #88b5c4;
  flex-shrink: 0;
}

.parent-home-page__empty-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(74, 85, 104, 0.5);
}

.parent-home-page__empty-copy-line {
  margin: 0;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.parent-home-page__preview-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parent-home-page__records-status {
  margin: -4px 0 0;
  color: #d97745;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 18px;
}

.parent-home-page__selected-date {
  margin: -4px 0 0;
  color: #88b5c4;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.parent-home-page__record-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 92px;
  box-sizing: border-box;
  border-radius: 16px;
  background: rgba(155, 196, 168, 0.04);
  border: 1px solid rgba(168, 178, 188, 0.08);
  padding: 17px;
}

.parent-home-page__record-item--button {
  width: 100%;
  border: 1px solid rgba(168, 178, 188, 0.08);
  text-align: left;
  cursor: pointer;
}

.parent-home-page__record-item--button:hover {
  border-color: rgba(136, 181, 196, 0.22);
  box-shadow: 0 10px 20px rgba(107, 154, 196, 0.08);
}

.parent-home-page__record-date-block {
  display: flex;
  width: 38px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 1px;
  flex-shrink: 0;
}

.parent-home-page__record-date {
  margin: 0;
  color: #88b5c4;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.parent-home-page__record-weekday {
  margin: 0;
  color: #a8b2bc;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 16px;
}

.parent-home-page__record-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.parent-home-page__record-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.parent-home-page__record-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1.11px solid rgba(155, 196, 168, 0.2);
  background: rgba(155, 196, 168, 0.12);
  color: #9bc4a8;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.parent-home-page__record-comment-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 69, 0.2);
  background: rgba(217, 119, 69, 0.1);
  color: #d97745;
}

.parent-home-page__record-comment-indicator svg {
  width: 14px;
  height: 14px;
}

.parent-home-page__record-description {
  display: -webkit-box;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  color: #4a5568;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 21px;
  overflow-wrap: anywhere;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.parent-bottom-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 24px 10px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(16px);
}

.parent-bottom-nav__items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}

.parent-bottom-nav__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #a8b2bc;
  padding: 0;
  min-height: 52px;
  cursor: pointer;
}

.parent-bottom-nav__item.is-active {
  color: #88b5c4;
}

.parent-bottom-nav__item svg {
  width: 20px;
  height: 20px;
}

.parent-bottom-nav__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.parent-bottom-nav__badge {
  position: absolute;
  top: -7px;
  right: -11px;
  min-width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #dd6356;
  color: #ffffff;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  padding: 0 4px;
}

.parent-bottom-nav__label {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.parent-bottom-nav__indicator {
  display: none;
}

body[data-shell-mode='webview'] .parent-bottom-nav {
  gap: 6px;
  padding:
    10px
    calc(20px + var(--app-safe-area-right))
    calc(6px + var(--app-safe-area-bottom))
    calc(20px + var(--app-safe-area-left));
}

body[data-shell-mode='webview'] .parent-bottom-nav__item {
  min-height: 44px;
  gap: 4px;
}

body[data-shell-mode='webview'] .parent-bottom-nav__label {
  font-size: 10px;
  line-height: 14px;
}

body[data-shell-mode='webview'] .parent-bottom-nav__indicator {
  display: none;
}

body[data-shell-mode='webview'] .parent-home-page .mobile-page-bottom-slot {
  bottom: 0;
  flex: 0 0 auto;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 30;
}

.parent-home-page__placeholder-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  box-sizing: border-box;
  border-radius: 24px;
  border: 1px solid rgba(168, 178, 188, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 24px;
}

.parent-home-page__placeholder-title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.parent-home-page__placeholder-description {
  margin: 0;
  max-width: 100%;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-observations-page__content {
  padding: 0;
}

.parent-observations-page__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 24px 32px;
}

.parent-observation-calendar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parent-observation-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.parent-observation-calendar__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0a0a0a;
  cursor: default;
}

.parent-observation-calendar__nav-icon {
  width: 20px;
  height: 20px;
}

.parent-observation-calendar__month-label {
  margin: 0;
  color: #0a0a0a;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.parent-observation-calendar__week-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.parent-observation-calendar__week-label {
  color: #99a1af;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.parent-observation-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.parent-observation-calendar__day,
.parent-observation-calendar__day-marker,
.parent-observations-page__list-card-date,
.parent-observations-page__list-card-badge,
.parent-observations-page__list-card-line {
  box-sizing: border-box;
}

.parent-observation-calendar__day {
  display: flex;
  min-height: 80px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 4px 4px 4px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
}

.parent-observation-calendar__day.is-empty {
  visibility: hidden;
}

.parent-observation-calendar__day.is-selected {
  background: rgba(136, 181, 196, 0.14);
}

.parent-observation-calendar__day.is-disabled,
.parent-observation-calendar__day:disabled {
  cursor: default;
  opacity: 0.38;
}

.parent-observation-calendar__day-number {
  color: #4a5565;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.parent-observation-calendar__day.is-selected .parent-observation-calendar__day-number {
  color: #2d3748;
}

.parent-observation-calendar__day-marker {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.parent-observation-calendar__day-marker.is-visible {
  background: #c46b6b;
}

.parent-observation-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 55, 72, 0.28);
  z-index: 40;
}

.parent-observation-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 350px;
  max-width: calc(100vw - 32px);
  height: auto;
  min-height: min(360px, calc(100dvh - 96px));
  max-height: 620px;
  max-height: min(620px, calc(100dvh - 96px));
  box-sizing: border-box;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 24px;
  overflow: hidden;
}

.parent-observation-modal__body {
  box-sizing: border-box;
  flex: 0 1 auto;
  max-height: 572px;
  max-height: min(572px, calc(100dvh - 144px));
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.parent-observation-form-modal {
  min-height: min(500px, calc(100dvh - 96px));
}

.parent-observation-modal__body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body[data-shell-mode='webview'] .parent-observation-modal {
  min-height: min(360px, calc(var(--app-viewport-height) - 72px));
  max-height: min(620px, calc(var(--app-viewport-height) - 72px));
}

body[data-shell-mode='webview'] .parent-observation-modal__body {
  max-height: min(572px, calc(var(--app-viewport-height) - 120px));
}

.parent-observation-modal__scrollbar {
  position: absolute;
  top: 72px;
  right: 13px;
  bottom: 24px;
  z-index: 1;
  width: 4px;
  border-radius: 999px;
  background: rgba(136, 181, 196, 0.1);
  pointer-events: none;
}

.parent-observation-modal__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 36px;
  border-radius: inherit;
  background: rgba(136, 181, 196, 0.46);
  box-shadow: 0 0 0 1px rgba(136, 181, 196, 0.06);
}

.parent-observation-modal__close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4a5565;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.parent-observation-modal__close-icon {
  width: 20px;
  height: 20px;
}

.parent-observation-detail-modal__header-row,
.parent-observation-form-modal__header-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.parent-observation-form-modal__date-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-observation-form-modal__date-nav.is-static {
  min-width: 96px;
  justify-content: center;
}

.parent-observation-form-modal__nav-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.parent-observation-form-modal__nav-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.parent-observation-detail-modal__nav-icon,
.parent-observation-form-modal__nav-icon {
  width: 20px;
  height: 20px;
}

.parent-observation-detail-modal__date-label,
.parent-observation-form-modal__date-label {
  margin: 0;
  color: #88b5c4;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  min-width: 72px;
  text-align: center;
}

.parent-observation-detail-modal__content-card,
.parent-observation-form-modal__textarea-wrap {
  box-sizing: border-box;
  border-radius: 16px;
  border: 1.11px solid rgba(168, 178, 188, 0.08);
  background: rgba(155, 196, 168, 0.04);
  padding: 16px 17px 18px;
}

.parent-observation-form-modal__textarea-wrap {
  min-height: 140px;
  overflow: hidden;
}

.parent-observation-detail-modal__content-card {
  min-height: 79px;
}

.parent-observation-detail-modal__content-text {
  margin: 0;
  max-width: 100%;
  color: #4a5568;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 23px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: keep-all;
}

.parent-observation-detail-modal__record-count {
  margin: 0;
  color: #a8b2bc;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.parent-observation-detail-modal__pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.parent-observation-detail-modal__pager-button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #88b5c4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.parent-observation-detail-modal__pager-button:disabled {
  opacity: 0.28;
  cursor: default;
}

.parent-observation-detail-modal__mood-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  margin-top: 14px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1.11px solid rgba(155, 196, 168, 0.2);
  background: rgba(155, 196, 168, 0.12);
  color: #9bc4a8;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.parent-observation-detail-modal__comment-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  border-radius: 20px;
  border: 1.11px solid rgba(168, 178, 188, 0.12);
  background: linear-gradient(135deg, #f5f8fa 0%, #fafbfc 100%);
  padding: 21px;
}

.parent-observation-detail-modal__comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.parent-observation-detail-modal__comment-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-observation-detail-modal__comment-icon {
  width: 16px;
  height: 18px;
  color: #d97745;
  flex-shrink: 0;
}

.parent-observation-detail-modal__comment-title {
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.parent-observation-detail-modal__comment-time {
  color: #a8b2bc;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 16px;
}

.parent-observation-detail-modal__comment-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
}

.parent-observation-detail-modal__comment-dot {
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: #6b9ac4;
  flex-shrink: 0;
}

.parent-observation-detail-modal__comment-copy {
  margin: 0;
  max-width: 100%;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 20px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: keep-all;
}

.parent-observation-detail-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.parent-observation-detail-modal__action-button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.parent-observation-detail-modal__action-button.is-edit {
  background: #6b9ac4;
}

.parent-observation-detail-modal__action-button.is-delete {
  background: #fb2c36;
}

.parent-observation-detail-modal__action-icon {
  width: 16px;
  height: 16px;
}

.parent-observation-form-modal__textarea {
  width: 100%;
  height: auto;
  min-height: 106px;
  border: 0;
  background: transparent;
  resize: none;
  padding: 0;
  color: #4a5568;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
  outline: none;
  overflow: hidden;
}

.parent-observation-form-modal__textarea::placeholder {
  color: rgba(74, 85, 104, 0.5);
}

.parent-observation-form-modal__count-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  min-height: 18px;
}

.parent-observation-form-modal__count {
  color: #99a1af;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.parent-observation-form-modal__mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.parent-observation-form-modal__mood-button {
  min-height: 50px;
  border-radius: 14px;
  border: 1.11px solid #e5e7eb;
  background: #ffffff;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.parent-observation-form-modal__mood-button.is-selected {
  border-color: rgba(155, 196, 168, 0.3);
  background: rgba(155, 196, 168, 0.12);
  color: #9bc4a8;
}

.parent-observation-form-modal__submit-button {
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  border: 0;
  border-radius: 14px;
  background: #6b9ac4;
  color: #ffffff;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.parent-observation-form-modal__submit-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.parent-observation-delete-modal {
  max-width: 300px;
}

.parent-observation-delete-modal .common-modal-header {
  padding-bottom: 0;
}

.parent-observation-delete-modal .common-modal-topbar {
  justify-content: center;
}

.parent-observation-delete-modal .common-modal-title {
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.parent-observation-delete-modal__body {
  padding-top: 10px;
}

.parent-observation-delete-modal__message {
  margin: 0;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.parent-observation-delete-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 16px;
}

.parent-observation-delete-modal__button {
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.parent-observation-delete-modal__button.is-secondary {
  background: #e5e7eb;
  color: #364153;
}

.parent-observation-delete-modal__button.is-danger {
  background: #fb2c36;
  color: #ffffff;
}

.parent-report-page {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.parent-report-page__content {
  padding: 0;
}

.parent-report-page__body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px 20px 32px;
}

.parent-report-page__week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.parent-report-page__week-nav-button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #718096;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.parent-report-page__week-nav-button:disabled {
  opacity: 0.32;
  cursor: default;
}

.parent-report-page__week-nav-button svg {
  width: 20px;
  height: 20px;
}

.parent-report-page__week-nav-label {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
}

.parent-report-page__section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.parent-report-page__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.parent-report-page__section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-report-page__section-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.parent-report-page__section-icon svg {
  width: 100%;
  height: 100%;
}

.parent-report-page__section-icon--blue {
  color: #6b9ac4;
}

.parent-report-page__section-icon--orange {
  color: #f4b895;
}

.parent-report-page__section-title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.parent-report-page__card {
  box-sizing: border-box;
  border-radius: 24px;
  border: 1.11px solid rgba(139, 181, 196, 0.12);
  background: linear-gradient(138.64deg, #ffffff 2.8%, #f9fafb 97.2%);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px -1px rgba(0, 0, 0, 0.1);
  padding: 21px 20px;
}

.parent-report-page__card--chart,
.parent-report-page__card--line-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.parent-report-page__week-placeholder {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.parent-report-page__week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.parent-report-page__week-label,
.parent-report-page__bar-day {
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.parent-report-page__week-mood {
  width: 41px;
  height: 41px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parent-report-page__week-mood-icon {
  display: block;
}

.parent-report-page__week-mood--empty {
  background: rgba(226, 232, 240, 0.55);
  border: 1px dashed rgba(168, 178, 188, 0.32);
}

.parent-report-page__week-mood--yellow {
  background: #fff4a3;
}

.parent-report-page__week-mood--blue {
  background: #b8d4ff;
}

.parent-report-page__week-mood--green {
  background: #c8e6c9;
}

.parent-report-page__week-mood--pink {
  background: #ffb8d1;
}

.parent-report-page__week-mood--purple {
  background: #d4c5f9;
}

.parent-report-page__week-mood--orange {
  background: #ffe8d4;
}

.parent-report-page__bar-chart-placeholder {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 220px;
}

.parent-report-page__bar-column {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.parent-report-page__bar-score {
  color: #6b9ac4;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.parent-report-page__bar-score.is-warning {
  color: #efa88f;
}

.parent-report-page__bar {
  width: 28px;
  min-height: 36px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #88b5c4 0%, #6b9ac4 100%);
  box-shadow: 0 4px 12px rgba(107, 154, 196, 0.2);
}

.parent-report-page__bar.is-warning {
  background: linear-gradient(180deg, #f4b895 0%, #efa88f 100%);
  box-shadow: 0 4px 12px rgba(239, 168, 143, 0.3);
}

.parent-report-page__insight-line {
  border-top: 1.11px solid rgba(168, 178, 188, 0.12);
  padding-top: 16px;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 21px;
}

.parent-report-page__info-button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #afafaf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.parent-report-page__info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.parent-report-page__info-button svg {
  width: 20px;
  height: 20px;
}

.parent-report-page__tooltip-row {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: min(280px, calc(100vw - 80px));
}

.parent-report-page__tooltip {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 280px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  color: #4b5563;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  padding: 12px 14px;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-report-page__tooltip-copy {
  margin: 0;
}

.parent-report-page__tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #f8fafc;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: translateX(-50%) rotate(45deg);
}

.parent-report-page__line-chart-placeholder {
  position: relative;
  min-height: 180px;
}

.parent-report-page__line-chart-plot {
  position: relative;
  width: 100%;
  height: 180px;
  z-index: 1;
}

.parent-report-page__line-chart-vertical-axis {
  stroke: rgba(229, 231, 235, 0.45);
  stroke-width: 1;
}

.parent-report-page__line-chart-axis {
  stroke: rgba(229, 231, 235, 0.95);
  stroke-width: 1;
}

.parent-report-page__line-chart-axis-label {
  fill: #a0aec0;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 8px;
}

.parent-report-page__line-chart-weekday-label {
  fill: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 10px;
  font-weight: 500;
}

.parent-notifications-page {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.parent-notifications-page__content {
  padding: 0;
}

.parent-notifications-page__header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.94);
  padding: 48px 20px 0;
}

body[data-shell-mode='webview'] .parent-notifications-page__header {
  padding:
    calc(48px + var(--app-safe-area-top))
    calc(20px + var(--app-safe-area-right))
    0
    calc(20px + var(--app-safe-area-left));
}

.parent-notifications-page__header-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  padding-bottom: 16px;
}

.parent-notifications-page__header-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parent-notifications-page__title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-notifications-page__title-icon {
  width: 24px;
  height: 24px;
  color: #6b9ac4;
  flex-shrink: 0;
}

.parent-notifications-page__title-icon svg {
  width: 100%;
  height: 100%;
}

.parent-notifications-page__title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.parent-notifications-page__subtitle {
  margin: 0;
  max-width: 100%;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-notifications-page__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 24px 24px 32px;
}

.parent-notifications-page__feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parent-notification-card {
  box-sizing: border-box;
  border-radius: 20px;
  border: 1.11px solid rgba(168, 178, 188, 0.12);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  padding: 21px;
}

.parent-notification-card--interactive {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.parent-notification-card--interactive:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 18px rgba(45, 55, 72, 0.08),
    0 4px 8px rgba(45, 55, 72, 0.06);
}

.parent-notification-card--interactive:focus-visible {
  outline: 2px solid rgba(107, 154, 196, 0.45);
  outline-offset: 2px;
}

.parent-notification-card.is-read {
  border-color: rgba(168, 178, 188, 0.08);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
}

.parent-notification-card--pink {
  background: linear-gradient(135deg, #fff4f7 0%, #fff4f7 100%);
}

.parent-notification-card--orange {
  background: linear-gradient(135deg, #fff9f5 0%, #fffbf8 100%);
}

.parent-notification-card__content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.parent-notification-card__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.parent-notification-card__icon-wrap svg {
  width: 20px;
  height: 20px;
}

.parent-notification-card__icon-wrap--pink {
  background: #ffecf2;
  color: #ffb8d1;
}

.parent-notification-card__icon-wrap--orange {
  background: rgba(244, 184, 149, 0.15);
  color: #f4b895;
}

.parent-notification-card__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.parent-notification-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.parent-notification-card__title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-notification-card__title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.parent-notification-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6b9ac4;
  flex-shrink: 0;
}

.parent-notification-card__time {
  color: #a8b2bc;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 16px;
  flex-shrink: 0;
}

.parent-notification-card__message {
  margin: 0;
  max-width: 100%;
  color: #718096;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 20px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-notification-card__highlight {
  align-self: flex-end;
  min-height: 23px;
  border-radius: 16px;
  background: #5c789f;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
}

.parent-notification-card__actions {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
}

.parent-notification-card__action-button {
  min-width: 45px;
  min-height: 23px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  padding: 0 12px;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}

.parent-notification-card__action-button--danger {
  background: #dd6356;
}

.parent-notification-card__action-button--primary {
  background: #344966;
}

.parent-notification-card__action-button--neutral {
  min-width: 64px;
  background: #edf2f7;
  color: #718096;
  box-shadow: none;
}

.parent-notification-card__action-button.is-selected {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 6px 12px rgba(52, 73, 102, 0.16);
}

.parent-notification-card__action-button.is-muted {
  background: rgba(168, 178, 188, 0.16);
  color: #718096;
  box-shadow: none;
}

.parent-notification-card__action-button:disabled {
  cursor: default;
  opacity: 1;
  transform: none;
}

.parent-anomaly-popup-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px;
  box-sizing: border-box;
  background: rgba(45, 55, 72, 0.22);
}

.parent-anomaly-popup {
  position: relative;
  width: 100%;
  border: 1px solid rgba(221, 99, 86, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(45, 55, 72, 0.18);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.parent-anomaly-popup__close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #f7fafc;
  color: #718096;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.parent-anomaly-popup__close-button svg {
  width: 20px;
  height: 20px;
}

.parent-anomaly-popup__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #ffecf2;
  color: #dd6356;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.parent-anomaly-popup__icon svg {
  width: 24px;
  height: 24px;
}

.parent-anomaly-popup__copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 18px;
}

.parent-anomaly-popup__eyebrow {
  margin: 0;
  color: #dd6356;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.parent-anomaly-popup__title {
  margin: 0;
  color: #2d3748;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

.parent-anomaly-popup__message {
  margin: 0;
  color: #4a5568;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 21px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-anomaly-popup__highlight {
  align-self: flex-start;
  min-height: 24px;
  border-radius: 999px;
  background: #5c789f;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
}

.parent-anomaly-popup__actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px;
}

.parent-anomaly-popup__button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  padding: 0 12px;
}

.parent-anomaly-popup__button.is-secondary {
  background: #edf2f7;
  color: #4a5568;
}

.parent-anomaly-popup__button.is-primary {
  background: #344966;
  color: #ffffff;
}

.parent-settings-page {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.parent-settings-page__content {
  padding: 0;
}

.parent-settings-page__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 24px 104px;
}

.parent-settings-page__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parent-settings-page__section-title {
  margin: 0 0 0 8px;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.parent-settings-page__box {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
}

.parent-settings-page__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 16px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #f9fafb;
  background: transparent;
  text-align: left;
}

.parent-settings-page__row.has-divider:last-child,
.parent-settings-page__row:not(.has-divider) {
  border-bottom: 0;
}

.parent-settings-page__row.is-button {
  cursor: pointer;
}

.parent-settings-page__row.is-button:hover {
  background: rgba(248, 250, 252, 0.82);
}

.parent-settings-page__row.is-button:focus-visible,
.parent-settings-page__phone-chip:focus-visible,
.parent-settings-page__linked-email:focus-visible {
  outline: 2px solid rgba(107, 154, 196, 0.38);
  outline-offset: 2px;
}

.parent-settings-page__icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4a5565;
  flex-shrink: 0;
}

.parent-settings-page__icon-circle svg {
  width: 20px;
  height: 20px;
}

.parent-settings-page__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.parent-settings-page__row-title {
  color: #0a0a0a;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.parent-settings-page__inline-meta {
  margin-left: 6px;
  color: #a8b2bc;
  font-size: 12px;
  font-weight: 400;
}

.parent-settings-page__row-description {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.parent-settings-page__muted-text {
  color: #a8b2bc;
}

.parent-settings-page__linked-email {
  color: #6a7282;
  text-decoration: none;
}

.parent-settings-page__row-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.parent-settings-page__status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 59px;
  min-height: 23px;
  padding: 0 14px;
  border-radius: 16px;
  background: #344966;
  color: #ffffff;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
}

.parent-settings-page__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #99a1af;
}

.parent-settings-page__chevron svg {
  width: 20px;
  height: 20px;
}

.parent-settings-page__phone-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 133px;
  min-height: 23px;
  padding: 0 12px;
  border-radius: 16px;
  background: #f3f4f6;
  color: #0a0a0a;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  text-decoration: none;
}

.parent-settings-page__logout {
  align-self: stretch;
  min-height: 44px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #fb2c36;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 11px 0;
  text-align: center;
}

.parent-settings-page__logout:focus-visible {
  outline: 2px solid rgba(251, 44, 54, 0.24);
  outline-offset: 2px;
}

.parent-counselor-modal-overlay {
  background: rgba(15, 23, 42, 0.3);
  z-index: 40;
}

.parent-counselor-modal {
  max-width: 360px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.parent-counselor-modal .common-modal-topbar {
  padding: 16px 20px;
}

.parent-counselor-modal .common-modal-title {
  color: #101828;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.parent-counselor-modal .common-modal-header-content {
  background: #f9fafb;
  padding: 16px 20px;
}

.parent-counselor-modal__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.parent-counselor-modal__step-wrap {
  display: inline-flex;
  align-items: center;
}

.parent-counselor-modal__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #99a1af;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  flex-shrink: 0;
}

.parent-counselor-modal__step svg {
  width: 16px;
  height: 16px;
}

.parent-counselor-modal__step.is-active {
  background: #344966;
  color: #ffffff;
}

.parent-counselor-modal__step.is-complete {
  color: #4a5565;
}

.parent-counselor-modal__connector {
  width: 32px;
  height: 2px;
  background: #e5e7eb;
}

.parent-counselor-modal__body {
  padding: 24px 20px;
}

.parent-counselor-modal__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parent-counselor-modal__intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.parent-counselor-modal__headline {
  margin: 0;
  color: #101828;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.parent-counselor-modal__description {
  margin: 0;
  max-width: 100%;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-counselor-modal__field {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 0.74px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}

.parent-counselor-modal__field.is-readonly {
  color: rgba(10, 10, 10, 0.72);
}

.parent-counselor-modal__field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #737685;
  flex-shrink: 0;
}

.parent-counselor-modal__field-icon svg {
  width: 20px;
  height: 20px;
}

.parent-counselor-modal__input,
.parent-counselor-modal__field-value {
  width: 100%;
  min-width: 0;
  color: rgba(10, 10, 10, 0.72);
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.parent-counselor-modal__input {
  border: 0;
  background: transparent;
  padding: 0;
  outline: none;
}

.parent-counselor-modal__input::placeholder {
  color: rgba(10, 10, 10, 0.45);
}

.parent-counselor-modal__field-value {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-counselor-modal__status {
  margin: 0;
  max-width: 100%;
  color: #4a5565;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.parent-counselor-modal__status.is-error {
  color: #dc2626;
}

.parent-counselor-modal__actions {
  padding: 16px 20px;
  border-top: 0.74px solid #f3f4f6;
}

.parent-counselor-modal__actions.is-single {
  grid-template-columns: 1fr;
}

.parent-counselor-modal__button {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
}

.parent-counselor-modal__button.is-primary {
  background: #344966;
  color: #ffffff;
}

.parent-counselor-modal__button.is-primary.is-disabled,
.parent-counselor-modal__button:disabled {
  background: #d1d5dc;
  cursor: default;
}

.parent-counselor-modal__button.is-secondary {
  background: #f3f4f6;
  color: #4a5565;
}

.child-profile-address-modal {
  gap: 18px;
  max-width: 320px;
  padding: 0 0 24px;
}

.child-profile-address-modal__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 24px 0;
}

.child-profile-address-modal__actions {
  gap: 12px;
  padding: 0 24px;
}

.child-profile-address-modal__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.child-profile-address-modal__summary-card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 16px;
}

.child-profile-address-modal__profile {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.child-profile-address-modal__label {
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.child-profile-address-modal__value {
  color: #0a0a0a;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.child-profile-address-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.child-profile-address-modal__field--change {
  border-top: 1px solid #eef2f7;
  padding-top: 16px;
}

.child-profile-address-modal__section-label-row {
  margin-bottom: 2px;
}

.child-profile-address-modal__field--change .field-group .field-label {
  font-size: 11px;
  line-height: 14px;
}

.child-profile-address-modal__address-box {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #d9e1ec;
  border-radius: 15px;
  background: #ffffff;
  box-sizing: border-box;
}

.child-profile-address-modal__address-text {
  margin: 0;
  max-width: 100%;
  color: #111111;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: keep-all;
}

.child-profile-address-modal__field-help {
  margin: 0;
  color: #a5a5a5;
  font-size: 12px;
  line-height: 1.5;
}

.child-profile-address-modal__change-button {
  min-width: 84px;
}

.child-profile-address-modal .common-modal-topbar {
  padding: 22px 24px 0;
}

.child-profile-address-modal .common-modal-title {
  color: #2d3748;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.child-profile-address-modal .common-modal-close-button:focus-visible,
.child-profile-address-modal .field-input-action:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.child-settings-page__content {
  padding: 0;
  overflow: hidden;
}

.child-settings-page__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 37px 28px 20px;
  box-sizing: border-box;
  gap: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.child-settings-page__body::-webkit-scrollbar {
  display: none;
}

.child-settings-page__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-settings-page__section-title {
  margin: 0 0 0 8px;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.child-settings-page__box {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
}

.child-settings-page__row {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f9fafb;
  color: #0a0a0a;
  display: flex;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.child-settings-page__row.has-divider:last-child,
.child-settings-page__row:not(.has-divider) {
  border-bottom: 0;
}

.child-settings-page__row.is-button {
  cursor: pointer;
}

.child-settings-page__row.is-button:hover {
  background: rgba(248, 250, 252, 0.8);
}

.child-settings-page__row.is-button:focus-visible,
.child-settings-page__logout:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.child-settings-page__icon-circle {
  align-items: center;
  background: #f3f4f6;
  border-radius: 999px;
  color: #4a5565;
  display: inline-flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.child-settings-page__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.child-settings-page__row-title {
  color: #0a0a0a;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.child-settings-page__row-description {
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.child-settings-page__row-end {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}

.child-settings-page__chevron {
  align-items: center;
  color: #99a1af;
  display: inline-flex;
  justify-content: center;
}

.child-settings-page__connect-badge {
  align-items: center;
  background: #344966;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  min-width: 72px;
  padding: 0 16px;
}

.child-settings-page__logout {
  align-self: stretch;
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: #fb2c36;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-top: 8px;
  min-height: 44px;
  padding: 11px 0;
  text-align: center;
}

.child-diary-notification-toggle-modal {
  gap: 18px;
  max-width: 344px;
  padding: 0 0 24px;
}

.child-diary-notification-toggle-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 24px 0;
}

.child-diary-notification-toggle-modal__actions {
  gap: 12px;
  padding: 0 24px;
}

.child-diary-notification-toggle-modal__row {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 16px;
}

.child-diary-notification-toggle-modal__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.child-diary-notification-toggle-modal__copy strong,
.child-diary-notification-detail-modal__switch-label {
  color: #111827;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.child-diary-notification-toggle-modal__copy span,
.child-diary-notification-detail-modal__intro p {
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 18px;
}

.child-diary-notification-switch {
  align-items: center;
  appearance: none;
  background: #dbe2ea;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 30px;
  justify-content: flex-start;
  padding: 3px;
  transition: background-color 160ms ease;
  width: 54px;
}

.child-diary-notification-switch.is-checked {
  background: #344966;
}

.child-diary-notification-switch__thumb {
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  display: block;
  height: 24px;
  transition: transform 160ms ease;
  width: 24px;
}

.child-diary-notification-switch.is-checked
  .child-diary-notification-switch__thumb {
  transform: translateX(24px);
}

.child-diary-notification-switch:focus-visible,
.child-diary-notification-detail-modal__day-chip:focus-visible,
.child-diary-notification-detail-modal__preset:focus-visible,
.child-diary-notification-detail-modal__frequency-option:focus-visible,
.child-diary-notification-detail-modal__info-button:focus-visible,
.child-diary-notification-detail-modal__select-wrap select:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.child-diary-notification-detail-modal {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 360px;
  height: 683px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.child-diary-notification-detail-modal.is-collapsed {
  max-width: 344px;
  height: auto;
}

.child-diary-notification-detail-modal .common-modal-topbar {
  padding: 16px 20px;
}

.child-diary-notification-detail-modal__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 24px;
  min-height: 0;
  padding: 24px 20px 0;
  overflow: hidden;
}

.child-diary-notification-detail-modal.is-collapsed
  .child-diary-notification-detail-modal__body {
  flex: 0 0 auto;
  gap: 0;
  padding-bottom: 0;
}

.child-diary-notification-detail-modal__actions {
  gap: 12px;
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid #f3f4f6;
}

.child-diary-notification-detail-modal.is-collapsed
  .child-diary-notification-detail-modal__actions {
  margin-top: 24px;
}

.child-diary-notification-detail-modal__info-wrap {
  display: inline-flex;
  align-items: center;
}

.child-diary-notification-detail-modal__info-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #afafaf;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.child-diary-notification-detail-modal__tooltip-row {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.child-diary-notification-tooltip {
  position: relative;
  width: 100%;
  max-width: 280px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: #4b5563;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  white-space: pre-line;
  text-align: center;
}

.child-diary-notification-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 108px;
  width: 12px;
  height: 12px;
  background: #f8fafc;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: rotate(45deg);
}

.child-diary-notification-detail-modal__switch-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.child-diary-notification-detail-modal__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.child-diary-notification-detail-modal__content::-webkit-scrollbar {
  display: none;
}

.child-diary-notification-detail-modal__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-diary-notification-detail-modal__section.is-disabled {
  opacity: 0.52;
}

.child-diary-notification-detail-modal__section-title {
  color: #111827;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

.child-diary-notification-detail-modal__day-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.child-diary-notification-detail-modal__day-chip,
.child-diary-notification-detail-modal__preset,
.child-diary-notification-detail-modal__frequency-option {
  appearance: none;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #4b5563;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.child-diary-notification-detail-modal__day-chip {
  min-height: 39px;
  padding: 0;
}

.child-diary-notification-detail-modal__preset-row {
  display: flex;
  gap: 8px;
}

.child-diary-notification-detail-modal__preset {
  flex: 1;
  min-height: 36px;
  padding: 0 12px;
}

.child-diary-notification-detail-modal__frequency-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.child-diary-notification-detail-modal__frequency-option {
  min-height: 44px;
  padding: 0 16px;
}

.child-diary-notification-detail-modal__time-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-diary-notification-detail-modal__time-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.child-diary-notification-detail-modal__time-label {
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.child-diary-notification-detail-modal__helper {
  margin: 4px 0 0;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.child-diary-notification-detail-modal__day-chip.is-selected,
.child-diary-notification-detail-modal__preset.is-selected,
.child-diary-notification-detail-modal__frequency-option.is-selected {
  background: #344966;
  border-color: #344966;
  color: #ffffff;
}

.child-diary-notification-detail-modal__day-chip:disabled,
.child-diary-notification-detail-modal__preset:disabled,
.child-diary-notification-detail-modal__frequency-option:disabled,
.child-diary-notification-switch:disabled,
.child-diary-notification-detail-modal__select-wrap select:disabled {
  cursor: default;
}

.child-diary-notification-detail-modal__time-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 154px);
}

.child-diary-notification-detail-modal__select-wrap {
  min-width: 0;
}

.child-diary-notification-detail-modal__select-wrap select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #6a7282 50%) calc(100% - 18px)
      calc(50% - 1px) / 7px 7px no-repeat,
    linear-gradient(135deg, #6a7282 50%, transparent 50%) calc(100% - 13px)
      calc(50% - 1px) / 7px 7px no-repeat,
    #f8fafc;
  border: 1px solid #d9e1ec;
  border-radius: 16px;
  color: #111827;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  padding: 0 36px 0 16px;
  width: 100%;
}

.child-logout-confirm-modal {
  max-width: 320px;
  padding: 32px 24px 24px;
  gap: 24px;
}

.child-logout-confirm-modal .common-modal-header {
  gap: 18px;
}

.child-logout-confirm-modal .common-modal-topbar {
  justify-content: center;
  padding: 0;
}

.child-logout-confirm-modal .common-modal-title {
  color: #272727;
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.child-logout-confirm-modal__body {
  padding: 0;
}

.child-logout-confirm-modal__actions {
  margin-top: 0;
}

.child-logout-confirm-modal__message {
  margin: 0;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.diary-emotion-modal {
  max-width: 344px;
  border-radius: 24px;
  overflow: hidden;
}

.diary-emotion-modal-overlay {
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.diary-emotion-modal .common-modal-topbar {
  position: relative;
  justify-content: center;
  padding: 28px 24px 0;
}

.diary-emotion-modal .common-modal-title {
  color: #111827;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.diary-emotion-modal__body {
  padding: 6px 24px 30px;
  gap: 32px;
}

.diary-emotion-modal__subtitle {
  margin: 0;
  color: #6b7280;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.diary-emotion-modal__panel {
  padding: 26px 22px;
  border-radius: 20px;
  background: #f4f4f5;
}

.diary-emotion-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 14px;
}

.diary-emotion-modal__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.diary-emotion-modal__option:hover {
  transform: translateY(-1px);
}

.diary-emotion-modal__option.is-selected {
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 5px #ef4444;
}

.diary-emotion-modal__option-image {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  pointer-events: none;
}

.diary-emotion-modal__option--happy {
  background: #d8c6ff;
}

.diary-emotion-modal__option--calm {
  background: #ffe6a8;
}

.diary-emotion-modal__option--excited {
  background: #e5e7eb;
}

.diary-emotion-modal__option--sad {
  background: #b7d2ff;
}

.diary-emotion-modal__option--angry {
  background: #ffb4a2;
}

.diary-emotion-modal__option--tired {
  background: #c6e6bf;
}

.diary-emotion-modal .common-modal-close-button {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #4b5563;
}

.diary-delete-modal {
  max-width: 300px;
  border-radius: 24px;
  padding: 0 0 24px;
}

.diary-delete-modal-overlay {
  padding: 24px;
}

.diary-delete-modal .common-modal-topbar {
  justify-content: center;
  padding: 28px 24px 0;
  position: relative;
}

.diary-delete-modal .common-modal-title {
  color: #111827;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.diary-delete-modal .common-modal-close-button {
  color: #4b5563;
  height: 24px;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 26px;
  width: 24px;
}

.diary-delete-modal__body {
  gap: 14px;
  padding: 12px 24px 0;
}

.diary-delete-modal__message {
  color: #6b7280;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.diary-delete-modal__actions {
  gap: 12px;
  padding: 24px 24px 0;
}

.diary-delete-modal__button {
  align-items: center;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  padding: 0 16px;
  width: 100%;
}

.diary-delete-modal__button.is-secondary {
  background: #f3f4f6;
  color: #4b5563;
}

.diary-delete-modal__button.is-danger {
  background: #ef4444;
  color: #ffffff;
}

.child-diary-list-page__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding-bottom: 88px;
}

body[data-shell-mode='webview'] .child-diary-list-page__body {
  padding-bottom: calc(88px + var(--app-safe-area-bottom));
}

.child-diary-list-page .mobile-page-surface {
  height: min(844px, 100svh - 48px);
}

body[data-shell-mode='webview'] .child-diary-list-page .mobile-page-surface {
  height: var(--app-viewport-height);
  min-height: var(--app-viewport-height);
}

.child-diary-list-page__content--calendar,
.child-diary-list-page__content--list,
.child-diary-list-page__content--write {
  overflow: hidden;
}

.child-diary-list-page__body--calendar {
  overflow: hidden;
}

.child-diary-list-page__body--list {
  overflow: hidden;
  padding-bottom: 76px;
}

body[data-shell-mode='webview'] .child-diary-list-page__body--list {
  padding-bottom: calc(76px + var(--app-safe-area-bottom));
}

.child-diary-list-page__body--write {
  overflow: hidden;
  padding-bottom: 0;
}

.child-diary-list-page .child-floating-action-button {
  position: absolute;
}

.diary-calendar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.diary-calendar__header {
  align-items: center;
  display: flex;
  justify-content: flex-start;
}

.diary-calendar__title {
  color: #101828;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.diary-calendar__month-navigation {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.diary-calendar__month-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #394150;
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  transition: transform 0.18s ease;
  width: 18px;
}

.diary-calendar__month-button:hover {
  transform: translateY(-1px);
}

.diary-calendar__month-button:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.diary-calendar__weekday-row,
.diary-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.diary-calendar__weekday-row {
  align-items: center;
  gap: 14px 0;
}

.diary-calendar__weekday {
  color: #a0a9b8;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.diary-calendar__grid {
  gap: 14px 0;
}

.diary-calendar__cell {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 70px;
}

.diary-calendar__cell-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 70px;
  padding: 0;
  width: 100%;
}

.diary-calendar__cell.is-disabled .diary-calendar__cell-button {
  cursor: default;
}

.diary-calendar__cell.is-disabled .diary-calendar__day {
  color: #c2c8d1;
}

.diary-calendar__day {
  color: #4d5562;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2px;
}

.diary-calendar__mood {
  align-items: center;
  appearance: none;
  border: none;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-size: 21px;
  height: 34px;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  width: 34px;
}

.diary-calendar__mood.is-empty {
  visibility: hidden;
}

.diary-calendar__mood-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}

.diary-calendar__mood--happy {
  background: #d8c6ff;
}

.diary-calendar__mood--calm {
  background: #ffe6a8;
}

.diary-calendar__mood--excited {
  background: #e5e7eb;
}

.diary-calendar__mood--sad {
  background: #b7d2ff;
}

.diary-calendar__mood--angry {
  background: #ffb4a2;
}

.diary-calendar__mood--tired {
  background: #c6e6bf;
}

.diary-list-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  gap: 24px;
  padding-top: 8px;
}

.diary-list-view__list {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-top: 14px;
  padding-bottom: 8px;
}

.diary-list-view__list::-webkit-scrollbar {
  display: none;
}

.diary-list-view__header {
  flex-shrink: 0;
}

.diary-list-card {
  position: relative;
  display: flex;
  min-height: 80px;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 16px 68px 16px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  text-align: left;
  flex-shrink: 0;
}

.diary-list-card__date {
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.333;
}

.diary-list-card__summary {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #364153;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.625;
  overflow-wrap: anywhere;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.diary-list-card__mood {
  position: absolute;
  top: -12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.diary-list-card__mood-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.diary-list-card__mood--happy {
  background: #d8c6ff;
}

.diary-list-card__mood--calm {
  background: #ffe6a8;
}

.diary-list-card__mood--excited {
  background: #e5e7eb;
}

.diary-list-card__mood--sad {
  background: #b7d2ff;
}

.diary-list-card__mood--angry {
  background: #ffb4a2;
}

.diary-list-card__mood--tired {
  background: #c6e6bf;
}

.diary-list-view--empty {
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.diary-list-view--empty .diary-list-view__header {
  align-self: stretch;
}

.diary-list-view__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #303030;
  margin-top: 36px;
}

.diary-list-view__empty-text {
  margin: 20px 0 0;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.428;
  text-align: center;
}

.diary-detail-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  margin: 0 -24px;
  background: #ffffff;
}

.diary-detail-view__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 48px 20px 16px;
  border-bottom: 1px solid #f3f4f6;
  box-sizing: border-box;
}

.diary-detail-view__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.diary-detail-view__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
}

.diary-detail-view__icon-button.is-muted {
  color: #9ca3af;
}

.diary-detail-view__icon-button:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.diary-detail-view__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 24px 20px 0;
  box-sizing: border-box;
}

.diary-detail-view__mood {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.diary-detail-view__mood-icon {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.diary-detail-view__mood--happy {
  background: #d8c6ff;
}

.diary-detail-view__mood--calm {
  background: #ffe6a8;
}

.diary-detail-view__mood--excited {
  background: #e5e7eb;
}

.diary-detail-view__mood--sad {
  background: #b7d2ff;
}

.diary-detail-view__mood--angry {
  background: #ffb4a2;
}

.diary-detail-view__mood--tired {
  background: #c6e6bf;
}

.diary-detail-view__date {
  margin: 20px 0 0;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.428;
  text-align: center;
}

.diary-detail-view__section {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.diary-detail-view__title {
  margin: 0;
  color: #111827;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.diary-detail-view__body-card {
  position: relative;
  display: flex;
  min-height: 120px;
  max-height: 460px;
  max-height: min(460px, 52dvh);
  margin-top: 16px;
  border-radius: 14px;
  background: #f5f5f5;
  box-sizing: border-box;
  overflow: hidden;
}

.diary-detail-view__body-scroll {
  flex: 1;
  min-height: 0;
  padding: 16px 24px 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.diary-detail-view__body-text {
  margin: 0;
  max-width: 100%;
  color: #717182;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.428;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: keep-all;
}

.diary-detail-view__body-scroll,
.diary-write-view__textarea {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.diary-detail-view__body-scroll::-webkit-scrollbar,
.diary-write-view__textarea::-webkit-scrollbar {
  display: none;
}

.diary-detail-view__scrollbar {
  position: absolute;
  top: 16px;
  right: 10px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: rgba(113, 113, 130, 0.08);
  pointer-events: none;
}

.diary-detail-view__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 32px;
  border-radius: inherit;
  background: rgba(113, 113, 130, 0.34);
}

.diary-write-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  margin: 0 -24px;
  background: #ffffff;
}

.diary-write-view__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 48px 24px 16px;
  border-bottom: 1px solid #f3f4f6;
  box-sizing: border-box;
}

.diary-write-view__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f2937;
}

.diary-write-view__icon-button:focus-visible,
.diary-write-view__save-button:focus-visible,
.diary-write-view__mood-button:focus-visible,
.diary-write-view__textarea:focus-visible {
  outline: 2px solid #6c8ec4;
  outline-offset: 2px;
}

.diary-write-view__save-button {
  flex-shrink: 0;
  min-width: 32px;
  border: 0;
  padding: 4px 0 4px 6px;
  background: transparent;
  color: #ff9a62;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: right;
  white-space: nowrap;
  overflow: visible;
}

.diary-write-view__save-button:disabled {
  color: #c9ced6;
}

.diary-write-view__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 24px 24px 0;
  box-sizing: border-box;
}

.diary-write-view__mood-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #f4efff;
  color: #111827;
  line-height: 1;
  cursor: pointer;
}

.diary-write-view__mood-button.is-empty {
  color: #8b94a7;
  font-size: 22px;
  font-weight: 600;
}

.diary-write-view__mood-image {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  pointer-events: none;
}

.diary-write-view__mood-button--happy {
  background: #d8c6ff;
}

.diary-write-view__mood-button--calm {
  background: #ffe6a8;
}

.diary-write-view__mood-button--excited {
  background: #e5e7eb;
}

.diary-write-view__mood-button--sad {
  background: #b7d2ff;
}

.diary-write-view__mood-button--angry {
  background: #ffb4a2;
}

.diary-write-view__mood-button--tired {
  background: #c6e6bf;
}

.diary-write-view__date {
  margin: 16px 0 0;
  color: #6a7282;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.428;
  text-align: center;
}

.diary-write-view__section {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.diary-write-view__section--body {
  flex: 1;
  min-height: 0;
  margin-top: 24px;
}

.diary-write-view__title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 26px;
  overflow: visible;
}

.diary-write-view__title {
  margin: 0;
  display: block;
  padding: 2px 0;
  color: #0a0a0a;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.diary-write-view__textarea-card {
  display: flex;
  margin-top: 16px;
  padding: 16px;
  min-height: 210px;
  border-radius: 16px;
  background: #f5f5f5;
  box-sizing: border-box;
  overflow: hidden;
}

.diary-write-view__textarea {
  width: 100%;
  height: 178px;
  min-height: 178px;
  border: 0;
  background: transparent;
  color: #374151;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  overflow-y: auto;
  overscroll-behavior: contain;
  resize: none;
}

.diary-write-view__textarea::placeholder {
  color: #9ca3af;
}

.diary-write-view__count-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  min-height: 18px;
  overflow: visible;
}

.diary-write-view__count {
  display: block;
  padding: 2px 0;
  color: #99a1af;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 480px) {
    .app-shell {
        padding: 0;
    }

    .phone-shell {
        width: 100%;
        min-height: 100svh;
        border-radius: 0;
        box-shadow: none;
    }

    .phone-shell--signup {
        height: 100svh;
    }

    .auth-screen {
        min-height: 100svh;
    }
}
