
:root {
    --tp-text-900: #111827;
    --tp-text-700: #374151;
    --tp-text-500: #6b7280;
    --tp-text-400: #9ca3af;
    --tp-line:     #e5e7eb;
    --tp-line-2:   #d1d5db;
    --tp-bg:       #ffffff;
    --tp-bg-2:     #f9fafb;
    --tp-bg-3:     #f3f4f6;
    --tp-primary:  var(--kt-primary, #009ef7);
    --tp-primary-bg: #eaf6ff;
    --tp-primary-dk: #0b7ad1;
    --tp-success:  #16a34a;  --tp-success-bg: #ecfdf3;
    --tp-warning:  #d97706;  --tp-warning-bg: #fff7e6;
    --tp-danger:   #dc2626;  --tp-danger-bg:  #fef2f2;
    --tp-muted:    #6b7280;  --tp-muted-bg:   #f3f4f6;
    --tp-child:    #be185d;  --tp-child-bg:   #fdf2f8;
    --tp-radius:   10px;
    --tp-radius-sm: 7px;
    --tp-shadow:   0 1px 2px rgba(17,24,39,.04), 0 1px 3px rgba(17,24,39,.06);
    --tp-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
[data-bs-theme="dark"] {
    --tp-text-900: #f3f4f6; --tp-text-700: #d1d5db; --tp-text-500: #9ca3af; --tp-text-400: #6b7280;
    --tp-line: #2b2f36; --tp-line-2: #3a3f48;
    --tp-bg: #1e1e2d; --tp-bg-2: #1b1b28; --tp-bg-3: #262636;
    --tp-primary-bg: #172a3f; --tp-success-bg: #12291b; --tp-warning-bg: #2e2412; --tp-danger-bg: #331616; --tp-muted-bg: #262636; --tp-child-bg: #2e1622;
}

.tp-root { color: var(--tp-text-900); font-size: 0.952rem; }
.tp-root *, .tp-root *::before, .tp-root *::after { box-sizing: border-box; }
.tp-root a { text-decoration: none; }
.tp-num { font-variant-numeric: tabular-nums; }

.tp-chip {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.14rem 0.5rem; border-radius: 999px;
    font-size: 0.89rem; font-weight: 700; line-height: 1.35; white-space: nowrap;
    border: 1px solid transparent;
}
.tp-chip i { font-size: 0.62rem; }
.tp-chip-success { color: var(--tp-success); background: var(--tp-success-bg); border-color: #bbf7d0; }
.tp-chip-warning { color: var(--tp-warning); background: var(--tp-warning-bg); border-color: #fde68a; }
.tp-chip-danger  { color: var(--tp-danger);  background: var(--tp-danger-bg);  border-color: #fecaca; }
.tp-chip-muted   { color: var(--tp-muted);   background: var(--tp-muted-bg);   border-color: var(--tp-line); }
.tp-chip-primary { color: var(--tp-primary-dk); background: var(--tp-primary-bg); border-color: #bfe3ff; }
.tp-chip-child   { color: var(--tp-child);   background: var(--tp-child-bg);   border-color: #fbcfe8; }

.tp-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    height: 2.1rem; padding: 0 0.8rem; border-radius: var(--tp-radius-sm);
    font-size: 0.932rem; font-weight: 700; line-height: 1; cursor: pointer;
    border: 1px solid var(--tp-line-2); background: var(--tp-bg); color: var(--tp-text-700);
    transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
    white-space: nowrap;
}
.tp-btn i { font-size: 0.78rem; }
.tp-btn:hover { background: var(--tp-bg-3); color: var(--tp-text-900); border-color: var(--tp-line-2); }
.tp-btn.disabled, .tp-btn[disabled] { opacity: .45; pointer-events: none; }
.tp-btn-primary { background: var(--tp-primary); border-color: var(--tp-primary); color: #fff; }
.tp-btn-primary:hover { background: var(--tp-primary-dk); border-color: var(--tp-primary-dk); color: #fff; }
.tp-btn-danger:hover { background: var(--tp-danger-bg); border-color: #fecaca; color: var(--tp-danger); }
.tp-btn-sm { height: 1.8rem; padding: 0 0.6rem; font-size: 0.911rem; }
.tp-btn-icon {
    width: 1.85rem; height: 1.85rem; padding: 0; justify-content: center;
    border-color: transparent; background: transparent; color: var(--tp-text-400);
}
.tp-btn-icon:hover { background: var(--tp-bg-3); color: var(--tp-text-900); }
.tp-btn-icon.tp-btn-danger:hover { background: var(--tp-danger-bg); color: var(--tp-danger); }

.tp-dashed {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    width: 100%; padding: 0.55rem 0; margin-top: 0.6rem;
    border: 1.5px dashed var(--tp-line-2); border-radius: var(--tp-radius-sm);
    background: transparent; color: var(--tp-text-500);
    font-size: 0.925rem; font-weight: 700; cursor: pointer;
    transition: background .12s, color .12s, border-color .12s;
}
.tp-dashed:hover { background: var(--tp-primary-bg); color: var(--tp-primary-dk); border-color: var(--tp-primary); }

.tp-banner {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 0.9rem; margin-bottom: 0.9rem;
    border-radius: var(--tp-radius-sm); font-size: 0.932rem; font-weight: 600;
    border: 1px solid var(--tp-line);
}
.tp-banner i { font-size: 0.9rem; }
.tp-banner-muted   { background: var(--tp-muted-bg);   color: var(--tp-text-700); }
.tp-banner-warning { background: var(--tp-warning-bg); color: #92400e; border-color: #fde68a; }
.tp-banner-danger  { background: var(--tp-danger-bg);  color: #991b1b; border-color: #fecaca; }
.tp-banner-warning .tp-chip, .tp-banner-danger .tp-chip { flex-shrink: 0; }
.tp-banner span.tp-banner-text { flex: 1 1 auto; min-width: 0; font-weight: 500; }

.tp-empty {
    padding: 1.4rem 1rem; text-align: center;
    border: 1.5px dashed var(--tp-line-2); border-radius: var(--tp-radius);
    color: var(--tp-text-500); font-size: 0.938rem; background: var(--tp-bg-2);
}
.tp-empty i { display: block; font-size: 1.4rem; margin-bottom: 0.4rem; color: var(--tp-text-400); }
.tp-empty strong { color: var(--tp-text-700); }

.tp-root .tp-input,
.tp-root .tp-select {
    display: block; width: 100%;
    height: 2.1rem; padding: 0 0.6rem;
    border: 1px solid var(--tp-line-2) !important; border-radius: var(--tp-radius-sm) !important;
    background: var(--tp-bg) !important; color: var(--tp-text-900);
    font-size: 0.945rem; font-weight: 600; line-height: 2rem;
    box-shadow: none !important; outline: 0;
    transition: border-color .12s, box-shadow .12s;
}
.tp-root .tp-select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding-right: 1.7rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 0.6rem center !important; background-size: 0.6rem !important;
}
.tp-root .tp-input:hover, .tp-root .tp-select:hover { border-color: var(--tp-text-400) !important; }
.tp-root .tp-input:focus, .tp-root .tp-select:focus {
    border-color: var(--tp-primary) !important;
    box-shadow: 0 0 0 3px var(--tp-primary-bg) !important;
}
.tp-root .tp-input::placeholder { color: var(--tp-text-400); font-weight: 400; }
.tp-root .tp-input[readonly], .tp-root .tp-input:disabled, .tp-root .tp-select:disabled { background: var(--tp-bg-3) !important; color: var(--tp-text-500); }

.tp-root .tp-overview.price-date-summary-bar {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
    padding: 0; margin: 0 0 0.75rem; background: transparent; border-radius: 0; font-size: inherit;
}
.tp-stat {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.35rem 0.7rem; border-radius: var(--tp-radius-sm);
    border: 1px solid var(--tp-line); background: var(--tp-bg);
    font-size: 0.918rem; font-weight: 600; color: var(--tp-text-500);
}
.tp-stat strong { font-size: 0.973rem; font-weight: 650; color: var(--tp-text-900); }
.tp-stat i { font-size: 0.74rem; }
.tp-stat.is-success i, .tp-stat.is-success strong { color: var(--tp-success); }
.tp-stat.is-danger  i, .tp-stat.is-danger  strong { color: var(--tp-danger); }
.tp-stat.is-warning i, .tp-stat.is-warning strong { color: var(--tp-warning); }
.tp-stat.is-muted   i, .tp-stat.is-muted   strong { color: var(--tp-text-500); }
.tp-stat.date-past-toggle { cursor: pointer; color: var(--tp-text-500); }
.tp-stat.date-past-toggle:hover { border-color: var(--tp-text-400); color: var(--tp-text-900); }
.tp-stat.date-past-toggle.is-active { background: var(--tp-primary-bg); border-color: #bfe3ff; color: var(--tp-primary-dk); }
.tp-stat.date-past-toggle .date-past-toggle-label { font-weight: 700; }
.tp-overview-title {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-right: 0.35rem;
    font-size: 0.904rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500);
}
.tp-overview-title i { color: var(--tp-primary); }

.tp-root .tour-price-date-container.tp-dates { margin-bottom: 1rem; }
.tp-root .tp-dates .date-slider-list {
    display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 0.45rem !important;
    grid-template-columns: none !important; padding: 0; margin: 0; list-style: none; border: 0;
}
.tp-root .tp-dates .date-slider-list li {
    display: flex; padding: 0 !important; margin: 0 !important; background: transparent !important; max-width: none !important;
}
.tp-root .tour-price-date-btn.tour-price-date-btn.tour-price-date-btn.tour-price-date-btn {
    display: flex !important; align-items: center; gap: 0.55rem;
    min-width: 128px; height: 3rem; padding: 0 0.7rem 0 0.6rem !important;
    border: 1px solid var(--tp-line-2) !important; border-radius: var(--tp-radius-sm) !important;
    background: var(--tp-bg) !important; color: var(--tp-text-900) !important;
    box-shadow: none !important; transform: none !important;
    cursor: pointer; text-align: left; line-height: 1;
    transition: border-color .12s, background .12s, box-shadow .12s;
}
.tp-root .tour-price-date-btn.tour-price-date-btn.tour-price-date-btn.tour-price-date-btn:hover {
    border-color: var(--tp-text-400) !important; background: var(--tp-bg-2) !important; box-shadow: none !important; transform: none !important;
}
.tp-root .tour-price-date-btn.tour-price-date-btn.tour-price-date-btn.tour-price-date-btn.active {
    border-color: var(--tp-primary) !important; border-width: 1px !important;
    background: var(--tp-primary-bg) !important;
    box-shadow: 0 0 0 2px var(--tp-primary-bg) !important;
}
.tp-root .date-chip-dot {
    width: 0.55rem; height: 0.55rem; border-radius: 50%; flex-shrink: 0;
    background: var(--tp-text-400); box-shadow: none;
}
.tp-root .tour-price-date-btn.btn-light-success .date-chip-dot { background: var(--tp-success); }
.tp-root .tour-price-date-btn.btn-light-danger  .date-chip-dot { background: var(--tp-danger); }
.tp-root .tour-price-date-btn.tp-has-pending .date-chip-dot { background: var(--tp-warning); }
.tp-root .date-chip-day { font-size: 1.3rem; font-weight: 650; color: var(--tp-text-900); flex-shrink: 0; line-height: 1; }
.tp-root .tour-price-date-btn.active .date-chip-day { color: var(--tp-primary-dk); }
.tp-root .date-chip-meta { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1.1; }
.tp-root .date-chip-weekday { font-size: 0.884rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--tp-text-500); }
.tp-root .date-chip-month { font-size: 0.904rem; font-weight: 600; color: var(--tp-text-700); white-space: nowrap; }
.tp-root .date-chip-past-badge { font-size: 0.87rem; font-weight: 700; color: var(--tp-text-400); margin-left: 0.25rem; }
.tp-root li.date-chip-is-past .tour-price-date-btn { opacity: .6; }
.tp-root li.date-chip-is-past .tour-price-date-btn.active { opacity: 1; }
.tp-root .tour-price-date-container:not(.show-past-dates) li.date-chip-is-past { display: none !important; }

.tp-detail-head {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
    padding: 0 0 0.8rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--tp-line);
}
.tp-detail-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.tp-detail-title .tp-detail-icon { align-self: center; color: var(--tp-primary); font-size: 1rem; }
.tp-detail-date { font-size: 1.25rem; font-weight: 650; color: var(--tp-text-900); letter-spacing: -.01em; }
.tp-detail-weekday { font-size: 0.952rem; font-weight: 700; color: var(--tp-text-500); }
.tp-detail-sub { font-size: 0.952rem; font-weight: 600; color: var(--tp-text-500); }
.tp-detail-sub::before { content: "·"; margin-right: 0.5rem; color: var(--tp-text-400); }
.tp-detail-actions { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tp-clipboard-hint {
    display: none; align-items: center; gap: 0.35rem;
    font-size: 0.904rem; font-weight: 700; color: var(--tp-primary-dk);
    background: var(--tp-primary-bg); padding: 0.3rem 0.6rem; border-radius: var(--tp-radius-sm);
}
.tp-clipboard-hint.is-visible { display: inline-flex; }

.tp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 1.1rem; align-items: start; }
.tp-main { min-width: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.tp-side { position: sticky; top: 4.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
@media (max-width: 1499.98px) {
    .tp-layout { grid-template-columns: 1fr; }
    .tp-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

.tp-side-card { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); overflow: hidden; }
.tp-side-head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--tp-line); background: var(--tp-bg-2);
    font-size: 0.897rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500);
}
.tp-side-head i { color: var(--tp-primary); margin-right: 0.3rem; }
.tp-side-body { padding: 0.75rem 0.9rem; }
.tp-side-tour { font-size: 0.952rem; font-weight: 650; color: var(--tp-text-900); line-height: 1.3; margin-bottom: 0.15rem; }
.tp-side-tour-sub { font-size: 0.911rem; color: var(--tp-text-500); margin-bottom: 0.5rem; }
.tp-kv { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.32rem 0; border-bottom: 1px dashed var(--tp-line); font-size: 0.925rem; }
.tp-kv:last-child { border-bottom: 0; }
.tp-kv-k { color: var(--tp-text-500); display: inline-flex; align-items: center; gap: 0.4rem; }
.tp-kv-k i { width: 0.9rem; text-align: center; color: var(--tp-text-400); font-size: 0.72rem; }
.tp-kv-v { font-weight: 700; color: var(--tp-text-900); text-align: right; font-variant-numeric: tabular-nums; }
.tp-progress { height: 0.4rem; border-radius: 999px; background: var(--tp-bg-3); overflow: hidden; margin: 0.3rem 0 0.1rem; }
.tp-progress > span { display: block; height: 100%; background: var(--tp-primary); border-radius: 999px; }
.tp-progress-label { display: flex; justify-content: space-between; font-size: 0.904rem; color: var(--tp-text-500); margin-top: 0.4rem; }
.tp-progress-label strong { color: var(--tp-text-900); }
.tp-side-group-title { font-size: 0.884rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-400); margin: 0.6rem 0 0.2rem; }
.tp-side-highlight { margin-top: 0.6rem; padding: 0.6rem 0.75rem; border-radius: var(--tp-radius-sm); background: var(--tp-primary-bg); }
.tp-side-highlight .tp-kv { border-bottom-color: rgba(0,0,0,.06); }
.tp-side-highlight .tp-kv-k { color: var(--tp-primary-dk); }
.tp-side-revenue { font-size: 1.15rem; font-weight: 650; color: var(--tp-primary-dk); }

.tp-attn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; max-height: 21rem; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
.tp-attn li a, .tp-attn li span.tp-attn-static {
    display: flex; align-items: flex-start; gap: 0.5rem;
    padding: 0.45rem 0.6rem; border-radius: var(--tp-radius-sm);
    font-size: 0.918rem; font-weight: 600; color: var(--tp-text-700); line-height: 1.35;
    border: 1px solid var(--tp-line); background: var(--tp-bg);
    transition: background .12s, border-color .12s;
}
.tp-attn li a:hover { background: var(--tp-bg-2); border-color: var(--tp-line-2); color: var(--tp-text-900); }
.tp-attn li i { flex-shrink: 0; margin-top: 0.15rem; font-size: 0.72rem; }
.tp-attn li.is-danger  i { color: var(--tp-danger); }
.tp-attn li.is-warning i { color: var(--tp-warning); }
.tp-attn li.is-muted   i { color: var(--tp-text-400); }
.tp-attn li .tp-attn-where { display: block; font-weight: 500; color: var(--tp-text-500); font-size: 0.897rem; }
.tp-attn-ok { display: flex; align-items: center; gap: 0.5rem; font-size: 0.932rem; font-weight: 700; color: var(--tp-success); }

.tp-changes { display: flex; flex-direction: column; }
.tp-change { padding: 0.5rem 0; border-bottom: 1px dashed var(--tp-line); font-size: 0.911rem; }
.tp-change:last-child { border-bottom: 0; }
.tp-change-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.5rem; color: var(--tp-text-500); margin-bottom: 0.2rem; }
.tp-change-meta strong { color: var(--tp-text-700); font-weight: 700; }
.tp-change ul { margin: 0; padding-left: 1rem; color: var(--tp-text-700); }
.tp-change ul li { margin: 0.1rem 0; }
.tp-side-link { display: inline-block; margin-top: 0.4rem; font-size: 0.911rem; font-weight: 700; color: var(--tp-primary-dk); }
.tp-side-toggle { cursor: pointer; user-select: none; }
.tp-side-toggle .tp-side-chevron { transition: transform .15s; color: var(--tp-text-400); }
.tp-side-toggle[aria-expanded="true"] .tp-side-chevron { transform: rotate(180deg); }

.tp-settings { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); overflow: hidden; }
.tp-settings-row { display: flex; flex-wrap: wrap; align-items: stretch; }
.tp-field {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 0.65rem 0.9rem; flex: 1 1 180px; min-width: 0;
    border-right: 1px solid var(--tp-line);
}
.tp-field:last-child { border-right: 0; }
.tp-field-label {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.884rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); white-space: nowrap;
}
.tp-field-label i { color: var(--tp-text-400); font-size: 0.68rem; }
.tp-field-controls { display: flex; align-items: center; gap: 0.4rem; }
.tp-field-controls > .tp-input, .tp-field-controls > .tp-select { flex: 1 1 0; min-width: 0; }
.tp-field-controls > .tp-select.tp-w-narrow { flex: 0 0 auto; width: 6.6rem; }
.tp-field-help { font-size: 0.89rem; color: var(--tp-text-400); }
.tp-cap-stats { display: inline-flex; gap: 0.25rem; flex-shrink: 0; }
.tp-settings-pending { padding: 0.5rem 0.9rem; border-top: 1px solid #fde68a; background: var(--tp-warning-bg); color: #92400e; font-size: 0.918rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.tp-section { display: flex; flex-direction: column; gap: 0.75rem; }
.tp-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 1rem; }
.tp-section-title { display: flex; align-items: center; gap: 0.55rem; font-size: 0.993rem; font-weight: 650; color: var(--tp-text-900); margin: 0; }
.tp-section-title i { color: var(--tp-primary); font-size: 0.9rem; }
.tp-section-title .tp-count { font-size: 0.911rem; font-weight: 700; color: var(--tp-text-500); background: var(--tp-bg-3); padding: 0.15rem 0.5rem; border-radius: 999px; }
.tp-section-tools { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.tp-root .tp-segment.nav { display: inline-flex; gap: 0; padding: 0.2rem; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-sm); background: var(--tp-bg-2); margin: 0; }
.tp-root .tp-segment .nav-item { margin: 0; }
.tp-root .tp-segment .nav-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.3rem 0.7rem !important; border: 0 !important; border-radius: 5px !important;
    font-size: 0.918rem; font-weight: 700; color: var(--tp-text-500) !important; background: transparent !important;
    line-height: 1.2; margin: 0 !important;
}
.tp-root .tp-segment .nav-link:hover { color: var(--tp-text-900) !important; }
.tp-root .tp-segment .nav-link.active { background: var(--tp-bg) !important; color: var(--tp-text-900) !important; box-shadow: var(--tp-shadow); }

.tp-extra-picker { display: flex; align-items: center; gap: 0.4rem; }
.tp-extra-picker .tp-select { width: 15rem; height: 2.1rem; }

.tp-root .cabin-card-list { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.tp-root .cabin-card.tp-card {
    min-width: 0; border: 1px solid var(--tp-line); border-left: 3px solid var(--tp-line-2);
    border-radius: var(--tp-radius); background: var(--tp-bg); overflow: hidden; box-shadow: none;
    transition: border-color .12s, box-shadow .12s;
}
.tp-root .cabin-card.tp-card.is-expanded { border-left-color: var(--tp-primary); box-shadow: var(--tp-shadow); }
.tp-root .cabin-card.tp-card.tp-card-missing { border-left-color: var(--tp-danger); }
.tp-root .cabin-card.tp-card.tp-card-missing.is-expanded { border-left-color: var(--tp-danger); }

.tp-root .cabin-card.tp-card > .cabin-card-header {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title actions" "stats actions";
    align-items: center; column-gap: 0.75rem; row-gap: 0.35rem;
    padding: 0.6rem 0.75rem 0.6rem 0.9rem; cursor: pointer; flex-wrap: nowrap;
}
.tp-root .cabin-card.tp-card > .cabin-card-header:hover { background: var(--tp-bg-2); }
.tp-card-title-line { grid-area: title; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; min-width: 0; }
.tp-root .cabin-card.tp-card .cabin-card-title { font-size: 0.973rem; font-weight: 650; color: var(--tp-text-900); text-transform: none; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tp-card-title-line .tp-card-meta { font-size: 0.911rem; font-weight: 600; color: var(--tp-text-500); white-space: nowrap; }
.tp-card-title-line .tp-card-meta::before { content: "·"; margin-right: 0.45rem; color: var(--tp-text-400); }
.tp-card-stats { grid-area: stats; display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.911rem; color: var(--tp-text-500); }
.tp-card-stats span { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.tp-card-stats strong { color: var(--tp-text-900); font-weight: 700; font-variant-numeric: tabular-nums; }
.tp-card-stats .tp-card-stat-price strong { color: var(--tp-primary-dk); font-size: 0.938rem; }
.tp-card-stats .tp-stat-sold strong { color: var(--tp-success); }
.tp-card-stats .tp-stat-opt strong  { color: var(--tp-warning); }
.tp-root .cabin-card.tp-card > .cabin-card-header .cabin-card-header-actions { grid-area: actions; display: flex; align-items: center; gap: 0.25rem; margin: 0; }
.tp-root .cabin-card.tp-card .cabin-card-header-actions .btn-icon-sm {
    width: 1.85rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--tp-radius-sm); color: var(--tp-text-400); background: transparent; border: 0; font-size: 0.8rem;
}
.tp-root .cabin-card.tp-card .cabin-card-header-actions .btn-icon-sm:hover { background: var(--tp-danger-bg); color: var(--tp-danger); }
.tp-root .cabin-card.tp-card .cabin-collapse-chevron { width: 1.85rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center; color: var(--tp-text-400); font-size: 0.78rem; transition: transform .15s; }
.tp-root .cabin-card.tp-card.is-expanded .cabin-collapse-chevron { transform: rotate(180deg); }

.tp-root .cabin-card.tp-card > .cabin-card-body { border-top: 1px solid var(--tp-line); padding: 0.75rem 0.9rem 0.85rem; background: var(--tp-bg); }
.tp-root .cabin-card.tp-card > .cabin-card-body.d-none { display: none; }

.tp-card-settings { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 0.75rem; }
.tp-card-settings .tp-field { padding: 0; border: 0; flex: 0 0 auto; }
.tp-card-settings .tp-field.tp-field-name { flex: 0 1 280px; }
.tp-card-settings .tp-field.tp-field-cap { flex: 0 0 110px; }
.tp-card-settings .tp-field.tp-field-cap .tp-input { text-align: center; }
.tp-card-settings .tp-card-settings-note { font-size: 0.904rem; color: var(--tp-text-400); align-self: center; padding-bottom: 0.15rem; }
.tp-card-pending { margin-bottom: 0.6rem; }

.tp-root .tier-table-wrap {
    display: block; width: 100%; max-width: 100%;
    overflow-x: auto !important; overflow-y: auto !important; max-height: 30rem;
    border: 1px solid var(--tp-line); border-radius: var(--tp-radius-sm); background: var(--tp-bg);
    scrollbar-width: thin;
}
.tp-root table.tier-table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; margin: 0; font-size: 0.942rem; table-layout: auto; }

.tp-root table.tier-table thead th { border: 0; text-align: left; background: var(--tp-bg-2) !important; }
.tp-root table.tier-table thead tr.tier-thead-group-row th {
    padding: 0.4rem 0.6rem 0.25rem; font-size: 0.877rem !important; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
    border-bottom: 2px solid var(--tp-line-2);
}
.tp-root table.tier-table thead tr.tier-thead-group-row th.tier-group-th { border-bottom-width: 2px; }
.tp-root table.tier-table thead tr.tier-thead-group-row th.tier-group-th-ops   { color: var(--tp-text-500); border-bottom-color: var(--tp-line-2); }
.tp-root table.tier-table thead tr.tier-thead-group-row th.tier-group-th-adult { color: var(--tp-primary-dk); border-bottom-color: var(--tp-primary); }
.tp-root table.tier-table thead tr.tier-thead-group-row th.tier-group-th-child { color: var(--tp-child); border-bottom-color: var(--tp-child); }
.tp-root table.tier-table thead tr.tier-thead-group-row th.tier-thead-blank { border-bottom-color: var(--tp-line); }
.tp-root table.tier-table thead tr:last-child th {
    position: sticky; top: 0; z-index: 3;
    padding: 0.5rem 0.6rem; font-size: 0.904rem !important; font-weight: 700; letter-spacing: .01em; text-transform: none;
    color: var(--tp-text-700); white-space: nowrap; border-bottom: 1px solid var(--tp-line);
}
.tp-root table.tier-table thead tr:last-child th.tier-th-primary { color: var(--tp-primary-dk); font-weight: 650; }
.tp-root table.tier-table thead tr:last-child th.tier-group-child { color: var(--tp-child); }
.tp-root table.tier-table thead tr:last-child th small { display: block; font-size: 0.877rem; font-weight: 500; color: var(--tp-text-400); }
.tp-root table.tier-table thead th.tp-th-num { text-align: left; }
.tp-root table.tier-table thead th.tp-th-status { text-align: right; }

.tp-root table.tier-table tbody td { padding: 0.35rem 0.4rem; border: 0; border-bottom: 1px solid var(--tp-line); vertical-align: middle; background: transparent; }
.tp-root table.tier-table tbody tr:last-child > td { border-bottom: 0; }
.tp-root table.tier-table tbody tr:hover > td { background: var(--tp-bg-2); }
.tp-root table.tier-table td.tier-drag-cell { width: 1.5rem; padding-left: 0.4rem; padding-right: 0; }
.tp-root table.tier-table .drag-handle { cursor: grab; color: var(--tp-line-2); font-size: 0.949rem; }
.tp-root table.tier-table tbody tr:hover .drag-handle { color: var(--tp-text-400); }
.tp-root table.tier-table .drag-handle:active { cursor: grabbing; }
.tp-root table.tier-table td.tier-num-cell { width: 4.2rem; text-align: left; white-space: nowrap; }
.tp-root table.tier-table .tier-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.5rem; height: 1.5rem; border-radius: 6px;
    background: var(--tp-bg-3); color: var(--tp-text-700); font-size: 0.911rem; font-weight: 650;
}
.tp-root table.tier-table .tier-range-hint { display: block; font-size: 0.877rem; color: var(--tp-text-400); font-weight: 600; margin-top: 0.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-root table.tier-table td.tier-quota-cell { width: 128px; }
.tp-root .tier-quota-row { display: flex; align-items: center; gap: 0.3rem; }
.tp-root .tier-quota-row .tier-field { flex: 0 0 3.4rem; width: 3.4rem; min-width: 0; }
.tp-root .tier-mini-stats { display: inline-flex; gap: 0.2rem; }
.tp-root .tier-mini-stats .mini-stat {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.35rem; height: 1.25rem; padding: 0 0.3rem; border-radius: 5px;
    font-size: 0.877rem; font-weight: 650; font-variant-numeric: tabular-nums; cursor: default;
}
.tp-root .mini-stat-sold    { background: var(--tp-success-bg); color: var(--tp-success); }
.tp-root .mini-stat-pending { background: var(--tp-warning-bg); color: var(--tp-warning); }
.tp-root table.tier-table td.tier-date-cell { min-width: 108px; width: 118px; }
.tp-root table.tier-table td.tier-diff-cell { min-width: 118px; width: 128px; }

.tp-root table.tier-table input {
    display: block; width: 100%; min-width: 4.2rem;
    height: 1.95rem !important; min-height: 0 !important; padding: 0 0.5rem !important; border-radius: 6px;
    border: 1px solid transparent; background: transparent;
    font-size: 0.945rem; font-weight: 600; color: var(--tp-text-900);
    transition: border-color .12s, background .12s, box-shadow .12s;
}
.tp-root table.tier-table input.price-mask,
.tp-root table.tier-table input.tier-quota-input,
.tp-root table.tier-table input.single-diff-value { text-align: right; font-variant-numeric: tabular-nums; }
.tp-root table.tier-table input:hover { background: var(--tp-bg); border-color: var(--tp-line-2); }
.tp-root table.tier-table input:focus { outline: 0; background: var(--tp-bg); border-color: var(--tp-primary); box-shadow: 0 0 0 3px var(--tp-primary-bg); position: relative; z-index: 2; }
.tp-root table.tier-table input::placeholder { color: var(--tp-text-400); font-weight: 400; }
.tp-root table.tier-table input.price-mask:placeholder-shown { border-style: dashed; border-color: var(--tp-line); }
.tp-root table.tier-table input.price-mask:placeholder-shown:hover { border-color: var(--tp-line-2); }
.tp-root table.tier-table td.tier-td-primary { padding: 0.3rem 0.35rem; }
.tp-root table.tier-table input.tier-input-primary { font-size: 0.983rem; font-weight: 650; color: var(--tp-primary-dk); background: var(--tp-primary-bg); border-color: transparent; }
.tp-root table.tier-table input.tier-input-primary:hover { background: #dcefff; }
.tp-root table.tier-table input.tier-input-primary:focus { background: var(--tp-bg); }
.tp-root table.tier-table input.tier-input-primary:placeholder-shown { background: var(--tp-danger-bg); border: 1px dashed #fca5a5; color: var(--tp-danger); }
.tp-root table.tier-table input.tier-input-primary:placeholder-shown::placeholder { color: #f87171; font-weight: 700; }
.tp-root table.tier-table td.tier-group-child input:not(:placeholder-shown) { color: var(--tp-child); }

.tp-root .tier-diff-group { display: flex; align-items: stretch; border: 1px solid var(--tp-line); border-radius: 6px; overflow: hidden; background: var(--tp-bg); height: 1.95rem; }
.tp-root .tier-diff-group:focus-within { border-color: var(--tp-primary); box-shadow: 0 0 0 3px var(--tp-primary-bg); }
.tp-root .tier-diff-group .tier-diff-plus { display: inline-flex; align-items: center; padding: 0 0 0 0.45rem; color: var(--tp-text-400); font-weight: 700; font-size: 0.932rem; }
.tp-root .tier-diff-group input.single-diff-value { flex: 1 1 auto; min-width: 3rem; height: 100% !important; min-height: 0 !important; align-self: stretch; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; padding: 0 0.35rem !important; line-height: 1 !important; }
.tp-root .tier-diff-group select.single-diff-type {
    appearance: none; -webkit-appearance: none; flex: 0 0 2.4rem; width: 2.4rem; height: 100% !important; min-height: 0 !important;
    border: 0; border-left: 1px solid var(--tp-line); border-radius: 0;
    font-size: 0.904rem; font-weight: 650; color: var(--tp-text-700); text-align: center; text-align-last: center;
    padding: 0; cursor: pointer; background: var(--tp-bg-2);
}
.tp-root .tier-diff-group select.single-diff-type:focus { outline: 0; }

.tp-root table.tier-table td.tp-status-cell { width: 1%; white-space: nowrap; text-align: right; padding-right: 0.5rem; }
.tp-root table.tier-table td.tp-status-cell .tp-status-chips { display: inline-flex; gap: 0.25rem; align-items: center; vertical-align: middle; }
.tp-root table.tier-table td.tier-actions-cell { width: 2.2rem; text-align: center; padding-right: 0.45rem; }
.tp-root table.tier-table .btn-delete-tier {
    width: 1.7rem; height: 1.7rem; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px; color: var(--tp-text-400); border: 0; background: transparent; opacity: 0; transition: opacity .12s, background .12s, color .12s;
}
.tp-root table.tier-table tbody tr:hover .btn-delete-tier,
.tp-root table.tier-table .btn-delete-tier:focus { opacity: 1; }
.tp-root table.tier-table .btn-delete-tier:hover { background: var(--tp-danger-bg); color: var(--tp-danger); }

.tp-root table.tier-table tbody tr.tier-inactive > td { background: var(--tp-bg-3); }
.tp-root table.tier-table tbody tr.tier-inactive input { color: var(--tp-text-500); }
.tp-root table.tier-table tbody tr.tier-inactive input.tier-input-primary { background: var(--tp-bg-2); color: var(--tp-text-500); }
.tp-root table.tier-table tbody tr.tier-inactive .tier-num { background: var(--tp-line-2); color: var(--tp-bg); }
.tp-root table.tier-table tbody tr.tier-missing > td.tier-drag-cell { box-shadow: inset 3px 0 0 0 var(--tp-danger); }
.tp-root table.tier-table tbody tr.tier-pending-approval > td { background: var(--tp-warning-bg); }
.tp-root table.tier-table tbody tr.tier-pending-approval > td.tier-drag-cell { box-shadow: inset 3px 0 0 0 var(--tp-warning); }
.tp-root table.tier-table tbody tr.tier-pending-delete > td { background: var(--tp-danger-bg); }
.tp-root table.tier-table tbody tr.tier-pending-delete > td.tier-drag-cell { box-shadow: inset 3px 0 0 0 var(--tp-danger); }
.tp-root table.tier-table tbody tr.tier-pending-diff-row > td,
.tp-root table.tier-table tbody tr.tier-pending-delete-row > td {
    padding: 0.35rem 0.75rem 0.45rem 3.2rem !important; font-size: 0.911rem; font-weight: 500; line-height: 1.45; white-space: normal;
}
.tp-root table.tier-table tbody tr.tier-pending-diff-row > td { background: var(--tp-warning-bg); color: #92400e; }
.tp-root table.tier-table tbody tr.tier-pending-delete-row > td { background: var(--tp-danger-bg); color: #991b1b; }
.tp-root table.tier-table tbody tr.tier-pending-diff-row:hover > td { background: var(--tp-warning-bg); }
.tp-root table.tier-table tbody tr.tier-pending-delete-row:hover > td { background: var(--tp-danger-bg); }
.tp-root .sk-tier-pending-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.877rem; font-weight: 650; margin-right: 0.4rem; vertical-align: middle; white-space: nowrap; }
.tp-root .sk-tier-pending-chip.chip-warning { background: var(--tp-warning); color: #fff; }
.tp-root .sk-tier-pending-chip.chip-danger  { background: var(--tp-danger);  color: #fff; }
.tp-root .sk-date-settings-pending-diff { background: var(--tp-warning-bg); color: #92400e; font-size: 0.918rem; font-weight: 500; padding: 0.45rem 0.75rem; border: 1px solid #fde68a; border-radius: var(--tp-radius-sm); line-height: 1.5; }
.tp-root table.tier-table tbody tr.tp-flash > td { animation: tp-flash 1.6s ease-out; }
@keyframes tp-flash { 0% { background: #fef3c7; } 100% { background: transparent; } }

.tp-detail.tp-readonly table.tier-table input,
.tp-detail.tp-readonly .tp-input,
.tp-detail.tp-readonly .tp-select { pointer-events: none; background: var(--tp-bg-2) !important; color: var(--tp-text-500); }
.tp-detail.tp-readonly table.tier-table input.tier-input-primary { background: var(--tp-bg-3) !important; color: var(--tp-text-700); }
.tp-detail.tp-readonly .tp-dashed, .tp-detail.tp-readonly .btn-delete-tier, .tp-detail.tp-readonly .cabin-card-header-actions .btn-icon-sm, .tp-detail.tp-readonly .tp-detail-actions .tour-price-clear-btn, .tp-detail.tp-readonly .tp-detail-actions .tour-price-paste-btn, .tp-detail.tp-readonly .drag-handle { display: none !important; }

.tp-root .pack-extra-modules { display: flex; flex-direction: column; gap: 0.6rem; }
.tp-root .tp-xcard {
    border: 1px solid var(--tp-line) !important; border-left: 3px solid var(--tp-line-2) !important; border-radius: var(--tp-radius) !important;
    background: var(--tp-bg); overflow: hidden; padding: 0 !important; margin: 0 !important;
}
.tp-root .tp-xcard:has(> .tp-xcard-body.show) { border-left-color: var(--tp-primary) !important; box-shadow: var(--tp-shadow); }
.tp-root .tp-xcard-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem 0.6rem 0.9rem; flex-wrap: wrap; }
.tp-root .tp-xcard-title { display: flex; align-items: center; gap: 0.5rem; flex: 1 1 auto; min-width: 0; cursor: pointer; }
.tp-root .tp-xcard-title:hover .tp-xcard-name { color: var(--tp-primary-dk); }
.tp-root .tp-xcard-icon { width: 1.9rem; height: 1.9rem; border-radius: var(--tp-radius-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--tp-bg-3); color: var(--tp-text-500); font-size: 0.8rem; flex-shrink: 0; }
.tp-root .tp-xcard-name { font-size: 0.966rem; font-weight: 650; color: var(--tp-text-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-root .tp-xcard-meta { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tp-root .tp-xcard-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.tp-root .tp-xcard-actions .price-detail-collapse-toggle { width: 1.85rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center; color: var(--tp-text-400); font-size: 0.925rem; cursor: pointer; transition: transform .15s; }
.tp-root .tp-xcard-actions .price-detail-collapse-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.tp-root .tp-xcard-actions .btn-extra-item-remove { width: 1.85rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--tp-radius-sm); color: var(--tp-text-400); background: transparent !important; border: 0; padding: 0; }
.tp-root .tp-xcard-actions .btn-extra-item-remove:hover { background: var(--tp-danger-bg) !important; color: var(--tp-danger); }
.tp-root .tp-xcard-actions .btn-extra-item-remove i { font-size: 0.85rem; color: inherit; }
.tp-root .tp-xcard-body { border-top: 1px solid var(--tp-line); padding: 0.75rem 0.9rem 0.85rem; }
.tp-root .tp-xcard-body.collapse:not(.show) { display: none; }
.tp-root .tp-xcard-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 0.75rem; }
.tp-root .tp-xcard-controls .tp-field { padding: 0; border: 0; flex: 0 1 auto; }
.tp-root .tp-xcard-controls .tp-field-controls .tp-select { width: 15rem; }
.tp-root .tp-xcard-controls .tp-field-controls .tp-input.tp-w-pct { width: 6rem; text-align: right; }
.tp-root .tp-xcard-controls .tp-toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.932rem; font-weight: 600; color: var(--tp-text-700); cursor: pointer; padding-bottom: 0.35rem; }
.tp-root .tp-xcard-controls .tp-toggle input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--tp-primary); cursor: pointer; margin: 0; }
.tp-root .tp-xcard-controls .tp-toggle small { font-weight: 500; color: var(--tp-text-500); }

.tp-root .tour_extra_price_table, .tp-root .tour_tip_price_table {
    width: 100%; border-collapse: separate !important; border-spacing: 0; margin: 0 !important;
    border: 1px solid var(--tp-line) !important; border-radius: var(--tp-radius-sm); overflow: hidden; font-size: 0.942rem;
}
.tp-root .tour_extra_price_table thead th, .tp-root .tour_tip_price_table thead th {
    background: var(--tp-bg-2) !important; color: var(--tp-text-700) !important;
    font-size: 0.904rem !important; font-weight: 700 !important; text-transform: none; letter-spacing: 0;
    padding: 0.5rem 0.6rem !important; border: 0 !important; border-bottom: 1px solid var(--tp-line) !important; white-space: nowrap;
}
.tp-root .tour_extra_price_table tbody td, .tp-root .tour_tip_price_table tbody td { padding: 0.35rem 0.5rem !important; border: 0 !important; border-bottom: 1px solid var(--tp-line) !important; vertical-align: middle; }
.tp-root .tour_extra_price_table tbody tr.extra-option-row td { border-bottom: 0 !important; }
.tp-root .tour_extra_price_table tbody tr:last-child td, .tp-root .tour_tip_price_table tbody tr:last-child td { border-bottom: 0 !important; }
.tp-root .tour_extra_price_table tbody td strong, .tp-root .tour_tip_price_table tbody td strong { font-size: 0.945rem; font-weight: 700; color: var(--tp-text-900); }
.tp-root .tour_extra_price_table input, .tp-root .tour_tip_price_table input {
    height: 1.95rem; padding: 0 0.5rem !important; border-radius: 6px !important;
    border: 1px solid transparent !important; background: transparent !important; box-shadow: none !important;
    font-size: 0.945rem; font-weight: 600; color: var(--tp-text-900); text-align: right; font-variant-numeric: tabular-nums;
}
.tp-root .tour_extra_price_table input:placeholder-shown, .tp-root .tour_tip_price_table input:placeholder-shown { border-style: dashed !important; border-color: var(--tp-line) !important; }
.tp-root .tour_extra_price_table input:hover, .tp-root .tour_tip_price_table input:hover { background: var(--tp-bg) !important; border-color: var(--tp-line-2) !important; }
.tp-root .tour_extra_price_table input:focus, .tp-root .tour_tip_price_table input:focus { outline: 0; background: var(--tp-bg) !important; border-color: var(--tp-primary) !important; box-shadow: 0 0 0 3px var(--tp-primary-bg) !important; }
.tp-root .extra-option-desc-row td { padding: 0 0.6rem 0.6rem 0.6rem !important; background: var(--tp-bg-2); }
.tp-root .extra-option-desc-row:has(.collapse:not(.show)) td { padding: 0 !important; border-bottom: 0 !important; }

.tp-root .fare-type-list { display: flex; flex-direction: column; gap: 0.85rem; counter-reset: fare-type-counter; }
.tp-root .fare-type-section.tp-fare {
    counter-increment: fare-type-counter;
    border: 1px solid var(--tp-line) !important; border-left: 4px solid var(--tp-primary) !important;
    border-radius: var(--tp-radius) !important; background: var(--tp-bg-2); overflow: hidden; box-shadow: none; margin: 0 !important;
}
.tp-root .fare-type-section.tp-fare + .fare-type-section.tp-fare { margin-top: 0 !important; }
.tp-root .fare-type-section.tp-fare > .card-header {
    display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
    padding: 0.6rem 0.75rem 0.6rem 0.9rem !important; min-height: 0; background: var(--tp-bg); border-bottom: 1px solid var(--tp-line) !important; cursor: pointer;
}
.tp-root .fare-type-section.tp-fare:not(.is-expanded) > .card-header { border-bottom: 0 !important; }
.tp-root .tp-fare-lead { display: flex; align-items: center; gap: 0.6rem; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.tp-root .tp-fare-index { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--tp-primary); color: #fff; font-size: 0.911rem; font-weight: 650; flex-shrink: 0; }
.tp-root .tp-fare-index::before { content: counter(fare-type-counter); }
.tp-root .tp-fare-eyebrow { font-size: 0.877rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--tp-text-400); white-space: nowrap; }
.tp-root .fare-type-drag-handle { cursor: grab; color: var(--tp-line-2); }
.tp-root .fare-type-drag-handle:hover { color: var(--tp-text-500); }
.tp-root .tp-fare-titles { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tp-root .tp-fare-titles .fare-type-title-field {
    height: 2rem; width: 12rem; padding: 0 0.6rem !important;
    border: 1px solid transparent !important; border-radius: 6px !important; background: transparent !important; box-shadow: none !important;
    font-size: 0.983rem !important; font-weight: 650 !important; color: var(--tp-text-900) !important;
}
.tp-root .tp-fare-titles .fare-type-title-field:hover { border-color: var(--tp-line-2) !important; background: var(--tp-bg) !important; }
.tp-root .tp-fare-titles .fare-type-title-field:focus { border-color: var(--tp-primary) !important; background: var(--tp-bg) !important; box-shadow: 0 0 0 3px var(--tp-primary-bg) !important; }
.tp-root .tp-fare-titles .fare-type-title-field + .fare-type-title-field { font-size: 0.938rem !important; font-weight: 600 !important; color: var(--tp-text-500) !important; width: 10rem; }
.tp-root .tp-fare-titles .fare-type-title-field::placeholder { font-weight: 500; color: var(--tp-text-400); }
.tp-root .tp-fare-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.911rem; color: var(--tp-text-500); flex: 0 1 auto; }
.tp-root .tp-fare-stats span { white-space: nowrap; }
.tp-root .tp-fare-stats strong { color: var(--tp-text-900); font-weight: 700; }
.tp-root .tp-fare-stats .tp-fare-stat-price strong { color: var(--tp-primary-dk); }
.tp-root .fare-type-header-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; margin-left: auto; }
.tp-root .fare-type-header-actions .btn-delete-fare-type { width: 1.85rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--tp-radius-sm); color: var(--tp-text-400); background: transparent !important; border: 0; padding: 0; }
.tp-root .fare-type-header-actions .btn-delete-fare-type:hover { background: var(--tp-danger-bg) !important; color: var(--tp-danger); }
.tp-root .fare-type-collapse-chevron { width: 1.85rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center; color: var(--tp-text-400); font-size: 0.78rem; transition: transform .15s; }
.tp-root .fare-type-section.is-expanded .fare-type-collapse-chevron { transform: rotate(180deg); }
.tp-root .fare-type-section.tp-fare > .card-body { padding: 0.75rem 0.75rem 0.85rem !important; background: var(--tp-bg-2); }
.tp-root .tp-fare-sub { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem; }
.tp-root .tp-fare-sub-title { font-size: 0.904rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); display: inline-flex; align-items: center; gap: 0.4rem; }
.tp-root .tp-fare-sub-title i { color: var(--tp-text-400); }
.tp-root .cabin-add-toolbar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tp-root .cabin-picker-row { display: flex !important; align-items: center; gap: 0.4rem; padding: 0; background: transparent; border-radius: 0; margin: 0; }
.tp-root .cabin-picker-row.d-none { display: none !important; }
.tp-root .cabin-combo-input { height: 2.1rem; width: 280px; border: 1px solid var(--tp-line-2) !important; border-radius: var(--tp-radius-sm) !important; background: var(--tp-bg) !important; font-size: 0.945rem; font-weight: 600; padding: 0 0.6rem !important; box-shadow: none !important; }
.tp-root .cabin-combo-input:focus { border-color: var(--tp-primary) !important; box-shadow: 0 0 0 3px var(--tp-primary-bg) !important; }
.tp-root .fare-type-section.tp-fare .cabin-card.tp-card { border-left-width: 3px; }

.tp-root table.tier-table.accommodation_language_table thead tr:last-child th,
.tp-root .cabin-type-manager table.tier-table thead tr:last-child th { position: static; }
.tp-root table.tier-table.accommodation_language_table input,
.tp-root .cabin-type-manager table.tier-table input { text-align: left; }
.tp-root .cabin-type-add-row { background: transparent; padding: 0; margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.tp-root .cabin-type-add-row .form-control { height: 2.1rem; border: 1px solid var(--tp-line-2) !important; border-radius: var(--tp-radius-sm) !important; font-size: 0.945rem; font-weight: 600; box-shadow: none !important; }
.tp-root .tp-note { padding: 0.55rem 0.8rem; margin-bottom: 0.75rem; border-radius: var(--tp-radius-sm); background: var(--tp-primary-bg); color: var(--tp-primary-dk); font-size: 0.925rem; line-height: 1.45; border: 1px solid #bfe3ff; }
.tp-root .tp-note strong { font-weight: 650; }

.tp-root .alert { border-radius: var(--tp-radius-sm); font-size: 0.932rem; }

@media (max-width: 767.98px) {
    .tp-detail-head { flex-direction: column; align-items: stretch; }
    .tp-field { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--tp-line); }
    .tp-field:last-child { border-bottom: 0; }
    .tp-root .cabin-card.tp-card > .cabin-card-header { grid-template-columns: 1fr; grid-template-areas: "title" "stats" "actions"; }
    .tp-root .cabin-card.tp-card > .cabin-card-header .cabin-card-header-actions { justify-content: flex-end; }
}

.tp-root .tour-program-date-btn.tour-program-date-btn.tour-program-date-btn.tour-program-date-btn {
    display: flex !important; align-items: center; gap: 0.55rem;
    min-width: 128px; height: 3rem; padding: 0 0.7rem 0 0.6rem !important;
    border: 1px solid var(--tp-line-2) !important; border-radius: var(--tp-radius-sm) !important;
    background: var(--tp-bg) !important; color: var(--tp-text-900) !important;
    box-shadow: none !important; transform: none !important; cursor: pointer; text-align: left; line-height: 1;
    transition: border-color .12s, background .12s, box-shadow .12s;
}
.tp-root .tour-program-date-btn.tour-program-date-btn.tour-program-date-btn.tour-program-date-btn:hover { border-color: var(--tp-text-400) !important; background: var(--tp-bg-2) !important; box-shadow: none !important; transform: none !important; }
.tp-root .tour-program-date-btn.tour-program-date-btn.tour-program-date-btn.tour-program-date-btn.active { border-color: var(--tp-primary) !important; border-width: 1px !important; background: var(--tp-primary-bg) !important; box-shadow: 0 0 0 2px var(--tp-primary-bg) !important; }
.tp-root .tour-program-date-btn.btn-light-success .date-chip-dot { background: var(--tp-success); }
.tp-root .tour-program-date-btn.btn-light-warning .date-chip-dot { background: var(--tp-warning); }
.tp-root .tour-program-date-btn.btn-light-danger  .date-chip-dot { background: var(--tp-danger); }
.tp-root .tour-program-date-btn.active .date-chip-day { color: var(--tp-primary-dk); }
.tp-root li.date-chip-is-past .tour-program-date-btn { opacity: .6; }
.tp-root li.date-chip-is-past .tour-program-date-btn.active { opacity: 1; }

.tpp-langbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 0.25rem; }
.tpp-langbar-note { font-size: 0.911rem; color: var(--tp-text-500); display: inline-flex; align-items: center; gap: 0.35rem; }
.tpp-langbar-note i { color: var(--tp-text-400); }
.tp-root .tp-segment .nav-link small { font-size: 0.877rem; font-weight: 600; color: var(--tp-text-400); margin-left: 0.15rem; }
.tpp-form { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 0.75rem; }
.tpp-section-hint { font-size: 0.911rem; color: var(--tp-text-500); }
.tpp-section-hint code { font-size: 0.904rem; background: var(--tp-bg-3); color: var(--tp-text-700); padding: 0.05rem 0.35rem; border-radius: 4px; }
.tpp-section-hint kbd { font-size: 0.884rem; font-weight: 700; border: 1px solid var(--tp-line-2); border-bottom-width: 2px; border-radius: 4px; padding: 0 0.3rem; color: var(--tp-text-700); background: var(--tp-bg); }
.tp-section-title .tpp-section-hint { font-weight: 500; margin-left: 0.25rem; }
.tpp-autosave { transition: background .15s, color .15s; }
.tpp-autosave.is-saving { color: var(--tp-warning); background: var(--tp-warning-bg); border-color: #fde68a; }
.tpp-autosave.is-saved  { color: var(--tp-success); background: var(--tp-success-bg); border-color: #bbf7d0; }
.tpp-autosave.is-error  { color: var(--tp-danger);  background: var(--tp-danger-bg);  border-color: #fecaca; }

.tpp-settings-row-2 { border-top: 1px solid var(--tp-line); }
.tpp-field-code { flex: 0 1 230px; }
.tpp-field-airline { flex: 1 1 220px; }
.tpp-field-departure { flex: 1 1 240px; }
.tpp-field-nd { flex: 0 0 170px; }
.tpp-nd .tp-input { text-align: center; }
.tpp-nd-sep { color: var(--tp-text-400); font-weight: 700; }
.tpp-field-itinerary { flex: 2 1 360px; }
.tpp-field-guide { flex: 1 1 300px; }
.tp-root .tp-field .select2-container { width: 100% !important; }
.tp-root .tp-field .select2-container .select2-selection--single,
.tp-root .tp-field .select2-container .select2-selection--multiple {
    min-height: 2.1rem !important; border: 1px solid var(--tp-line-2) !important; border-radius: var(--tp-radius-sm) !important;
    background: var(--tp-bg) !important; box-shadow: none !important; font-size: 0.945rem; font-weight: 600;
}
.tp-root .tp-field .select2-container .select2-selection--single { height: 2.1rem !important; padding: 0 1.7rem 0 0.6rem !important; display: flex; align-items: center; }
.tp-root .tp-field .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 !important; line-height: 2rem; color: var(--tp-text-900); }
.tp-root .tp-field .select2-container .select2-selection--single .select2-selection__placeholder { color: var(--tp-text-400); font-weight: 400; }
.tp-root .tp-field .select2-container .select2-selection--multiple { padding: 0.15rem 0.4rem !important; }
.tp-root .tp-field .select2-container .select2-selection--multiple .select2-selection__choice { background: var(--tp-primary-bg) !important; color: var(--tp-primary-dk) !important; border: 1px solid #bfe3ff !important; border-radius: 999px !important; font-size: 0.918rem; font-weight: 700; padding: 0.1rem 0.55rem !important; margin: 0.15rem 0.25rem 0.15rem 0 !important; }
.tp-root .tp-field .select2-container--focus .select2-selection--multiple,
.tp-root .tp-field .select2-container--open .select2-selection--single,
.tp-root .tp-field .select2-container--open .select2-selection--multiple { border-color: var(--tp-primary) !important; box-shadow: 0 0 0 3px var(--tp-primary-bg) !important; }

.tpp-flight-card { border: 1px solid var(--tp-line); border-left: 3px solid var(--tp-primary); border-radius: var(--tp-radius); background: var(--tp-bg); overflow: hidden; }
.tpp-flight-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--tp-line); }
.tpp-flight-title { display: flex; align-items: center; gap: 0.6rem; }
.tpp-flight-title > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.tpp-flight-title strong { font-size: 0.966rem; color: var(--tp-text-900); }
.tpp-flight-title small { font-size: 0.911rem; color: var(--tp-text-500); }
.tpp-flight-title small b { color: var(--tp-text-700); }
.tpp-legs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0; }
.tpp-leg { padding: 0.85rem 1rem; border-right: 1px solid var(--tp-line); }
.tpp-leg:last-child { border-right: 0; }
.tpp-leg-head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.tpp-leg-no { font-size: 0.911rem; color: var(--tp-text-500); }
.tpp-leg-no b { color: var(--tp-text-900); }
.tpp-leg-body { display: flex; align-items: center; gap: 0.75rem; }
.tpp-leg-point { display: flex; flex-direction: column; min-width: 4.5rem; }
.tpp-leg-point.is-end { text-align: right; }
.tpp-leg-time { font-size: 1.35rem; font-weight: 650; color: var(--tp-text-900); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tpp-leg-iata { font-size: 0.932rem; font-weight: 650; color: var(--tp-text-700); letter-spacing: .04em; }
.tpp-leg-date { font-size: 0.897rem; color: var(--tp-text-500); }
.tpp-leg-line { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.tpp-leg-dur { font-size: 0.897rem; font-weight: 700; color: var(--tp-text-500); }
.tpp-leg-track { position: relative; width: 100%; height: 1px; border-top: 2px dotted var(--tp-line-2); }
.tpp-leg-track i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--tp-bg); padding: 0 0.35rem; color: var(--tp-primary); font-size: 0.85rem; }
.tpp-leg:last-child .tpp-leg-track i { color: var(--tp-success); }
.tpp-flight-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; padding: 0.6rem 0.9rem; border-top: 1px solid var(--tp-line); background: var(--tp-bg-2); }
@media (max-width: 767.98px) { .tpp-legs { grid-template-columns: 1fr; } .tpp-leg { border-right: 0; border-bottom: 1px solid var(--tp-line); } .tpp-leg:last-child { border-bottom: 0; } }

.tp-root #editorjs.tpp-editor { min-height: 140px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 0.75rem 0.9rem; margin: 0; background: var(--tp-bg); }
.tp-root #editorjs.tpp-editor:focus-within { border-color: var(--tp-primary); box-shadow: 0 0 0 3px var(--tp-primary-bg); }
.tp-root .day-block { border: 1px solid var(--tp-line); border-left: 3px solid var(--tp-line-2); border-radius: var(--tp-radius); margin: 0.6rem 0; background: var(--tp-bg); box-shadow: none; }
.tp-root .day-block:hover, .tp-root .day-block:focus-within { border-color: var(--tp-line); border-left-color: var(--tp-primary); box-shadow: var(--tp-shadow); }
.tp-root .day-block-header { padding: 0.55rem 0.75rem; background: var(--tp-bg-2); border-bottom: 1px solid var(--tp-line); gap: 0.6rem; }
.tp-root .day-badge { min-width: 2rem; height: 2rem; border-radius: 7px; background: var(--tp-primary); color: #fff; font-size: 0.938rem; font-weight: 650; }
.tp-root .day-title-input { height: 2rem !important; border: 1px solid transparent !important; background: transparent !important; box-shadow: none !important; font-size: 0.973rem !important; font-weight: 650 !important; color: var(--tp-text-900) !important; padding: 0 0.5rem !important; border-radius: 6px !important; }
.tp-root .day-title-input:hover { background: var(--tp-bg) !important; border-color: var(--tp-line-2) !important; }
.tp-root .day-title-input:focus { background: var(--tp-bg) !important; border-color: var(--tp-primary) !important; box-shadow: 0 0 0 3px var(--tp-primary-bg) !important; }
.tp-root .day-quick-actions { display: inline-flex; gap: 0.2rem; }
.tp-root .day-quick-actions .btn { width: 1.8rem; height: 1.8rem; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px !important; border: 1px solid transparent !important; background: transparent !important; color: var(--tp-text-400) !important; font-size: 0.932rem; }
.tp-root .day-quick-actions .btn:hover { background: var(--tp-bg-3) !important; color: var(--tp-text-900) !important; }
.tp-root .day-quick-actions .btn.delete-btn:hover { background: var(--tp-danger-bg) !important; color: var(--tp-danger) !important; }
.tp-root .day-block-body { padding: 0.75rem; }
.tp-root .day-description-wrapper { border: 1px solid var(--tp-line); border-radius: var(--tp-radius-sm); margin: 0; overflow: hidden; }
.tp-root .day-description-wrapper:focus-within { border-color: var(--tp-primary); box-shadow: 0 0 0 3px var(--tp-primary-bg); }
.tp-root .day-description-toolbar { margin: 0; padding: 0.25rem 0.4rem; border: 0; border-bottom: 1px solid var(--tp-line); background: var(--tp-bg-2); border-radius: 0; gap: 0.15rem; }
.tp-root .day-description-toolbar .btn { min-width: 1.7rem; height: 1.7rem; padding: 0 0.4rem !important; border-radius: 5px !important; background: transparent !important; color: var(--tp-text-700) !important; font-size: 0.925rem; }
.tp-root .day-description-toolbar .btn:hover { background: var(--tp-bg-3) !important; }
.tp-root .day-description-editor { min-height: 96px; padding: 0.65rem 0.75rem; border: 0; border-radius: 0; font-size: 0.952rem; line-height: 1.65; color: var(--tp-text-900); }
.tp-root .day-description-editor:focus { border-color: transparent; box-shadow: none; }
.tp-root .day-description-editor:empty:before { color: var(--tp-text-400); }
.tp-root .day-selects { margin-top: 0.65rem; padding-top: 0.65rem; border-top: 1px dashed var(--tp-line); gap: 0.75rem; }
.tp-root .day-selects .input-group { display: flex; flex-direction: column; gap: 0.25rem; }
.tp-root .day-selects .input-group .form-label { font-size: 0.884rem; font-weight: 650; letter-spacing: .05em; color: var(--tp-text-500); margin: 0; }
.tp-root .day-selects .input-group .form-control { width: 100% !important; flex: none !important; height: 2rem; border: 1px solid var(--tp-line-2) !important; border-radius: 6px !important; font-size: 0.938rem; font-weight: 600; box-shadow: none !important; background: var(--tp-bg) !important; padding: 0 0.55rem !important; }
.tp-root .day-selects .input-group .form-control:focus { border-color: var(--tp-primary) !important; box-shadow: 0 0 0 3px var(--tp-primary-bg) !important; }
.tp-root .ce-paragraph { font-size: 0.952rem; }

.tpp-map { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); overflow: hidden; margin: 0 !important; }
.tpp-map-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--tp-line); background: var(--tp-bg-2); }
.tpp-map-actions { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.tpp-map .map-viewer:empty { display: none; }
.tpp-map .map-viewer { padding: 0.75rem 0.9rem; }

.tpp-texts { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 0.85rem; }
.tpp-text-card { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); overflow: hidden; }
.tpp-text-head { display: flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--tp-line); background: var(--tp-bg-2); font-size: 0.904rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); }
.tpp-text-head i { color: var(--tp-primary); }
.tpp-text-card .ck.ck-editor__top .ck-toolbar { border: 0 !important; border-bottom: 1px solid var(--tp-line) !important; border-radius: 0 !important; background: var(--tp-bg) !important; }
.tpp-text-card .ck.ck-editor__editable { border: 0 !important; border-radius: 0 !important; min-height: 9rem !important; font-size: 0.952rem; box-shadow: none !important; }
.tpp-text-card .ck.ck-editor__editable.ck-focused { box-shadow: inset 0 0 0 2px var(--tp-primary-bg) !important; }

@media (max-width: 1399.98px) { .tpp-detail .tp-layout { grid-template-columns: 1fr; } .tpp-detail .tp-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

.tp-datestab .tp-overview { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.tpd-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 1.1rem; align-items: start; }
@media (max-width: 991.98px) { .tpd-layout { grid-template-columns: 1fr; } }
.tp-root .tpd-side, .tp-root .tpd-cal { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; position: static !important; }
.tpd-side { display: flex; flex-direction: column; gap: 0.75rem; }
.tpd-add { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg-2); padding: 0.75rem 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; margin: 0 !important; }
.tpd-add-row { display: flex; gap: 0.4rem; }
.tpd-add-row .tp-input { flex: 1 1 auto; }
.tpd-list-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.897rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); padding: 0 0.2rem; }
.tp-root .tpd-list { display: flex; flex-direction: column; gap: 0.35rem; max-height: 34rem; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
.tp-root .tpd-list li.list-group-item { border: 1px solid var(--tp-line) !important; border-left: 3px solid var(--tp-success) !important; border-radius: var(--tp-radius-sm) !important; padding: 0.45rem 0.6rem 0.45rem 0.75rem !important; background: var(--tp-bg); font-size: 0.952rem !important; color: var(--tp-text-900) !important; transition: border-color .12s, background .12s; }
.tp-root .tpd-list li.list-group-item:hover { border-color: var(--tp-line-2) !important; background: var(--tp-bg-2); }
.tp-root .tpd-list li.list-group-item.is-past { border-left-color: var(--tp-line-2) !important; }
.tp-root .tpd-list li.list-group-item.is-past .fw-bolder { color: var(--tp-text-500); }
.tp-root .tpd-list li .fw-bolder { display: flex; flex-direction: column; line-height: 1.2; font-size: 0.966rem; font-weight: 650 !important; font-variant-numeric: tabular-nums; }
.tp-root .tpd-list li .tpd-weekday { font-size: 0.89rem; font-weight: 600; color: var(--tp-text-500); }
.tp-root .tpd-list li .tpd-right { display: inline-flex; align-items: center; gap: 0.35rem; }
.tp-root .tpd-list li .btn-delete-event { width: 1.75rem; height: 1.75rem; margin-left: 0.25rem !important; border-radius: 6px !important; background: transparent !important; color: var(--tp-text-400) !important; border: 0; opacity: .6; }
.tp-root .tpd-list li:hover .btn-delete-event { opacity: 1; }
.tp-root .tpd-list li .btn-delete-event:hover { background: var(--tp-danger-bg) !important; color: var(--tp-danger) !important; }
.tpd-cal { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); padding: 0.5rem !important; }
.tpd-cal .flatpickr-calendar.inline { width: 100% !important; box-shadow: none !important; border: 0 !important; }
.tpd-cal .flatpickr-calendar.inline .flatpickr-months { padding: 0.35rem 0 0.5rem; }
.tpd-cal .flatpickr-calendar.inline .flatpickr-current-month { font-size: 1rem; font-weight: 650; color: var(--tp-text-900); }
.tpd-cal .flatpickr-calendar.inline .flatpickr-weekday { font-size: 0.897rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); }
.tpd-cal .flatpickr-calendar.inline .flatpickr-day { border-radius: 8px; border: 1px solid transparent; font-weight: 600; color: var(--tp-text-700); }
.tpd-cal .flatpickr-calendar.inline .flatpickr-day:hover { background: var(--tp-primary-bg); border-color: #bfe3ff; color: var(--tp-primary-dk); }
.tpd-cal .flatpickr-calendar.inline .flatpickr-day.selected, .tpd-cal .flatpickr-calendar.inline .flatpickr-day.selected:hover { background: var(--tp-success) !important; border-color: var(--tp-success) !important; color: #fff !important; font-weight: 650; }
.tpd-cal .flatpickr-calendar.inline .flatpickr-day.today:not(.selected) { border-color: var(--tp-primary); color: var(--tp-primary-dk); }
.tpd-cal .flatpickr-calendar.inline .flatpickr-day.flatpickr-disabled, .tpd-cal .flatpickr-calendar.inline .flatpickr-day.prevMonthDay, .tpd-cal .flatpickr-calendar.inline .flatpickr-day.nextMonthDay { color: var(--tp-text-400); }
.tpd-empty { margin-top: 0.25rem; }

.tpb-summary { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.tp-root .tdash-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.945rem; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-sm); overflow: hidden; }
.tp-root .tdash-table thead th { font-size: 0.89rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); background: var(--tp-bg-2); padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--tp-line); white-space: nowrap; text-align: left; }
.tp-root .tdash-table thead th.text-end { text-align: right; } .tp-root .tdash-table thead th.text-center { text-align: center; }
.tp-root .tdash-table tbody td { padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--tp-line); vertical-align: middle; color: var(--tp-text-900); }
.tp-root .tdash-table tbody tr:last-child td { border-bottom: 0; }
.tp-root .tdash-table tbody tr.tdash-row:hover td { background: var(--tp-bg-2); }
.tp-root .tdash-table tbody tr.is-past td { color: var(--tp-text-500); }
.tp-root .tdash-num { font-variant-numeric: tabular-nums; font-weight: 700; }
.tp-root .tdash-date { display: flex; flex-direction: column; line-height: 1.15; }
.tp-root .tdash-date b { font-size: 0.973rem; color: var(--tp-text-900); font-variant-numeric: tabular-nums; }
.tp-root .tdash-date small { font-size: 0.897rem; color: var(--tp-text-500); }
.tpb-code { font-weight: 650; color: var(--tp-primary-dk); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 0.3rem; }
.tpb-code i { font-size: 0.6rem; opacity: .6; }
.tpb-sub { display: block; font-size: 0.89rem; color: var(--tp-text-500); font-weight: 500; }
.tpb-sub-cell { font-variant-numeric: tabular-nums; font-weight: 600; }

