/* ==========================================================================
   CONBASE New Style - FUNMOA Inc.
   ========================================================================== */

/* ==========================================================================
   01. Design Tokens
   ========================================================================== */
:root {
    --cb-font-base: 'Pretendard', system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

    --cb-bg: #e9eff7;
    --cb-bg-soft: #f3f6fc;
    --cb-page-bg: #eef1f5;
    --cb-surface: #ffffff;
    --cb-surface-soft: #f8fbff;
    --cb-card-bg: rgba(238, 241, 245, .92);
    --cb-card-line: rgba(255, 255, 255, .72);

    --cb-primary: #4b6bff;
    --cb-primary-strong: #2c54ff;
    --cb-primary-soft: #a5b4ff;
    --cb-primary-soft2: #e9edff;

    --cb-accent: #ffb800;
    --cb-accent-soft: #ffe894;
    --cb-mark: #c71f00;
    --cb-mark-soft: #ff3232;
    --cb-danger: #e74c3c;

    --cb-text: #111827;
    --cb-muted: #6b7280;
    --cb-text-soft: #6b7280;
    --cb-soft-muted: #9ca3af;
    --cb-text-strong: #020617;
    --cb-border-subtle: rgba(148, 163, 184, .55);

    --cb-radius-sm: .5rem;
    --cb-radius-md: .9rem;
    --cb-radius-lg: 1.25rem;
    --cb-radius-xl: 1.75rem;
    --cb-radius-pill: 999px;

    --cb-gap-sm: .75rem;
    --cb-gap: 1.25rem;
    --cb-gap-lg: 2rem;

    --neo-shadow-out:
            8px 8px 20px rgba(148, 163, 184, .45),
            -8px -8px 20px rgba(255, 255, 255, .95);
    --neo-shadow-inset:
            inset 3px 3px 8px rgba(148, 163, 184, .5),
            inset -3px -3px 8px rgba(255, 255, 255, .95);

    --cb-transition-fast: 150ms ease-out;
    --cb-transition: 220ms cubic-bezier(.22, .61, .36, 1);

    --nav-offset: 70px;

    /* Bootstrap override */
    --bs-body-bg: var(--cb-bg);
    --bs-body-color: var(--cb-text);
    --bs-primary: var(--cb-primary);
    --bs-border-radius-lg: var(--cb-radius-lg);
    --bs-border-radius-xl: var(--cb-radius-xl);
    --bs-border-radius-pill: var(--cb-radius-pill);

    /* Default template theme */
    --siteColor: #019894;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #15B5B0;
    --headerSiteColor: #ffffff;

    --cb-accent-readable: var(--siteColor);
    --cb-accent-hover: var(--siteNavHoverColor);
    --cb-accent-text-on: var(--siteNavColor, #ffffff);
}

/* ==========================================================================
   02. Template Theme Tokens
   ========================================================================== */
[template-theme='red'] {
    --siteColor: #EA272F;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #CD0B13;
    --headerSiteColor: #ffffff;
}

[template-theme='orange'] {
    --siteColor: #F49619;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #E5771B;
    --headerSiteColor: #ffffff;
}

[template-theme='yellow'] {
    --siteColor: #F5C317;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #E3B30C;
    --headerSiteColor: #ffffff;
    --cb-accent-readable: #9a6b00;
}

[template-theme='green'] {
    --siteColor: #1F5014;
    --siteNavColor: #F6F6E9;
    --siteNavHoverColor: #457D58;
    --headerSiteColor: #ffffff;
}

[template-theme='blue'] {
    --siteColor: #222073;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #3D9BC5;
    --headerSiteColor: #ffffff;
}

[template-theme='indigo'] {
    --siteColor: #0F223E;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #27436C;
    --headerSiteColor: #ffffff;
}

[template-theme='violet'] {
    --siteColor: #50006C;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #BB84C8;
    --headerSiteColor: #ffffff;
}

[template-theme='mint'] {
    --siteColor: #019894;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #15B5B0;
    --headerSiteColor: #ffffff;
}

[template-theme='pink'] {
    --siteColor: #FF69BD;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #FF9FD4;
    --headerSiteColor: #ffffff;
}

[template-theme='pastel-blue'] {
    --siteColor: #569FBE;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #4698DA;
    --headerSiteColor: #ffffff;
}

[template-theme='gray'] {
    --siteColor: #969696;
    --siteNavColor: #ffffff;
    --siteNavHoverColor: #737373;
    --headerSiteColor: #ffffff;
}

[template-theme='white'] {
    --cb-accent-readable: #323232;
}

[template-theme='custom'] {
    --siteColor: {{ _SITE.siteColor }};
--siteNavColor: {{ _SITE.siteNavColor }};
--siteNavHoverColor: {{ _SITE.siteNavHoverColor }};
--headerSiteColor: {{ _SITE.headerSiteColor }};
--headerSiteNavColor: {{ _SITE.headerSiteNavColor }};
--footerSiteColor: {{ _SITE.footerSiteColor }};
--footerSiteNavColor: {{ _SITE.footerSiteNavColor }};
}

body[template-theme] .cb-board-page,
body[template-theme] .cb-detail-page {
    --cb-board-accent: var(--siteColor);
    --cb-board-hover: var(--siteNavHoverColor);
    --cb-board-on: var(--siteNavColor, #ffffff);
    --cb-detail-accent: var(--siteColor);
    --cb-detail-hover: var(--siteNavHoverColor);
    --cb-detail-on: var(--siteNavColor, #ffffff);
}

body[template-theme='yellow'] .cb-board-page,
body[template-theme='white'] .cb-board-page,
body[template-theme='yellow'] .cb-detail-page,
body[template-theme='white'] .cb-detail-page {
    --cb-board-on: #111827;
    --cb-detail-on: #111827;
}

/* ==========================================================================
   03. Base / Utilities
   ========================================================================== */
* {
    font-family: var(--cb-font-base);
}

a[href^="tel"] {
    color: #222 !important;
    text-decoration: none;
}

.word-keep {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.min-w-0 {
    min-width: 0;
}

.fw-hide,
.cb-notice {
    display: none;
}

html:not(.js-enabled) .js-check-warning {
    display: block;
}

.js-check-warning {
    display: none;
}

.commentArea > p,
.note-placeholder > p,
#applyForm p,
.alert-warning p {
    margin-bottom: 0 !important;
}

.note-editor .note-statusbar .note-resizebar {
    cursor: pointer !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

hr.neo-soft-hr {
    border: 0;
    height: 1px;
    margin: 1rem 0;
    background: #f9fafb;
    box-shadow:
            0 1px 2px rgba(0, 0, 0, .12),
            0 3px 15px rgba(255, 255, 255, .9);
}

.soft-divider {
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .12), rgba(0, 0, 0, .06));
}

/* nav overflow safety */
.cb-nav-safe {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.cb-nav-safe .container-fluid {
    max-width: 2000px;
}

.cb-nav-safe .navbar,
.cb-nav-safe img {
    width: 100%;
    max-width: 100%;
}

.cb-nav-safe img {
    height: auto;
}

.v12-wrap {
    margin-left: 300px;
}

.v1015-wrap {
    margin-top: 100px;
}

.tem22_margin {
    margin: 80px auto !important;
}

@media (max-width: 1200px) {
    .v12-wrap {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .tem22_margin {
        margin: 0 auto !important;
    }
}

/* ==========================================================================
   04. Neo Core Components
   ========================================================================== */
.neo-card {
    padding: 1rem;
    background: var(--cb-surface);
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-lg);
    box-shadow: var(--neo-shadow-out);
    transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.neo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--neo-shadow-out), 0 12px 24px rgba(0, 0, 0, .10);
    will-change: transform, box-shadow;
}

.neo-soft,
.neo-receipt-box {
    /*border-radius: var(--cb-radius-md);*/
    /*box-shadow:*/
    /*        inset 2px 2px 4px rgba(0, 0, 0, .15),*/
    /*        inset -2px -2px 4px rgba(255, 255, 255, .70);*/
}

.neo-soft {
    border-radius: var(--cb-radius-md);
    box-shadow:
            inset 2px 2px 4px rgba(0, 0, 0, .15),
            inset -2px -2px 4px rgba(255, 255, 255, .70);
}

.neo-receipt-box {
    position: relative;
    /*padding: 1rem;*/
}

.neo-pill,
.neo-badge,
.neo-subchip,
.neo-chip {
    display: inline-flex;
    align-items: center;
}

.neo-pill {
    padding: .28rem .65rem;
    border: 1px solid rgba(148, 163, 184, .45);
    border-radius: var(--cb-radius-md);
    background: transparent;
    color: var(--cb-text-soft);
    font-size: .85rem;
    font-weight: 800;
    box-shadow: none;
}

.neo-pill.is-primary {
    background: rgba(75, 107, 255, .08);
    border-color: rgba(75, 107, 255, .22);
    color: var(--cb-primary-strong);
}

.neo-pill.is-danger {
    background: rgba(199, 31, 0, .06);
    border-color: rgba(199, 31, 0, .18);
    color: var(--cb-mark);
}

.neo-badge {
    gap: .4rem;
    padding: .35rem .75rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-pill);
    background: var(--cb-surface-soft);
    font-size: .85rem;
    font-weight: 800;
    box-shadow:
            inset 1px 1px 2px rgba(0, 0, 0, .05),
            inset -1px -1px 2px rgba(255, 255, 255, .85);
}

.neo-badge.is-open {
    color: #0f766e;
}

.neo-badge.is-close {
    color: var(--cb-mark);
}

.neo-chip {
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: var(--cb-radius-pill);
    font-size: .85rem;
    font-weight: 700;
    box-shadow:
            inset 2px 2px 4px rgba(0, 0, 0, .06),
            inset -2px -2px 4px rgba(255, 255, 255, .85);
}

.neo-chip-ing {
    background: rgba(90, 130, 255, .12);
    color: rgba(30, 60, 140, .95);
}

.neo-chip-done {
    background: rgba(60, 200, 140, .12);
    color: rgba(20, 110, 70, .95);
}

.neo-chip-cancel {
    background: rgba(255, 80, 80, .12);
    color: rgba(140, 30, 30, .95);
}

.neo-subchip {
    padding: .35rem .7rem;
    border: 1px solid rgba(75, 107, 255, .15);
    border-radius: var(--cb-radius-pill);
    background: var(--cb-primary-soft2);
    color: var(--cb-primary-strong);
    font-size: .85rem;
    font-weight: 800;
}

/* ==========================================================================
   05. Buttons
   ========================================================================== */
.btn-conbase-primary,
.btn-conbase-mark,
.btn-conbase-accent,
.btn-conbase-outline-primary,
.btn-conbase-outline-mark {
    border-radius: var(--cb-radius-xl);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.btn-conbase-primary:active,
.btn-conbase-mark:active,
.btn-conbase-accent:active,
.btn-conbase-outline-primary:active,
.btn-conbase-outline-mark:active {
    transform: translateY(0);
    box-shadow:
            inset 2px 2px 6px rgba(0, 0, 0, .18),
            inset -2px -2px 6px rgba(255, 255, 255, .65);
}

.btn-conbase-primary {
    background: var(--cb-primary);
    border-color: var(--cb-primary);
    color: #fff;
}

.btn-conbase-primary:hover {
    background: var(--cb-primary-strong);
    border-color: var(--cb-primary-strong);
    color: #fff;
    transform: translateY(-1px);
}

.btn-conbase-mark {
    background: var(--cb-mark-soft);
    border-color: var(--cb-mark-soft);
    color: #fff;
}

.btn-conbase-mark:hover {
    background: var(--cb-mark);
    border-color: var(--cb-mark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-conbase-accent {
    background: var(--cb-accent);
    border-color: var(--cb-accent);
    color: #666;
}

.btn-conbase-accent:hover {
    background: var(--cb-accent);
    border-color: var(--cb-accent);
    color: #666;
    transform: translateY(-1px);
}

.btn-conbase-outline-primary,
.btn-conbase-outline-mark {
    background: #fff;
}

.btn-conbase-outline-primary {
    border-color: var(--cb-primary);
    color: var(--cb-primary);
}

.btn-conbase-outline-primary:hover {
    background: var(--cb-primary-strong);
    border-color: var(--cb-primary-strong);
    color: #fff;
    transform: translateY(-1px);
}

.btn-conbase-outline-mark {
    border-color: var(--cb-mark);
    color: var(--cb-mark);
}

.btn-conbase-outline-mark:hover {
    background: var(--cb-mark-soft);
    border-color: var(--cb-mark-soft);
    color: #fff;
    transform: translateY(-1px);
}

.neo-btn,
.neo-btn-cancel,
.neo-faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.neo-btn {
    background: var(--siteColor);
    color: var(--siteNavColor);
    box-shadow:
            2px 2px 6px rgba(0, 0, 0, .06),
            -2px -2px 6px rgba(255, 255, 255, .6);
}

.neo-btn:hover {
    background: var(--siteNavHoverColor);
    color: var(--siteNavColor);
    box-shadow:
            inset 4px 4px 8px rgba(0, 0, 0, .2),
            inset -4px -4px 8px rgba(255, 255, 255, .15);
}

.neo-btn-mark {
    background: var(--cb-mark);
}

.neo-btn-cancel {
    padding: .75rem 1.5rem;
    border: 1px solid var(--siteColor);
    background: #fff;
    color: var(--siteColor);
    box-shadow:
            2px 2px 6px rgba(0, 0, 0, .06),
            -2px -2px 6px rgba(255, 255, 255, .6);
}

.neo-btn-cancel:hover {
    color: var(--siteColor);
    box-shadow:
            6px 6px 12px rgba(0, 0, 0, .12),
            -6px -6px 12px rgba(255, 255, 255, .9);
}

.neo-btn-outline {
    background: var(--cb-surface-soft);
    border: 1px solid var(--cb-border-subtle);
    font-weight: 800;
}

.neo-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: 1rem 2.2rem;
    border-radius: var(--cb-radius-lg);
    background: var(--siteColor);
    color: var(--siteNavColor) !important;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: var(--neo-shadow-out);
    transition: var(--cb-transition);
}

.neo-cta-btn:hover,
.neo-cta-btn:focus,
.neo-cta-btn:focus-visible,
.neo-cta-btn:active {
    background: var(--siteNavHoverColor);
    color: var(--siteNavColor);
    transform: translateY(-2px);
}

.neo-faq-btn {
    gap: .35rem;
    padding: .55rem 1rem;
    border: 1px solid var(--siteColor);
    border-radius: var(--cb-radius-pill);
    background: var(--siteColor);
    color: var(--siteNavColor);
    font-weight: 800;
    box-shadow:
            2px 2px 6px rgba(0, 0, 0, .06),
            -2px -2px 6px rgba(255, 255, 255, .6);
    transition: var(--cb-transition);
}

.neo-faq-btn:hover {
    background: var(--siteColor);
    border-color: var(--siteColor);
    color: var(--siteNavColor);
    transform: translateY(-1px);
}

.neo-btn-ghost {
    min-width: 110px;
    padding: .45rem .85rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-md);
    background: var(--cb-surface);
    color: inherit;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--neo-shadow-out);
}

.neo-btn-ghost:hover {
    transform: translateY(-1px);
}

/* ==========================================================================
   06. Forms / Inputs / Checks
   ========================================================================== */
.neo-input,
.neo-select,
.neo-etc-input {
    border: 1px solid var(--cb-border-subtle);
    background: var(--cb-surface-soft);
    box-shadow: var(--neo-shadow-inset);
}

.neo-input {
    padding: .9rem 1rem;
    border-radius: var(--cb-radius-md);
}

.neo-input:focus {
    background: var(--cb-surface);
    border-color: rgba(75, 107, 255, .45);
    box-shadow: var(--neo-shadow-inset);
}

.neo-select {
    border-radius: var(--cb-radius-md);
}

.neo-textarea {
    min-height: 150px;
    resize: none;
}

.neo-etc-input {
    flex: 1 1 220px;
    min-width: 160px;
    width: 100%;
    padding: .55rem .85rem;
    border-radius: var(--cb-radius-pill);
}

.neo-ig-text {
    background: var(--cb-surface-soft);
    border: 1px solid var(--cb-border-subtle);
}

.apply-type-group {
    gap: .5rem;
    flex-wrap: wrap;
}

.neo-btn-toggle {
    padding: .65rem 1.2rem;
    border: 1px solid var(--cb-border-subtle);
    background: var(--cb-surface-soft);
    color: var(--cb-text);
    font-weight: 800;
    transition: var(--cb-transition);
}

.neo-btn-toggle:hover {
    transform: translateY(-1px);
}

.btn-check:checked + .neo-btn-toggle {
    background: var(--cb-primary);
    border-color: var(--cb-primary);
    color: #fff;
}

.neo-check-list,
.neo-radio-list {
    display: grid;
    gap: .6rem;
    margin: .25rem 0 0;
    padding-left: 0;
    list-style: none;
}

.neo-check-list > li {
    margin: 0;
}

.neo-check-row {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    align-items: center;
    column-gap: .6rem;
}

.neo-check-row .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    margin-left: 5px;
}

.neo-check-row.is-etc {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
}

.neo-check-row.is-etc .form-check-input,
.neo-check-row.is-etc .fw-bold {
    flex: 0 0 auto;
}

.neo-check {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.neo-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.neo-check__box {
    position: relative;
    flex: 0 0 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: .15rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: .45rem;
    background: var(--cb-surface-soft);
    box-shadow: var(--neo-shadow-inset);
    transition: transform var(--cb-transition-fast), box-shadow var(--cb-transition-fast), background var(--cb-transition-fast);
}

.neo-check__text {
    color: var(--cb-text);
    line-height: 1.5;
    word-break: keep-all;
}

.neo-check input:checked + .neo-check__box {
    background: var(--cb-primary-soft2);
    box-shadow: var(--neo-shadow-out);
    transform: translateY(-1px);
}

.neo-check input:checked + .neo-check__box::after {
    content: "";
    position: absolute;
    left: .34rem;
    top: .18rem;
    width: .34rem;
    height: .62rem;
    border: solid var(--cb-primary-strong);
    border-width: 0 .16rem .16rem 0;
    transform: rotate(45deg);
}

.neo-check input:focus-visible + .neo-check__box {
    outline: 3px solid rgba(75, 107, 255, .25);
    outline-offset: 2px;
}

.neo-choice {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.neo-choice-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .9rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-md);
    background: var(--cb-surface-soft);
    box-shadow: var(--neo-shadow-inset);
    cursor: pointer;
}

.neo-choice-item input {
    margin-top: .1rem;
}

/* ==========================================================================
   07. Accordions / FAQ
   ========================================================================== */
.neo-card .accordion-item,
.neo-faq-accordion .accordion-item {
    border: 0;
    background: transparent;
}

.neo-card .accordion-button,
.neo-faq-accordion .accordion-button {
    border: 1px solid var(--cb-border-subtle) !important;
    background: var(--cb-surface-soft);
    color: var(--cb-text);
    font-weight: 800;
}

.neo-card .accordion-button {
    padding: 1rem 1.1rem;
}

.neo-card .accordion-button:not(.collapsed),
.neo-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--cb-text-strong);
}

