/* =========================
   Spring Leaf - photo page
   ========================= */

/* 전체 프레임 */
/** {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    background: #f4f6f1;
    color: #1f2937;
}

.pc-frame {
    display: flex;
    min-height: 100vh;
    background: #f4f6f1;
}

.pc-side {
    flex: 1;
    background: #eef3ea;
}

.page-shell {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    background: #ffffff;
    border-left: 1px solid #e5eadf;
    border-right: 1px solid #e5eadf;
} */

/* =========================================================
   Spring Leaf - Photo Page Only
   - 공통 프레임은 style.css 사용
   - photo.css는 .photo-page 안에서만 작동
========================================================= */

.photo-page {
    padding: 20px 16px 40px;
    background: #f7f8f4;
    min-height: 100vh;
}

/* 사진 페이지 안쪽 요소만 box-sizing 적용 */
.photo-page,
.photo-page * {
    box-sizing: border-box;
}

.photo-page {
    padding: 20px 16px 40px;
    background: #f7f8f4;
    min-height: 100vh;
}

/* 상단 헤더 */
.photo-header {
    position: relative;
    min-height: 42px;
    margin-bottom: 18px;
}

.photo-back-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border:1px solid #dfe7d7;
    border-radius: 14px;
    background:  #ffffff;
    color:  #4b5563;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.photo-header-text {
    width: 100%;
    text-align: center;
}

.photo-header-text h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
}

.photo-header-text p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* 상단 탭 */
.photo-tabs {
    display: flex;
    flex-wrap: nowrap;   /* 줄바꿈 금지 */
    gap: 4px;
    margin-bottom: 18px;
    width: 100%;
}

.photo-tab {
    flex: 1 1 0;         /* 3개를 같은 폭으로 강제 */
    min-width: 0;
    height: 40px;
    padding: 0 2px;

    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.6px;
    white-space: nowrap;

    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-tab.active {
    background: #7fbf5b;
    border-color: #7fbf5b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(127, 191, 91, 0.25);
}

/* 탭 패널 */
.photo-tab-panel {
    display: none;
}

.photo-tab-panel.active {
    display: block;
}


/* ===== 초미니 달력 ===== */

/* 카드 */
.photo-card,
.photo-calendar-card {
    background: #ffffff;
    border: 1px solid #e3ecd9;
    border-radius: 20px;
    padding: 12px 10px;   /* ↓ 줄임 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

/* 제목 */
.photo-card h3,
.photo-calendar-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

/* ===== 달력 상단 ===== */
.photo-calendar-top {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.photo-calendar-top h2 {
    margin: 0;
    text-align: center;
    font-size: 15px;   /* ↓ 줄임 */
    color: #27452d;
    font-weight: 800;
}

/* 화살표 */
.calendar-arrow {
    width: 28px;
    height: 28px;
    border: 1px solid #dfe7d7;
    border-radius: 10px;
    background: #f8faf5;
    font-size: 14px;
}

/* ===== 요일 ===== */
.photo-week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}

.photo-week-row span {
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
}

/* ===== 날짜 ===== */
.photo-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
}

.photo-date {
    position: relative;
    height: 28px;           /* 🔥 핵심 */
    border-radius: 8px;
    background: #f7f9f5;
    font-size: 11px;
    font-weight: 700;
    border: none;
}

/* 이전/다음 달 */
.photo-date.muted {
    opacity: 0.3;
}

/* 선택 */
.photo-date.selected {
    background: #7fbf5b;
    color: #fff;
}

/* ===== 기록 표시 (점으로 변경) ===== */
.photo-date-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;

    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f39a2e;

    font-size: 0;  /* 숫자 숨김 */
}






/* 선택 날짜 */
.photo-selected-date {
    margin-bottom: 16px;
    padding: 0 2px;
}

.photo-selected-date p {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
}

.photo-selected-date strong {
    color: #1f2937;
}

/* 날짜 비교 */
.photo-date-picker-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

#photo-date-picker {
    flex: 1;
    height: 44px;
    border: 1px solid #cfe6bf;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
    background: #ffffff;
    color: #1f2a1f;
}

#load-photo-date-btn {
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 12px;
    background: #7fbf5b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.photo-date-result p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #4b5563;
}

.photo-date-result p:last-child {
    margin-bottom: 0;
}