.tpc-table td .tp-btn { display: inline-flex; }

.tp-capflow { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); padding: .6rem .8rem; margin: -.25rem 0 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.tp-capflow-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.tp-capflow-label { flex: 0 0 90px; font-size: 0.884rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-text-500); }
.tp-capflow-steps { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; flex: 1 1 auto; }
.tp-capflow-step { display: inline-flex; align-items: baseline; gap: .3rem; padding: .3rem .6rem; border-radius: var(--tp-radius-sm); background: var(--tp-bg-2); border: 1px solid var(--tp-line); white-space: nowrap; }
.tp-capflow-step small { font-size: 0.89rem; color: var(--tp-text-500); font-weight: 600; }
.tp-capflow-step b { font-size: 0.983rem; font-weight: 650; color: var(--tp-text-900); font-variant-numeric: tabular-nums; }
.tp-capflow-step em { font-style: normal; font-size: 0.89rem; color: var(--tp-text-500); }
.tp-capflow-step.is-muted b { color: var(--tp-warning); }
.tp-capflow-step.is-sold b { color: var(--tp-success); }
.tp-capflow-step.is-danger { background: var(--tp-danger-bg); border-color: #fecaca; }
.tp-capflow-step.is-danger b { color: var(--tp-danger); }
.tp-capflow-result { background: var(--tp-primary-bg); border-color: #bfe3ff; }
.tp-capflow-result b { color: var(--tp-primary-dk); font-size: 1.05rem; }
.tp-capflow-result.is-ok { background: var(--tp-success-bg); border-color: #bbf7d0; }
.tp-capflow-result.is-ok b { color: var(--tp-success); }
.tp-capflow-arrow { font-size: .6rem; color: var(--tp-text-400); }
.tp-capflow-eq { font-weight: 650; color: var(--tp-text-400); margin: 0 .1rem; }
.tp-capflow-notes { display: flex; flex-direction: column; gap: .2rem; padding-top: .35rem; border-top: 1px dashed var(--tp-line); }
.tp-capflow-note { font-size: 0.911rem; color: var(--tp-text-700); }
.tp-capflow-note.is-info i { color: var(--tp-primary); }
.tp-capflow-note.is-warning { color: #92400e; } .tp-capflow-note.is-warning i { color: var(--tp-warning); }
.tp-capflow-note.is-danger { color: var(--tp-danger); }

.tp-card-summary { gap: .35rem 1rem !important; }
.tp-card-summary small { font-size: 0.89rem; color: var(--tp-warning); font-weight: 700; }
.tp-card-noactive { color: var(--tp-danger); font-weight: 700; }
.cabin-card-header-actions { display: flex; align-items: center; gap: .15rem; }
.tp-card-settings-btn.is-on { color: var(--tp-primary) !important; background: var(--tp-primary-bg); }
.tp-card-settings-panel[hidden] { display: none !important; }
.tp-bulk { position: relative; }
.tp-bulk-menu { display: none; position: absolute; right: 0; top: calc(100% + 4px); z-index: 50; width: 300px; background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: var(--tp-radius-sm); box-shadow: 0 10px 30px rgba(17,24,39,.15); padding: .3rem; text-align: left; }
.tp-bulk.is-open .tp-bulk-menu { display: block; }
.tp-bulk-menu a { display: flex; gap: .6rem; padding: .5rem .55rem; border-radius: 6px; text-decoration: none; }
.tp-bulk-menu a:hover { background: var(--tp-bg-2); }
.tp-bulk-menu a > i { color: var(--tp-primary); width: 1rem; margin-top: .15rem; }
.tp-bulk-menu a span { display: flex; flex-direction: column; line-height: 1.3; }
.tp-bulk-menu b { font-size: 0.932rem; color: var(--tp-text-900); }
.tp-bulk-menu small { font-size: 0.897rem; color: var(--tp-text-500); }

.tp-tier-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin: .1rem 0 .45rem; }
.tp-tier-bar-hint { font-size: 0.911rem; color: var(--tp-text-500); }
.tp-tier-bar-hint i { color: var(--tp-warning); }
.tp-extra-toggle { border: 1px dashed var(--tp-line-2); background: var(--tp-bg); color: var(--tp-text-700); font-size: 0.914rem; font-weight: 700; border-radius: 999px; padding: .25rem .75rem; display: inline-flex; align-items: center; gap: .4rem; }
.tp-extra-toggle:hover, .tp-extra-toggle.is-on { border-style: solid; border-color: var(--tp-child, #be185d); color: var(--tp-child, #be185d); background: var(--tp-child-bg, #fdf2f8); }
.tp-extra-count { font-size: 0.884rem; font-weight: 650; background: var(--tp-bg-3); color: var(--tp-text-500); border-radius: 999px; padding: 0 .4rem; }
.cabin-card:not(.tp-extra-open) .tier-table .tier-col-extra { display: none !important; }
.tier-table input.is-computed { background: var(--tp-bg-3) !important; color: var(--tp-text-500) !important; border-style: dashed !important; cursor: not-allowed; font-style: italic; }

.tp-root .tp-dates-scroll { position: relative; display: flex; align-items: center; gap: .35rem; }
.tp-root .tp-dates-scroll .date-slider-list { flex-wrap: nowrap !important; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1 1 auto; padding: 2px !important; margin: 0 !important; }
.tp-root .tp-dates-scroll .date-slider-list::-webkit-scrollbar { display: none; }
.tp-root .tp-dates-scroll .date-slider-list > li { flex: 0 0 auto; }
.tp-dates-nav { flex: 0 0 2rem; height: 3rem; border: 1px solid var(--tp-line-2); border-radius: var(--tp-radius-sm); background: var(--tp-bg); color: var(--tp-text-700); }
.tp-dates-nav:hover:not(:disabled) { color: var(--tp-primary); border-color: var(--tp-primary); }
.tp-dates-nav:disabled { opacity: .35; }
.tp-root .tp-dates .date-slider-list li.tp-month-sep { display: flex; align-items: center; padding: 0 .15rem 0 .45rem; border-left: 2px solid var(--tp-line); margin-left: .2rem; }
.tp-root .tp-dates .date-slider-list li.tp-month-sep:first-child { border-left: 0; margin-left: 0; padding-left: 0; }
.tp-month-sep span { display: flex; flex-direction: column; line-height: 1.05; font-size: 0.904rem; font-weight: 650; text-transform: uppercase; color: var(--tp-text-700); }
.tp-month-sep small { font-size: 0.863rem; font-weight: 700; color: var(--tp-text-400); }

.tp-sw { text-align: left; font-size: 0.949rem; }
.tp-sw p { color: var(--tp-text-500, #6b7280); margin: 0 0 .5rem; }
.tp-sw .swal2-input, .tp-sw .swal2-select { width: 100%; margin: .4rem 0; box-sizing: border-box; }
.tp-sw-row { display: flex; align-items: center; gap: .45rem; margin: .35rem 0; font-size: 0.938rem; }
.tp-sw-tools { font-size: 0.925rem; margin-bottom: .4rem; }
.tp-sw-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .3rem; max-height: 300px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 8px; padding: .5rem; }
.tp-sw-date { display: flex; align-items: center; gap: .4rem; font-size: 0.932rem; padding: .25rem .35rem; border-radius: 6px; cursor: pointer; }
.tp-sw-date:hover { background: #f3f4f6; }
.tp-sw-date.is-past { opacity: .5; cursor: default; }
.tp-sw-date small { color: #9ca3af; }

.tp-capflow-note.is-guide { color: var(--tp-text-700); background: var(--tp-warning-bg); border-radius: 6px; padding: .2rem .5rem; align-self: flex-start; }
.tp-capflow-note.is-guide i { color: var(--tp-warning); }

a.tp-side-head.tp-changes-open { text-decoration: none; cursor: pointer; }
a.tp-side-head.tp-changes-open:hover { background: var(--tp-primary-bg); }
body.tp-drawer-lock { overflow: hidden; }
.tp-drawer { position: fixed; inset: 0; z-index: 1060; pointer-events: none; }
.tp-drawer-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.35); opacity: 0; transition: opacity .2s; }
.tp-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100vw; background: var(--tp-bg); box-shadow: -8px 0 30px rgba(17,24,39,.18); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.tp-drawer.is-open { pointer-events: auto; }
.tp-drawer.is-open .tp-drawer-backdrop { opacity: 1; }
.tp-drawer.is-open .tp-drawer-panel { transform: none; }
.tp-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--tp-line); }
.tp-drawer-head h3 { margin: 0; font-size: 1rem; font-weight: 650; color: var(--tp-text-900); display: flex; align-items: center; gap: .45rem; }
.tp-drawer-head h3 i { color: var(--tp-primary); }
.tp-drawer-sub { display: block; margin-top: .15rem; color: var(--tp-text-500); font-size: 0.914rem; font-weight: 600; }
.tp-drawer-close { border: 0; background: var(--tp-bg-soft, #f3f4f6); width: 2rem; height: 2rem; border-radius: 8px; color: var(--tp-text-700); display: inline-flex; align-items: center; justify-content: center; }
.tp-drawer-close:hover { background: var(--tp-primary-bg); color: var(--tp-primary); }
.tp-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: .35rem 1.15rem 1rem; overscroll-behavior: contain; }
.tp-drawer-list .tp-change { padding: .75rem 0; font-size: 0.932rem; }
.tp-drawer-list .tp-change-meta { margin-bottom: .3rem; }
.tp-change-date { display: inline-flex; align-items: center; gap: .25rem; }
.tp-change-who { display: flex; flex-wrap: wrap; gap: .2rem .75rem; color: var(--tp-text-500); margin-bottom: .3rem; }
.tp-change-who strong { color: var(--tp-text-700); font-weight: 700; }
.tp-drawer-more { text-align: center; padding: .5rem 0; }
.tp-drawer-loading, .tp-drawer-empty { color: var(--tp-text-500); font-size: 0.932rem; padding: .75rem 0; text-align: center; }
.tp-drawer-foot { padding: .75rem 1.15rem; border-top: 1px solid var(--tp-line); }
.tp-drawer-foot .tp-side-link { margin: 0; }

.tp-root table.tier-table { min-width: 980px; }
.tp-root table.tier-table input.price-mask:not(.single-diff-value) { min-width: 5.9rem; }
.tp-root table.tier-table td.tier-group-child,
.tp-root table.tier-table td.tier-col-extra,
.tp-root table.tier-table td.tier-col-single { min-width: 6.6rem; }
.tp-root table.tier-table td.tier-td-primary { min-width: 7.4rem; }
.tp-root table.tier-table thead tr:last-child th { white-space: nowrap; }
.tp-root table.tier-table thead tr:last-child th small { white-space: nowrap; }
.tp-root .tier-quota-row { gap: .35rem; }
.tp-root .tier-diff-group { min-width: 7.2rem; }
.tp-root .tier-table-wrap { scrollbar-width: thin; }
.tp-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.tp-kv-v { white-space: nowrap; }
.tp-kv-k { min-width: 0; }
.tp-side-highlight .tp-kv:has(.tp-side-revenue) { flex-wrap: wrap; row-gap: .1rem; }
.tp-side-highlight .tp-kv:has(.tp-side-revenue) .tp-kv-k { flex: 1 1 100%; }
.tp-side-highlight .tp-kv:has(.tp-side-revenue) .tp-side-revenue { margin-left: auto; font-size: 1.25rem; }

.cfx { border: 1px solid var(--tp-line); border-radius: 14px; background: var(--tp-bg); margin: 0 0 1.1rem; overflow: hidden; }
.cfx-row { padding: 1rem 1.15rem 1.05rem; }
.cfx-row.is-sub { border-top: 1px solid var(--tp-line); }
.cfx-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .85rem; }
.cfx-title { display: flex; align-items: center; gap: .7rem; }
.cfx-title b { display: block; font-size: 1rem; font-weight: 650; color: var(--tp-text-900); line-height: 1.2; }
.cfx-title small { display: block; font-size: .84rem; color: var(--tp-text-400); margin-top: .1rem; }
.cfx-ico { width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; background: var(--tp-primary-bg); color: var(--tp-primary-dk); font-size: .9rem; flex-shrink: 0; }
.cfx-result { display: flex; align-items: baseline; gap: .35rem; padding: .4rem .85rem; border-radius: 12px; background: #ecfdf3; }
.cfx-result small { font-size: .84rem; font-weight: 600; color: #15803d; margin-right: .2rem; }
.cfx-result b { font-size: 1.55rem; font-weight: 650; line-height: 1; color: #15803d; font-variant-numeric: tabular-nums; }
.cfx-result em { font-style: normal; font-size: .84rem; color: #16a34a; }
.cfx-result.is-danger { background: #fef2f2; }
.cfx-result.is-danger small, .cfx-result.is-danger b, .cfx-result.is-danger em { color: #b91c1c; }
.cfx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; border: 1px solid var(--tp-line); border-radius: 11px; background: var(--tp-bg-2); }
.cfx-stat { padding: .6rem .85rem; border-left: 1px solid var(--tp-line); min-width: 0; }
.cfx-stat:first-child { border-left: 0; }
.cfx-stat small { display: block; font-size: .8rem; color: var(--tp-text-500); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfx-stat b { display: block; font-size: 1.15rem; font-weight: 650; color: var(--tp-text-900); font-variant-numeric: tabular-nums; margin-top: .15rem; line-height: 1.2; }
.cfx-stat b em { font-style: normal; font-size: .8rem; font-weight: 500; color: var(--tp-text-400); margin-left: .25rem; }
.cfx-stat.is-muted b { color: #d97706; }
.cfx-stat.is-sold b { color: #0b5fa5; }
.cfx-stat.is-danger b { color: #dc2626; }
.cfx-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #eef1f6; margin-top: .9rem; gap: 2px; }
.cfx-bar span { display: block; height: 100%; min-width: 4px; }
.cfx-bar .is-sold, .cfx-legend .is-sold i { background: #0b5fa5; }
.cfx-bar .is-opt, .cfx-legend .is-opt i { background: #f5b52e; }
.cfx-bar .is-guide, .cfx-legend .is-guide i { background: #a78bfa; }
.cfx-bar .is-open, .cfx-legend .is-open i { background: #22c55e; }
.cfx-bar .is-rest, .cfx-legend .is-rest i { background: #cbd2dd; }
.cfx-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: .55rem; font-size: .84rem; color: var(--tp-text-500); }
.cfx-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cfx-legend i { width: .6rem; height: .6rem; border-radius: 3px; display: inline-block; }
.cfx-legend b { color: var(--tp-text-900); font-weight: 650; }
.cfx-notes { list-style: none; margin: 0; padding: .7rem 1.15rem .8rem; border-top: 1px solid var(--tp-line); background: var(--tp-bg-2); display: flex; flex-direction: column; gap: .4rem; }
.cfx-notes li { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; line-height: 1.45; color: var(--tp-text-700); }
.cfx-notes li i { font-size: .8rem; margin-top: .22rem; width: .95rem; text-align: center; flex-shrink: 0; }
.cfx-notes li.is-info i { color: #3b82f6; }
.cfx-notes li.is-guide i { color: #8b5cf6; }
.cfx-notes li.is-warning i { color: #d97706; }
.cfx-notes li.is-danger i { color: #dc2626; }
.cfx-notes li.is-danger { color: #991b1b; }
.cfx-notes li b { font-weight: 650; color: var(--tp-text-900); }
@media (max-width: 575.98px) {
  .cfx-row { padding: .9rem; }
  .cfx-stats { grid-template-columns: 1fr 1fr; }
  .cfx-stat:nth-child(odd) { border-left: 0; }
  .cfx-stat:nth-child(n+3) { border-top: 1px solid var(--tp-line); }
}
[data-bs-theme="dark"] .cfx-result { background: rgba(34,197,94,.12); }
[data-bs-theme="dark"] .cfx-result small, [data-bs-theme="dark"] .cfx-result b, [data-bs-theme="dark"] .cfx-result em { color: #4ade80; }
[data-bs-theme="dark"] .cfx-result.is-danger { background: rgba(220,38,38,.14); }
[data-bs-theme="dark"] .cfx-result.is-danger small, [data-bs-theme="dark"] .cfx-result.is-danger b, [data-bs-theme="dark"] .cfx-result.is-danger em { color: #fca5a5; }
[data-bs-theme="dark"] .cfx-bar { background: #2b2b40; }
[data-bs-theme="dark"] .cfx-stat.is-sold b { color: #60a5fa; }
[data-bs-theme="dark"] .cfx-bar .is-sold, [data-bs-theme="dark"] .cfx-legend .is-sold i { background: #3b82f6; }
[data-bs-theme="dark"] .cfx-bar .is-rest, [data-bs-theme="dark"] .cfx-legend .is-rest i { background: #4b5064; }
[data-bs-theme="dark"] .cfx-notes li.is-danger { color: #fca5a5; }

.price-package-list, .fare-type-list { gap: 1.15rem !important; }
.price-package-card.tp-card, .fare-type-section.tp-fare { position: relative; border: 1px solid #dfe4ec !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 16px -10px rgba(16,40,80,.18) !important; overflow: hidden; }
.price-package-card.tp-card::before, .fare-type-section.tp-fare::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #cbd5e1; z-index: 2; }
.price-package-card.tp-card.is-expanded::before, .fare-type-section.tp-fare.is-expanded::before { background: linear-gradient(180deg, #0b7ad1, #3aa0ef); }
.price-package-card.tp-card.is-expanded, .fare-type-section.tp-fare.is-expanded { border-color: #c7dcf2 !important; }
.price-package-card .cabin-card-header, .fare-type-section > .card-header { background: #f8fafc !important; padding-left: 1.2rem !important; }
.price-package-card.is-expanded .cabin-card-header, .fare-type-section.is-expanded > .card-header { border-bottom: 1px solid #e6ebf2; }
[data-bs-theme="dark"] .price-package-card.tp-card, [data-bs-theme="dark"] .fare-type-section.tp-fare { border-color: #2b2b40 !important; box-shadow: none !important; }
[data-bs-theme="dark"] .price-package-card .cabin-card-header, [data-bs-theme="dark"] .fare-type-section > .card-header { background: #1b1b29 !important; }
[data-bs-theme="dark"] .price-package-card.is-expanded .cabin-card-header, [data-bs-theme="dark"] .fare-type-section.is-expanded > .card-header { border-bottom-color: #2b2b40; }

.tp-root .pack-extra-modules { display: flex; flex-direction: column; gap: 1rem; }
.tp-root .tp-xcard { position: relative; border: 1px solid #efe2c8 !important; border-left-width: 1px !important; border-radius: 14px !important; background: var(--tp-bg); box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 16px -10px rgba(120,80,10,.18); overflow: hidden; }
.tp-root .tp-xcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #e8c77d; z-index: 2; }
.tp-root .tp-xcard:has(> .tp-xcard-body.show)::before { background: linear-gradient(180deg, #f59e0b, #d97706); }
.tp-root .tp-xcard:has(> .tp-xcard-body.show) { border-color: #f1d49b !important; }
.tp-root .tp-xcard-head { background: #fffaf0; padding: .75rem .9rem .75rem 1.2rem; gap: .6rem 1rem; }
.tp-root .tp-xcard-icon { width: 2.3rem; height: 2.3rem; border-radius: 10px; background: #fdecc8 !important; color: #b45309 !important; font-size: .95rem; }
.tp-root .tp-xcard-name { font-size: 1rem; }
.tp-root .tp-xcard-meta .tp-chip { font-size: .78rem; background: #fff !important; border: 1px solid #efe2c8 !important; color: #7c5a1c !important; }
.tp-root .tp-xcard-meta .tp-chip-primary { background: #fef3c7 !important; border-color: #fde68a !important; color: #92400e !important; }
.tp-root .tp-xcard-actions .btn-extra-item-remove, .tp-root .tp-xcard-actions .price-detail-collapse-toggle { border: 1px solid #efe2c8; background: #fff; border-radius: 8px; }
.tp-root .tp-xcard-body { border-top: 1px solid #f3e6cc; padding: 1rem 1.1rem 1.05rem 1.3rem; }
.tp-root .tp-xcard-controls { background: var(--tp-bg-2); border: 1px solid var(--tp-line); border-radius: 10px; padding: .55rem .75rem; margin-bottom: .9rem; align-items: center; }
.tp-root .tp-xcard-controls .tp-field { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.tp-root .tp-xcard-controls .tp-field-label { margin: 0 !important; white-space: nowrap; }
.tp-root .tp-xcard-controls .tp-field-controls { display: flex; gap: .45rem; }
.tp-root .tour_extra_price_table { border: 1px solid var(--tp-line) !important; border-radius: 11px; overflow: hidden; border-collapse: separate !important; border-spacing: 0; }
.tp-root .tour_extra_price_table thead th { background: var(--tp-bg-2) !important; font-size: .74rem !important; letter-spacing: .06em; color: var(--tp-text-500) !important; padding: .55rem .75rem !important; border-bottom: 1px solid var(--tp-line) !important; }
.tp-root .tour_extra_price_table tbody tr.extra-option-row td { padding: .55rem .75rem !important; vertical-align: middle; }
.tp-root .tour_extra_price_table tbody tr.extra-option-row:not(:first-child) td { border-top: 1px solid var(--tp-line) !important; }
.tp-root .tour_extra_price_table tbody tr.extra-option-row:hover td { background: #fffcf5; }
.tp-root .tour_extra_price_table tbody td strong { font-size: .95rem; font-weight: 650; }
.tp-root .tour_extra_price_table input.extra_item_input { min-width: 6rem; max-width: 9rem; margin-left: auto; text-align: right; border: 1px solid var(--tp-line-2) !important; background: var(--tp-bg) !important; border-radius: 8px !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.tp-root .tour_extra_price_table input.extra_item_input:placeholder-shown { border-style: dashed !important; background: #fffdf7 !important; }
.tp-root .extra-option-title-line { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tp-root .extra-option-desc-toggle { display: inline-flex !important; align-items: center; gap: .35rem; width: auto !important; height: auto !important; padding: .15rem .55rem !important; border-radius: 999px !important; font-size: .76rem; font-weight: 600; color: var(--tp-text-500) !important; background: var(--tp-bg-2) !important; border: 1px dashed var(--tp-line-2) !important; text-decoration: none; }
.tp-root .extra-option-desc-toggle i { font-size: .75rem; }
.tp-root .extra-option-desc-toggle.has-desc { color: #0b5fa5 !important; background: #eaf4fd !important; border: 1px solid #cfe3f7 !important; }
.tp-root .extra-option-desc-toggle[aria-expanded="true"] { color: #fff !important; background: #0b7ad1 !important; border-color: #0b7ad1 !important; }
.tp-root .extra-option-desc-row td { background: #f8fafc !important; }
.tp-root .extra-option-desc-row:has(.collapse.show) td, .tp-root .extra-option-desc-row:has(.collapsing) td { padding: .1rem .75rem .8rem !important; }
[data-bs-theme="dark"] .tp-root .tp-xcard { border-color: #3a3222 !important; box-shadow: none; }
[data-bs-theme="dark"] .tp-root .tp-xcard-head { background: #231f18; }
[data-bs-theme="dark"] .tp-root .tp-xcard-body { border-top-color: #3a3222; }
[data-bs-theme="dark"] .tp-root .tp-xcard-icon { background: rgba(245,158,11,.18) !important; color: #fbbf24 !important; }
[data-bs-theme="dark"] .tp-root .tp-xcard-meta .tp-chip { background: #1e1e2d !important; border-color: #3a3222 !important; color: #d6b77a !important; }
[data-bs-theme="dark"] .tp-root .tp-xcard-actions .btn-extra-item-remove, [data-bs-theme="dark"] .tp-root .tp-xcard-actions .price-detail-collapse-toggle { background: #1e1e2d; border-color: #3a3222; }
[data-bs-theme="dark"] .tp-root .tour_extra_price_table tbody tr.extra-option-row:hover td { background: rgba(245,158,11,.05); }
[data-bs-theme="dark"] .tp-root .tour_extra_price_table input.extra_item_input:placeholder-shown { background: #1e1e2d !important; }
[data-bs-theme="dark"] .tp-root .extra-option-desc-row td { background: #1b1b29 !important; }
.tp-root .tp-xcard-controls .tp-field { display: flex !important; flex-direction: row !important; align-items: center !important; grid-template-columns: none !important; }
.tp-root .tp-xcard-controls .tp-field-label { padding: 0 !important; font-size: .78rem; }
.tp-root .tp-xcard-controls .tp-field-controls .tp-select { min-width: 14.5rem; width: auto; }
.tp-root .tour_extra_price_table input.extra_item_input { height: 2.1rem; min-height: 0 !important; padding: .25rem .6rem !important; }

.card:has(> .card-body > .tour-price-list-box) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.card:has(> .card-body > .tour-price-list-box) > .card-body { padding: 0 !important; }
.tour-price-list-box .tp-root > .tpdp { margin-bottom: 1.1rem; }
.tour-price-list-box .tpdp-bar { background: var(--tp-bg) !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.05) !important; }
.tour-price-list-box .tp-detail-head { background: var(--tp-bg); border: 1px solid var(--tp-line); border-bottom: 0; border-radius: 14px 14px 0 0; padding: .85rem 1.1rem !important; margin: 0 !important; }
.tour-price-list-box .tp-detail-head + style + .ss-bar, .tour-price-list-box .tp-detail-head ~ .ss-bar { border-radius: 0 0 14px 14px !important; margin: 0 0 1.1rem !important; }
.tour-price-list-box .tp-detail-head ~ .ss-bar.is-open { border-top-color: var(--tp-line-2, #eef0f4) !important; }
.tour-price-list-box .tp-settings { background: var(--tp-bg); border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.04); margin-bottom: 1.1rem !important; }
.tour-price-list-box .cfx { box-shadow: 0 1px 2px rgba(16,24,40,.04); margin-bottom: 1.1rem; }
.tour-price-list-box .tp-main > .tp-section { background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: 0 1.1rem 1.15rem; margin: 0 0 1.1rem !important; }
.tour-price-list-box .tp-main > .tp-section > .tp-section-head { margin: 0 -1.1rem 1rem !important; padding: .85rem 1.1rem !important; border-bottom: 1px solid var(--tp-line); border-radius: 16px 16px 0 0; background: linear-gradient(180deg, var(--tp-bg-2), var(--tp-bg)); }
.tour-price-list-box .tp-main > .tp-section > .tp-section-head .tp-section-title { font-size: 1.05rem !important; font-weight: 650; }
.tour-price-list-box .tp-main > .tp-section > .tp-section-head .tp-section-title > i { width: 2rem; height: 2rem; border-radius: 9px; display: inline-grid; place-items: center; background: var(--tp-primary-bg); color: var(--tp-primary-dk); font-size: .85rem; margin-right: .2rem; }
.tour-price-list-box .tp-main > .tp-section:has(.pack-extra-modules) > .tp-section-head .tp-section-title > i { background: #fdecc8; color: #b45309; }
.tour-price-list-box .tp-main > .tp-section:has(.pack-extra-modules) { border-color: #f0e3c6; }
.tour-price-list-box .tp-main > .tp-section:last-child { margin-bottom: 0 !important; }
.tour-price-list-box .tp-side > * { box-shadow: 0 1px 2px rgba(16,24,40,.04); }
[data-bs-theme="dark"] .tour-price-list-box .tp-main > .tp-section, [data-bs-theme="dark"] .tour-price-list-box .tp-detail-head { background: #1e1e2d; border-color: #2b2b40; }
[data-bs-theme="dark"] .tour-price-list-box .tp-main > .tp-section > .tp-section-head { background: #1b1b29; border-bottom-color: #2b2b40; }
[data-bs-theme="dark"] .tour-price-list-box .tp-main > .tp-section:has(.pack-extra-modules) { border-color: #3a3222; }

.fare-type-section .fare-type-cabin-list { gap: .9rem !important; padding: .25rem .1rem .35rem; }
.tp-root .fare-type-section .cabin-card.tp-card { border: 1px solid #e3e8f0 !important; border-left-width: 1px !important; border-radius: 12px !important; box-shadow: 0 1px 2px rgba(16,24,40,.05) !important; }
.tp-root .fare-type-section .cabin-card.tp-card::before { display: none !important; }
.tp-root .fare-type-section .cabin-card .cabin-card-header { position: relative; padding-left: 3.6rem !important; background: #fafbfd !important; border-radius: 12px 12px 0 0; }
.tp-root .fare-type-section .cabin-card:not(.is-expanded) .cabin-card-header { border-radius: 12px; }
.tp-root .fare-type-section .cabin-card .cabin-card-header::before {
  content: "\f236"; font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 2.1rem; height: 2.1rem; border-radius: 10px; display: grid; place-items: center; font-size: .85rem;
  background: #e9f8ef; color: #16a34a;
}
.tp-root .fare-type-section .cabin-card.is-expanded { border-color: #bcd7f2 !important; box-shadow: 0 0 0 3px rgba(11,122,209,.08), 0 6px 16px -10px rgba(16,40,80,.2) !important; }
.tp-root .fare-type-section .cabin-card.is-expanded .cabin-card-header { background: #f3f8fe !important; border-bottom: 1px solid #e0ebf7; }
.tp-root .fare-type-section .cabin-card.is-expanded .cabin-card-header::before { background: #dbeafe; color: #0b5fa5; }
.tp-root .fare-type-section .cabin-card.tp-card.tp-card-missing { border-color: #f5c8cf !important; }
.tp-root .fare-type-section .cabin-card.tp-card-missing .cabin-card-header::before { background: #fee2e2; color: #dc2626; }
.tp-root .fare-type-section .cabin-card.tp-card-missing .cabin-card-header { background: #fffafa !important; }
[data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card.tp-card { border-color: #2b2b40 !important; }
[data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card .cabin-card-header { background: #1b1b29 !important; }
[data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card .cabin-card-header::before { background: rgba(22,163,74,.18); }
[data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card.is-expanded .cabin-card-header::before { background: rgba(11,122,209,.2); color: #6cb6f2; }
[data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card.tp-card-missing .cabin-card-header::before { background: rgba(220,38,38,.18); color: #fca5a5; }
[data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card.tp-card-missing .cabin-card-header, [data-bs-theme="dark"] .tp-root .fare-type-section .cabin-card.is-expanded .cabin-card-header { background: #1e1e2d !important; }

.tpp-field-return { flex: 0 0 190px; }
.tpp-rt { position: relative; display: flex; align-items: center; gap: 6px; }
.tpp-rt .tpp-return-date { flex: 1 1 auto; min-width: 0; }
.tpp-field-return .tpp-rt-state { font-weight: 600; font-size: .68rem; text-transform: none; color: #16a34a; margin-left: 2px; }
.tpp-field-return.is-manual .tpp-rt-state { color: #b45309; }
.tpp-rt-reset { flex: 0 0 30px; height: 30px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #6b7280; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; cursor: pointer; }
.tpp-rt-reset:hover { color: #11284c; border-color: #b9cde4; background: #f7faff; }
.tpp-rt-reset[hidden] { display: none !important; }
[data-bs-theme="dark"] .tpp-rt-reset { background: #1e1e2d; border-color: #2b2b40; color: #9ca3af; }

.tab-content > .tab-pane > .d-flex.flex-column > .card.card-flush:has(> .card-body > :is(.tour-price-list-box, .tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box)) {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
.tab-content > .tab-pane > .d-flex.flex-column > .card.card-flush:has(> .card-body > :is(.tour-price-list-box, .tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box)) > .card-body {
  padding: 0 !important;
}
:is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) .tpdp-bar { background: var(--tp-bg) !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.05) !important; }
:is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) .tp-root > .tpdp { margin-bottom: 1.1rem; }
:is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) .tp-overview,
:is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) .tp-dates {
  background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); margin-bottom: 1.1rem !important;
}
:is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) .tp-detail-head {
  background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 14px; padding: .85rem 1.1rem !important; margin: 0 0 1.1rem !important; box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
:is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) .tp-side > * { box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.tour-program-list-box .tpp-form { padding-top: 0 !important; }
.tour-program-list-box .tpp-steps { background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); margin-bottom: 1.1rem !important; }
.tour-program-list-box .tpp-sec { background: var(--tp-bg); border: 1px solid var(--tp-line) !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: 0 1.1rem 1.15rem !important; margin: 0 0 1.1rem !important; }
.tour-program-list-box .tpp-sec > .tpp-sec-head { margin: 0 -1.1rem 1rem !important; padding: .85rem 1.1rem !important; border-bottom: 1px solid var(--tp-line); border-radius: 16px 16px 0 0; background: linear-gradient(180deg, var(--tp-bg-2), var(--tp-bg)); }
.tour-program-list-box .tpp-sec:last-child { margin-bottom: 0 !important; }
.tour-program-list-box .tpp-sec > .tp-settings { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
.tour-program-list-box .tpp-sec { scroll-margin-top: 140px; }
:is(.tour-accommodation-list-box, .tour-supplier-list-box) :is(.hx-acc-detail, .hx-sup-detail) .tp-main > .tp-section {
  background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: 0 1.1rem 1.15rem; margin: 0 0 1.1rem !important;
}
:is(.tour-accommodation-list-box, .tour-supplier-list-box) :is(.hx-acc-detail, .hx-sup-detail) .tp-main > .tp-section > .tp-section-head { margin: 0 -1.1rem 1rem !important; padding: .85rem 1.1rem !important; border-bottom: 1px solid var(--tp-line); border-radius: 16px 16px 0 0; background: linear-gradient(180deg, var(--tp-bg-2), var(--tp-bg)); }
[data-bs-theme="dark"] :is(.tour-program-list-box, .tour-accommodation-list-box, .tour-supplier-list-box) :is(.tp-overview, .tp-dates, .tp-detail-head, .tpp-steps, .tpp-sec, .tp-main > .tp-section) { background: #1e1e2d; border-color: #2b2b40 !important; }

.card.menu-sticky:has(> .nav.nav-pills) { padding: 6px !important; border: 1px solid var(--tp-line, #e8ebf1) !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 16px -12px rgba(16,24,40,.18) !important; background: var(--tp-bg, #fff) !important; }
.card.menu-sticky > .nav.nav-pills { gap: 2px !important; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.card.menu-sticky > .nav.nav-pills::-webkit-scrollbar { display: none; }
.card.menu-sticky > .nav.nav-pills .nav-item { flex: 0 0 auto; }
.card.menu-sticky > .nav.nav-pills .nav-link.btn {
  display: inline-flex !important; align-items: center; gap: .5rem; height: 38px; padding: 0 .95rem !important; border-radius: 10px !important;
  background: transparent !important; border: 1px solid transparent !important; box-shadow: none !important;
  color: #4b5563 !important; font-size: .9rem !important; font-weight: 600 !important; white-space: nowrap; transition: background .15s, color .15s;
}
.card.menu-sticky > .nav.nav-pills .nav-link.btn i { font-size: .85rem; color: #9ca3af; width: 1rem; text-align: center; transition: color .15s; }
.card.menu-sticky > .nav.nav-pills .nav-link.btn:hover { background: #f3f5f9 !important; color: #111827 !important; }
.card.menu-sticky > .nav.nav-pills .nav-link.btn:hover i { color: #4b5563; }
.card.menu-sticky > .nav.nav-pills .nav-link.btn.active {
  background: #11284c !important; border-color: #11284c !important; color: #fff !important;
  box-shadow: 0 1px 2px rgba(17,40,76,.25), 0 4px 10px -4px rgba(17,40,76,.45) !important;
}
.card.menu-sticky > .nav.nav-pills .nav-link.btn.active i { color: #8fb4e8; }
.card.menu-sticky > .nav.nav-pills .nav-link.sk-tab-home { border-color: var(--tp-line, #e8ebf1) !important; margin-right: .5rem; position: relative; }
.card.menu-sticky > .nav.nav-pills .nav-item:has(> .sk-tab-home) { padding-right: .6rem; margin-right: .1rem; border-right: 1px solid var(--tp-line, #e8ebf1); }
[data-bs-theme="dark"] .card.menu-sticky:has(> .nav.nav-pills) { background: #1e1e2d !important; border-color: #2b2b40 !important; }
[data-bs-theme="dark"] .card.menu-sticky > .nav.nav-pills .nav-link.btn { color: #c7cfe0 !important; }
[data-bs-theme="dark"] .card.menu-sticky > .nav.nav-pills .nav-link.btn:hover { background: #2b2b40 !important; color: #fff !important; }
[data-bs-theme="dark"] .card.menu-sticky > .nav.nav-pills .nav-link.btn.active { background: #1a9fd0 !important; border-color: #1a9fd0 !important; }
.tour-program-list-box .tpp-steps { top: 66px !important; }
.tour-program-list-box .tpp-steps::before { content: ""; position: absolute; left: -2px; right: -2px; top: -10px; height: 10px; background: var(--bs-app-bg-color, var(--bs-body-bg, #fff)); pointer-events: none; }
:is(.tour-program-list-box, .tour-price-list-box, .tour-accommodation-list-box) .tp-side { top: 66px !important; }
.tour-program-list-box .tpp-sec { scroll-margin-top: 130px; }

.tp-root .tpd-list:not(.tpd-show-past) > li.list-group-item.is-past { display: none !important; }
.tpd-list-head .tpd-past-toggle { margin-left: auto; margin-right: .5rem; display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--tp-line); background: var(--tp-bg); color: var(--tp-text-500); border-radius: 999px; padding: .2rem .65rem; font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.tpd-list-head .tpd-past-toggle:hover { border-color: var(--tp-line-2); color: var(--tp-text-900); background: var(--tp-bg-2); }
.tpd-list-head .tpd-past-toggle.is-on { background: #11284c; border-color: #11284c; color: #fff; }
.tpd-list-head .tpd-past-toggle b { font-weight: 700; font-variant-numeric: tabular-nums; }
.tp-root .tpd-past-note { font-size: .9rem; color: var(--tp-text-500); padding: .75rem .25rem; }
.tp-root .tpd-list > li.list-group-item { cursor: pointer; }
.tp-root .tpd-list > li.list-group-item.is-focus { border-color: #11284c !important; background: var(--tp-bg-2); box-shadow: 0 0 0 2px rgba(17,40,76,.12); }
@keyframes tpdFlash { 0%,100% { box-shadow: 0 0 0 0 rgba(49,186,236,0); } 30% { box-shadow: 0 0 0 5px rgba(49,186,236,.55); } 65% { box-shadow: 0 0 0 2px rgba(49,186,236,.35); } }
.tp-datestab .flatpickr-day.tpd-flash { animation: tpdFlash 1.5s ease; position: relative; z-index: 2; }

.card.menu-sticky.tnav { display: flex !important; flex-direction: row; align-items: stretch; gap: 0; min-height: 56px; padding: 0 !important; overflow: hidden;
    background: #fff !important; border: 1px solid #e6e9ef !important; border-radius: 14px !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important ;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px -18px rgba(16,24,40,.25) !important; }
.tnav .tnav-id { flex: 0 1 330px; min-width: 210px; display: flex; align-items: center; gap: .7rem; padding: 0 1rem 0 .55rem; border-right: 1px solid #eef0f4;
    background: linear-gradient(180deg, #fbfcfe, #f6f8fb); }
.tnav .tnav-back { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #6b7280; border: 1px solid #e3e6ec; background: #fff; transition: all .15s; }
.tnav .tnav-back:hover { color: #11284c; border-color: #11284c; background: #f1f5fb; }
.tnav .tnav-back i { font-size: .85rem; }
.tnav .tnav-thumb { position: relative; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; background: #11284c; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(17,40,76,.08); }
.tnav .tnav-thumb i { color: #5fd0f5; font-size: .95rem; }
.tnav .tnav-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tnav .tnav-meta { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.tnav .tnav-kicker { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8a93a3; white-space: nowrap; }
.tnav .tnav-dot { width: 6px; height: 6px; border-radius: 50%; margin-left: .25rem; display: inline-block; }
.tnav .tnav-dot.is-on { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.tnav .tnav-dot.is-off { background: #9ca3af; }
.tnav .tnav-title { font-size: .95rem; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tnav .tnav-tabs { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: nowrap; align-items: stretch; gap: .15rem; margin: 0; padding: 0 .6rem; border: 0 !important; overflow-x: auto; scrollbar-width: none; }
.tnav .tnav-tabs::-webkit-scrollbar { display: none; }
.tnav .tnav-tabs .nav-item { flex: 0 0 auto; display: flex; }
.tnav .tnav-link { position: relative; display: inline-flex !important; align-items: center; gap: .5rem; height: 100%; padding: 0 .85rem !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important;
    color: #5b6472 !important; font-size: .93rem; font-weight: 600; white-space: nowrap; transition: color .15s; box-shadow: none !important; }
.tnav .tnav-link i { font-size: .88rem; color: #a0a8b6; width: 1rem; text-align: center; margin: 0 !important; transition: color .15s; }
.tnav .tnav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #11284c; transform: scaleX(0); transition: transform .2s ease; }
.tnav .tnav-link:hover { color: #111827 !important; }
.tnav .tnav-link:hover i { color: #11284c; }
.tnav .tnav-link:hover::after { transform: scaleX(.35); background: #cfd6e2; }
.tnav .tnav-link.active { color: #11284c !important; font-weight: 700; }
.tnav .tnav-link.active i { color: #1a9fd0; }
.tnav .tnav-link.active::after { transform: scaleX(1); background: #11284c; }
.tnav .tnav-link:focus-visible { outline: 2px solid #1a9fd0; outline-offset: -4px; border-radius: 8px !important; }
.tnav .tnav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.35rem; height: 1.2rem; padding: 0 .38rem; border-radius: 999px; background: #eef2f7; color: #475467; font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tnav .tnav-link.active .tnav-count { background: #11284c; color: #fff; }
@media (max-width: 1199.98px) { .tnav .tnav-id { flex-basis: 250px; } .tnav .tnav-link { padding: 0 .6rem !important; } }
@media (max-width: 767.98px) { .card.menu-sticky.tnav { flex-direction: column; } .tnav .tnav-id { flex-basis: auto; min-height: 52px; border-right: 0; border-bottom: 1px solid #eef0f4; } .tnav .tnav-tabs { min-height: 48px; } }
[data-bs-theme="dark"] .card.menu-sticky.tnav { background: #1e1e2d !important; border-color: #2b2b40 !important; }
[data-bs-theme="dark"] .tnav .tnav-id { background: #1b1b29; border-color: #2b2b40; }
[data-bs-theme="dark"] .tnav .tnav-back { background: #232336; border-color: #2b2b40; color: #a1a5b7; }
[data-bs-theme="dark"] .tnav .tnav-title { color: #f5f6fa; }
[data-bs-theme="dark"] .tnav .tnav-link { color: #a1a5b7 !important; }
[data-bs-theme="dark"] .tnav .tnav-link:hover, [data-bs-theme="dark"] .tnav .tnav-link.active { color: #fff !important; }
[data-bs-theme="dark"] .tnav .tnav-link.active::after { background: #1a9fd0; }
[data-bs-theme="dark"] .tnav .tnav-count { background: #2b2b40; color: #c7cfe0; }
[data-bs-theme="dark"] .tnav .tnav-link.active .tnav-count { background: #1a9fd0; color: #fff; }
.tp-kv-k { flex: 0 0 auto; white-space: nowrap; }
.tp-kv-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tp-kv.tp-kv-stack { flex-direction: column; align-items: stretch; gap: .25rem; }
.tp-kv-stack .tp-kv-k .tp-kv-n { margin-left: .25rem; padding: 0 .35rem; border-radius: 999px; background: var(--tp-bg-2, #f3f5f9); font-size: .72rem; font-weight: 700; color: var(--tp-text-500); }
.tp-kv-stack .tp-kv-list { display: flex; flex-direction: column; gap: .15rem; text-align: left; white-space: normal; text-decoration: none; padding-left: 1.3rem; }
.tp-kv-stack .tp-kv-list span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .88rem; font-weight: 600; color: var(--tp-primary, #1a9fd0); line-height: 1.35; }
.tp-kv-stack .tp-kv-list:hover span { text-decoration: underline; }
.tnav .tnav-id { flex-basis: 370px; }
.tnav .tnav-home { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.1rem; border-right: 1px solid #eef0f4; background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
    color: #374151 !important; font-size: .93rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.tnav .tnav-home i { font-size: .85rem; color: #1a9fd0; }
.tnav .tnav-home:hover { color: #11284c !important; background: #eef4fb; }
[data-bs-theme="dark"] .tnav .tnav-home { background: #1b1b29; border-color: #2b2b40; color: #c7cfe0 !important; }
[data-bs-theme="dark"] .tnav .tnav-home:hover { background: #232336; color: #fff !important; }
@media (max-width: 767.98px) { .tnav .tnav-home { min-height: 48px; border-right: 0; border-bottom: 1px solid #eef0f4; } }

.tpp-airline-ac-wrap { position: relative; width: 100%; min-width: 280px; }
.tpp-airline-ac-wrap .tpp-airline-ac { padding-left: 2.2rem; padding-right: 2.2rem; }
.tpp-airline-ac-ico { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); font-size: .8rem; color: #98a2b3; pointer-events: none; }
.tpp-airline-ac-clear { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); width: 1.6rem; height: 1.6rem; border: 0; border-radius: 6px; background: transparent; color: #98a2b3; display: inline-flex; align-items: center; justify-content: center; }
.tpp-airline-ac-clear:hover { background: #fde8e8; color: #e5484d; }
.tpp-airline-ac-wrap .autocompleteloading-spinner { position: absolute; right: 2.3rem; top: 50%; margin-top: -.45rem; animation: fa-spin 1s linear infinite; color: #98a2b3; }

.cfx .cfx-mini { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; }
.cfx-mini .cfx-ico { width: 1.9rem; height: 1.9rem; border-radius: 8px; font-size: .78rem; }
.cfx-mini-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.cfx-mini-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .9rem; font-size: .84rem; color: var(--tp-text-500); }
.cfx-mini-t > b { font-size: .92rem; font-weight: 700; color: var(--tp-text-900); margin-right: .1rem; }
.cfx-kv b { font-weight: 700; color: var(--tp-text-900); font-variant-numeric: tabular-nums; margin-left: .15rem; }
.cfx-kv.is-muted b { color: #d97706; }
.cfx-kv.is-sold b { color: #0b5fa5; }
.cfx-kv.is-danger b { color: #dc2626; }
.cfx-mini .cfx-bar { margin-top: 0; height: 6px; }
.cfx-mini-n { font-size: .8rem; color: var(--tp-text-400); }
.cfx-mini .cfx-result { flex-shrink: 0; padding: .3rem .7rem; border-radius: 10px; }
.cfx-mini .cfx-result b { font-size: 1.2rem; }
.cfx-mini .cfx-result small, .cfx-mini .cfx-result em { font-size: .8rem; }
.cfx .cfx-notes { padding: .55rem .9rem .6rem; gap: .3rem; }
.cfx .cfx-notes li { font-size: .84rem; }
@media (max-width: 767.98px) { .cfx .cfx-mini { flex-wrap: wrap; } .cfx-mini .cfx-result { margin-left: auto; } }

.tp-root .tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn {
    display: flex !important; align-items: center; gap: .85rem; width: 100%; min-width: 0; height: auto;
    padding: .8rem 1rem !important; margin: 0 0 1.1rem;
    background: var(--tp-bg) !important; border: 1px solid var(--tp-line) !important; border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.04) !important; color: var(--tp-text-900) !important; line-height: 1.3; text-decoration: none;
}
.tp-root .tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn:hover { border-color: var(--tp-primary) !important; background: var(--tp-bg) !important; }
.tp-root .tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.active { border-color: var(--tp-primary) !important; background: var(--tp-primary-bg) !important; box-shadow: 0 0 0 2px var(--tp-primary-bg) !important; }
.tpp-tpl-ic { flex: 0 0 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--tp-primary-bg); color: var(--tp-primary-dk); font-size: 1.1rem; }
.tpp-tpl-btn.active .tpp-tpl-ic { background: var(--tp-bg); }
.tpp-tpl-btn.is-empty .tpp-tpl-ic { background: transparent; border: 1.5px dashed var(--tp-line-2); color: var(--tp-text-500); }
.tpp-tpl-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.tpp-tpl-txt b { font-size: 1.02rem; font-weight: 650; display: flex; align-items: center; gap: .45rem; }
.tpp-tpl-txt b .tp-chip { font-size: .8rem; }
.tpp-tpl-txt small { font-size: .9rem; color: var(--tp-text-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpp-tpl-linked { flex: 0 0 auto; font-size: .85rem; font-weight: 600; color: var(--tp-text-700); background: var(--tp-muted-bg); border: 1px solid var(--tp-line); border-radius: 999px; padding: .2rem .6rem; white-space: nowrap; }
.tpp-tpl-go { flex: 0 0 auto; font-size: .9rem; font-weight: 600; color: var(--tp-primary-dk); white-space: nowrap; }
.tpp-tpl-btn.active .tpp-tpl-go { visibility: hidden; }
@media (max-width: 767.98px) { .tpp-tpl-linked { display: none; } .tpp-tpl-txt small { white-space: normal; } }

.tpp-tpl-banner { background: var(--tp-primary-bg); color: var(--tp-text-700); border-color: #bfe3ff; font-weight: 500; }
.tpp-tpl-banner i { color: var(--tp-primary-dk); }
.tpp-tpl-banner strong { color: var(--tp-text-900); }
.tpp-tpl-quick { font-weight: 500; }
.tpp-tpl-note { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1px dashed var(--tp-line-2); border-radius: var(--tp-radius-sm); color: var(--tp-text-500); font-size: .92rem; }
.tpp-tpl-own { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-direction: column; gap: .35rem; }
.tpp-tpl-own li { display: flex; align-items: center; gap: .55rem; font-size: .93rem; color: var(--tp-text-700); }
.tpp-tpl-own li i { width: 1rem; text-align: center; color: var(--tp-text-400); }
.tpp-tpl-own-note { margin: 0; font-size: .85rem; color: var(--tp-text-500); }
.tpp-tpl-attn { margin-top: .75rem; }
.tpdp .tpdp-now-t.is-tpl b { color: var(--tp-text-500, #6b7280); }
[data-bs-theme="dark"] .tpp-tpl-banner { border-color: #1f3b57; }

.tpp-sync { background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: .7rem .9rem; margin-bottom: 1.1rem; }
.tpp-sync-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; }
.tpp-sync-stats { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; }
.tpp-sync-stat { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--tp-text-700); padding: .25rem .6rem; border-radius: 999px; background: var(--tp-bg-2); border: 1px solid var(--tp-line); }
.tpp-sync-stat b { font-weight: 700; color: var(--tp-text-900); }
.tpp-sync-stat.is-ok { color: var(--tp-success); background: var(--tp-success-bg); border-color: #bbf7d0; }
.tpp-sync-stat.is-warn { color: #92400e; background: var(--tp-warning-bg); border-color: #fde68a; }
.tpp-sync-stat.is-own { color: var(--tp-text-700); }
.tpp-sync-stat.is-muted { color: var(--tp-text-500); background: transparent; }
.tpp-sync-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.tpp-sync-actions .tp-btn small { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; margin-left: .2rem; border-radius: 999px; background: rgba(255,255,255,.25); font-weight: 700; }
.tpp-sync-actions .tp-btn:not(.tp-btn-primary) small { background: var(--tp-muted-bg); }
.tpp-sync-actions .tp-btn[disabled] { opacity: .55; pointer-events: none; }
.tpp-undo { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; margin-bottom: .6rem; border-radius: 10px; background: var(--tp-success-bg); color: var(--tp-text-700); border: 1px solid #bbf7d0; font-size: .92rem; }
.tpp-undo > i { color: var(--tp-success); }
.tpp-undo > span { flex: 1 1 auto; }
.tpp-undo-left { color: var(--tp-text-500); }
.tpp-link-chip.is-on { color: var(--tp-primary-dk); background: var(--tp-primary-bg); border-color: #bfe3ff; }
.tpp-link-chip.is-part { color: #92400e; background: var(--tp-warning-bg); border-color: #fde68a; }
.tpp-link-badge { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; align-self: center; flex: 0 0 auto; font-size: .82rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.tpp-link-badge.is-on { color: var(--tp-primary-dk); background: var(--tp-primary-bg); }
.tpp-link-badge.is-own { color: #92400e; background: var(--tp-warning-bg); }
.tpp-link-badge .tpp-relink { color: inherit; text-decoration: underline; font-weight: 600; margin-left: .15rem; }
.tpp-text-head .tpp-link-badge { margin-left: .4rem; }
.tpp-link-list { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-direction: column; gap: .4rem; }
.tpp-link-list li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--tp-text-900); }
.tpp-link-list li > i { width: 1.6rem; height: 1.6rem; flex: 0 0 1.6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .8rem; }
.tpp-link-list li.is-on > i { background: var(--tp-primary-bg); color: var(--tp-primary-dk); }
.tpp-link-list li.is-own > i { background: var(--tp-warning-bg); color: #b45309; }
.tpp-link-list li > span { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.2; }
.tpp-link-list li small { color: var(--tp-text-500); font-size: .8rem; }
.tpp-link-list .tpp-relink { font-size: .85rem; font-weight: 600; color: var(--tp-primary-dk); }
.tpp-link-note { font-size: .84rem; color: var(--tp-text-500); margin: 0 0 .5rem; }
.tpp-unlink { font-size: .84rem; color: var(--tp-text-500); text-decoration: underline; }
.tpp-unlink:hover { color: var(--tp-danger); }
.tpdp-chip { position: relative; }
.tpdp-tpl { position: absolute; top: 5px; left: 6px; font-size: .6rem; line-height: 1; color: var(--tp-primary-dk, #0b7ad1); z-index: 2; }
.tpdp-chip.is-active .tpdp-tpl { color: #fff; }
.tpdp-tpl.is-part { color: #b45309; }
.tpp-seed { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; margin-bottom: 1.1rem; border: 1px dashed var(--tp-primary); border-radius: 14px; background: var(--tp-primary-bg); }
.tpp-seed-ic { flex: 0 0 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--tp-bg); color: var(--tp-primary-dk); }
.tpp-seed-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.tpp-seed-txt b { font-size: .98rem; color: var(--tp-text-900); }
.tpp-seed-txt small { font-size: .88rem; color: var(--tp-text-700); }
@media (max-width: 767.98px) { .tpp-seed { flex-wrap: wrap; } .tpp-seed-btn { width: 100%; justify-content: center; } }
.tp-root.tpp-dates-collapsed > .tpdp,
.tp-root.tpp-dates-collapsed > .price-date-summary-bar,
.tp-root.tpp-dates-collapsed > .tour-price-date-container { display: none !important; }
.tpp-dates-toggle { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem .6rem 1rem; margin: 0 0 1.1rem; background: var(--tp-bg); border: 1px solid var(--tp-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.tpp-dates-toggle.is-open { margin-bottom: .6rem; }
.tpp-dates-toggle-ic { flex: 0 0 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--tp-bg-2); color: var(--tp-text-500); border: 1px solid var(--tp-line); }
.tpp-dates-toggle-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.tpp-dates-toggle-txt b { font-size: .95rem; font-weight: 650; color: var(--tp-text-900); }
.tpp-dates-toggle-txt b em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--tp-text-700); background: var(--tp-muted-bg); border-radius: 999px; padding: .05rem .45rem; margin-left: .25rem; }
.tpp-dates-toggle-txt small { font-size: .86rem; color: var(--tp-text-500); }
.tpp-dates-toggle-btn { flex: 0 0 auto; }
@media (max-width: 767.98px) { .tpp-dates-toggle { flex-wrap: wrap; } .tpp-dates-toggle-btn { width: 100%; justify-content: center; } }
.tp-root.tp-program .tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.active { display: none !important; }
.tp-root .tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn.tpp-tpl-btn { padding: .5rem .9rem !important; margin-bottom: .75rem; }
.tp-root.tp-program .tpp-tpl-btn .tpp-tpl-ic { flex-basis: 2rem; height: 2rem; font-size: .9rem; }
.tp-root.tp-program .tpp-tpl-btn .tpp-tpl-txt { flex-direction: row; align-items: center; gap: .6rem; }
.tp-root.tp-program .tpp-tpl-btn .tpp-tpl-txt b { flex: 0 0 auto; font-size: .95rem; }
.tp-root.tp-program .tpp-tpl-btn .tpp-tpl-txt small { flex: 1 1 auto; min-width: 0; }
.tp-root.tp-program .tpp-tpl-btn .tpp-tpl-go { visibility: visible !important; }
.tpp-tpl-head.tpp-tpl-head { display: block !important; }
.tpp-tpl-head-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; }
.tpp-tpl-head .tpp-sync { border: 0 !important; border-top: 1px solid var(--tp-line) !important; border-radius: 0; box-shadow: none !important; background: transparent; padding: .65rem 0 0; margin: .75rem 0 0; }
.tpp-tpl-info { margin-left: .3rem; color: var(--tp-text-400); cursor: help; font-size: .9em; }
.tpp-tpl-info:hover { color: var(--tp-primary-dk); }
.tpp-dates-toggle-btn small { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; margin-left: .15rem; border-radius: 999px; background: var(--tp-muted-bg); font-weight: 700; font-size: .78rem; text-align: center; }
.tpp-dates-toggle-btn.is-open { border-color: var(--tp-primary) !important; color: var(--tp-primary-dk) !important; background: var(--tp-primary-bg) !important; }

.tp-field.xs-sale { flex-wrap: wrap; }
.tp-field.xs-sale .tp-field-controls { gap: .9rem; align-items: center; }
.tp-field.xs-sale .xs-ch { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; margin: 0; white-space: nowrap; }
.tp-field.xs-sale .xs-ch:has(input:disabled) { opacity: .5; }
.tp-field.xs-sale .xs-note { flex: 1 0 100%; font-size: .74rem; color: var(--bs-gray-600, #6b7280); margin-top: .35rem; }

.tpp-form.lk-base .tpp-field-nd .tp-field-controls,
.tpp-form.lk-base .tpp-route-grid,
.tpp-form.lk-base .tpp-route-itin .tp-field-controls,
.tpp-form.lk-base input[name^="tour_itinerary"],
.tpp-form.lk-flight .tpp-field-airline .tp-field-controls,
.tpp-form.lk-flight .tpp-field-airport .tp-field-controls,
.tpp-form.lk-flight .tpp-tc-flight .ck-editor,
.tpp-form.lk-flight .tpp-tc-flight textarea,
.tpp-form.lk-hotel .tpp-tc-hotel .ck-editor,
.tpp-form.lk-hotel .tpp-tc-hotel textarea,
.tpp-form.lk-days #editorjs,
.tpp-form.lk-days #tpp-program .tpp-sec-tools,
.tpp-form.lk-days #tpp-map .tpp-map,
.tpp-form.lk-days #tpp-map .tpp-sec-tools { pointer-events: none; user-select: none; opacity: .6; filter: grayscale(.35); }
.tpp-form.lk-base .tpp-route,
.tpp-form.lk-days #tpp-program,
.tpp-form.lk-days #tpp-map { cursor: not-allowed; }
.tpp-link-badge.is-on { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.tpp-link-badge.is-on .tpp-own { margin-left: .35rem; padding: .05rem .45rem; border-radius: 6px; background: #4f46e5; color: #fff !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tpp-link-badge.is-on .tpp-own:hover { background: #4338ca; }
.tpp-link-badge.is-on .tpp-own.is-busy { opacity: .6; pointer-events: none; }
.tpp-lk-note { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; padding: .55rem .8rem; border-radius: 10px; background: #eef2ff; border: 1px solid #c7d2fe; color: #3730a3; font-size: .85rem; }

.tpp-link-badge.is-on .tpp-own, .tpp-link-badge.is-own .tpp-relink { display: none; }
.tpp-lk-bar { display: flex; align-items: center; gap: .75rem; margin: .2rem 0 .9rem; padding: .7rem .8rem .7rem .75rem; border-radius: 12px; background: linear-gradient(90deg, #eef2ff, #f5f3ff); border: 1px solid #c7d2fe; }
.tpp-lk-bar .tpp-lk-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #4f46e5; color: #fff; font-size: .9rem; }
.tpp-lk-bar .tpp-lk-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.tpp-lk-bar .tpp-lk-t b { font-size: .9rem; color: #312e81; }
.tpp-lk-bar .tpp-lk-t small { font-size: .8rem; color: #4338ca; line-height: 1.35; }
.tpp-lk-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; height: 38px; padding: 0 1rem; border: 0; border-radius: 10px; background: #4f46e5; color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(79, 70, 229, .7); }
.tpp-lk-btn:hover { background: #4338ca; color: #fff; }
.tpp-lk-btn.is-busy { opacity: .6; pointer-events: none; }
.tpp-lk-bar.is-own { background: linear-gradient(90deg, #fffbeb, #fef3c7); border-color: #fcd34d; }
.tpp-lk-bar.is-own .tpp-lk-ic { background: #d97706; }
.tpp-lk-bar.is-own .tpp-lk-t b { color: #78350f; }
.tpp-lk-bar.is-own .tpp-lk-t small { color: #92400e; }
.tpp-lk-bar.is-own .tpp-lk-btn { background: #fff; color: #92400e; border: 1px solid #fcd34d; box-shadow: none; }
.tpp-lk-bar.is-own .tpp-lk-btn:hover { background: #fffbeb; }
.tpp-text-head + .tpp-lk-bar { margin: .5rem 0 .6rem; }
.tpp-lk-bar.is-pulse { animation: tpplkpulse .9s ease-out 1; }
@keyframes tpplkpulse { 0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, .55); } 100% { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); } }
@media (max-width: 767px) { .tpp-lk-bar { flex-wrap: wrap; } .tpp-lk-btn { width: 100%; justify-content: center; } }
.xcur-field .xcur-base{font-size:12px;color:#6b7280;margin-right:4px}
.xcur-field .xcur-base b{color:#111827}
.xcur-field.is-diff .tp-select{border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.15)}
.tp-field.xcur-field .xs-ch { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; margin: 0; white-space: nowrap; }
.tp-field.xcur-field .xcur-note { flex: 1 0 100%; font-size: .74rem; color: #b45309; margin-top: .35rem; }