.neo-card .accordion-button:focus,
.neo-faq-accordion .accordion-button:focus {
    border-color: rgba(75, 107, 255, .35);
    box-shadow: var(--neo-shadow-inset);
}

.neo-card .accordion-body {
    max-height: 200px;
    padding: 1.1rem;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    border-width: 0;
    border-style: solid;
    border-color: var(--cb-border-subtle);
    /*border-radius: 0 0 15px 15px;*/
    background: var(--cb-surface);
}

.neo-card .accordion-body::-webkit-scrollbar {
    width: 10px;
}

.neo-card .accordion-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    border-radius: 10px;
}

.neo-card .accordion-body::-webkit-scrollbar-track {
    background: transparent;
}

.neo-card .accordion-item + .accordion-item,
.neo-faq-item + .neo-faq-item {
    /*margin-top: .85rem;*/
}

.neo-faq-modal {
    background: var(--cb-surface);
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-xl);
    box-shadow: var(--neo-shadow-out);
}

.neo-faq-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: .45rem;
    padding: .25rem .6rem;
    border-radius: var(--cb-radius-pill);
    background: var(--cb-primary-soft2);
    color: var(--cb-primary-strong);
    font-size: .78rem;
    font-weight: 800;
}

.neo-faq-title {
    color: var(--cb-text-strong);
    font-weight: 900;
    letter-spacing: -.02em;
}

.neo-faq-accordion .accordion-button {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: 1rem 1.1rem;
    border-radius: var(--cb-radius-lg) !important;
    line-height: 1.5;
    box-shadow: var(--neo-shadow-out);
}

.neo-faq-accordion .accordion-button:not(.collapsed) {
    background: var(--cb-surface);
    box-shadow: var(--neo-shadow-inset);
}

.neo-faq-accordion .accordion-button::after {
    margin-top: .2rem;
}

.neo-faq-q-mark,
.neo-faq-a-mark {
    flex: 0 0 auto;
    font-weight: 900;
}

.neo-faq-q-mark {
    color: var(--cb-primary-strong);
}

.neo-faq-a-mark {
    color: var(--cb-mark);
}

.neo-faq-accordion .accordion-body {
    max-height: none;
    padding: .25rem 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

.neo-faq-answer {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: 1rem;
    border: 1px solid rgba(75, 107, 255, .16);
    border-radius: var(--cb-radius-lg);
    background: #f8fbff;
    color: var(--cb-text);
    line-height: 1.7;
    word-break: keep-all;
}

/* ==========================================================================
   08. SweetAlert2
   ========================================================================== */
.swal2-popup {
    overflow: hidden !important;
    padding: 2rem !important;
    border: 1px solid var(--cb-border-subtle) !important;
    border-radius: 28px !important;
    background: var(--cb-surface) !important;
    color: var(--cb-text) !important;
    box-shadow: var(--neo-shadow-out) !important;
}

.swal2-title {
    color: var(--cb-text) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    letter-spacing: -.02em;
}

.swal2-html-container {
    margin: 0 !important;
    color: var(--cb-text-soft) !important;
    line-height: 1.6 !important;
}

.swal2-input,
.swal2-textarea,
.swal2-select {
    border: 1px solid var(--cb-border-subtle) !important;
    border-radius: var(--cb-radius-md) !important;
    background: var(--cb-surface) !important;
    color: var(--cb-text) !important;
    box-shadow:
            inset 2px 2px 4px rgba(0, 0, 0, .15),
            inset -2px -2px 4px rgba(255, 255, 255, .7) !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    outline: none !important;
    border-color: var(--cb-primary) !important;
}

.swal2-actions {
    gap: .5rem;
}

.swal2-styled {
    padding: .7rem 1.05rem !important;
    border-radius: var(--cb-radius-xl) !important;
    font-weight: 700 !important;
    transition: transform var(--cb-transition), box-shadow var(--cb-transition) !important;
}

.swal2-confirm {
    border: 1px solid var(--cb-primary) !important;
    background: var(--cb-primary) !important;
    color: #fff !important;
    box-shadow: var(--neo-shadow-out) !important;
}

.swal2-confirm:hover {
    background: var(--cb-primary-strong) !important;
    border-color: var(--cb-primary-strong) !important;
    transform: translateY(-1px);
}

.swal2-confirm:active,
.swal2-cancel {
    box-shadow:
            inset 2px 2px 4px rgba(0, 0, 0, .15),
            inset -2px -2px 4px rgba(255, 255, 255, .7) !important;
}

.swal2-cancel {
    border: 1px solid var(--cb-border-subtle) !important;
    background: var(--cb-surface) !important;
    color: var(--cb-text) !important;
}

.swal2-cancel:hover {
    transform: translateY(-1px);
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: var(--cb-primary) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: color-mix(in srgb, var(--cb-primary) 45%, transparent) !important;
}

.swal2-icon.swal2-error {
    border-color: color-mix(in srgb, var(--cb-danger) 55%, transparent) !important;
}

.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: var(--cb-danger) !important;
}

.swal2-backdrop-show {
    background: rgba(0, 0, 0, .35) !important;
}

.swal2-toast {
    border: 1px solid var(--cb-border-subtle) !important;
    border-radius: var(--cb-radius-xl) !important;
    background: var(--cb-surface) !important;
    box-shadow: var(--neo-shadow-out) !important;
}

.swal2-timer-progress-bar-container {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    border-radius: var(--cb-radius-md) !important;
}

.swal2-timer-progress-bar {
    border-radius: 0 !important;
}

.cb-loading,
.cb-spinner {
    border-radius: 50%;
    animation: cb-spin .9s linear infinite;
}

.cb-loading {
    width: 52px;
    height: 52px;
    border: 5px solid #dfe5ee;
    border-top-color: #3b82f6;
}

