.parcel-container {
    max-width: 1100px;
    margin: auto;
    padding: 35px 24px 70px;
}

.parcel-result,
.detail-section {
    background: #fff;
    border: 1px solid #e0e6e1;
    border-radius: 10px;
    padding: 28px;
    margin: 20px 0;
}

.parcel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.parcel-heading h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.parcel-heading p,
.muted {
    color: #78817b;
    font-size: 13px;
}

.parcel-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.stat-item {
    background: #f4f7f5;
    border: 1px solid #e1e9e3;
    border-radius: 8px;
    padding: 20px 12px;
    text-align: center;
}

.stat-item span,
.stat-item small {
    display: block;
    color: #68756c;
    font-size: 13px;
}

.stat-item strong {
    display: block;
    font-size: 34px;
    color: #28734d;
    margin: 10px 0;
}

.parcel-basic {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #657269;
    font-size: 14px;
    padding: 8px 0 20px;
}

.parcel-owner-cta {
    border-top: 1px solid #e1e6e2;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.parcel-owner-cta p {
    color: #68756c;
    font-size: 14px;
}

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 600;
}

.btn-primary {
    background: #28734d;
    color: #fff;
}

.btn-outline {
    border: 1px solid #28734d;
    color: #28734d;
}

.section-label {
    font-size: 12px;
    color: #28734d;
    letter-spacing: 2px;
}

.detail-section h1 {
    font-size: 30px;
}

.detail-section h2 {
    font-size: 21px;
    margin-top: 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-grid > div {
    padding: 15px;
    border-bottom: 1px solid #e5e9e6;
}

.property-grid span {
    display: block;
    color: #78817b;
    font-size: 13px;
    margin-bottom: 10px;
}

.property-grid strong {
    font-size: 18px;
}

.information-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #e5e9e6;
}

.information-row p {
    font-size: 14px;
    color: #657269;
}

.price {
    font-size: 22px;
    color: #28734d;
}

.empty-text,
.locked-text {
    color: #78817b;
    font-size: 14px;
}

.membership-cta {
    text-align: center;
    background: #edf4ef;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.action-grid > div {
    padding: 20px 10px;
    text-align: center;
    border: 1px solid #b9d2c2;
    border-radius: 6px;
    color: #28734d;
    font-weight: 600;
}

@media (max-width: 700px) {
    .parcel-stats,
    .property-grid,
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parcel-heading,
    .parcel-owner-cta,
    .information-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .parcel-result,
    .detail-section {
        padding: 20px;
    }

    .detail-section h1 {
        font-size: 24px;
    }
}

.interest-notice {
    background: #edf6ef;
    border: 1px solid #c5ddcc;
    border-left: 4px solid #28734d;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.interest-notice strong,
.interest-notice h2 {
    color: #28734d;
}

.interest-notice p {
    margin-bottom: 0;
    font-size: 14px;
}

.owner-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.owner-action-buttons a {
    text-align: center;
}

/* Personal ownership state */

.my-ownership-notice {
    padding: 20px;
    margin: 18px 0;
    background: #edf6ef;
    border: 1px solid #c5ddcc;
    border-left: 4px solid #28734d;
    border-radius: 6px;
}

.my-ownership-notice strong,
.my-ownership-label {
    color: #28734d;
}

.my-ownership-notice p {
    color: #657269;
    font-size: 14px;
    margin-bottom: 0;
}

.my-ownership-pending {
    background: #fffbef;
    border: 1px solid #e9d8a9;
    border-radius: 6px;
    padding: 20px;
    margin: 18px 0;
}

.action-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(170px, 1fr));
    align-items: stretch;
}

.action-grid > a,
.action-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    min-height: 48px;
    box-sizing: border-box;
}

@media (max-width: 700px) {

    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .action-grid > a,
    .action-grid > div {
        font-size: 13px;
        padding: 12px 8px;
    }
}

.owner-message-form {
    margin-top: 12px;
}

.owner-message-form button {
    cursor: pointer;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 5px;
    background: white;
}

/* Ownership membership labels */

.owner-member-label,
.owner-guest-label {
    display: inline-block;
    padding: 3px 8px;
    margin-left: 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}

.owner-member-label {
    background: #e8f4ec;
    color: #28734d;
}