/* 6칸 공통 */
.photo-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.photo-slot {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-slot-label {
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #334155;
}

.photo-slot-box {
    min-height: 104px;
    border: 1.5px dashed #d8e5cc;
    border-radius: 16px;
    background: #fcfdfb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b7c3;
    font-size: 14px;
    overflow: hidden;
}

.photo-slot-image,
.upload-slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 촬영 가이드 */
.photo-guide-text {
    margin-top: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.photo-camera-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    border: 2px dashed #cfe6bf;
    border-radius: 18px;
    background: #f8fcf5;
    overflow: hidden;
    margin-bottom: 14px;
}

.photo-camera-preview {
    width: 100%;
    max-width: 210px;
    height: auto;
    display: block;
}

/* 숨김 input */
.photo-hidden-input {
    display: none;
}

/* 버튼 */
.photo-camera-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.photo-sub-btn,
.photo-main-capture-btn,
.photo-save-btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.photo-sub-btn {
    background: #eef7e8;
    color: #5e9f3b;
    border: 1px solid #cfe6bf;
}

.photo-main-capture-btn {
    background: #101418;
    color: #ffffff;
}

.photo-save-btn {
    background: #f39a2e;
    color: #ffffff;
}

/* 업로드 링크 */
.photo-upload-inline {
    margin-top: 12px;
    text-align: right;
}

.photo-upload-inline-link {
    font-size: 13px;
    color: #7c8695;
    text-decoration: underline;
    cursor: pointer;
}

/* 저장 위치 선택 안내 */
.photo-slot-help {
    margin: 0 2px 14px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* 저장 위치 6칸 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.slot {
    min-height: 92px;
    border: 1.5px dashed #d7e5cc;
    border-radius: 16px;
    background: #fcfdfb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.slot.selected {
    border: 2px solid #7fbf5b;
    background: #eef7e8;
    box-shadow: 0 0 0 3px rgba(127, 191, 91, 0.12);
}

.slot-label {
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
}

/* 분석 */
.photo-analysis-wrapper {
    margin-top: 8px;
}

.photo-analysis-action {
    margin-bottom: 10px;
}

.photo-analysis-toggle-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: #eaf6e2;
    color: #3f6d32;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.photo-analysis-panel.is-hidden {
    display: none;
}

.photo-analysis-box {
    background: #ffffff;
    border: 1px solid #e3ecd9;
    border-radius: 18px;
    padding: 16px;
}

.photo-analysis-box h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
}

.photo-analysis-box p {
    margin: 0 0 14px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.photo-analysis-box p:last-child {
    margin-bottom: 0;
}

/* 모바일 */
@media (max-width: 640px) {
    .pc-side {
        display: none;
    }

    .page-shell {
        max-width: 100%;
        border-left: none;
        border-right: none;
    }

    .photo-page {
        padding: 16px 14px 30px;
    }

    .photo-slot-grid,
    .photo-grid {
        gap: 10px;
    }

    .photo-camera-actions {
        gap: 8px;
    }

    .photo-sub-btn,
    .photo-main-capture-btn,
    .photo-save-btn {
        font-size: 14px;
    }
}

/* =========================
   탭3 - 사진 준비 / 미리보기
   ========================= */

/* 가이드가 들어가는 큰 박스 */
.photo-camera-frame {
    min-height: 260px;
    border: 2px dashed #cfe6bf;
    border-radius: 20px;
    background: #f8fcf5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 14px;
    margin-bottom: 16px;
    position: relative;
}

/* 박스 안 촬영 가이드 문구 */
.photo-guide-inside {
    width: 100%;
    max-width: 270px;
    text-align: left;
    color: #5f6b76;
    font-size: 14px;
    line-height: 1.75;
    padding: 18px 20px;
}

.guide-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
}

/* 실제 사진 미리보기 */
.photo-camera-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 숨김 input */
.photo-hidden-input {
    display: none;
}