.cb-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border: 4px solid rgba(0, 0, 0, .08);
    border-top-color: rgba(0, 0, 0, .45);
}

@keyframes cb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* PopconPop SweetAlert Custom */
.swal2-popup.pcp-swal-popup {
    width: min(520px, calc(100vw - 28px)) !important;
    padding: 24px 22px 22px !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: 28px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96)) !important;
    color: #1f2937 !important;
    box-shadow:
            18px 18px 36px rgba(15, 23, 42, .16),
            -12px -12px 28px rgba(255, 255, 255, .9) !important;
}

.pcp-swal-title {
    position: relative;
    margin: 0 0 16px !important;
    padding-bottom: 14px !important;
    color: #111827 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    letter-spacing: -.04em !important;
}

.pcp-swal-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 42px;
    height: 4px;
    border-radius: var(--cb-radius-pill);
    background: rgba(15, 23, 42, .14);
    transform: translateX(-50%);
}

.pcp-swal-html {
    margin: 0 !important;
    padding: 0 !important;
}

.pcp-swal-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 9px !important;
    margin-top: 20px !important;
}

.pcp-swal-confirm,
.pcp-swal-cancel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 118px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: var(--cb-radius-pill) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all .16s ease !important;
}

.pcp-swal-confirm {
    color: #fff !important;
    box-shadow:
            8px 8px 18px rgba(15, 23, 42, .18),
            -4px -4px 12px rgba(255, 255, 255, .9) !important;
}

.pcp-swal-confirm:hover,
.pcp-swal-cancel:hover {
    transform: translateY(-1px);
}

.pcp-swal-confirm:hover {
    filter: brightness(1.04);
}

.pcp-swal-cancel {
    background: #eef2f7 !important;
    color: #64748b !important;
    box-shadow:
            5px 5px 12px rgba(15, 23, 42, .08),
            -5px -5px 12px rgba(255, 255, 255, .9) !important;
}

.pcp-swal-cancel:hover {
    background: #e2e8f0 !important;
    color: #334155 !important;
}

.pcp-swal-confirm.is-red { background: linear-gradient(135deg, #ef4444, #f97316) !important; }
.pcp-swal-confirm.is-orange { background: linear-gradient(135deg, #f97316, #f59e0b) !important; }
.pcp-swal-confirm.is-green { background: linear-gradient(135deg, #22c55e, #14b8a6) !important; }
.pcp-swal-confirm.is-blue { background: linear-gradient(135deg, #3b82f6, #6366f1) !important; }
.pcp-swal-confirm.is-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899) !important; }

.pcp-swal-validation {
    margin: 14px 0 0 !important;
    padding: 11px 13px !important;
    border-radius: 14px !important;
    background: #fff7ed !important;
    color: #c2410c !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.pcp-swal-validation::before {
    display: none !important;
}

.pcp-correction-modal {
    text-align: left;
}

.pcp-correction-title {
    margin-bottom: 14px;
    padding: 14px 15px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 18px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
    word-break: keep-all;
    box-shadow:
            inset 2px 2px 5px rgba(15, 23, 42, .04),
            inset -2px -2px 6px rgba(255, 255, 255, .9);
}

.pcp-correction-guide {
    margin: 0 0 13px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    word-break: keep-all;
}

.pcp-correction-options {
    display: grid;
    gap: 9px;
}

.pcp-correction-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
            5px 5px 12px rgba(15, 23, 42, .06),
            -5px -5px 12px rgba(255, 255, 255, .95);
    transition: all .16s ease;
}

.pcp-correction-option:hover {
    border-color: rgba(148, 163, 184, .58);
    background: #fff;
    transform: translateY(-1px);
}

.pcp-correction-option input[type="checkbox"] {
    appearance: none;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(148, 163, 184, .75);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all .14s ease;
}

.pcp-correction-option input[type="checkbox"]:checked {
    border-color: #ef4444;
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.pcp-correction-option input[type="checkbox"]:checked::after {
    content: "✓";
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 14px;
    text-align: center;
}

.pcp-correction-option:has(input[type="checkbox"]:checked) {
    border-color: rgba(239, 68, 68, .38);
    background: rgba(255, 247, 247, .95);
    color: #111827;
}

.pcp-correction-etc-wrap {
    display: none;
    margin-top: 12px;
}

.pcp-correction-etc-wrap.is-active {
    display: block;
}

.pcp-correction-etc {
    width: 100%;
    min-height: 104px;
    padding: 13px 14px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 18px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    resize: vertical;
    outline: none;
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .05),
            inset -3px -3px 7px rgba(255, 255, 255, .95);
}

.pcp-correction-etc::placeholder {
    color: #94a3b8;
}

.pcp-correction-etc:focus {
    border-color: rgba(239, 68, 68, .58);
    box-shadow:
            0 0 0 4px rgba(239, 68, 68, .09),
            inset 3px 3px 7px rgba(15, 23, 42, .04);
}

/* ==========================================================================
   09. Error / Empty / Done / Loading / Skeleton
   ========================================================================== */
.cb-empty-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 70vh;
    padding: 24px 12px;
}

.cb-empty-wrap > .neo-card {
    width: min(960px, 100%);
}

.error-code,
.cb-done-title {
    font-weight: 900;
    letter-spacing: -.05em;
    color: var(--cb-primary);
    line-height: 1;
}

.error-code {
    font-size: 6rem;
}

.error-title {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.error-desc {
    margin-top: .75rem;
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.6;
}

.error-footer {
    margin-top: 2rem;
    color: #9ca3af;
    font-size: .75rem;
}

.cb-center-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

.cb-done-wrap,
.cb-info-box,
.cb-actions,
.cb-done-kv {
    max-width: 620px;
    margin: 0 auto;
}

.cb-done-kv,
.cb-info-box,
.cb-actions {
    max-width: 520px;
}

.cb-done-title {
    font-size: 4rem;
    line-height: .9;
    word-break: keep-all;
}

.cb-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 16px;
}

.cb-info-row + .cb-info-row {
    margin-top: 10px;
}

.cb-label,
.cb-value {
    font-size: 1.2rem;
}

.cb-label {
    margin-bottom: 2px;
    color: rgba(0, 0, 0, .55);
}

.cb-value {
    color: #222;
    font-weight: 600;
    word-break: break-word;
}

.cb-actions .btn {
    border-radius: 14px;
}

.skel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #e5e7eb, #f1f3f5);
    box-shadow:
            inset 4px 4px 10px rgba(0, 0, 0, .08),
            inset -4px -4px 10px rgba(255, 255, 255, .9);
}

.skel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .75) 45%, transparent 90%);
    transform: translateX(-100%);
    animation: skelShimmer 1.2s ease-in-out infinite;
    pointer-events: none;
}

.skel-img {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.is-loaded .skel {
    display: none;
}

@keyframes skelShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   10. Apply / Agreement / Guide / Notice
   ========================================================================== */
.apply-action-desc {
    color: #6c757d;
    font-size: .85rem;
    line-height: 1.4;
}

.apply-period-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--cb-primary);
    font-size: clamp(1.5rem, 3.6vw, 1.8rem);
    font-weight: 900;
    line-height: 1.2;
    word-break: keep-all;
}

.apply-period-inline.is-open {
    color: var(--cb-primary);
}

.apply-period-inline.is-close {
    color: var(--cb-mark);
}

.cta-timer {
    color: var(--siteNavColor);
    font-size: 1.85rem;
    font-weight: 600;
}

.apply-topbar {
    z-index: 1030;
}

.apply-topbar-inner {
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px);
}

.apply-topbar-inner.is-editable {
    background: rgba(233, 237, 255, .92);
}

.apply-topbar-inner.is-locked {
    background: rgba(255, 50, 50, .08);
}

.apply-topbar-msg {
    display: flex;
    align-items: center;
    color: var(--cb-text);
    font-size: .95rem;
    line-height: 1.2;
}

.apply-topbar-msg span {
    word-break: keep-all;
}

.apply-topbar-exit {
    white-space: nowrap;
    font-weight: 800;
}

.apply-topbar-exit:hover {
    transform: translateY(-1px);
}

.neo-agree {
    display: grid;
    gap: .75rem;
}

.neo-agree__item {
    padding: .9rem 1rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-lg);
    background: var(--cb-surface);
    box-shadow: var(--neo-shadow-out);
}

.neo-agree__warn {
    border-color: rgba(255, 184, 0, .35);
    background: linear-gradient(180deg, rgba(255, 184, 0, .12), rgba(255, 255, 255, 0));
}

.neo-agree__info {
    border-color: rgba(75, 107, 255, .28);
    background: linear-gradient(180deg, rgba(75, 107, 255, .10), rgba(255, 255, 255, 0));
}

.neo-agree__danger {
    border-color: rgba(199, 31, 0, .28);
    background: linear-gradient(180deg, rgba(199, 31, 0, .10), rgba(255, 255, 255, 0));
}

.agreement-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-lg);
    background: var(--cb-surface-soft);
    box-shadow: var(--neo-shadow-out);
    cursor: pointer;
    transition: var(--cb-transition);
}

.agreement-card:hover {
    transform: translateY(-1px);
}

.agreement-card input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .35rem;
    accent-color: var(--cb-primary);
}

.agreement-card input:checked + .agreement-content {
    color: var(--cb-text-strong);
}

.agreement-content {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.agreement-title {
    font-size: 1.2rem;
    font-weight: 800;
}

.agreement-desc {
    color: var(--cb-text-soft);
    font-size: .9rem;
}

.neo-note,
.neo-info,
.neo-guide {
    border-radius: var(--cb-radius-lg);
}

.neo-note {
    padding: 1rem 1.1rem;
    border: 1px solid var(--cb-border-subtle);
    background: var(--cb-surface);
    box-shadow: var(--neo-shadow-out);
}

.neo-note__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .25rem;
    font-weight: 800;
}

.neo-note__desc {
    color: var(--cb-text-soft);
    line-height: 1.55;
}

.neo-link {
    color: var(--cb-primary-strong);
    font-weight: 800;
    text-decoration: none;
}

.neo-link:hover {
    text-decoration: underline;
}

.neo-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(75, 107, 255, .25);
    background: var(--cb-primary-soft2);
    box-shadow: var(--neo-shadow-out);
}

.neo-info i {
    margin-top: .15rem;
    color: var(--cb-primary);
    font-size: 1.25rem;
}

.neo-info-title {
    margin-bottom: .15rem;
    font-weight: 800;
}

.neo-info-desc {
    color: var(--cb-text);
    font-size: .95rem;
}

.neo-info-btn,
.neo-info-outline-btn {
    padding: .55rem 1rem;
    border-radius: var(--cb-radius-md);
    font-weight: 800;
    box-shadow: var(--neo-shadow-out);
    transition: var(--cb-transition);
}

.neo-info-btn {
    background: var(--cb-primary);
    color: #fff;
}

.neo-info-btn:hover {
    background: var(--cb-primary-strong);
    color: #fff;
    transform: translateY(-1px);
}

.neo-info-outline-btn {
    background: #fff;
    color: var(--cb-primary);
}

.neo-info-outline-btn:hover {
    transform: translateY(-1px);
}

.neo-guide {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.2rem;
    border: 1px dashed var(--cb-border-subtle);
    border-radius: var(--cb-radius-lg);
    background: #f6f7fb;
}

.neo-guide i {
    margin-top: .15rem;
    color: var(--cb-primary);
    font-size: 1.2rem;
}

.neo-guide-content {
    border-radius: 16px;
}

.neo-guide-title {
    margin-bottom: 12px;
    color: #222;
    font-size: 16px;
    font-weight: 700;
}

.neo-guide-desc {
    color: #323232;
    font-size: 1rem;
    line-height: 1.5;
}

.neo-guide-list {
    margin: 0;
    padding-left: 18px;
}

.neo-guide-list li {
    margin-bottom: 8px;
}

.neo-guide-list li:last-child {
    margin-bottom: 0;
}

.neo-section-head {
    margin-bottom: .9rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid rgba(148, 163, 184, .35);
}

.neo-q {
    padding: 1rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-lg);
    background: var(--cb-surface);
    box-shadow: var(--neo-shadow-out);
}

.neo-q-head {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .75rem;
}

.neo-q-title {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.neo-q-meta {
    color: var(--cb-text-soft);
    font-size: .85rem;
}

.neo-badge-req,
.neo-badge-opt {
    padding: .18rem .55rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-pill);
    background: var(--cb-surface-soft);
    font-size: .78rem;
    white-space: nowrap;
}

