body.om-public-body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 212, 148, 0.35), transparent 35%),
        linear-gradient(180deg, #f4f8ff 0%, #f9fbff 45%, #eef4ff 100%);
    color: #16304c;
    font-family: "Noto Sans KR", sans-serif;
}

.om-public-body * {
    box-sizing: border-box;
}

.om-public-shell {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0 72px;
}

.om-public-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.om-public-brand {
    color: #17406b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.om-back-link {
    color: #17406b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.om-hero-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.om-panel,
.om-form-card,
.om-complete-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 64, 107, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(27, 70, 118, 0.12);
    backdrop-filter: blur(10px);
}

.om-panel {
    padding: 28px;
    position: sticky;
    top: 24px;
}

.om-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(57, 140, 255, 0.12);
    color: #1450a3;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.om-panel h1,
.om-complete-card h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: #0f2943;
}

.om-panel p {
    margin: 0 0 18px;
    color: #556b85;
    line-height: 1.7;
}

.om-summary-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}

.om-summary-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(23, 64, 107, 0.08);
}

.om-summary-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #2f5c88;
}

.om-summary-item span {
    display: block;
    color: #1a3550;
    line-height: 1.6;
    white-space: pre-line;
}

.om-form-card {
    padding: 28px;
}

.om-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.om-form-header h2 {
    margin: 0;
    font-size: 28px;
    color: #102946;
}

.om-form-header p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.7;
}

.om-form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.om-page-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e7f1ff;
    color: #15508f;
    font-size: 12px;
    font-weight: 800;
}

.om-page-badge.soft {
    background: #f6f9fd;
    color: #5d728c;
    border: 1px solid #dce6f2;
}

.om-alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.om-alert.success {
    background: #e9fff2;
    color: #13653a;
    border: 1px solid #bde8cc;
}

.om-alert.error {
    background: #fff1f2;
    color: #a11b2b;
    border: 1px solid #f5c2c7;
}

.om-alert.info {
    background: #eef6ff;
    color: #184b7e;
    border: 1px solid #cfe0f5;
}

.om-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(23, 64, 107, 0.08);
}

.om-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.om-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.om-section-title h3 {
    margin: 0;
    font-size: 20px;
    color: #153455;
}

.om-section-title p {
    margin: 6px 0 0;
    color: #6f8299;
    font-size: 14px;
}

.om-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.om-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.om-field.full {
    grid-column: 1 / -1;
}

.om-field label {
    font-size: 14px;
    font-weight: 700;
    color: #223f60;
}

.om-field label .required {
    color: #dc2626;
}

.om-input,
.om-select,
.om-textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #d9e4f1;
    background: #fbfdff;
    color: #18314f;
    font-size: 15px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.om-input:focus,
.om-select:focus,
.om-textarea:focus {
    border-color: #4d8ef7;
    box-shadow: 0 0 0 4px rgba(77, 142, 247, 0.12);
}

.om-textarea {
    min-height: 110px;
    resize: vertical;
}

.om-inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.om-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #fff8ea 100%);
}

.om-check-row input {
    width: 18px;
    height: 18px;
}

.om-doc-actions,
.om-submit-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.om-btn,
.om-add-button,
.om-remove-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.om-btn:hover,
.om-add-button:hover,
.om-remove-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 80, 163, 0.16);
}

.om-btn.primary {
    background: linear-gradient(135deg, #2468ff 0%, #0e9bd7 100%);
    color: #fff;
}

.om-btn.secondary {
    background: #eff6ff;
    color: #24528c;
}

.om-btn.ghost {
    background: transparent;
    color: #24528c;
    border: 1px solid #d7e4f3;
}

.om-file-list,
.om-product-list {
    display: grid;
    gap: 12px;
}

.om-file-row,
.om-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid #dbe7f4;
}

.om-product-row {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) auto;
}

.om-add-button {
    background: #e0f2fe;
    color: #0f5b8d;
}

.om-remove-button {
    background: #fff1f2;
    color: #b42318;
}

.om-helper {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7f96;
    line-height: 1.6;
}

.om-template-missing {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 14px;
    line-height: 1.6;
}

.om-template-download-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef6ff 0%, #fff9ef 100%);
    border: 1px solid #d9e6f5;
}

.om-template-download-box strong {
    display: block;
    margin-bottom: 6px;
    color: #16395c;
    font-size: 16px;
    font-weight: 800;
}

