/* Isolated Yixun allocation workspace. Existing pages and fee layouts are untouched. */
.ya-auto-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.ya-dialog label.ya-auto-source,.ya-dialog label.ya-auto-method{display:flex;align-items:flex-start;gap:10px;padding:15px;border:1px solid var(--border,#dce5f2);border-radius:9px;background:var(--card-soft,#f8fbff);cursor:pointer}.ya-auto-source input,.ya-auto-method input{margin-top:5px}.ya-auto-source strong,.ya-auto-method strong{display:block;color:var(--text-strong,#18365b);overflow-wrap:anywhere}.ya-auto-source small,.ya-auto-method small{display:block;margin-top:5px;font-size:12px;line-height:1.75;overflow-wrap:anywhere}.ya-auto-source:has(input:checked),.ya-auto-method:has(input:checked){border-color:var(--primary,#376bf6);box-shadow:inset 0 0 0 1px var(--primary,#376bf6)}.ya-auto-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ya-auto-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.ya-auto-history{padding:15px;border:1px solid var(--border,#dce5f2);border-radius:8px;margin:15px 0}.ya-auto-history summary,.ya-auto-leftovers summary,.ya-auto-cabinet summary{cursor:pointer;font-size:14px;line-height:1.75}.ya-auto-job{display:block;width:100%;text-align:left;margin:8px 0;overflow-wrap:anywhere}.ya-auto-table{width:100%;min-width:740px;border-collapse:collapse;font-size:13px;text-align:left}.ya-auto-table th,.ya-auto-table td{padding:11px 12px;border-bottom:1px solid var(--border,#dce5f2);vertical-align:top;color:inherit;overflow-wrap:anywhere}.ya-auto-table th{background:var(--card-soft,#f8fbff);white-space:nowrap;font-weight:600}.ya-auto-table th:first-child{width:auto}.ya-auto-result-methods{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.ya-auto-result-methods [aria-checked=true]{border-color:var(--primary,#376bf6);background:var(--primary,#376bf6);color:#fff}.ya-auto-cabinet{border:1px solid var(--border,#dce5f2);padding:16px;border-radius:9px;margin:12px 0;background:var(--panel-solid,#fff)}.ya-auto-leftovers{margin:16px 0}.ya-auto-confirm{margin-top:24px;padding:20px;border:1px solid var(--primary,#376bf6);border-radius:10px;background:var(--card-soft,#f8fbff)}.ya-auto-confirm .ya-check{margin:16px 0}.ya-auto-acknowledgements{font-size:13px;line-height:1.9;padding-left:22px;color:var(--muted,#64748b)}.ya-auto-success{padding:20px;margin-top:16px;border:1px solid #54a683;border-radius:10px;background:var(--card-soft,#f8fbff)}.ya-auto-progress{padding:14px;border-radius:8px;border:1px solid var(--border,#dce5f2);background:var(--card-soft,#f8fbff);color:var(--primary,#376bf6)}@media(max-width:1050px){.ya-auto-methods{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.ya-auto-sources,.ya-auto-inputs,.ya-auto-methods{grid-template-columns:1fr}.ya-auto-confirm{padding:14px}.ya-auto-cabinet{padding:12px}}
.ya-list-tools { display:flex; align-items:center; margin-left:auto; }
.ya-launch { padding:9px 16px; border:1px solid var(--primary,#376bf6); border-radius:8px; background:var(--primary,#376bf6); color:#fff; font:inherit; font-weight:650; cursor:pointer; }
.ya-overlay { position:fixed; inset:0; z-index:1800; display:grid; place-items:center; padding:24px; background:rgba(15,23,42,.38); }
.ya-overlay *, .ya-overlay *::before, .ya-overlay *::after { box-sizing:border-box; }
.ya-dialog { width:min(1720px,100%); max-height:calc(100dvh - 48px); display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--border,#dce5f2); border-radius:12px; background:var(--panel-solid,#fff); color:var(--text,#25344d); font-family:inherit; font-size:16px; line-height:1.5; box-shadow:0 24px 80px rgba(15,23,42,.2); }
.ya-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 28px; border-bottom:1px solid var(--border,#dce5f2); }
.ya-eyebrow { font-size:12px; font-weight:750; color:var(--primary,#376bf6); }
.ya-dialog h1 { margin:0; font-size:26px; line-height:1.3; color:var(--text-strong,#0f172a); }
.ya-dialog h2 { margin:0 0 14px; font-size:19px; color:var(--text-strong,#0f172a); }
.ya-dialog h3 { margin:0; font-size:17px; color:var(--text-strong,#0f172a); }
.ya-header p { margin:5px 0 0; color:var(--muted,#64748b); font-size:14px; }
.ya-scroll { overflow:auto; overscroll-behavior:contain; padding:0 28px 28px; }
.ya-status { padding:12px 0; margin:0; color:var(--primary,#376bf6); }
.ya-status.is-error { color:#c23c32; }
.ya-section { border-top:1px solid var(--border,#dce5f2); padding:22px 0; }
.ya-filters { display:flex; gap:12px; align-items:end; flex-wrap:wrap; }
.ya-dialog label:not(.ya-check) { display:grid; gap:5px; min-width:0; font-size:14px; color:var(--muted,#64748b); }
.ya-filters label { min-width:210px; }
.ya-dialog input:not([type="checkbox"]),.ya-dialog select { width:100%; min-width:0; min-height:42px; border:1px solid var(--border,#dce5f2); border-radius:7px; background-color:var(--card-soft,#f8fbff); color:var(--text,#25344d); padding:8px 10px; font:inherit; font-size:16px; }
.ya-dialog input[type="checkbox"] { width:16px; height:16px; flex:none; accent-color:var(--primary,#376bf6); }
.ya-dialog button { min-height:40px; border:1px solid var(--border,#dce5f2); border-radius:7px; padding:7px 13px; background:transparent; color:var(--text,#25344d); font:inherit; font-size:14px; cursor:pointer; }
.ya-dialog .ya-primary { color:#fff; border-color:var(--primary,#376bf6); background:var(--primary,#376bf6); font-weight:650; }
.ya-dialog button:disabled { opacity:.45; cursor:not-allowed; }
.ya-dialog :focus-visible { outline:2px solid var(--primary,#376bf6); outline-offset:2px; }
.ya-dialog .ya-link { min-height:0; border:0; padding:0; color:var(--primary,#376bf6); font-weight:650; }
.ya-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.ya-note { margin:10px 0 16px; color:var(--muted,#64748b); font-size:14px; }
.ya-table-scroll { width:100%; overflow:auto; }
.ya-dialog table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.ya-dialog th { padding:10px; border-bottom:1px solid var(--border,#dce5f2); background:var(--card-soft,#f8fbff); color:var(--muted,#64748b); white-space:nowrap; font-size:14px; }
.ya-dialog td { padding:10px; border-bottom:1px solid var(--border,#dce5f2); vertical-align:top; }
.ya-cargo-table { min-width:1180px; }
.ya-cargo-table td:nth-child(2) { min-width:180px; }
.ya-cargo-table td:nth-child(7) { min-width:112px; }
.ya-cargo-table td:nth-child(8) { min-width:150px; }
.ya-cargo-table td:last-child { min-width:185px; max-width:300px; }
.ya-dialog small { display:block; color:var(--muted,#64748b); font-size:13px; overflow-wrap:anywhere; }
.ya-dialog .is-unavailable { opacity:.58; }
.ya-pagination { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:10px; font-size:14px; }
.ya-pagination>span:first-child { margin-right:auto; color:var(--muted,#64748b); }
.ya-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.ya-pricing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:20px; }
.ya-pricing-grid>section { min-width:0; }
.ya-parameters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:14px; }
.ya-check { display:flex; gap:8px; align-items:center; min-height:42px; font-size:14px; }
.ya-section-title { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.ya-section-title h2 { margin:0; }
.ya-bin { padding:20px 0; border-bottom:1px solid var(--border,#dce5f2); }
.ya-bin p { margin:8px 0; }
.ya-dialog .ya-warning { color:#b7791f; }
.ya-master-select { max-width:520px; margin:12px 0; }
.ya-bin details { padding-top:12px; font-size:14px; }
.ya-bin summary { cursor:pointer; color:var(--primary,#376bf6); }
.ya-bin pre { max-height:280px; overflow:auto; padding:12px; white-space:pre-wrap; overflow-wrap:anywhere; background:var(--card-soft,#f8fbff); font-size:13px; }
.ya-overlay [hidden] { display:none!important; }
.ya-auto-preparation { padding:18px 20px; margin-bottom:20px; border:1px solid var(--border,#dce5f2); border-radius:10px; background:var(--card-soft,#f8fbff); }
.ya-auto-preparation .ya-actions { justify-content:space-between; }
.ya-auto-preparation h2 { margin:0; }
.ya-auto-preparation .ya-note:last-child { margin-bottom:0; }
.ya-auto-provenance { margin:16px 0; padding:12px 16px; border:1px solid var(--border,#dce5f2); border-radius:8px; font-size:14px; }
.ya-auto-provenance summary { cursor:pointer; color:var(--primary,#376bf6); }
.ya-auto-provenance>div { padding:12px 0; overflow-wrap:anywhere; }
.ya-auto-provenance strong { color:var(--text-strong,#0f172a); }
.ya-auto-objective { padding:14px 16px; margin:18px 0; border-left:3px solid var(--primary,#376bf6); background:var(--card-soft,#f8fbff); font-size:14px; }
.ya-auto-tail { display:inline-block; margin:0 0 12px; padding:5px 9px; border-radius:6px; background:#fff5dc; color:#8a5c10; font-size:13px; }
.ya-auto-complete { color:#26714f; font-size:14px; }
.ya-auto-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0; }
.ya-auto-metrics>div { padding:14px 16px; border:1px solid var(--border,#dce5f2); border-radius:8px; background:var(--card-soft,#f8fbff); }
.ya-auto-metrics strong { display:block; margin:5px 0; font-size:19px; color:var(--text-strong,#0f172a); }
.ya-auto-band-met { color:#26714f; font-size:14px; margin:8px 0; }
@media(max-width:720px) { .ya-auto-metrics { grid-template-columns:minmax(0,1fr); } }
@media(max-width:1100px) { .ya-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) { .ya-overlay {padding:8px;} .ya-dialog{max-height:calc(100dvh - 16px);} .ya-header{padding:16px;align-items:start;} .ya-scroll{padding:0 16px 16px;} .ya-grid,.ya-pricing-grid,.ya-parameters{grid-template-columns:minmax(0,1fr);} .ya-pagination{flex-wrap:wrap;} .ya-filters label{min-width:100%;} .ya-header h1{font-size:22px;} }
/* Quote references are rendered only with the opened cabinet detail. */
#oms-yixun-allocation .ya-auto-quote{padding:12px;margin:0 0 12px;border:1px solid #d6e1ed;border-radius:10px;background:#f6f9fc}

/* v1.4: compact scheme selection, paged cabinets and separate review drawers. */
#oms-yixun-allocation {
  --ya-line:var(--border,#dce5f2);
  --ya-panel:var(--panel-solid,#fff);
  --ya-soft:var(--card-soft,#f6f8fc);
  --ya-ink:var(--text-strong,#173251);
  --ya-muted:var(--muted,#66768e);
  --ya-accent:var(--primary,#376bf6);
  padding:16px;
}
#oms-yixun-allocation .ya-dialog {
  width:min(1480px,100%);height:calc(100dvh - 32px);max-height:980px;
  min-height:0;border-radius:16px;font-size:14px;
}
#oms-yixun-allocation .ya-header { padding:15px 22px;gap:12px;flex:none; }
#oms-yixun-allocation .ya-header h1 { font-size:22px; }
#oms-yixun-allocation .ya-header p { margin:3px 0 0;font-size:12px; }
#oms-yixun-allocation .ya-eyebrow { font-size:11px;letter-spacing:.03em; }
#oms-yixun-allocation .ya-scroll { flex:1;min-height:0;padding:14px 22px 20px;scrollbar-gutter:stable; }
#oms-yixun-allocation .ya-status { padding:0 0 8px;font-size:12px; }
#oms-yixun-allocation .ya-status:empty { display:none; }
#oms-yixun-allocation .ya-section { padding:0;border-top:0; }
#oms-yixun-allocation h2 { font-size:17px;margin:0; }
#oms-yixun-allocation h3 { font-size:16px; }
#oms-yixun-allocation .ya-note { font-size:12px;line-height:1.65;margin:8px 0; }
#oms-yixun-allocation .ya-auto-preparation {
  padding:9px 12px;margin:0 0 12px;border-radius:9px;background:var(--ya-soft);
}
#oms-yixun-allocation .ya-auto-preparation h2 { font-size:13px; }
#oms-yixun-allocation .ya-auto-preparation .ya-note { margin:4px 0 0; }
#oms-yixun-allocation .ya-auto-preparation button { min-height:30px;padding:4px 10px;font-size:12px; }
#oms-yixun-allocation .ya-batch-overview {
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px;
}
#oms-yixun-allocation .ya-batch-overview p { margin:3px 0; }
#oms-yixun-allocation .ya-batch-overview strong { color:var(--ya-ink); }
#oms-yixun-allocation .ya-scheme-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px; }
#oms-yixun-allocation button.ya-scheme-card {
  display:flex;flex-direction:column;align-items:stretch;gap:8px;text-align:left;
  padding:13px 14px;min-width:0;border:1px solid var(--ya-line);border-radius:11px;
  background:var(--ya-panel);color:inherit;transition:border-color .15s,background-color .15s;
}
#oms-yixun-allocation button.ya-scheme-card:hover:not(:disabled) { border-color:var(--ya-accent);background:var(--ya-soft); }
#oms-yixun-allocation button.ya-scheme-card[aria-checked="true"] {
  border-color:var(--ya-accent);box-shadow:inset 0 0 0 1px var(--ya-accent);background:var(--ya-soft);
}
#oms-yixun-allocation .ya-scheme-title { display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;font-weight:700;color:var(--ya-ink); }
#oms-yixun-allocation .ya-scheme-title::after { content:"";width:15px;height:15px;flex:none;border:1.5px solid var(--ya-line);border-radius:50%; }
#oms-yixun-allocation [aria-checked="true"] .ya-scheme-title::after { border:4px solid var(--ya-accent);background:var(--ya-panel); }
#oms-yixun-allocation .ya-scheme-numbers { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:baseline;font-size:13px; }
#oms-yixun-allocation .ya-scheme-numbers strong { font-size:23px;line-height:1.1;font-variant-numeric:tabular-nums; }
#oms-yixun-allocation .ya-scheme-meta { display:flex;flex-direction:column;gap:1px;color:var(--ya-muted);font-size:12px;line-height:1.6; }
#oms-yixun-allocation .ya-scheme-card>.ya-badge { align-self:flex-start; }
#oms-yixun-allocation .ya-selection-summary { display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 4px; }
#oms-yixun-allocation .ya-selection-summary .ya-note { margin:0; }
#oms-yixun-allocation .ya-filter-note { margin:-3px 0 10px;font-size:11px; }
#oms-yixun-allocation .ya-auto-metrics { grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 14px; }
#oms-yixun-allocation .ya-auto-metrics>div { padding:10px 12px;border-radius:9px;background:var(--ya-soft); }
#oms-yixun-allocation .ya-auto-metrics strong { margin:2px 0;font-size:18px;font-variant-numeric:tabular-nums; }
#oms-yixun-allocation .ya-auto-metrics small { font-size:12px; }
#oms-yixun-allocation .ya-cabinet-toolbar {
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:14px 0 10px;
}
#oms-yixun-allocation .ya-cabinet-toolbar .ya-actions { gap:8px; }
#oms-yixun-allocation .ya-cabinet-toolbar label { display:flex;align-items:center;gap:7px;font-size:12px; }
#oms-yixun-allocation .ya-cabinet-toolbar select { width:auto;min-width:108px;min-height:34px;padding:5px 28px 5px 9px;font-size:13px; }
#oms-yixun-allocation .ya-cabinet-toolbar button { min-height:34px;padding:5px 10px;font-size:12px; }
#oms-yixun-allocation .ya-cabinet-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px; }
#oms-yixun-allocation .ya-cabinet-grid .ya-auto-cabinet {
  min-width:0;display:flex;flex-direction:column;gap:10px;margin:0;padding:13px 14px;
  border:1px solid var(--ya-line);border-radius:11px;background:var(--ya-panel);
}
#oms-yixun-allocation .ya-auto-cabinet:has([data-ya-cabinet-select]:checked) {
  border-color:var(--ya-accent);box-shadow:inset 3px 0 0 var(--ya-accent);
}
#oms-yixun-allocation .ya-cabinet-head { display:flex;align-items:center;justify-content:space-between;gap:8px; }
#oms-yixun-allocation .ya-cabinet-head .ya-check { min-height:0;gap:7px;margin:0; }
#oms-yixun-allocation .ya-cabinet-number { color:var(--ya-muted);font-size:12px;white-space:nowrap; }
#oms-yixun-allocation .ya-cabinet-port { font-weight:750;color:var(--ya-ink);font-size:15px; }
#oms-yixun-allocation .ya-cabinet-type { font-weight:650;white-space:nowrap;font-size:11px;padding:3px 7px;border-radius:5px;background:var(--ya-soft);color:var(--ya-muted); }
#oms-yixun-allocation .ya-cabinet-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px; }
#oms-yixun-allocation .ya-cabinet-metrics>span { min-width:0; }
#oms-yixun-allocation .ya-cabinet-metrics strong { display:block;color:var(--ya-ink);font-size:clamp(16px,1.3vw,20px);line-height:1.3;font-variant-numeric:tabular-nums;letter-spacing:-.03em; }
#oms-yixun-allocation .ya-cabinet-metrics small { font-size:11px;line-height:1.5; }
#oms-yixun-allocation .ya-cabinet-warehouses { margin:0;min-height:34px;color:var(--ya-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere; }
#oms-yixun-allocation .ya-badges { display:flex;flex-wrap:wrap;align-items:center;gap:5px; }
#oms-yixun-allocation .ya-badge { display:inline-flex;align-items:center;padding:2px 6px;border-radius:5px;background:var(--ya-soft);color:var(--ya-muted);font-size:11px;line-height:1.5; }
#oms-yixun-allocation .ya-badge.is-success { color:var(--success,color-mix(in srgb,#269a69 68%,var(--ya-ink)));background:color-mix(in srgb,#30a575 10%,var(--ya-panel)); }
#oms-yixun-allocation .ya-badge.is-warning { color:var(--warning,color-mix(in srgb,#b37a16 70%,var(--ya-ink)));background:color-mix(in srgb,#d69221 10%,var(--ya-panel)); }
#oms-yixun-allocation .ya-badge.is-danger { color:var(--danger,color-mix(in srgb,#da5e55 70%,var(--ya-ink)));background:color-mix(in srgb,#d74f46 10%,var(--ya-panel)); }
#oms-yixun-allocation .ya-cabinet-footer { display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-top:auto;padding-top:9px;border-top:1px solid var(--ya-line);font-size:11px;color:var(--ya-muted); }
#oms-yixun-allocation .ya-cabinet-footer button { min-height:28px;padding:3px 0;border:0;color:var(--ya-accent);font-size:12px;font-weight:650; }
#oms-yixun-allocation .ya-cabinet-footer small { font-size:11px; }
#oms-yixun-allocation .ya-cabinet-pagination { display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:12px 0 0;font-size:12px;color:var(--ya-muted); }
#oms-yixun-allocation .ya-cabinet-pagination>span:first-child { margin-right:auto; }
#oms-yixun-allocation .ya-cabinet-pagination button { min-height:32px;padding:4px 11px;font-size:12px; }
#oms-yixun-allocation .ya-support { margin-top:12px;border:1px solid var(--ya-line);border-radius:9px;padding:9px 12px;font-size:12px;color:var(--ya-muted); }
#oms-yixun-allocation .ya-support>summary { cursor:pointer;color:var(--ya-muted);font-size:12px;line-height:1.6; }
#oms-yixun-allocation .ya-support .ya-auto-provenance { margin:8px 0;padding:9px 10px;font-size:12px; }
#oms-yixun-allocation .ya-support .ya-auto-leftovers { margin:10px 0; }
#oms-yixun-allocation .ya-support .ya-auto-acknowledgements { margin:8px 0;font-size:12px; }
#oms-yixun-allocation .ya-actionbar {
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;
  padding:12px 22px;border-top:1px solid var(--ya-line);background:var(--ya-panel);
  box-shadow:0 -5px 16px rgba(15,23,42,.04);
}
#oms-yixun-allocation .ya-actionbar-count { display:grid;grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:3px 5px;min-width:0;font-size:13px;color:var(--ya-ink); }
#oms-yixun-allocation .ya-actionbar-count strong { font-size:15px; }
#oms-yixun-allocation .ya-actionbar-count small { grid-column:1/-1;font-size:11px; }
#oms-yixun-allocation .ya-actionbar-actions { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
#oms-yixun-allocation .ya-actionbar button { min-height:38px;font-size:13px; }
#oms-yixun-allocation .ya-drawer-layer { position:absolute;inset:0;z-index:2;display:flex;justify-content:flex-end;align-items:stretch;padding:16px; }
#oms-yixun-allocation .ya-drawer-backdrop { position:absolute;inset:0;border:0;background:rgba(15,23,42,.3);cursor:default;font-size:0;color:transparent; }
#oms-yixun-allocation .ya-drawer {
  position:relative;display:flex;flex-direction:column;min-height:0;width:min(960px,94vw);
  border:1px solid var(--ya-line);border-radius:14px;background:var(--ya-panel);color:var(--text,#25344d);
  box-shadow:-14px 0 50px rgba(15,23,42,.18);font-family:inherit;font-size:14px;line-height:1.55;
}
#oms-yixun-allocation .ya-drawer-header { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid var(--ya-line);flex:none; }
#oms-yixun-allocation .ya-drawer-header h2 { margin:0;font-size:18px;color:var(--ya-ink); }
#oms-yixun-allocation .ya-drawer-header button,#oms-yixun-allocation .ya-drawer-body button { min-height:36px;padding:6px 12px;border:1px solid var(--ya-line);border-radius:7px;background:var(--ya-panel);color:var(--text,#25344d);font:inherit;font-size:13px;cursor:pointer; }
#oms-yixun-allocation .ya-drawer-body { overflow:auto;overscroll-behavior:contain;min-height:0;padding:18px 20px; }
#oms-yixun-allocation .ya-drawer-body h3 { color:var(--ya-ink);margin:0; }
#oms-yixun-allocation .ya-drawer-body small { display:block;font-size:12px;color:var(--ya-muted); }
#oms-yixun-allocation .ya-drawer-body .ya-auto-confirm { margin:0;padding:0;border:0;background:transparent; }
#oms-yixun-allocation .ya-drawer-body .ya-auto-acknowledgements { padding-left:20px;font-size:13px;line-height:1.7;color:var(--ya-muted); }
#oms-yixun-allocation .ya-drawer-body .ya-auto-acknowledgements li+li { margin-top:5px; }
#oms-yixun-allocation .ya-drawer-body .ya-primary { color:#fff;background:var(--ya-accent);border-color:var(--ya-accent);font-weight:650; }
#oms-yixun-allocation .ya-drawer-body .ya-check { line-height:1.6;align-items:flex-start;margin:16px 0; }
#oms-yixun-allocation .ya-drawer-body input[type="checkbox"] { width:16px;height:16px;margin:4px 0 0;flex:none;accent-color:var(--ya-accent); }
#oms-yixun-allocation .ya-drawer button:disabled { opacity:.45;cursor:not-allowed; }
#oms-yixun-allocation .ya-drawer :focus-visible { outline:2px solid var(--ya-accent);outline-offset:2px; }
#oms-yixun-allocation .ya-drawer .ya-auto-quote { margin:0 0 14px;padding:12px;border:1px solid var(--ya-line);background:var(--ya-soft); }
#oms-yixun-allocation .ya-auto-quote .ya-auto-table { min-width:580px;font-size:12px; }
#oms-yixun-allocation .ya-auto-quote .ya-auto-table th,#oms-yixun-allocation .ya-auto-quote .ya-auto-table td { padding:9px 8px; }
#oms-yixun-allocation .ya-auto-quote details { margin-top:10px; }
#oms-yixun-allocation .ya-auto-quote summary { cursor:pointer;font-size:13px;line-height:1.6; }
#oms-yixun-allocation .ya-drawer .ya-warning { color:var(--warning,color-mix(in srgb,#b37a16 70%,var(--ya-ink))); }
#oms-yixun-allocation .ya-drawer .ya-auto-table { font-family:inherit; }
#oms-yixun-allocation .ya-drawer .ya-auto-table th { background:var(--ya-soft); }
#oms-yixun-allocation .ya-drawer .ya-auto-table th,#oms-yixun-allocation .ya-drawer .ya-auto-table td { border-color:var(--ya-line);padding:9px 10px; }
@media(max-width:1179px) {
  #oms-yixun-allocation .ya-cabinet-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:980px) {
  #oms-yixun-allocation .ya-cabinet-grid,#oms-yixun-allocation .ya-scheme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #oms-yixun-allocation .ya-header { padding:13px 16px; }
  #oms-yixun-allocation .ya-scroll { padding:12px 16px 16px; }
  #oms-yixun-allocation .ya-actionbar { padding:11px 16px; }
}
@media(max-width:640px) {
  #oms-yixun-allocation { padding:6px; }
  #oms-yixun-allocation .ya-dialog { height:calc(100dvh - 12px);max-height:none;border-radius:12px; }
  #oms-yixun-allocation .ya-header { padding:11px 12px;align-items:center; }
  #oms-yixun-allocation .ya-header h1 { font-size:20px; }
  #oms-yixun-allocation .ya-header p { display:none; }
  #oms-yixun-allocation .ya-header .ya-actions { gap:5px; }
  #oms-yixun-allocation .ya-header button { min-height:32px;font-size:12px;padding:4px 8px; }
  #oms-yixun-allocation .ya-scroll { padding:10px 12px 16px; }
  #oms-yixun-allocation .ya-cabinet-grid { grid-template-columns:minmax(0,1fr); }
  #oms-yixun-allocation .ya-scheme-grid { gap:7px; }
  #oms-yixun-allocation button.ya-scheme-card { padding:11px 10px;gap:6px; }
  #oms-yixun-allocation .ya-scheme-title { font-size:13px; }
  #oms-yixun-allocation .ya-scheme-numbers { gap:6px;font-size:12px; }
  #oms-yixun-allocation .ya-scheme-numbers strong { font-size:20px; }
  #oms-yixun-allocation .ya-scheme-meta { font-size:11px; }
  #oms-yixun-allocation .ya-auto-metrics { grid-template-columns:minmax(0,1fr); }
  #oms-yixun-allocation .ya-cabinet-toolbar { gap:8px; }
  #oms-yixun-allocation .ya-cabinet-toolbar select { min-width:96px; }
  #oms-yixun-allocation .ya-actionbar { align-items:stretch;padding:10px 12px;gap:8px;flex-wrap:wrap; }
  #oms-yixun-allocation .ya-actionbar-actions { margin-left:auto; }
  #oms-yixun-allocation .ya-actionbar-count { justify-content:center;font-size:12px; }
  #oms-yixun-allocation .ya-drawer-layer { padding:0; }
  #oms-yixun-allocation .ya-drawer { width:100%;border-radius:0; }
  #oms-yixun-allocation .ya-drawer-header { padding:14px 12px; }
  #oms-yixun-allocation .ya-drawer-body { padding:14px 12px; }
}
@media(prefers-reduced-motion:reduce) {
  #oms-yixun-allocation button.ya-scheme-card { transition:none; }
}