.neo-badge-req {
    color: var(--cb-mark);
}

.neo-badge-opt {
    color: var(--cb-text-soft);
}

/* ==========================================================================
   11. Curtain / Alerts / Callouts
   ========================================================================== */
.cb-curtain-bar {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 16px 50px 10px 16px;
    background: var(--cb-primary);
    color: #333;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    word-break: keep-all;
    box-shadow:
            inset 0 -1px 0 rgba(0, 0, 0, .08),
            0 2px 6px rgba(0, 0, 0, .06);
}

.cb-notice-browser {
    display: block;
    color: #fff;
}

.cb-notice-warning {
    color: #856404;
}

.cb-notice-error {
    color: #b71c1c;
    font-weight: 600;
}

.cb-curtain-close {
    position: absolute;
    top: 50%;
    right: 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transform: translateY(-50%);
}

.sleek-info {
    position: relative;
    padding: .9rem 3rem;
    border: 1px solid rgba(0, 123, 255, .14);
    border-radius: 14px;
    background: linear-gradient(135deg, #eef7ff 0%, #f6fbff 100%);
    color: #0c3a5b;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.sleek-info .close {
    position: absolute;
    right: .65rem;
    top: .45rem;
    opacity: .55;
    text-shadow: none;
    font-size: 1.3rem;
}

.sleek-info .close:hover {
    opacity: .9;
}

.ni-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: .5rem;
    border-radius: var(--cb-radius-pill);
    background: #fff;
    color: #0b66c3;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(0, 123, 255, .15);
}

.ni-text b {
    padding-bottom: 1px;
    border-bottom: 2px solid rgba(11, 102, 195, .25);
    font-weight: 700;
}

.callout-warning {
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 153, 0, .18);
    border-radius: 14px;
    background: linear-gradient(
            135deg,
            color-mix(in srgb, var(--cb-mark) 15%, #fff) 0%,
            color-mix(in srgb, var(--cb-mark-soft) 25%, #fff) 100%
    );
    color: #6a4a10;
    box-shadow:
            0 8px 18px rgba(0, 0, 0, .05),
            inset 0 1px 0 rgba(255, 255, 255, .85);
}

.callout-warning .co-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: .5rem;
    border-radius: var(--cb-radius-pill);
    background: #fff;
    color: #d98200;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(255, 153, 0, .18);
}

.callout-warning .co-title {
    margin-bottom: .15rem;
    font-weight: 700;
    letter-spacing: .2px;
}

.callout-warning .co-text {
    line-height: 1.5;
}

.apply-summary .co-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.apply-summary .callout-warning .co-icon i {
    font-size: 16px;
    opacity: .85;
}

.badge-status {
    display: inline-block;
    margin: .2rem 0 .1rem;
    padding: .15rem .45rem;
    border-radius: 8px;
    background: #212529;
    color: #fff;
    font-weight: 700;
}

/* ==========================================================================
   12. Request / Team / Table
   ========================================================================== */
.req-head .req-id {
    padding: .1rem .45rem;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 6px;
    background: #f5f7fa;
    color: #555;
    font-weight: 700;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    border: 1px solid transparent;
    border-radius: var(--cb-radius-pill);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
}

.chip-ing { background: #fff6e6; color: #a76300; border-color: rgba(255, 175, 0, .35); }
.chip-done { background: #eaf9f0; color: #1d7a3a; border-color: rgba(40, 167, 69, .35); }
.chip-cancel { background: #fdeeee; color: #a61d1d; border-color: rgba(220, 53, 69, .35); }

.req-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .75rem;
}

.req-meta .fw-semibold {
    letter-spacing: -.2px;
}

.meta-item {
    display: flex;
    align-items: center;
    padding: .5rem .6rem;
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: 10px;
    background: #fafafa;
}

.meta-item small {
    margin-right: .4rem;
}

.meta-value {
    font-weight: 600;
}

.req-foot {
    margin-top: .6rem;
    padding-top: .5rem;
    border-top: 1px dashed rgba(0, 0, 0, .1);
    font-size: .95rem;
}

.req-no {
    display: inline-flex;
    align-items: center;
    padding: .45rem .85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(242, 245, 250, .95));
    color: #111827;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .4px;
    box-shadow:
            inset 2px 2px 7px rgba(0, 0, 0, .08),
            inset -2px -2px 7px rgba(255, 255, 255, .9);
}

.req-no:hover {
    transform: translateY(-1px);
}

.req-no:active {
    transform: translateY(0);
    box-shadow:
            inset 3px 3px 9px rgba(0, 0, 0, .10),
            inset -3px -3px 9px rgba(255, 255, 255, .85);
}

.req-no.copied {
    outline: 2px solid rgba(34, 197, 94, .6);
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.req-no-label {
    padding: .2rem .5rem;
    border-radius: var(--cb-radius-pill);
    background: #eef2f7;
    color: #6b7280;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow:
            inset 1px 1px 2px rgba(0, 0, 0, .08),
            inset -1px -1px 2px rgba(255, 255, 255, .9);
}

.receipt-divider {
    margin-bottom: .5rem;
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 700;
}

.neo-team .team-row {
    border-radius: 14px;
}

.neo-team .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.neo-team .team-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: .5rem;
}

.card-body {
    height: 250px;
    overflow-y: scroll;
}

@media (max-width: 768px) {
    .table-responsive::after {
        content: "↔ 좌우로 스크롤";
        position: sticky;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: .35rem .6rem;
        background: linear-gradient(270deg, rgba(246, 247, 251, .95), rgba(246, 247, 251, .6), rgba(246, 247, 251, 0));
        color: rgba(0, 0, 0, .55);
        font-size: .78rem;
        pointer-events: none;
    }
}

/* ==========================================================================
   13. Main Page / Contact / Quick / Notice / Files
   ========================================================================== */
#main {
    background:
            radial-gradient(circle at top left, color-mix(in srgb, var(--cb-accent-readable) 10%, transparent), transparent 34%),
            radial-gradient(circle at bottom right, rgba(16, 185, 129, .08), transparent 36%),
            var(--cb-page-bg);
}

.cb-wrap {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.cb-neo-panel {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid var(--cb-card-line);
    border-radius: 28px;
    background: var(--cb-card-bg);
    box-shadow:
            14px 14px 28px rgba(15, 23, 42, .10),
            -14px -14px 28px rgba(255, 255, 255, .92);
}

.cb-neo-panel::before,
.cb-neo-panel::after {
    content: "";
    position: absolute;
    border-radius: var(--cb-radius-pill);
    pointer-events: none;
}

.cb-neo-panel::before {
    top: -72px;
    right: -72px;
    width: 160px;
    height: 160px;
    background: var(--cb-accent-readable);
    opacity: .05;
}

.cb-neo-panel::after {
    left: -72px;
    bottom: -72px;
    width: 300px;
    height: 300px;
    background: var(--cb-accent-hover, var(--cb-accent-readable));
    opacity: .03;
}

.cb-neo-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.cb-section-eyebrow,
.cb-board-eyebrow,
.cb-detail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .45rem;
    color: var(--cb-accent-readable);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.cb-section-title {
    margin: 0;
    color: var(--cb-text);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.04em;
}

.cb-section-desc {
    margin: .45rem 0 0;
    color: var(--cb-muted);
    font-size: .9rem;
    line-height: 1.65;
}

.cb-contact-panel,
.cb-quick-panel {
    padding: 1.45rem;
}

.cb-contact-list,
.cb-file-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.15rem;
}

.cb-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    min-height: 58px;
    padding: .95rem 1rem;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 18px;
    background: rgba(255, 255, 255, .48);
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .045),
            inset -3px -3px 7px rgba(255, 255, 255, .9);
}

.cb-contact-icon {
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #eef1f5;
    color: var(--cb-accent-readable);
    box-shadow:
            5px 5px 10px rgba(15, 23, 42, .09),
            -5px -5px 10px rgba(255, 255, 255, .9);
}

.cb-contact-label {
    color: var(--cb-soft-muted);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.2;
}

.cb-contact-value {
    margin-top: .2rem;
    color: #374151;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.45;
}

.cb-quick-panel .cb-neo-inner {
    height: 100%;
}

.cb-quick-balanced {
    display: grid;
    grid-template-columns: .9fr 1.6fr;
    align-items: stretch;
    gap: 1.5rem;
    height: 100%;
}

.cb-quick-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cb-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 14px;
    width: 100%;
    height: 100%;
    margin-top: 0;
}

.cb-quick-text-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 92px;
    padding: 1rem .85rem;
    border: 1px solid color-mix(in srgb, var(--cb-accent-readable) 18%, rgba(255, 255, 255, .82));
    border-radius: 22px;
    background:
            linear-gradient(
                    145deg,
                    color-mix(in srgb, var(--cb-accent-readable) 16%, rgba(255, 255, 255, .86)),
                    color-mix(in srgb, var(--cb-accent-hover) 10%, rgba(238, 241, 245, .92))
            );
    color: #111827;
    text-align: center;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.045em;
    box-shadow:
            8px 8px 16px rgba(15, 23, 42, .09),
            -8px -8px 16px rgba(255, 255, 255, .82),
            inset 1px 1px 0 rgba(255, 255, 255, .65);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.cb-quick-text-btn::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -1;
    background:
            linear-gradient(
                    135deg,
                    color-mix(in srgb, var(--cb-accent-readable) 42%, transparent),
                    color-mix(in srgb, var(--cb-accent-hover) 22%, transparent),
                    rgba(255, 255, 255, .12)
            );
    filter: blur(22px);
    opacity: .72;
    transform: rotate(-4deg);
    pointer-events: none;
}

.cb-quick-text-btn::after {
    display: none;
}

.cb-quick-text-btn span {
    position: relative;
    z-index: 1;
}

.cb-quick-text-btn:hover {
    border-color: color-mix(in srgb, var(--cb-accent-readable) 55%, #ffffff);
    background:
            linear-gradient(
                    145deg,
                    color-mix(in srgb, var(--cb-accent-readable) 76%, #ffffff),
                    var(--cb-accent-hover)
            );
    color: var(--cb-accent-text-on, #ffffff);
    transform: translateY(-2px);
    box-shadow:
            10px 10px 22px rgba(15, 23, 42, .14),
            -10px -10px 22px rgba(255, 255, 255, .86),
            inset 1px 1px 0 rgba(255, 255, 255, .36);
}

.cb-quick-text-btn:hover span {
    color: inherit;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
}

body[template-theme='yellow'] #main .cb-quick-text-btn:hover span,
body[template-theme='white'] #main .cb-quick-text-btn:hover span {
    text-shadow: none;
}

.cb-quick-text-btn:hover::before {
    opacity: .95;
    filter: blur(18px);
}

.cb-quick-text-btn.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.cb-notice-panel {
    padding: 1.45rem;
}

.cb-notice-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cb-notice-list {
    display: grid;
    gap: .85rem;
}

.cb-notice-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 22px;
    background: rgba(238, 241, 245, .92);
    color: inherit;
    text-decoration: none;
    box-shadow:
            8px 8px 16px rgba(15, 23, 42, .09),
            -8px -8px 16px rgba(255, 255, 255, .92);
    transition: transform .18s ease, box-shadow .18s ease;
}

.cb-notice-item:hover {
    transform: translateY(-1px);
    box-shadow:
            11px 11px 22px rgba(15, 23, 42, .12),
            -11px -11px 22px rgba(255, 255, 255, .96);
}

.cb-notice-main {
    flex: 1 1 auto;
    min-width: 0;
}

.cb-notice-title-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.cb-notice-title {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #111827;
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-notice-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .28rem .52rem;
    border-radius: var(--cb-radius-pill);
    background: var(--cb-accent-readable);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
}

.cb-notice-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .4rem;
    color: var(--cb-muted);
    font-size: .78rem;
    font-weight: 700;
}

.cb-notice-meta span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.cb-notice-go {
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #eef1f5;
    color: var(--cb-accent-readable);
    box-shadow:
            5px 5px 10px rgba(15, 23, 42, .09),
            -5px -5px 10px rgba(255, 255, 255, .92);
}

.cb-file-list {
    gap: .75rem;
    margin-top: 1rem;
}

.cb-file-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    min-height: 54px;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 18px;
    background: rgba(255, 255, 255, .48);
    color: #111827;
    font-weight: 850;
    line-height: 1.4;
    text-decoration: none;
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .045),
            inset -3px -3px 7px rgba(255, 255, 255, .9);
}

.cb-file-link:hover {
    color: var(--cb-accent-readable);
}