/* 상단 버튼 2개 */
.photo-camera-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.photo-main-capture-btn,
.photo-upload-btn {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.photo-main-capture-btn {
    background: #101723;
    color: #ffffff;
    border: none;
}

.photo-upload-btn {
    background: #101723;
    color: #ffffff;
    border: none;
}

/* 안내 문구 */
.photo-slot-help {
    margin: 0 0 14px 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* 결과 6칸 */
.photo-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 12px;
}

.photo-slot {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-slot-label {
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.photo-slot-box {
    position: relative;
    min-height: 112px;
    border: 1.5px dashed #d7e5cc;
    border-radius: 16px;
    background: #fcfdfb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.photo-slot-empty {
    font-size: 14px;
    color: #c0c7d1;
}

/* 삭제 버튼 */
.photo-slot-delete {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 24px;
    padding: 0 8px;
    border: none;
    border-radius: 999px;
    background: rgba(16, 23, 35, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: none;
}

/* 사진이 들어간 칸만 삭제 버튼 보이게 */
.photo-slot-box.has-image .photo-slot-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 모달 */
.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.photo-modal.is-hidden {
    display: none;
}

.photo-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.photo-modal-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 420px;
    margin: 60px auto 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 18px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.photo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.photo-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.photo-modal-close-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
}

/* 모달 미리보기 */
.photo-modal-preview-wrap {
    width: 100%;
    height: 220px;
    border: 1.5px solid #e5eadf;
    border-radius: 18px;
    overflow: hidden;
    background: #f8faf5;
    margin-bottom: 12px;
}

.photo-modal-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-modal-guide {
    margin: 0 0 14px 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* 모달 위치 선택 버튼들 */
.photo-modal-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.photo-modal-slot {
    min-height: 46px;
    border: 1px solid #d9e7cf;
    border-radius: 14px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.photo-modal-slot.selected {
    background: #7fbf5b;
    border-color: #7fbf5b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(127, 191, 91, 0.2);
}

/* 모달 하단 버튼 */
.photo-modal-actions {
    display: flex;
    gap: 10px;
}

.photo-modal-sub-btn,
.photo-modal-save-btn {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    border: none;
}

.photo-modal-sub-btn {
    background: #eef7e8;
    color: #5e9f3b;
    border: 1px solid #cfe6bf;
}

.photo-modal-save-btn {
    background: #f39a2e;
    color: #ffffff;
}

/* 모바일 조금 더 촘촘하게 */
@media (max-width: 420px) {
    .photo-modal-content {
        width: calc(100% - 20px);
        margin-top: 36px;
        padding: 16px 14px 14px;
    }

    .photo-modal-preview-wrap {
        height: 200px;
    }

    .photo-modal-slot-grid {
        gap: 8px;
    }

    .photo-slot-grid {
        gap: 12px 10px;
    }
}

.photo-camera-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 핵심 */
}

.photo-slot-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 10px;
    font-size: 11px;
    padding: 2px 6px;
}

.photo-slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   사진 페이지 탭 버튼 줄바꿈 방지
========================================================= */
.photo-page .photo-tab {
    white-space: nowrap;
    word-break: keep-all;
    font-size: 14px;
    height: 42px;
    padding: 0 8px;
}

/* 촬영 버튼 (메인) */
.photo-main-capture-btn {
    background: #6fcf97;
    color: #ffffff;
}

/* 사진 가져오기 버튼 (서브) */
.photo-upload-btn {
    background: #e9f3dd;
    color: #4d7a35;
    border: 1px solid #bcd59f;
}

/* =========================================================
   사진 페이지 촬영 버튼 색상 최종 덮어쓰기
========================================================= */
.photo-page .photo-main-capture-btn {
    background: #6fcf97 !important;
    color: #ffffff !important;
    border: none !important;
}

.photo-page .photo-upload-btn {
    background: #e9f3dd !important;
    color: #4d7a35 !important;
    border: 1px solid #bcd59f !important;
}

/* =========================================================
   사진 페이지 뒤로가기 버튼 최종 덮어쓰기
========================================================= */
.photo-page .photo-back-btn {
    background: #ffffff !important;
    color: #4b5563 !important;
    border: 1px solid #dfe7d7 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
}

/* ===== 사진 크게 보기 모달 ===== */

.photo-view-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.photo-view-modal.is-hidden {
    display: none;
}

.photo-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.photo-view-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 430px;
    margin: 48px auto 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.photo-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.photo-view-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.photo-view-close-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
}

.photo-view-image-wrap {
    width: 100%;
    max-height: 70vh;
    border-radius: 18px;
    background: #f8faf5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-view-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.photo-view-actions {
    margin-top: 14px;
}

.photo-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 14px;
    background: #7fbf5b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

/* 사진 크게 보기 모달 숨김 처리 */
.photo-view-modal.is-hidden {
    display: none !important;
}

.photo-view-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.photo-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.photo-view-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 430px;
    margin: 48px auto 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 18px;
}

.photo-view-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* ===== 모바일 상단 탭 강제 정리 ===== */
.photo-page {
    overflow-x: hidden !important;
}

.photo-tabs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 18px !important;
}

.photo-tab {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 40px !important;
    padding: 0 2px !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: -0.6px !important;
    white-space: nowrap !important;

    border-radius: 13px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================
   📸 탭2 - 피부변화 비교 전용
========================= */

/* 날짜 선택 줄 */
.photo-date-picker-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.photo-date-picker-row input {
    flex: 1;
    height: 42px;
    border: 1px solid #d9dfd1;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
    background: #ffffff;
}

.photo-date-picker-row button {
    height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 12px;
    background: #7aaa5a;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* 최근 사진 상단 */
.photo-compare-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.photo-compare-top p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

/* 최근 사진 버튼 */
#load-latest-photo-btn {
    border: none;
    background: #e7f1dd;
    color: #355f26;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#load-latest-photo-btn:hover {
    background: #d6e9c7;
}

/* 사진 슬롯 */
.photo-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.photo-slot {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.photo-slot-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.photo-slot-box {
    height: 100px;
    border-radius: 12px;
    background: #f7f8f4;
    border: 1px solid #e3e7dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9ca3af;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* 이미지 들어갔을 때 */
.photo-slot-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 클릭 느낌 */
.photo-slot-box:hover {
    transform: scale(1.03);
    transition: 0.2s;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    .photo-slot-box {
        height: 90px;
    }
}

/* 분석 버튼 */
.photo-analysis-toggle-btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: #6fbf73;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.photo-analysis-toggle-btn:hover {
    background: #5aa95e;
}

/* 분석 영역 */
.photo-analysis-panel {
    margin-top: 12px;
}

.photo-analysis-panel.is-hidden {
    display: none;
}

.photo-analysis-box {
    background: #ffffff;
    border: 1px solid #e5eadf;
    border-radius: 14px;
    padding: 14px;
}

.photo-analysis-box h4 {
    margin: 10px 0 6px;
    font-size: 14px;
    font-weight: 800;
}

.photo-analysis-box p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}