#garden_diary { padding-bottom: 40px; }
#garden_diary .gd-tab { display: flex; border-bottom: 1px solid #e5e5e5; margin: 0; padding: 0; list-style: none; }
#garden_diary .gd-tab li { flex: 1; text-align: center; }
#garden_diary .gd-tab a { display: block; padding: 14px 0 12px; font-size: 16px; color: #222; border-bottom: 3px solid transparent; }
#garden_diary .gd-tab li.on a { color: #29b80e; font-weight: 700; border-bottom-color: #29b80e; }

#garden_diary .gd-form { padding: 8px 20px 0; }
#garden_diary .gd-field { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
#garden_diary .gd-label { display: block; padding: 0; margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #222; }
#garden_diary .gd-label span { font-weight: 400; }
#garden_diary .gd-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; color: #222; background-color: #fff; }
#garden_diary select.gd-input { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23666' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; text-overflow: ellipsis; }
#garden_diary select.gd-input:disabled { color: #222; background-color: #f6f6f6; opacity: 1; }
#garden_diary .gd-textarea { position: relative; }
#garden_diary .gd-textarea textarea { width: 100%; height: 160px; padding: 14px 28px 14px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; line-height: 1.6; resize: vertical; }
#garden_diary .gd-required { position: absolute; top: 12px; right: 14px; color: #e53935; font-size: 16px; }
#garden_diary .gd-count { margin: 8px 0 0; font-size: 13px; color: #555; }

#garden_diary .gd-task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#garden_diary .gd-task-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 92px; padding: 30px 2px 12px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; text-align: center; }
#garden_diary .gd-task-card input { position: absolute; opacity: 0; width: 24px; height: 24px; top: 6px; left: 6px; margin: 0; cursor: pointer; }
#garden_diary .gd-check { position: absolute; top: 8px; left: 8px; width: 18px; height: 18px; border: 1px solid #ccc; border-radius: 4px; background: #fff; }
#garden_diary .gd-task-card input:checked ~ .gd-check { border-color: #29b80e; background: #29b80e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center; }
#garden_diary .gd-task-card input:checked ~ .gd-task-name { color: #29b80e; font-weight: 700; }
#garden_diary .gd-task-card:has(input:focus-visible) { outline: 2px solid #29b80e; outline-offset: 2px; }
#garden_diary .gd-task-card img { width: 34px; height: 34px; margin-bottom: 8px; }
#garden_diary .gd-task-name { font-size: 12.5px; color: #333; line-height: 1.3; word-break: keep-all; }

#garden_diary .gd-photo-add { display: flex; flex-direction: column; align-items: center; padding: 22px 10px; border: 1px dashed #ccc; border-radius: 8px; cursor: pointer; }
#garden_diary #gd_file_pick:focus-visible ~ .gd-photo-add { outline: 2px solid #29b80e; outline-offset: 2px; }
#garden_diary .gd-photo-add img { width: 32px; height: 32px; margin-bottom: 8px; }
#garden_diary .gd-photo-add b { font-size: 15px; color: #29b80e; }
#garden_diary .gd-photo-add span { margin-top: 6px; font-size: 13px; color: #555; }
#garden_diary .gd-photo-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
#garden_diary .gd-photo-list:empty { display: none; }
#garden_diary .gd-photo { position: relative; padding-top: 100%; border-radius: 8px; overflow: hidden; background: #f3f3f3; }
#garden_diary .gd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#garden_diary .gd-photo-del { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; line-height: 24px; padding: 0; }

#garden_diary .gd-public { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#garden_diary .gd-public-card { position: relative; display: flex; gap: 8px; padding: 16px 10px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; }
#garden_diary .gd-public-card input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
#garden_diary .gd-radio { flex: none; width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 50%; background: #fff; }
#garden_diary .gd-public-card input:checked + .gd-radio { border: 6px solid #29b80e; }
#garden_diary .gd-public-txt { min-width: 0; }
#garden_diary .gd-public-card:has(input:focus-visible) { outline: 2px solid #29b80e; outline-offset: 2px; }
#garden_diary .gd-public-txt b { display: block; font-size: 15px; color: #222; }
#garden_diary .gd-public-txt em { font-style: normal; font-size: 13px; color: #29b80e; }
#garden_diary .gd-public-txt > span { display: block; margin-top: 4px; font-size: 12px; color: #555; line-height: 1.5; word-break: keep-all; }

#garden_diary .gd-submit { display: block; width: 100%; height: 52px; margin-top: 32px; border: 0; border-radius: 8px; background: #29b80e; color: #fff; font-size: 16px; font-weight: 700; }
#garden_diary .gd-submit:disabled { opacity: .6; }

#garden_diary .gd-list { padding: 0 20px; }
#garden_diary .gd-item { padding: 22px 0; border-bottom: 1px solid #eee; }
#garden_diary .gd-item-head { display: flex; justify-content: space-between; gap: 12px; }
#garden_diary .gd-item-head b { display: block; font-size: 15px; color: #222; }
#garden_diary .gd-item-head span { display: block; margin-top: 2px; font-size: 13px; color: #555; }
#garden_diary .gd-item-head .gd-open { flex: none; margin: 0; font-size: 13px; color: #333; }
#garden_diary .gd-date { margin: 10px 0 0; font-size: 13px; color: #555; }
#garden_diary .gd-text { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #222; word-break: break-all; }
#garden_diary .gd-edit { display: block; margin-top: 14px; padding: 10px 0; border: 1px solid #ccc; border-radius: 8px; text-align: center; font-size: 14px; color: #333; }

.gd-tasks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gd-task { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid #e5e5e5; border-radius: 14px; font-size: 12px; color: #333; }
.gd-task img { width: 16px; height: 16px; }
.gd-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.gd-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; cursor: pointer; }

section#tab-content > div#garden { padding: 0 0 40px; }
#garden .re_content_box .gd-tasks { margin: 0 0 10px; }
#gd_loc_list { padding: 0 20px 40px; }
#gd_loc_list .gd-item { padding: 22px 0; border-bottom: 1px solid #eee; }
#gd_loc_list .gd-item-head { display: flex; align-items: center; gap: 10px; }
#gd_loc_list .gd-item-head b { display: block; font-size: 15px; color: #222; }
#gd_loc_list .gd-item-head span { display: block; margin-top: 2px; font-size: 13px; color: #555; }
#gd_loc_list .gd-text { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #222; word-break: break-all; }
.loc_nav .nav.gd-on { justify-content: flex-start; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.loc_nav .nav.gd-on::-webkit-scrollbar { display: none; }
.loc_nav .nav.gd-on .nav-item { flex: 0 0 auto; width: auto; }
#gd_loc_list .review_profile { width: 34px; height: 34px; flex-basis: 34px; border: 1px solid #a7e57e; border-radius: 50%; object-fit: cover; }