.cb-file-link i,
.cb-file-name > i,
.cb-file-download-icon {
    color: var(--cb-accent-readable);
}

.cb-file-name {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    min-width: 0;
}

.cb-file-name > i {
    flex: 0 0 auto;
    margin-top: .16rem;
    font-size: 1rem;
}

.cb-file-text {
    flex: 1 1 auto;
    display: block;
    min-width: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.cb-file-download-icon {
    flex: 0 0 auto;
    font-size: 1.05rem;
}

/* ==========================================================================
   14. Board List Page
   ========================================================================== */
.cb-board-page {
    min-height: 70vh;
    padding: 2.5rem 0 4rem;
    background:
            radial-gradient(circle at top left, color-mix(in srgb, var(--cb-board-accent) 8%, transparent), transparent 34%),
            radial-gradient(circle at bottom right, color-mix(in srgb, var(--cb-board-hover) 8%, transparent), transparent 36%),
            #eef1f5;
}

.cb-board-wrap {
    max-width: 1180px;
}

.cb-board-hero,
.cb-board-section,
.cb-detail-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: rgba(238, 241, 245, .92);
    box-shadow:
            14px 14px 28px rgba(15, 23, 42, .10),
            -14px -14px 28px rgba(255, 255, 255, .92);
}

.cb-board-hero {
    padding: 2rem 2.2rem;
    margin-bottom: 1.4rem;
}

.cb-board-hero::before,
.cb-board-section::before,
.cb-board-hero::after,
.cb-board-section::after,
.cb-detail-card::before,
.cb-detail-card::after {
    content: "";
    position: absolute;
    border-radius: var(--cb-radius-pill);
    pointer-events: none;
}

.cb-board-hero::before,
.cb-board-section::before,
.cb-detail-card::before {
    top: -72px;
    right: -72px;
    width: 160px;
    height: 160px;
    background: var(--cb-board-accent);
    opacity: .03;
}

.cb-board-section::before {
    opacity: .08;
}

.cb-board-hero::after,
.cb-board-section::after,
.cb-detail-card::after {
    left: -64px;
    bottom: -72px;
    width: 150px;
    height: 150px;
    background: var(--cb-board-hover);
    opacity: .02;
}

.cb-board-section::after {
    opacity: .08;
}

.cb-board-hero-inner,
.cb-board-section-inner,
.cb-detail-inner {
    position: relative;
    z-index: 1;
}

.cb-board-hero-row,
.cb-board-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cb-board-hero-row {
    align-items: center;
}

.cb-board-section-head {
    align-items: flex-end;
    margin-bottom: 1rem;
}

.cb-board-eyebrow {
    color: var(--cb-board-accent);
}

.cb-board-title {
    margin: 0;
    color: #111827;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.045em;
}

.cb-board-desc {
    margin: .5rem 0 0;
    color: #6b7280;
    font-size: .92rem;
    line-height: 1.65;
}

.cb-board-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}

.cb-board-count,
.cb-board-write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: var(--cb-radius-pill);
    font-size: .84rem;
    font-weight: 900;
}

.cb-board-count {
    padding: .45rem .85rem;
    border: 1px solid rgba(255, 255, 255, .76);
    background: rgba(255, 255, 255, .46);
    color: var(--cb-board-accent);
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .045),
            inset -3px -3px 7px rgba(255, 255, 255, .92);
}

.cb-board-write-btn {
    gap: .4rem;
    padding: .48rem .9rem;
    border: 0;
    background: var(--cb-board-accent);
    color: var(--cb-board-on);
    box-shadow:
            7px 7px 14px rgba(15, 23, 42, .13),
            -7px -7px 14px rgba(255, 255, 255, .92);
    transition: transform .18s ease, background .18s ease;
}

.cb-board-write-btn:hover {
    background: var(--cb-board-hover);
    color: var(--cb-board-on);
    transform: translateY(-1px);
}

.cb-board-top-card {
    margin-bottom: 1.4rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 24px;
    background: rgba(255, 255, 255, .48);
    color: #374151;
    font-size: .95rem;
    line-height: 1.7;
    box-shadow:
            8px 8px 16px rgba(15, 23, 42, .075),
            -8px -8px 16px rgba(255, 255, 255, .9);
}

.cb-board-section {
    padding: 2rem;
}

.cb-board-section-title {
    margin: 0;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.cb-board-section-sub {
    margin: .35rem 0 0;
    color: #6b7280;
    font-size: .86rem;
}

.cb-board-list {
    display: grid;
    gap: .8rem;
}

.cb-board-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 20px;
    background: rgba(255, 255, 255, .42);
    color: inherit;
    text-decoration: none;
    box-shadow:
            inset 2px 2px 5px rgba(15, 23, 42, .035),
            inset -2px -2px 5px rgba(255, 255, 255, .86);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.cb-board-item:hover {
    background: rgba(255, 255, 255, .58);
    color: inherit;
    transform: translateY(-1px);
    box-shadow:
            7px 7px 14px rgba(15, 23, 42, .075),
            -7px -7px 14px rgba(255, 255, 255, .88);
}

.cb-board-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.cb-board-item-title-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.cb-board-pin {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .26rem .55rem;
    border-radius: var(--cb-radius-pill);
    background: var(--cb-board-accent);
    color: var(--cb-board-on);
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
}

.cb-board-item-title {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #111827;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.45;
    letter-spacing: -.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-board-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .48rem;
    color: #6b7280;
    font-size: .78rem;
    font-weight: 650;
}

.cb-board-meta span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.cb-board-meta i,
.cb-board-table-icon {
    color: var(--cb-board-accent);
    opacity: .8;
}

.cb-board-go {
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #eef1f5;
    color: var(--cb-board-accent);
    box-shadow:
            5px 5px 10px rgba(15, 23, 42, .08),
            -5px -5px 10px rgba(255, 255, 255, .9);
}

.cb-board-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.cb-board-tile-grid .cb-board-item {
    align-items: stretch;
    min-height: 120px;
}

.cb-board-tile-grid .cb-board-go {
    align-self: center;
}

.cb-board-table-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background: rgba(255, 255, 255, .42);
}

.cb-board-table {
    margin-bottom: 0;
}

.cb-board-table thead th {
    padding: 1rem .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .58);
    color: #374151;
    font-size: .86rem;
    font-weight: 900;
}

.cb-board-table tbody td {
    padding: .95rem .9rem;
    border-color: rgba(255, 255, 255, .62);
    color: #374151;
    font-size: .9rem;
}

.cb-board-table tbody tr:hover {
    background: color-mix(in srgb, var(--cb-board-accent) 5%, transparent);
}

.cb-board-table-title {
    color: #111827;
    font-weight: 850;
    text-decoration: none;
}

.cb-board-table-title:hover {
    color: var(--cb-board-accent);
}

.cb-board-empty {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(255, 255, 255, .42);
}

.cb-board-empty-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
}

.cb-board-empty-icon {
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #eef1f5;
    color: var(--cb-board-accent);
    font-size: 1.3rem;
    box-shadow:
            7px 7px 14px rgba(15, 23, 42, .09),
            -7px -7px 14px rgba(255, 255, 255, .9);
}

/* ==========================================================================
   15. Board Detail / Post Detail / Comments
   ========================================================================== */
.cb-detail-page {
    min-height: 70vh;
    padding: 2.5rem 0 4rem;
    background:
            radial-gradient(circle at top left, color-mix(in srgb, var(--cb-detail-accent) 8%, transparent), transparent 34%),
            radial-gradient(circle at bottom right, color-mix(in srgb, var(--cb-detail-hover) 8%, transparent), transparent 36%),
            #eef1f5;
}

.cb-detail-wrap {
    max-width: 1080px;
}

.cb-detail-card::before {
    background: var(--cb-detail-accent);
    opacity: .03;
}

.cb-detail-card::after {
    background: var(--cb-detail-hover);
    opacity: .02;
}

.cb-detail-eyebrow {
    color: var(--cb-detail-accent);
}

.cb-detail-hero {
    padding: 2rem 2.2rem;
    margin-bottom: 1.4rem;
}

.cb-detail-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.cb-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 34px;
    padding: .42rem .72rem;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: var(--cb-radius-pill);
    background: rgba(255, 255, 255, .46);
    color: var(--cb-detail-accent);
    font-size: .8rem;
    font-weight: 850;
    line-height: 1;
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .04),
            inset -3px -3px 7px rgba(255, 255, 255, .9);
}

.cb-detail-title {
    margin: 0;
    color: #111827;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.055em;
}

.cb-detail-body {
    padding: 2.2rem;
    margin-bottom: 1.4rem;
}

.cb-detail-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: var(--cb-radius-lg);
    background: rgba(255, 255, 255, .46);
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.85;
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .04),
            inset -3px -3px 7px rgba(255, 255, 255, .9);
}

.cb-detail-content img,
.board-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.cb-detail-content table,
.board-content table,
.post-content table {
    width: 100%;
    max-width: 100%;
}

.cb-detail-utility {
    margin-top: 1.2rem;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background: rgba(255, 255, 255, .42);
}

.cb-detail-utility-title {
    margin-bottom: .8rem;
    color: #111827;
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.cb-detail-file-btn,
.cb-detail-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 40px;
    padding: .55rem .9rem;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: var(--cb-radius-pill);
    background: rgba(255, 255, 255, .48);
    color: var(--cb-detail-accent);
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow:
            6px 6px 12px rgba(15, 23, 42, .08),
            -6px -6px 12px rgba(255, 255, 255, .86);
}

.cb-detail-file-btn:hover,
.cb-detail-link-btn:hover {
    background: var(--cb-detail-hover);
    color: var(--cb-detail-on);
}

.cb-detail-reply {
    margin-top: 1.4rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(255, 255, 255, .42);
}

.cb-detail-reply-head,
.cb-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cb-detail-reply-title,
.cb-comment-title {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: #111827;
    font-weight: 900;
    letter-spacing: -.04em;
}

.cb-detail-reply-title {
    font-size: 1.05rem;
}

.cb-comment-title {
    font-size: 1.12rem;
}

.cb-detail-reply-title i,
.cb-comment-title i,
.cb-comment-meta i {
    color: var(--cb-detail-accent);
}

.cb-detail-reply-date {
    color: #6b7280;
    font-size: .8rem;
    font-weight: 750;
}

.cb-detail-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
    margin-top: 1.2rem;
}

.cb-detail-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 42px;
    padding: .58rem 1rem;
    border: 0;
    border-radius: var(--cb-radius-pill);
    background: rgba(255, 255, 255, .46);
    color: var(--cb-detail-accent);
    font-size: .88rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow:
            7px 7px 14px rgba(15, 23, 42, .10),
            -7px -7px 14px rgba(255, 255, 255, .9);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.cb-detail-action-btn:hover {
    background: var(--cb-detail-hover);
    color: var(--cb-detail-on);
    transform: translateY(-1px);
}

.cb-comment-card {
    padding: 1.8rem;
}

.cb-comment-count {
    color: var(--cb-detail-accent);
    font-size: .84rem;
    font-weight: 850;
}

.cb-comment-form {
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background: rgba(255, 255, 255, .42);
}

.cb-comment-counter {
    display: block;
    margin-bottom: .55rem;
    color: #6b7280;
    font-size: .78rem;
    font-weight: 750;
}

.cb-comment-input {
    resize: none;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 18px;
    background: rgba(255, 255, 255, .58);
    box-shadow:
            inset 3px 3px 7px rgba(15, 23, 42, .045),
            inset -3px -3px 7px rgba(255, 255, 255, .9);
}

.cb-comment-input:focus {
    border-color: color-mix(in srgb, var(--cb-detail-accent) 30%, #ffffff);
    box-shadow:
            0 0 0 .2rem color-mix(in srgb, var(--cb-detail-accent) 14%, transparent),
            inset 3px 3px 7px rgba(15, 23, 42, .04),
            inset -3px -3px 7px rgba(255, 255, 255, .9);
}

.cb-comment-save-btn {
    min-width: 86px;
    border: 0;
    border-radius: 18px;
    background: var(--cb-detail-accent);
    color: var(--cb-detail-on);
    font-size: .88rem;
    font-weight: 900;
    box-shadow:
            7px 7px 14px rgba(15, 23, 42, .12),
            -7px -7px 14px rgba(255, 255, 255, .88);
}

.cb-comment-save-btn:hover {
    background: var(--cb-detail-hover);
    color: var(--cb-detail-on);
}

.cb-comment-list {
    display: grid;
    gap: .75rem;
}

.cb-comment-item,
.cb-comment-empty {
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 20px;
    background: rgba(255, 255, 255, .42);
}

.cb-comment-item {
    padding: 1rem;
    box-shadow:
            inset 2px 2px 5px rgba(15, 23, 42, .035),
            inset -2px -2px 5px rgba(255, 255, 255, .86);
}

.cb-comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .55rem;
    color: #6b7280;
    font-size: .78rem;
    font-weight: 750;
}