.om-template-download-box p {
    margin: 0;
    color: #5f748d;
    line-height: 1.7;
    font-size: 14px;
}

.om-draft-file-card,
.om-existing-file-card,
.om-existing-list-box,
.om-draft-list-box {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4f9ff 0%, #fff9f1 100%);
    border: 1px solid #dce8f5;
}

.om-draft-file-card strong,
.om-existing-file-card strong,
.om-existing-list-box strong,
.om-draft-list-box strong {
    display: block;
    margin-bottom: 6px;
    color: #183c60;
    font-size: 14px;
    font-weight: 800;
}

.om-draft-file-card span,
.om-existing-file-card span {
    display: block;
    color: #25507c;
    font-weight: 700;
    line-height: 1.6;
    word-break: break-all;
}

.om-draft-file-card small,
.om-existing-file-card small,
.om-draft-list-box p {
    display: block;
    margin-top: 6px;
    color: #61778f;
    line-height: 1.65;
    font-size: 13px;
}

.om-draft-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.om-existing-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.om-draft-list-item {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e2ebf5;
    color: #23476c;
    font-size: 13px;
    font-weight: 700;
    word-break: break-all;
}

.om-existing-list-item {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e2ebf5;
    color: #23476c;
    font-size: 13px;
    font-weight: 700;
    word-break: break-all;
}

.om-complete-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.om-complete-card {
    width: min(720px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px;
    text-align: center;
}

.om-complete-badge {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: #e8fff2;
    color: #0f8b4c;
    font-weight: 700;
    margin-bottom: 20px;
}

.om-complete-meta {
    margin: 24px auto;
    max-width: 420px;
    padding: 20px;
    border-radius: 20px;
    background: #f5f9ff;
    border: 1px solid #dbe7f6;
}

.om-complete-meta strong {
    display: block;
    margin-bottom: 8px;
    color: #204d79;
}

@media (max-width: 960px) {
    .om-hero-grid {
        grid-template-columns: 1fr;
    }

    .om-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .om-public-shell {
        width: min(100% - 20px, 100%);
        padding: 20px 0 48px;
    }

    .om-form-card,
    .om-panel,
    .om-complete-card {
        border-radius: 22px;
        padding: 20px;
    }

    .om-form-grid,
    .om-inline,
    .om-product-row,
    .om-file-row {
        grid-template-columns: 1fr;
    }

    .om-form-header {
        flex-direction: column;
    }

    .om-public-topbar,
    .om-doc-actions,
    .om-submit-bar,
    .om-template-download-box {
        flex-direction: column;
        align-items: stretch;
    }

    .om-panel h1,
    .om-form-header h2,
    .om-complete-card h1 {
        font-size: 24px;
    }
}

.om-form-card-paper {
    padding: 36px 40px;
}

.om-checklist-box {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 252, 243, 0.95) 0%, rgba(245, 249, 255, 0.95) 100%);
    border: 1px solid rgba(35, 71, 108, 0.12);
}

.om-checklist-box strong {
    display: block;
    margin-bottom: 10px;
    color: #18395d;
    font-size: 15px;
    font-weight: 800;
}

.om-checklist-box ul {
    margin: 0;
    padding-left: 18px;
    color: #4f647e;
    line-height: 1.7;
    font-size: 14px;
}

.om-paper-note {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff4cb 0%, #fffaf0 100%);
    border: 1px solid #e7c66d;
    color: #6d5220;
    line-height: 1.7;
    font-size: 14px;
}

.om-paper-form {
    padding: 34px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 245, 0.98) 100%);
    border: 1px solid rgba(41, 65, 91, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.om-paper-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #2b4a6f;
    text-align: center;
}

.om-paper-header span {
    display: inline-block;
    margin-bottom: 10px;
    color: #5f738c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.om-paper-header h3 {
    margin: 0;
    color: #173553;
    font-size: 34px;
    line-height: 1.28;
    font-weight: 800;
}

.om-paper-section-title {
    margin: 26px 0 12px;
    color: #183657;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.om-paper-section-title-inline {
    margin: 0;
}

.om-inline-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    margin-bottom: 12px;
}

