.sangjung-hero h1 {
    line-height: 1.25;
}

.sangjung-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: start;
    gap: 20px;
}

.sangjung-editor {
    position: sticky;
    top: 98px;
}

.sangjung-editor label {
    display: block;
    margin-bottom: 16px;
    color: var(--subtle);
    font-size: 13px;
    font-weight: 600;
}

.hall-search {
    position: relative;
    display: block;
}

.hall-search input {
    padding-right: 74px;
}

.lookup {
    position: absolute;
    right: 5px;
    bottom: 5px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    color: var(--white);
    background: var(--pine-soft);
    cursor: pointer;
}

.hall-results {
    max-height: 195px;
    overflow-y: auto;
    margin: -7px 0 17px;
    border-radius: 8px;
}

.hall-results:empty {
    display: none;
}

.hall-result,
.no-results {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--subtle);
    background: #f7f5ee;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.hall-result {
    cursor: pointer;
}

.hall-result strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
}

.hall-result:hover,
.hall-result.selected {
    background: #e8ede4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.notice-print-button {
    border: 0;
}

.notice-preview {
    min-height: 1075px;
}

.preview-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.preview-heading .panel-title {
    margin: 0;
}

.preview-heading span {
    padding: 7px 12px;
    border-radius: 20px;
    color: var(--pine);
    background: #eef1e7;
    font-size: 13px;
    font-weight: 600;
}

.notice-stage {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    overflow-x: auto;
    border-radius: 12px;
    background: #f6f2e9;
}

.notice-paper {
    position: relative;
    flex: 0 0 auto;
    width: 600px;
    height: 1000px;
    max-width: none;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    color: #111;
    background: url("/sangjung/test.png") center 46px / 540px 540px no-repeat #fff;
    font-family: "Hahmlet", "Batang", serif;
    text-align: left;
}

.notice-paper .notice-message {
    position: absolute;
    top: 600px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0 50px;
    font-size: 22px;
    line-height: normal;
    text-align: center;
}

.notice-paper .notice-message span {
    display: inline;
    margin-top: 0;
}

.notice-divider {
    position: absolute;
    top: 730px;
    left: 0;
    width: 100%;
    border-top: 1px dotted #7a7373;
}

.notice-hall {
    position: absolute;
    top: 740px;
    left: 0;
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.notice-room {
    position: absolute;
    top: 767px;
    left: 0;
    width: 100%;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.notice-mobile {
    position: absolute;
    top: 790px;
    left: 0;
    width: 100%;
    font-size: 24px;
    text-align: center;
}

.notice-address {
    position: absolute;
    top: 830px;
    left: 0;
    width: 100%;
    padding: 0 50px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.notice-phone {
    position: absolute;
    top: 905px;
    left: 0;
    width: 100%;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.sangjung-print-area {
    display: none;
}

@media (max-width: 1180px) {
    .sangjung-grid {
        grid-template-columns: 1fr;
    }

    .sangjung-editor {
        position: static;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    html,
    body {
        width: 210mm;
        height: 297mm;
        margin: 0 !important;
        overflow: hidden;
        background: #fff !important;
    }

    body > header,
    body > main {
        display: none !important;
    }

    .sangjung-print-area {
        display: block;
        position: fixed;
        inset: 0;
        width: 210mm;
        height: 297mm;
        margin: 0;
        overflow: hidden;
    }

    .print-paper {
        position: absolute;
        inset: 0;
        width: 210mm;
        height: 297mm;
        margin: 0 !important;
        overflow: hidden;
        background: url("/sangjung/test.png") center 10% / 90% auto no-repeat #fff;
        break-after: avoid;
        break-inside: avoid;
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    .print-paper .notice-message {
        top: 685px;
        padding: 0 50px;
        font-size: 25px;
        line-height: 1.55;
    }

    .print-paper .notice-divider {
        top: 823px;
    }

    .print-paper .notice-hall {
        top: auto;
        bottom: 236px;
    }

    .print-paper .notice-room {
        top: auto;
        bottom: 200px;
    }

    .print-paper .notice-mobile {
        top: auto;
        bottom: 164px;
    }

    .print-paper .notice-address {
        top: 961px;
        padding: 0 100px;
    }

    .print-paper .notice-phone {
        top: auto;
        bottom: 49px;
    }
}