.cb-comment-empty {
    padding: 1.4rem;
    color: #6b7280;
    text-align: center;
}

/* Post layout compatibility */
.post-wrap {
    min-height: 70vh;
    height: auto;
    padding-top: 1.25rem;
    padding-bottom: 2.25rem;
}

.post-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.neo-card.post-hero-card,
.post-hero-card,
.reply-box {
    border-left: 4px solid var(--siteColor) !important;
}

.neo-card.post-hero-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border: 1px solid rgba(75, 107, 255, .12);
    background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
}

.post-hero-card::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 6px;
    border-radius: 0 12px 12px 0;
}

.post-hero {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: .35rem .35rem .2rem .8rem;
}

.post-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .6rem;
    margin-bottom: .15rem;
    color: var(--cb-text-soft);
    font-weight: 800;
}

.post-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .48rem .85rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-pill);
    background: rgba(255, 255, 255, .82);
    color: var(--cb-text-soft);
    font-size: .92rem;
    font-weight: 600;
    box-shadow: var(--neo-shadow-out);
}

.post-title {
    margin: 0;
    color: #323232;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.018em;
    text-decoration: none;
}

.post-subtitle {
    margin-top: -.15rem;
    color: var(--cb-text-soft);
    font-size: .95rem;
    line-height: 1.65;
}

.post-body-card {
    padding: 1.35rem 1.4rem;
}

.post-section-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .9rem;
    padding: .46rem .8rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-pill);
    background: var(--cb-surface-soft);
    color: var(--cb-text-soft);
    font-size: .92rem;
    font-weight: 700;
    box-shadow: var(--neo-shadow-out);
}

.board-content,
.post-content {
    align-items: flex-start;
    color: var(--cb-text);
    font-size: 1rem;
    line-height: 1.8;
    word-break: break-word;
}

.post-content {
    min-height: 70vh;
    height: auto;
}

.board-content > *:last-child,
.post-content > *:last-child {
    margin-bottom: 0;
}

.board-content ul,
.post-content ul {
    list-style: inherit !important;
    padding-left: 1.25rem !important;
    margin-bottom: 1rem;
}

.board-content p,
.post-content p {
    margin-bottom: .75rem;
}

.board-content a,
.post-content a {
    font-weight: 800;
    text-decoration: none;
}

.board-content a:hover,
.post-content a:hover {
    text-decoration: underline;
}

.post-utility {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--cb-border-subtle);
}

.post-utility-title {
    margin-bottom: .7rem;
    color: var(--cb-text-soft);
    font-size: .9rem;
    font-weight: 700;
}

.reply-box {
    position: relative;
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 16px;
    background: #f6f8fb;
}

.reply-box::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: .75rem;
}

.reply-title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: var(--cb-text-strong);
    font-size: 1rem;
    font-weight: 800;
}

.reply-date {
    color: var(--cb-text-soft);
    font-size: .88rem;
    font-weight: 600;
}

.post-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.post-meta-item {
    padding: .75rem .9rem;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: var(--cb-radius-md);
    background: var(--cb-surface-soft);
}

.post-meta-label {
    margin-bottom: .2rem;
    color: var(--cb-text-soft);
    font-size: .78rem;
    font-weight: 900;
}

.post-meta-value {
    color: var(--cb-text);
    font-weight: 900;
    word-break: break-word;
}

.post-section-title {
    margin: 0 0 .65rem;
    font-weight: 900;
    letter-spacing: -.01em;
}

.comment-empty {
    color: var(--cb-text-soft);
    font-weight: 800;
}

.post-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1.15rem;
}

.post-item {
    padding: 1.1rem 1.25rem;
    border-radius: var(--cb-radius-xl);
}

.post-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--neo-shadow-out), 0 12px 24px rgba(0, 0, 0, .08);
}

.post-meta {
    gap: .75rem;
    color: var(--cb-text-soft);
    font-size: .9rem;
    font-weight: 700;
}

.post-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.post-link:focus-visible {
    border-radius: var(--cb-radius-lg);
    outline: 0;
    box-shadow: var(--neo-shadow-inset);
}

.sel-tab-bold {
    border-color: var(--cb-primary);
    background: var(--cb-primary);
    color: #fff;
    font-weight: 700;
}

/* ==========================================================================
   16. Platform Legal / Vote Detail
   ========================================================================== */
.platform-legal {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, .04);
    background: rgba(255, 255, 255, .8);
    color: rgba(0, 0, 0, .3);
    font-size: .86rem;
}

.platform-legal-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.platform-legal-brandline,
.platform-legal-subline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 10px;
    line-height: 1.45;
}

.platform-legal-brand {
    color: rgba(0, 0, 0, .50);
    font-weight: 800;
    letter-spacing: -.02em;
}

.platform-legal-dot {
    opacity: .35;
}

.platform-legal-role {
    color: rgba(0, 0, 0, .38);
    font-size: .82rem;
}

.platform-legal-divider {
    padding: 0 6px;
    opacity: .35;
}

.platform-legal a {
    color: inherit;
    border-bottom: 1px dotted rgba(0, 0, 0, .2);
    font-weight: 900;
    text-decoration: none;
}

.platform-legal a:hover {
    border-bottom: 1px solid rgba(0, 0, 0, .4);
}

.vote-card {
    transition: all .2s ease;
}

.vote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.vote-detail-page {
    min-height: 100vh;
    background: var(--cb-bg);
}

.vote-detail-wrap {
    width: 100%;
    max-width: 980px;
}

.vote-detail-card {
    padding: 1.5rem;
}

.vote-page-title {
    margin: 0;
    color: var(--cb-text-strong);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.vote-page-subtitle {
    color: var(--cb-text);
    font-size: 1rem;
    font-weight: 700;
    word-break: keep-all;
}

.vote-section {
    width: 100%;
}

.neo-section {
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--cb-border-subtle);
    border-radius: var(--cb-radius-lg);
    background: var(--cb-surface);
    box-shadow: var(--neo-shadow-out);
}

.vote-desc {
    color: var(--cb-text);
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.vote-media-frame,
.vote-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: var(--cb-radius-lg);
    box-shadow: var(--neo-shadow-out);
}

.vote-media-frame {
    aspect-ratio: 16 / 9;
    background: #000;
}

.vote-media-frame-pdf {
    min-height: 720px;
    aspect-ratio: auto;
    border: 1px solid var(--cb-border-subtle);
    background: var(--cb-surface);
}

.vote-iframe,
.vote-pdf-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.vote-image-wrap {
    padding: .5rem;
    background: var(--cb-surface);
    text-align: center;
}

.vote-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    border-radius: calc(var(--cb-radius-lg) - 6px);
}

.meta-line {
    color: var(--cb-text-soft);
    font-size: .95rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: .5rem .9rem;
    border-radius: var(--cb-radius-pill);
    font-weight: 800;
    box-shadow: var(--neo-shadow-out);
}