.om-table-paper {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.om-table-paper th,
.om-table-paper td {
    border: 1px solid #8aa0bb;
}

.om-table-paper th {
    padding: 12px 10px;
    background: #dfe7f3;
    color: #173553;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    vertical-align: middle;
}

.om-table-paper td {
    padding: 8px;
    background: #fff;
    vertical-align: middle;
}

.om-table-paper .required {
    color: #c62828;
}

.om-table-paper .om-input,
.om-table-paper .om-select,
.om-table-paper .om-textarea {
    border: 0;
    border-radius: 0;
    background: transparent;
    min-height: 42px;
    padding: 8px 10px;
    box-shadow: none;
}

.om-table-paper .om-input:focus,
.om-table-paper .om-select:focus,
.om-table-paper .om-textarea:focus {
    border: 0;
    box-shadow: inset 0 0 0 2px rgba(77, 142, 247, 0.18);
}

.om-textarea-compact {
    min-height: 84px;
}

.om-table-products .om-col-price {
    width: 220px;
}

.om-table-products .om-col-actions {
    width: 110px;
}

.om-actions-cell {
    text-align: center;
    background: #fafcff;
}

.om-mini-note {
    margin-top: 10px;
    color: #5a6f89;
    font-size: 13px;
    line-height: 1.7;
}

.om-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.om-doc-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7fbff 0%, #fff9f1 100%);
    border: 1px solid #d9e5f2;
}

.om-doc-card-head h4 {
    margin: 0 0 6px;
    color: #173553;
    font-size: 17px;
    font-weight: 800;
}

.om-doc-card-head p {
    margin: 0 0 14px;
    color: #677c95;
    font-size: 14px;
    line-height: 1.6;
}

.om-doc-card .required {
    color: #c62828;
}

.om-template-download-box-paper {
    margin-bottom: 18px;
}

.om-file-card-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.om-file-chip {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #d5e1ef;
    background: rgba(255, 255, 255, 0.92);
}

.om-file-chip strong {
    display: block;
    margin-bottom: 4px;
    color: #173553;
    font-size: 13px;
    font-weight: 800;
}

.om-file-chip span {
    display: block;
    color: #35577d;
    line-height: 1.65;
    font-size: 13px;
    font-weight: 700;
    word-break: break-all;
}

.om-file-chip small {
    display: block;
    margin-top: 4px;
    color: #6b7f96;
    font-size: 12px;
}

.om-file-chip.is-draft {
    background: linear-gradient(135deg, #eef7ff 0%, #fff9ef 100%);
}

.om-file-chip.is-existing {
    background: linear-gradient(135deg, #f8fbff 0%, #f6fbf8 100%);
}

.om-upload-stack {
    display: grid;
    gap: 12px;
}

.om-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid #dbe7f4;
}

.om-check-row-paper {
    margin-bottom: 0;
}

.om-experience-block {
    margin-top: 16px;
}

.om-consent-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dce6f2;
    color: #52667f;
    line-height: 1.8;
    font-size: 14px;
}

.om-sign-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed #aab8c7;
    color: #183657;
    font-size: 16px;
    font-weight: 700;
}

.om-sign-text {
    display: inline-block;
    min-width: 120px;
    margin-left: 10px;
    padding-bottom: 3px;
    border-bottom: 1px solid #7f93ab;
}

.om-section-paper-actions {
    margin-top: 20px;
}

.om-submit-bar-paper {
    justify-content: flex-end;
}

@media (max-width: 960px) {
    .om-doc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .om-form-card-paper {
        padding: 20px;
    }

    .om-paper-form {
        padding: 20px;
        border-radius: 20px;
    }

    .om-paper-header h3 {
        font-size: 26px;
    }

    .om-inline-head,
    .om-sign-row,
    .om-upload-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .om-inline-head {
        display: flex;
    }

    .om-table-paper,
    .om-table-paper thead,
    .om-table-paper tbody,
    .om-table-paper tr,
    .om-table-paper th,
    .om-table-paper td {
        display: block;
        width: 100%;
    }

    .om-table-paper tr {
        margin-bottom: 12px;
        border: 1px solid #8aa0bb;
    }

    .om-table-paper th,
    .om-table-paper td {
        border: 0;
    }

    .om-table-paper th {
        border-bottom: 1px solid #8aa0bb;
    }

    .om-actions-cell {
        padding-top: 0;
    }

    .om-submit-bar-paper {
        justify-content: stretch;
    }
}
