.eg-kicker{font-size:11px!important;letter-spacing:.08em;color:#697c92;margin:0 0 8px!important}.eg-guide{margin:0 0 24px;padding:16px 20px;background:#edf3fb;border-radius:8px;color:#3c587a;font-size:13px}.eg-guide summary{font-weight:600;cursor:pointer}.eg-guide ol{padding-left:20px;margin-bottom:0}.eg-guide li{line-height:1.8;padding:5px 0}.eg-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.eg-browser{padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.eg-browser h2{font-size:17px;margin:0}.eg-browser .section-head{gap:8px;margin-bottom:20px}.eg-filter label{font-size:12px;margin-bottom:12px}.eg-filter input,.eg-filter select{padding:9px 10px;font-size:13px}.eg-group-list{display:grid;gap:8px;margin-top:20px;max-height:65vh;overflow:auto}.eg-group{display:block;width:100%;padding:14px;text-align:left;background:#f7f9fc;color:var(--ink);border:1px solid transparent;border-radius:8px}.eg-group:hover{background:#eef3fa}.eg-group[aria-current=true]{background:#edf3ff;border-color:#9bb7e6}.eg-group strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.eg-group small{display:block;font-size:11px;margin:5px 0;overflow-wrap:anywhere}.eg-group-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;margin-top:10px;color:#5c718b}.eg-group-meta .badge{font-size:11px}.eg-group-list .empty{padding:24px 12px;border:0}.eg-group-list .empty h3{font-size:15px}.eg-detail{min-width:0;display:grid;gap:20px}.eg-detail-empty{padding:72px 24px}.eg-detail-empty h2{font-size:21px}.eg-group-header{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:4px 0}.eg-group-header h2{font-size:25px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 6px}.eg-group-header p:last-child{font-size:13px;margin:0}.eg-group-header .record-actions{justify-content:flex-end;margin-top:0;max-width:300px;flex:none}.eg-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.eg-summary>div{padding:18px 20px;min-width:0}.eg-summary>div+div{border-left:1px solid var(--line)}.eg-summary small{display:block;font-size:11px}.eg-summary strong{display:block;font-size:27px;font-weight:650;margin-top:8px;color:#233951;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.eg-summary strong.eg-word{font-size:17px;line-height:1.8}.eg-note{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:14px 18px;background:#f0f4f8;border-radius:8px}.eg-detail .panel h3{font-size:17px;margin:0}.eg-detail .section-head{align-items:start;gap:16px}.eg-detail .section-head p{font-size:12px;margin-top:6px}.eg-detail .section-head button{font-size:12px}.eg-member-list,.eg-allocation-list{display:grid;gap:0}.eg-member,.eg-allocation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:14px 0;align-items:center;border-top:1px solid #edf0f4}.eg-member:first-child,.eg-allocation-row:first-child{border-top:0;padding-top:0}.eg-member:last-child,.eg-allocation-row:last-child{padding-bottom:0}.eg-member strong,.eg-allocation-row strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.eg-member p,.eg-allocation-row p{font-size:12px;margin:5px 0 0;overflow-wrap:anywhere}.eg-member>div:last-child{text-align:right;font-size:13px;white-space:nowrap}.eg-member a{display:block;font-size:12px;margin-top:6px}.eg-category-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.eg-category-tabs button{min-height:34px;padding:6px 12px;font-size:12px;color:#51647d;background:#f0f3f8}.eg-category-tabs button[aria-pressed=true]{background:#e5effe;color:#2159aa}.eg-resource-filters{display:grid;grid-template-columns:1fr 160px;gap:16px}.eg-resource-filters label{font-size:12px}.eg-resource-filters input,.eg-resource-filters select{font-size:13px;padding:8px 10px}.eg-resource-list{display:grid;gap:16px}.eg-resource{border:1px solid var(--line);border-radius:8px;padding:20px;min-width:0}.eg-resource-top{display:flex;justify-content:space-between;align-items:start;gap:12px}.eg-resource h4{font-size:15px;margin:6px 0;overflow-wrap:anywhere}.eg-resource dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.eg-resource dt{font-size:11px;color:var(--muted)}.eg-resource dd{font-size:13px;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.eg-resource p{font-size:12px;line-height:1.8;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.eg-resource .record-actions{margin-top:16px}.eg-resource .record-actions button{padding:6px 10px;min-height:34px}.eg-cost-summary{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 20px;padding:16px;background:#f7f9fc;border-radius:8px}.eg-cost-summary p{font-size:12px;margin:0}.eg-cost-summary strong{display:block;color:#2c4666;font-size:22px;margin-top:6px;font-variant-numeric:tabular-nums}.eg-allocation-row>div:last-child{font-size:14px;color:#2c4666;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.eg-footnote{font-size:12px;line-height:1.8;margin:18px 0 0!important;color:#64748b}.eg-dialog-note{font-size:12px;line-height:1.8;margin:8px 0 0!important}.eg-candidate-list{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:8px}.eg-candidate{display:grid!important;grid-template-columns:18px minmax(0,1fr) auto;gap:12px!important;align-items:start;padding:14px!important;margin:0!important;border-bottom:1px solid #edf0f4;cursor:pointer}.eg-candidate:last-child{border-bottom:0}.eg-candidate input{width:16px;height:16px;padding:0;margin:3px 0;accent-color:var(--accent)}.eg-candidate strong{display:block;font-size:13px;overflow-wrap:anywhere}.eg-candidate small{display:block;line-height:1.7;font-size:11px;margin-top:3px;overflow-wrap:anywhere}.eg-candidate>span:last-child{font-size:12px;white-space:nowrap}.eg-candidate:has(input:checked){background:#f0f5fd}.eg-candidate:has(input:disabled){cursor:not-allowed;color:#708096}.eg-operation-fields{background:#f6f8fb;padding:16px 16px 0;border-radius:8px;margin-bottom:16px}.eg-conflict{background:#fff5e8;padding:16px;border:1px solid #edcf9e;border-radius:8px;margin-top:16px;color:#775323}.eg-conflict p{font-size:12px;line-height:1.8;color:inherit}.eg-conflict button{font-size:12px}.eg-conflict details{margin-top:12px;font-size:12px}.eg-conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;padding:12px;border-radius:6px;font-family:inherit;max-height:220px;overflow:auto}#egGroupDialog,#egResourceDialog{width:min(760px,calc(100% - 28px))}#egCandidateSection{margin-top:12px}#egCandidateSection h3{font-size:16px;margin:0}#egCandidateSection .section-head{margin-bottom:16px}#egSelectedSummary{flex:none}.eg-mutating{opacity:.7;pointer-events:none}
@media(max-width:1250px){.eg-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}.eg-browser{padding:16px}.eg-group-header{display:block}.eg-group-header .record-actions{justify-content:flex-start;margin-top:16px;max-width:none}.eg-summary>div{padding:16px}.eg-resource dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.eg-layout{grid-template-columns:1fr}.eg-browser{padding:20px}.eg-filter{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:16px}.eg-group-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:300px;margin-top:8px}.eg-group-list .empty{grid-column:1/-1}.eg-detail-empty{padding:40px 24px}.eg-summary strong{font-size:25px}}
@media(max-width:600px){.eg-filter,.eg-resource-filters{grid-template-columns:1fr;gap:0}.eg-group-list{grid-template-columns:1fr;max-height:240px}.eg-summary{grid-template-columns:1fr 1fr}.eg-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.eg-summary>div:nth-child(4){border-top:1px solid var(--line)}.eg-detail .panel{padding:18px}.eg-detail .section-head{flex-wrap:wrap}.eg-group-header h2{font-size:22px}.eg-resource{padding:16px}.eg-resource dl{gap:12px}.eg-group-header .record-actions{gap:8px}.eg-candidate{grid-template-columns:18px minmax(0,1fr);padding:12px!important}.eg-candidate>span:last-child{grid-column:2}.eg-cost-summary{gap:16px}.eg-cost-summary strong{font-size:20px}.eg-guide{padding:14px 16px}.eg-member,.eg-allocation-row{gap:12px}.eg-category-tabs button{min-height:38px}.eg-resource .record-actions button{min-height:38px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.eg-schedule-editor{background:#f5f8fc;border:1px solid var(--line);border-radius:8px;padding:16px;margin:18px 0}.eg-schedule-toggle{display:flex;align-items:center;gap:10px;font-weight:600}.eg-schedule-toggle input{width:18px;height:18px;min-height:0;margin:0}.eg-schedule-verification{padding:12px;background:#fff6e7;border-radius:6px;font-size:12px;margin:12px 0}.eg-schedule-verification.is-verified{background:#edf8f2;color:#2b6247}.eg-schedule-verification p{margin:5px 0;overflow-wrap:anywhere}.eg-schedule-verification small{display:block}.eg-schedule-editor .form-grid{margin-top:16px}

.eg-resource.is-highlighted,.eg-resource:target { outline:3px solid #4078d0; outline-offset:3px; scroll-margin-top:28px; }

#egCandidateList .eg-candidate-region { color: #23486b; font-size: 12px; }
#egCandidateList .eg-candidate-pax { white-space: normal; font-variant-numeric: tabular-nums; }
.eg-candidate-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 8px 0; padding: 3px 12px; border: 1px solid #dbe6f4; border-radius: 8px; background: #edf5ff; color: #23486b; }
.eg-candidate-bulk label { display: flex; flex-direction: row; align-items: center; gap: 8px; min-height: 38px; margin: 0; font-size: 13px; font-weight: 600; cursor: pointer; }
.eg-candidate-bulk input[type="checkbox"] { flex: 0 0 auto; width: 16px; min-height: 0; height: 16px; margin: 0; accent-color: #2563eb; }
.eg-candidate-bulk small { color: #4b627b; font-weight: 400; }
.eg-candidate-children { color: #23486b; font-weight: 600; }
.eg-candidate-age-review { color: #765321; }
.eg-selected-regions { margin: 0; padding: 10px 14px; background: #edf5ff; color: #23486b; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }

.fit-plan-toolbar label[hidden] { display: none; }
.fit-segment-settings { margin-block: 12px; }
.fit-segment-settings #planSegmentHint { margin-inline-start: 8px; }
.fit-segment-settings fieldset { min-width: 0; margin-top: 10px; padding: 14px; border: 1px solid #dce5ee; border-radius: 8px; }
.fit-segment-rows { display: grid; gap: 10px; margin-block: 10px; }
.fit-segment-rows > div { display: grid; grid-template-columns: auto repeat(2, minmax(135px, 1fr)) minmax(150px, 2fr) auto; align-items: end; gap: 10px; }
.fit-segment-rows label { display: grid; gap: 4px; }
.fit-segment-rows input { min-width: 0; width: 100%; }
@media(max-width:850px) { .fit-segment-rows > div { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); } }
.eg-night-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.eg-night-head h3{margin:0;font-size:16px}.eg-night-head p,.eg-night-checkout,.eg-night-count{font-size:13px;color:var(--muted);margin:5px 0 12px}.eg-night-head label{min-width:130px}.eg-night-list{border-top:1px solid var(--line)}.eg-night-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1.35fr) 88px;align-items:start;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.eg-night-row[hidden]{display:none}.eg-night-row small{display:block;margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.eg-night-row select,.eg-night-row input{min-width:0;width:100%}.eg-night-checkout{margin-top:12px}@media(max-width:600px){.eg-night-row{grid-template-columns:minmax(0,1fr) 88px}.eg-night-row>div:first-child{grid-column:1/-1}.eg-night-head{flex-wrap:wrap}}
.eg-hotel-nights .eg-night-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:15px 0}.eg-hotel-nights .eg-night-row[hidden]{display:none}.eg-night-line{display:grid;grid-template-columns:minmax(120px,1fr) 84px 76px minmax(67px,auto) auto;gap:8px;align-items:end;margin-bottom:7px}.eg-night-line>label{min-width:0;margin:0}.eg-night-line>output{padding:0 0 9px;font-size:12px;font-weight:650;overflow-wrap:anywhere}.eg-night-line button,.eg-night-actions button,.eg-rooming-tools button{min-height:34px;padding:5px 9px;font-size:12px}.eg-night-actions,.eg-rooming-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.eg-night-actions span,.eg-night-actions a{font-size:12px}.eg-rooming-tools label{flex:1;min-width:145px}.eg-hotel-nights [data-night-rooming-panel]{border:1px solid var(--line);background:var(--surface,#fff);border-radius:8px;padding:11px}.eg-rooming-table{max-height:230px;overflow:auto}.eg-rooming-table table{width:100%;font-size:12px}.eg-rooming-table td,.eg-rooming-table th{padding:6px;text-align:left;white-space:normal}.eg-rooming-missing{font-size:12px;color:#8a430b}@media(max-width:600px){.eg-night-line{grid-template-columns:1fr 1fr auto}.eg-night-line>label:first-child{grid-column:1/-1}}
.eg-car-services{margin:0;padding:0;border:0;min-width:0}.eg-car-services[hidden]{display:none}.eg-car-service-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.eg-car-service-head h3,.eg-ticket-parties h4{font-size:15px;margin:0}.eg-car-services [data-car-status]{margin:6px 0 14px;color:var(--muted);font-size:13px}.eg-ticket-parties{margin-top:14px}.eg-ticket-parties h4{margin-bottom:8px}.eg-ticket-party{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 0;border-top:1px solid var(--line);font-size:13px}.eg-ticket-party>span{flex:1 1 210px;overflow-wrap:anywhere}.eg-ticket-party label{display:flex;align-items:center;gap:6px;margin:0}.eg-ticket-party input[type=checkbox]{width:auto;min-height:0;margin:0}.eg-ticket-party output{min-width:58px;text-align:right;font-weight:650}.eg-car-services [data-ticket-total]{margin:10px 0 0;padding:9px 12px;border:1px solid var(--line);border-radius:6px;font-weight:650}
.eg-car-mode{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0 0 14px;padding:8px 0 12px;border-bottom:1px solid var(--line)}
.eg-car-mode[hidden]{display:none}
.eg-car-mode-options{display:flex;flex-wrap:wrap;gap:6px}
.eg-car-mode-options button{min-height:34px;padding:5px 11px;font-size:13px}
.eg-car-mode-options button[aria-pressed=true]{background:#edf4ff;color:#194a9c;border-color:#a8bfe9}
.eg-car-transfer-link{font-size:13px;font-weight:650}

.eg-arrangement-overview { background: var(--surface, #fff); border: 1px solid var(--line, #dce5ef); border-radius: 8px; min-width: 0; }
.eg-arrangement-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 11px 14px; }
.eg-arrangement-head h3 { margin: 0; font-size: 15px; }
.eg-arrangement-head p { margin: 0; font-size: 12px; color: var(--muted); }
.eg-arrangement-scroll { overflow-x: auto; }
.eg-arrangement-table { border-collapse: collapse; width: 100%; min-width: 580px; font-size: 13px; text-align: left; }
.eg-arrangement-table :is(th, td) { padding: 7px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.eg-arrangement-table thead { background: #eef3f8; color: #435970; }
.eg-arrangement-table th[scope="row"], .eg-arrangement-table td:nth-child(2) { white-space: nowrap; }
.eg-arrangement-table small { display: block; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.eg-arrangement-table .eg-arrangement-records { color: inherit; }
.eg-arrangement-table td:nth-child(3) { width: 100%; }
.eg-arrangement-status { display: flex; flex-wrap: wrap; gap: 4px; }
.eg-arrangement-status span { padding: 2px 6px; border-radius: 4px; background: #edf1f6; color: #38516c; font-size: 12px; }
.eg-arrangement-status [data-tone="confirmed"] { background: #e5f5eb; color: #1b5d3a; }
.eg-arrangement-status [data-tone="pending"] { background: #fff2df; color: #7c4707; }
.eg-arrangement-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.eg-arrangement-actions :is(button, a) { font-size: 12px; }
.eg-arrangement-actions button { min-height: 30px; padding: 4px 8px; }
.eg-finance-row { background: #f3f7fb; }
.eg-finance-total { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.eg-finance-costs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 3px; }
.eg-finance-costs > div { display: flex; align-items: baseline; gap: 5px; }
.eg-finance-costs dt { color: var(--muted); }
.eg-finance-costs dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; }
.eg-finance-costs dd[data-unpriced] { font-size: 12px; font-weight: 400; }
.eg-cost-allocation { margin-top: 12px; }
.eg-cost-allocation summary { cursor: pointer; font-size: 13px; }
#egTicketItemsDialog { width: min(1120px, calc(100vw - 32px)); }
.eg-ticket-items { margin: 0; padding: 0; border: 0; min-width: 0; }
.eg-ticket-table { border-collapse: collapse; width: 100%; min-width: 800px; text-align: left; font-size: 13px; }
.eg-ticket-table :is(td, th) { padding: 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.eg-ticket-table th { background: #eef3f8; }
.eg-ticket-table :is(input, select) { width: 100%; min-height: 32px; margin: 0 0 4px; padding: 4px 6px; font-size: 13px; }
.eg-ticket-table :is(td, th):nth-child(5) { width: 76px; }
.eg-ticket-table :is(td, th):nth-child(6) { width: 100px; }
.eg-ticket-table td button { min-height: 32px; padding: 4px 8px; white-space: nowrap; }
.eg-ticket-table small, #egTicketItemsDialog output { color: var(--muted); font-size: 12px; }
#egTicketItemsDialog output { margin-right: auto; }
#egArrangementDetails > summary { cursor: pointer; font-size: 13px; font-weight: 650; }
#egArrangementDetails[open] > summary { margin-bottom: 12px; }
#egTransferDialog { width: min(1080px, calc(100vw - 32px)); max-height: 90vh; }
.eg-transfer-dialog { padding: 18px; }
.eg-transfer-dialog > .record-actions { justify-content: flex-end; margin-bottom: 8px; }
[data-quick="true"] #egResourceFields > .form-grid:first-child { display: none; }
[data-quick="true"] .eg-car-mode { font-size: 13px; color: var(--muted); }
[data-quick="true"] .eg-night-head label { width: 100%; }
.eg-quick-extra { margin-top: 10px; }
.eg-quick-extra summary { cursor: pointer; font-size: 13px; }
.eg-quick-extra label { margin-top: 6px; }
@media (max-width: 700px) {
  [data-quick="true"] .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