.owner-guest-label {
    background: #f0f0f0;
    color: #777;
}

.guest-message-notice {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}


/* 토지소유정보 API */

.ownership-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 25px 0 30px;
}

.ownership-date-card {
    padding: 25px;
    border: 1px solid #dce5de;
    border-radius: 8px;
    background: #fff;
}

.ownership-date-card.primary {
    background: #edf6ef;
    border-color: #c5ddcc;
}

.ownership-date-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #52655a;
}

.ownership-date-card strong {
    display: block;
    margin: 12px 0;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.ownership-date-card.primary strong {
    font-size: 34px;
    color: #28734d;
}

.ownership-date-card p {
    margin: 0;
    font-size: 13px;
    color: #6c7a70;
}

.parcel-info-heading {
    margin: 30px 0 15px;
    font-size: 18px;
    font-weight: 700;
}

.official-total-value {
    margin: 18px 0;
    padding: 24px;
    background: #f4f7f4;
    border: 1px solid #e1e8e2;
    border-radius: 8px;
}

.official-total-value span {
    display: block;
    font-size: 14px;
    color: #68766c;
}

.official-total-value strong {
    display: block;
    margin: 10px 0;
    font-size: 30px;
    color: #28734d;
    overflow-wrap: anywhere;
}

.official-total-value p {
    margin: 0;
    font-size: 12px;
    color: #78817b;
}

.ownership-history-wrapper {
    overflow-x: auto;
}

.ownership-history {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ownership-history th {
    padding: 14px;
    text-align: left;
    background: #f4f6f4;
    color: #56665b;
    white-space: nowrap;
}

.ownership-history td {
    padding: 15px 14px;
    border-bottom: 1px solid #e5eae5;
    white-space: nowrap;
}

.possession-disclaimer {
    margin-top: 22px;
    font-size: 12px;
    color: #78817b;
    line-height: 1.7;
}

@media (max-width: 600px) {

    .ownership-date-grid {
        grid-template-columns: 1fr;
    }

    .ownership-date-card {
        padding: 20px;
    }

    .ownership-date-card.primary strong {
        font-size: 30px;
    }

    .official-total-value strong {
        font-size: 25px;
    }

}


/* Ownership recheck notice */

.ownership-recheck-notice {
    background: #fffbeb;
    border: 1px solid #e8ce89;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #78350f;
    line-height: 1.7;
}

.ownership-recheck-notice strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ownership-recheck-notice p {
    font-size: 14px;
    margin: 6px 0;
}

.ownership-recheck-notice small {
    display: block;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
}


/* Ownership recheck notice */

.ownership-recheck-notice {
    background: #fffbeb;
    border: 1px solid #e8ce89;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #78350f;
    line-height: 1.7;
}

.ownership-recheck-notice strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ownership-recheck-notice p {
    font-size: 14px;
    margin: 6px 0;
}

.ownership-recheck-notice small {
    display: block;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
}


/* 관심 토지 등록 버튼 */

.favorite-action {
    margin: 0;
    width: 100%;
}

.favorite-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    box-sizing: border-box;
    border: 1px solid #d7dce0;
    border-radius: 6px;
    background: #ffffff;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.favorite-btn:hover {
    background: #fffaf0;
    border-color: #c59a35;
    color: #92701f;
}

.favorite-btn-active {
    background: #fff8e5;
    border-color: #d8b65a;
    color: #92701f;
}



/* 소유주 등록정보 신고 */

.ownership-report-action {
    margin-top: 12px;
    text-align: right;
}

.ownership-report-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    color: #89918b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ownership-report-link:hover {
    color: #b33e38;
    text-decoration: underline;
}

/* 소유주 등록일시 */

.information-row .owner-registered-date {
    font-size: 12px;
    font-weight: 400;
    color: #89918b;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 소유주 등록정보 공개 제한 */

.ownership-restriction-notice {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #fed7aa;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    background: #fff7ed;
    color: #92400e;
    font-size: 14px;
    line-height: 1.7;
}

.ownership-restriction-notice > strong {
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
}

.ownership-restriction-notice p {
    margin: 8px 0;
}

.restriction-owner-message {
    margin: 15px 0;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.restriction-date {
    font-size: 12px;
    color: #9a6535;
}