.pill-wait { background: #fff6e6; color: #a76300; }
.pill-open { background: rgba(75, 107, 255, .12); color: var(--cb-primary-strong); }
.pill-done { background: rgba(199, 31, 0, .1); color: var(--cb-mark); }

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .cb-contact-panel,
    .cb-quick-panel {
        padding: 1.25rem;
    }

    .cb-quick-balanced {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .cb-quick-copy {
        justify-content: flex-start;
    }

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

@media (min-width: 768px) {
    .neo-info-cta {
        width: auto;
    }

    .neo-info-desc-line {
        display: block;
        white-space: nowrap;
    }
}

@media (max-width: 767.98px) {
    .neo-info-cta {
        width: 100%;
    }

    .cb-board-page,
    .cb-detail-page {
        padding: 1.5rem 0 3rem;
    }

    .cb-board-hero,
    .cb-detail-hero,
    .cb-detail-body,
    .cb-comment-card {
        padding: 1.25rem;
        border-radius: var(--cb-radius-lg);
    }

    .cb-board-hero-row,
    .cb-board-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cb-board-title {
        font-size: 1.3rem;
    }

    .cb-board-actions {
        width: 100%;
    }

    .cb-board-count,
    .cb-board-write-btn {
        flex: 1 1 auto;
    }

    .cb-board-section {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .cb-board-tile-grid {
        grid-template-columns: 1fr;
    }

    .cb-board-item {
        align-items: flex-center;
        padding: .95rem;
    }

    .cb-board-item-title,
    .cb-notice-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .cb-detail-title {
        font-size: 1.45rem;
    }

    .cb-detail-content {
        padding: 1rem;
        border-radius: var(--cb-radius-lg);
        font-size: .95rem;
    }

    .cb-detail-actions {
        justify-content: stretch;
    }

    .cb-detail-action-btn {
        flex: 1 1 auto;
    }

    .cb-comment-form .d-flex,
    .post-actions {
        flex-direction: column;
    }

    .post-actions {
        flex-direction: column-reverse;
    }

    .cb-comment-save-btn,
    .post-actions .neo-btn-ghost {
        width: 100%;
    }

    .cb-comment-save-btn {
        min-height: 44px;
    }

    .post-hero {
        padding: .15rem .15rem .05rem .45rem;
    }

    .post-body-card {
        padding: 1.1rem 1rem;
    }

    .reply-box {
        padding: .95rem 1rem;
    }

    .vote-detail-wrap {
        max-width: 100%;
    }

    .vote-detail-card {
        padding: 1rem;
        border-radius: 1rem;
    }

    .vote-media-frame-pdf {
        min-height: 62vh;
    }

    .vote-image {
        max-height: none;
    }
}

@media (max-width: 576px) {
    .cb-detail-body,
    .cb-detail-content
    {
        padding: 0.5rem !important;
    }
    .neo-card {
        padding: 0.5rem !important;
    }

    .neo-q {
        padding: 0.5rem !important;
    }

    .frm-group-swap {
        padding: 0;
    }
    .error-code {
        font-size: 4.5rem;
    }

    .neo-receipt-box {
        padding: .5rem !important;
    }

    .cb-done-wrap,
    .cb-info-box,
    .cb-actions,
    .cb-done-kv {
        max-width: 100%;
    }

    .apply-period-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: .15rem;
    }

    .period-sep {
        display: none;
    }

    .neo-check-row.is-etc .neo-etc-input {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .req-meta {
        grid-template-columns: 1fr;
    }

    .req-head .btn-group {
        margin-top: .5rem;
    }

    .cb-wrap {
        padding-top: .75rem;
        padding-bottom: 3rem;
    }

    .cb-neo-panel {
        border-radius: 24px;
    }

    .cb-section-title {
        font-size: 1rem;
    }

    .cb-section-desc {
        font-size: .84rem;
    }

    .cb-contact-panel,
    .cb-quick-panel,
    .cb-notice-panel {
        padding: 1.25rem;
    }

    .cb-contact-panel,
    .cb-quick-panel {
        padding: 1.05rem;
    }

    .cb-contact-item {
        padding: .85rem;
    }

    .cb-quick-text-btn {
        min-height: 64px;
        padding: .85rem .65rem;
        border-radius: 17px;
        font-size: .94rem;
    }

    .cb-quick-text-btn::before {
        inset: -18px;
        filter: blur(18px);
    }

    .cb-notice-head {
        flex-direction: column;
        align-items: flex-start;
        gap: .35rem;
    }

    .cb-notice-item {
        padding: .95rem;
        border-radius: 20px;
    }

    .cb-file-link {
        align-items: flex-start;
        padding: .85rem .9rem;
    }

    .cb-file-download-icon {
        margin-top: .15rem;
    }

    .post-meta-grid {
        grid-template-columns: 1fr;
    }

    .neo-faq-btn {
        width: 100%;
        justify-content: center;
    }

    .neo-faq-accordion .accordion-button {
        padding: .9rem .95rem;
        font-size: .95rem;
    }

    .neo-faq-answer {
        padding: .9rem;
        font-size: .92rem;
    }
}

@media (max-width: 420px) {
    .swal2-popup.pcp-swal-popup {
        padding: 22px 16px 18px !important;
        border-radius: 24px !important;
    }

    .pcp-swal-title {
        font-size: 19px !important;
    }

    .pcp-correction-option {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .pcp-swal-confirm,
    .pcp-swal-cancel {
        min-width: 104px !important;
        min-height: 42px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 360px) {
    .neo-team .team-grid {
        grid-template-columns: 1fr;
    }
}

.ui-datepicker {
    z-index: 9999 !important;
    width: 340px;
    padding: 16px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow:
            12px 12px 28px rgba(163, 177, 198, 0.55),
            -10px -10px 24px rgba(255, 255, 255, 0.9);
    font-family: inherit;
}

.ui-datepicker .ui-datepicker-header {
    border: 0;
    border-radius: 18px;
    background: #eef3f8;
    box-shadow:
            inset 4px 4px 8px rgba(163, 177, 198, 0.35),
            inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    padding: 12px 42px;
    margin-bottom: 14px;
}

.ui-datepicker .ui-datepicker-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    color: #263238;
    font-size: 15px;
    font-weight: 800;
}

.ui-datepicker select.ui-datepicker-year,
.ui-datepicker select.ui-datepicker-month {
    width: auto;
    min-width: 82px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    padding: 0 10px;
    background-color: #f8fbff;
    box-shadow:
            inset 3px 3px 6px rgba(163, 177, 198, 0.35),
            inset -3px -3px 6px rgba(255, 255, 255, 0.9);
    color: #263238;
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #eef3f8;
    box-shadow:
            4px 4px 9px rgba(163, 177, 198, 0.55),
            -4px -4px 9px rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {
    left: 12px;
}

.ui-datepicker .ui-datepicker-next {
    right: 12px;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #eef3f8;
    box-shadow:
            inset 3px 3px 6px rgba(163, 177, 198, 0.35),
            inset -3px -3px 6px rgba(255, 255, 255, 0.9);
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    margin-top: -8px;
    margin-left: -8px;
}

.ui-datepicker table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 6px;
}

.ui-datepicker th {
    padding: 4px 0 8px;
    color: #52616f;
    font-size: 14px;
    font-weight: 800;
}

.ui-datepicker td {
    padding: 0;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0 !important;
    border-radius: 14px;
    background: #eef3f8 !important;
    color: #37474f !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-shadow:
            4px 4px 9px rgba(163, 177, 198, 0.5),
            -4px -4px 9px rgba(255, 255, 255, 0.9);
}

.ui-datepicker td a:hover {
    background: #f8fbff !important;
    color: #0d6efd !important;
    box-shadow:
            inset 3px 3px 6px rgba(163, 177, 198, 0.35),
            inset -3px -3px 6px rgba(255, 255, 255, 0.95);
}

.ui-datepicker .ui-state-active {
    background: #0d6efd !important;
    color: #ffffff !important;
    box-shadow:
            4px 4px 10px rgba(13, 110, 253, 0.28),
            -4px -4px 10px rgba(255, 255, 255, 0.85) !important;
}

.ui-datepicker .ui-datepicker-today a {
    color: #0d6efd !important;
    box-shadow:
            inset 3px 3px 6px rgba(163, 177, 198, 0.35),
            inset -3px -3px 6px rgba(255, 255, 255, 0.95);
}

.ui-datepicker .ui-datepicker-buttonpane {
    border: 0;
    margin-top: 12px;
    padding: 10px 0 0;
    background: transparent;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    border: 0;
    border-radius: 12px;
    padding: 7px 14px;
    background: #eef3f8;
    color: #37474f;
    font-size: 13px;
    font-weight: 700;
    box-shadow:
            4px 4px 9px rgba(163, 177, 198, 0.5),
            -4px -4px 9px rgba(255, 255, 255, 0.9);
}

.ui-datepicker .ui-datepicker-buttonpane button:hover {
    color: #0d6efd;
    box-shadow:
            inset 3px 3px 6px rgba(163, 177, 198, 0.35),
            inset -3px -3px 6px rgba(255, 255, 255, 0.95);
}

@media (max-width: 575.98px) {
    .ui-datepicker {
        width: calc(100vw - 32px);
        left: 16px !important;
        padding: 14px;
        border-radius: 22px;
    }

    .ui-datepicker table {
        border-spacing: 5px;
    }

    .ui-datepicker td a,
    .ui-datepicker td span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ui-datepicker select.ui-datepicker-year,
    .ui-datepicker select.ui-datepicker-month {
        min-width: 74px;
        font-size: 13px;
    }
}

.neo-notice-block {
    padding: 1.25rem 1rem;
    border-radius: 18px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .08),
    inset -2px -2px 4px rgba(255, 255, 255, .85);
}

.neo-notice-block.is-basic {
    border: 1px solid rgba(148, 163, 184, .18);
}

.neo-notice-block.is-strong {
    background: rgba(75, 107, 255, .08);
    border: 1px solid rgba(75, 107, 255, .20);
}

.neo-notice-block.is-warning {
    background: rgba(255, 193, 7, .12);
    border: 1px solid rgba(255, 193, 7, .22);
}

.neo-notice-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #111827;
}

.neo-notice-desc {
    color: #374151;
    line-height: 1.7;
}

.neo-notice-desc p:last-child {
    margin-bottom: 0;
}

/*재고css*/
.inventory-preview-box {
    padding: .85rem;
    margin-top: .85rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .06),
    inset -2px -2px 4px rgba(255, 255, 255, .85);
}

.inventory-preview-title {
    font-size: .9rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: .5rem;
}

.inventory-preview-list {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.inventory-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .65rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .18);
}

.inventory-preview-label {
    font-size: .9rem;
    font-weight: 700;
    color: #374151;
    word-break: keep-all;
}

.inventory-preview-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.inventory-preview-status.is-open {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.inventory-preview-status.is-close {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.inventory-preview-status.is-unlimited {
    color: #1d4ed8;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.inventory-preview-status.is-off {
    color: #4b5563;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
}

.inventory-option-soldout-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .18rem .5rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
    white-space: nowrap;
}

.is-inventory-closed {
    color: #94a3b8;
    cursor: not-allowed;
}

.is-inventory-closed span:not(.inventory-option-soldout-badge) {
    text-decoration: line-through;
}

.inventory-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .35rem;
    padding: .18rem .5rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
}

.inventory-inline-badge.is-open {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.inventory-inline-badge.is-close {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.inventory-inline-badge.is-unlimited {
    color: #1d4ed8;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.inventory-inline-badge.is-off {
    color: #4b5563;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
}

.inventory-option-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
}

/*수정시카드 효과*/
.neo-q.is-locked {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .28);
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, .08),
    inset -3px -3px 7px rgba(255, 255, 255, .9);
    opacity: .94;
}

.neo-q.is-locked .neo-q-title {
    color: #475569;
}

.neo-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    color: #475569;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
}

.neo-lock-guide {
    margin-top: .65rem;
    padding: .55rem .7rem;
    border-radius: 12px;
    font-size: .8rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, .28);
}

.neo-q.is-locked .neo-input,
.neo-q.is-locked .form-control,
.neo-q.is-locked .form-select,
.neo-q.is-locked .neo-radio-list,
.neo-q.is-locked .neo-check-list,
.neo-q.is-locked .custom-file-input {
    /*background-color: #f1f5f9;*/
    color: #64748b;
    border-color: #cbd5e1;
}

.agreement-sign-canvas {
    width: 100%;
    height: 180px;
    display: block;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: inset 3px 3px 8px rgba(148, 163, 184, 0.28),
    inset -3px -3px 8px rgba(255, 255, 255, 0.95);
    touch-action: none;
}
.agreement-sign-wrap {
    position: relative;
}

.agreement-sign-canvas {
    width: 100%;
    height: 180px;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background-color: #fff;
    background-image:
            linear-gradient(rgba(148, 163, 184, 0.10) 1px, transparent 1px),
            linear-gradient(90deg, rgba(148, 163, 184, 0.10) 1px, transparent 1px),
            linear-gradient(transparent 85%, rgba(2, 132, 199, 0.18) 85%, rgba(2, 132, 199, 0.18) 86%, transparent 86%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
    background-position: 0 0, 0 0, 0 0;
    box-shadow:
            inset 3px 3px 8px rgba(148, 163, 184, 0.18),
            inset -3px -3px 8px rgba(255, 255, 255, 0.95);
    touch-action: none;
}
.agreement-canvas-wrap {
    position: relative;
}

.agreement-canvas-wrap::after {
    content: "서명하세요";
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: rgba(148, 163, 184, 0.32);
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.08em;
}

.agreement-sign-wrap.is-signed .agreement-canvas-wrap::after {
    display: none;
}

.agreement-sign-existing-panel {
    border-radius: 16px;
}

.agreement-sign-wrap.has-existing-signature .agreement-sign-input-panel {
    display: none;
}

.agreement-sign-wrap.has-existing-signature.is-change-mode .agreement-sign-input-panel {
    display: block;
}

.agreement-sign-wrap.has-existing-signature.is-change-mode .agreement-sign-existing-panel {
    display: none !important;
}

.agreement-consent-btn {
    display: block;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

/* 체크박스는 기능만 유지하고 시각적으로 숨김 */
.agreement-consent-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.agreement-consent-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(45, 106, 79, .22);
    background: linear-gradient(145deg, #ffffff, #f5f8f6);
    box-shadow:
            6px 6px 16px rgba(15, 23, 42, .08),
            -6px -6px 16px rgba(255, 255, 255, .9);
    transition: all .18s ease;
}

.agreement-consent-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 106, 79, .1);
    color: #2d6a4f;
    font-size: 20px;
    flex: 0 0 38px;
}

.agreement-consent-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.45;
}

.agreement-consent-content strong {
    font-size: 15.5px;
    font-weight: 800;
    color: #111827;
}

.agreement-consent-content small {
    font-size: 13px;
    color: #64748b;
}

.agreement-consent-btn:hover .agreement-consent-box {
    border-color: rgba(45, 106, 79, .45);
    transform: translateY(-1px);
}

/* 체크됐을 때 카드 전체 강조 */
.agreement-consent-input:checked + .agreement-consent-box {
    border-color: #2d6a4f;
    background: linear-gradient(145deg, #eef8f1, #ffffff);
    box-shadow:
            inset 3px 3px 8px rgba(45, 106, 79, .12),
            inset -3px -3px 8px rgba(255, 255, 255, .9);
}

.agreement-consent-input:checked + .agreement-consent-box .agreement-consent-icon {
    background: #2d6a4f;
    color: #fff;
}

/* 키보드 접근성 */
.agreement-consent-input:focus-visible + .agreement-consent-box {
    outline: 3px solid rgba(45, 106, 79, .25);
    outline-offset: 3px;
}

.agreement-consent-btn.is-disabled {
    cursor: not-allowed;
    opacity: .65;
}

.agreement-consent-btn.is-disabled .agreement-consent-box {
    cursor: not-allowed;
}


.accordion-item:first-of-type .accordion-button {
    /*border-top-left-radius: 16px !important;*/
    /*border-top-right-radius: 16px !important;*/
    border-width: 0;
}

.accordion-item:last-of-type .accordion-button {
    /*border-bottom-left-radius: 16px !important;*/
    /*border-bottom-right-radius: 16px !important;*/
    border-width: 0;
}
.neo-password-wrap {
    position: relative;
    width: 100%;
}

.neo-password-input {
    width: 100%;
    padding-right: 56px !important;
    border-radius: 14px !important;
}

.neo-pass-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 10;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
            3px 3px 8px rgba(15, 23, 42, .08),
            -3px -3px 8px rgba(255, 255, 255, .9);
}

.neo-pass-toggle:hover {
    color: #111827;
    background: #fff;
}

.neo-pass-toggle.is-visible {
    color: #2d6a4f;
    background: #eef8f1;
}

.neo-pass-toggle i {
    font-size: 18px;
    line-height: 1;
}

.agreement-consent-card {
    display: block;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.agreement-consent-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.agreement-consent-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: linear-gradient(145deg, #ffffff, #f5f7fb);
    box-shadow:
            6px 6px 16px rgba(15, 23, 42, .08),
            -6px -6px 16px rgba(255, 255, 255, .9);
    transition: all .18s ease;
}

.agreement-consent-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 107, 255, .1);
    color: #4b6bff;
    font-size: 21px;
}

.agreement-consent-text {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

.agreement-consent-title {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.agreement-consent-desc {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.agreement-consent-card:hover .agreement-consent-content {
    border-color: rgba(75, 107, 255, .35);
    transform: translateY(-1px);
}

.agreement-consent-check:checked + .agreement-consent-content {
    border-color: #4b6bff;
    background: linear-gradient(145deg, #eef2ff, #ffffff);
    box-shadow:
            inset 3px 3px 8px rgba(75, 107, 255, .12),
            inset -3px -3px 8px rgba(255, 255, 255, .9);
}

.agreement-consent-check:checked + .agreement-consent-content .agreement-consent-icon {
    background: #4b6bff;
    color: #fff;
}

.agreement-consent-check:focus-visible + .agreement-consent-content {
    outline: 3px solid rgba(75, 107, 255, .25);
    outline-offset: 3px;
}

.inventory-slot-time-list li.is-inventory-closed .inventory-option-text,
.neo-radio-list li.is-inventory-closed .inventory-option-text,
.neo-check-list li.is-inventory-closed .inventory-option-text {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(220, 38, 38, .75);
    color: #9ca3af;
    opacity: .75;
}

.inventory-slot-time-list li.is-inventory-closed label,
.neo-radio-list li.is-inventory-closed label,
.neo-check-list li.is-inventory-closed label {
    cursor: not-allowed;
}

.inventory-slot-time-list li.is-inventory-closed {
    background: rgba(148, 163, 184, .08);
    border-radius: 10px;
}
/* 날짜 슬롯 시간대: PC 4열 */
.inventory-slot-time-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

/* 기존 li 세로 간격 제거 */
.inventory-slot-time-list > li {
    margin: 0 !important;
    min-width: 0;
}

/* 슬롯 한 칸 전체 클릭 영역 */
.inventory-slot-time-list .neo-check-row,
.inventory-slot-time-list label {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 뱃지 + 시간 정렬 */
.inventory-slot-time-list .inventory-option-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.inventory-slot-time-list .inventory-option-text {
    white-space: nowrap;
}

/* 태블릿: 3열 */
@media (max-width: 991.98px) {
    .inventory-slot-time-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 모바일: 2열 */
@media (max-width: 575.98px) {
    .inventory-slot-time-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }
}
/* 날짜별 슬롯 그룹 구분 */
.inventory-slot-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 8px !important;
}

/* 날짜 옆 구분선 */
.inventory-slot-date::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, .35);
}

/* 날짜 뱃지 강조 */
.inventory-slot-date .neo-badge-opt {
    padding: 5px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .55);
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

/* 날짜별 슬롯 박스 */
.inventory-slot-date + .inventory-slot-time-list {
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 16px;
    padding: 12px;
    background: rgba(248, 250, 252, .65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

/* 날짜 그룹 사이 간격 */
.inventory-slot-date + .inventory-slot-time-list + .inventory-slot-date {
    margin-top: 26px !important;
}


#isReady,
#isDone,
#isDoneCnt,
#addApply {
    --state-color: #4b6bff;
    --state-bg: rgba(75, 107, 255, .10);
    --state-border: rgba(75, 107, 255, .24);
    --state-label: "접수 안내";
}

#isReady {
    --state-color: #4b6bff;
    --state-bg: rgba(75, 107, 255, .10);
    --state-border: rgba(75, 107, 255, .24);
    --state-label: "접수 대기";
}

#isDone {
    --state-color: #6b7280;
    --state-bg: rgba(107, 114, 128, .10);
    --state-border: rgba(107, 114, 128, .24);
    --state-label: "기간 마감";
}

#isDoneCnt {
    --state-color: #dc2626;
    --state-bg: rgba(220, 38, 38, .09);
    --state-border: rgba(220, 38, 38, .22);
    --state-label: "정원 마감";
}

#addApply {
    --state-color: #0f766e;
    --state-bg: rgba(15, 118, 110, .10);
    --state-border: rgba(15, 118, 110, .24);
    --state-label: "추가 제출";
}

#isReady .cb-empty-wrap,
#isDone .cb-empty-wrap,
#isDoneCnt .cb-empty-wrap,
#addApply .cb-empty-wrap {
    min-height: min(64vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 56px) 12px;
}

#isReady .neo-card,
#isDone .neo-card,
#isDoneCnt .neo-card,
#addApply .neo-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    padding: clamp(28px, 5vw, 52px) clamp(18px, 4vw, 44px);
    overflow: hidden;

    border: 1px solid var(--state-border);
    border-radius: 28px;
    background:
            radial-gradient(circle at top left, var(--state-bg), transparent 36%),
            linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.88));

    box-shadow:
            0 24px 60px rgba(15, 23, 42, .10),
            inset 0 1px 0 rgba(255,255,255,.72);
}

#isReady .neo-card::before,
#isDone .neo-card::before,
#isDoneCnt .neo-card::before,
#addApply .neo-card::before {
    content: var(--state-label);
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 88px;
    height: 32px;
    padding: 0 14px;
    margin-bottom: 18px;

    border-radius: 999px;
    background: var(--state-bg);
    color: var(--state-color);
    border: 1px solid var(--state-border);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
}

#isReady .neo-card::after,
#isDone .neo-card::after,
#isDoneCnt .neo-card::after,
#addApply .neo-card::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -72px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--state-bg);
    pointer-events: none;
}

#isReady .error-title,
#isDone .error-title,
#isDoneCnt .error-title,
#addApply .error-title {
    position: relative;
    z-index: 1;
    color: #111827;
    font-size: clamp(24px, 4.4vw, 36px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.28;
}

#isReady .neo-soft-hr,
#isDone .neo-soft-hr,
#isDoneCnt .neo-soft-hr,
#addApply .neo-soft-hr {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 4px;
    margin: 22px auto;
    border: 0;
    border-radius: 999px;
    background: var(--state-color);
    opacity: .75;
}

#isReady .apply-period-inline,
#isDone .apply-period-inline,
#isDoneCnt .apply-period-inline,
#addApply .apply-period-inline {
    position: relative;
    z-index: 1;

    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;

    max-width: 100%;
    padding: 12px 16px;
    margin-top: 2px;

    border-radius: 18px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: inset 1px 1px 3px rgba(15,23,42,.04);

    color: #334155;
    font-weight: 800;
    font-size: 15px;
}

#isReady .period-sep,
#isDone .period-sep,
#isDoneCnt .period-sep,
#addApply .period-sep {
    color: var(--state-color);
    font-weight: 900;
}

#isReady .error-desc,
#isDone .error-desc,
#isDoneCnt .error-desc,
#addApply .error-desc {
    position: relative;
    z-index: 1;

    max-width: 520px;
    margin: 18px auto 0;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
    word-break: keep-all;
}

#addApply .cb-color-btn {
    position: relative;
    z-index: 1;
    min-width: 180px;
    height: 48px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(15, 118, 110, .18);
}


/* =========================================================
   #termarea 첫 상단 카드 강화
   termarea 전체가 아니라 내부 첫 제목 카드만 처리
========================================================= */

#termarea > .row:first-child .neo-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px) 18px;
    border-radius: 26px;
    border: 1px solid rgba(75, 107, 255, .16);
    background:
            radial-gradient(circle at 12% 0%, rgba(75,107,255,.12), transparent 34%),
            radial-gradient(circle at 92% 12%, rgba(255,194,39,.18), transparent 30%),
            linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
    box-shadow:
            0 18px 46px rgba(15, 23, 42, .08),
            inset 0 1px 0 rgba(255,255,255,.82);
}

#termarea > .row:first-child .neo-card h2 {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: #111827;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.28;
    letter-spacing: -.045em;
}

#termarea > .row:first-child .apply-period-inline {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(148,163,184,.22);
    font-weight: 800;
    color: #334155;
    box-shadow: inset 1px 1px 3px rgba(15,23,42,.04);
}


/* =========================================================
   모바일 보정
========================================================= */

@media (max-width: 575.98px) {
    #isReady .cb-empty-wrap,
    #isDone .cb-empty-wrap,
    #isDoneCnt .cb-empty-wrap,
    #addApply .cb-empty-wrap {
        min-height: 52vh;
        padding: 18px 10px;
    }

    #isReady .neo-card,
    #isDone .neo-card,
    #isDoneCnt .neo-card,
    #addApply .neo-card {
        border-radius: var(--cb-radius-lg);
        padding: 1.5rem 1rem !important;
    }

    #isReady .error-title,
    #isDone .error-title,
    #isDoneCnt .error-title,
    #addApply .error-title {
        font-size: 24px;
    }

    #isReady .apply-period-inline,
    #isDone .apply-period-inline,
    #isDoneCnt .apply-period-inline,
    #addApply .apply-period-inline,
    #termarea > .row:first-child .apply-period-inline {
        width: 100%;
        border-radius: 16px;
        font-size: 14px;
        line-height: 1.45;
    }

    #addApply .cb-color-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    #termarea > .row:first-child .apply-period-inline {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 6px;
        padding: 14px 12px;
        text-align: center;
    }

    #termarea > .row:first-child .apply-period-inline .period-start,
    #termarea > .row:first-child .apply-period-inline .period-end {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        font-size: 17px;
        line-height: 1.35;
        white-space: nowrap;
    }

    #termarea > .row:first-child .apply-period-inline .period-sep {
        width: 28px;
        height: 22px;
        border-radius: 999px;
        background: rgba(75, 107, 255, .10);
        color: #4b6bff;
        font-size: 14px;
        line-height: 1;
    }
}

#termarea > .row:first-child .apply-period-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 8px;
    padding: 6px 12px;

    border-radius: 999px;
    background: rgba(75, 107, 255, .10);
    color: #4b6bff;

    font-size: 13px;
    font-weight: 900;
}

/* ==============================
   Prepare Loading
============================== */

.cb-prepare-card {
    width: 100%;
    max-width: 420px;
    padding: 3rem 1.5rem;
    border-radius: 28px;
    background:
            radial-gradient(circle at top left, rgba(59, 130, 246, .10), transparent 34%),
            radial-gradient(circle at bottom right, rgba(20, 184, 166, .10), transparent 38%),
            rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow:
            0 24px 60px rgba(15, 23, 42, .10),
            inset 0 1px 0 rgba(255, 255, 255, .85);
    position: relative;
    overflow: hidden;
}

/*.cb-prepare-card::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: -80px auto auto -80px;*/
/*    width: 180px;*/
/*    height: 180px;*/
/*    border-radius: 50%;*/
/*    background: rgba(59, 130, 246, .10);*/
/*    filter: blur(6px);*/
/*}*/

/*.cb-prepare-card::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    right: -70px;*/
/*    bottom: -90px;*/
/*    width: 190px;*/
/*    height: 190px;*/
/*    border-radius: 50%;*/
/*    background: rgba(20, 184, 166, .10);*/
/*    filter: blur(8px);*/
/*}*/

.cb-prepare-icon-wrap {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cb-spinner-modern {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 6px solid rgba(59, 130, 246, .12);
    border-top-color: #3b82f6;
    border-right-color: rgba(20, 184, 166, .65);
    animation: cb-spin .85s linear infinite;
    box-shadow: 0 10px 28px rgba(59, 130, 246, .18);
}

.cb-prepare-icon {
    position: absolute;
    font-size: 1.75rem;
    color: #2563eb;
    animation: cb-float 1.4s ease-in-out infinite;
}

.cb-prepare-title {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -.03em;
    margin-bottom: .45rem;
}

.cb-prepare-desc {
    position: relative;
    z-index: 1;
    font-size: .95rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 1.15rem;
}

.cb-loading-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: .35rem;
}

.cb-loading-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    opacity: .35;
    animation: cb-dot 1.1s ease-in-out infinite;
}

.cb-loading-dots span:nth-child(2) {
    animation-delay: .15s;
}

.cb-loading-dots span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes cb-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cb-float {
    0%, 100% {
        transform: translateY(0);
        opacity: .95;
    }
    50% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

@keyframes cb-dot {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: .35;
    }
    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* 모바일 보정 */
@media (max-width: 576px) {
    .cb-prepare-wrap {
        min-height: 220px;
        padding: 1rem;
    }

    .cb-prepare-card {
        padding: 2.25rem 1.25rem;
        border-radius: 22px;
    }

    .cb-prepare-icon-wrap,
    .cb-spinner-modern {
        width: 72px;
        height: 72px;
    }

    .cb-spinner-modern {
        border-width: 5px;
    }

    .cb-prepare-icon {
        font-size: 1.45rem;
    }

    .cb-prepare-title {
        font-size: 1.18rem;
    }

    .cb-prepare-desc {
        font-size: .88rem;
    }
}

/* ==============================
   Prepare Loading - height fix
============================== */

#prepare {
    width: 100%;
}

#prepare .cb-prepare-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
}