:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
    --yydj-blue: #65b7ff;
    --yydj-blue-deep: #328fdc;
    --yydj-ink: #1f2a37;
    --yydj-muted: #728095;
    --yydj-line: #e7edf4;
    --yydj-bg: #f4f7fb;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--yydj-ink); }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(50,143,220,.28);
    outline-offset: 2px;
}
.yydj-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.yydj-login {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 10%, rgba(255,255,255,.36), transparent 30%),
        linear-gradient(135deg, #65b7ff 0%, #4ca4ef 54%, #308bd8 100%);
}
.yydj-login__shell {
    width: min(1040px, calc(100% - 40px));
    min-height: 620px;
    margin: 0 auto;
    padding: 7vh 0;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 72px;
}
.yydj-login__intro { color: #fff; padding: 24px; }
.yydj-login__logo {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 34px;
    place-items: center;
    border-radius: 20px;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.38);
    font-size: 32px;
    font-weight: 800;
}
.yydj-login__intro h1 { margin: 12px 0 22px; font-size: clamp(42px, 5vw, 64px); line-height: 1.12; }
.yydj-login__intro > p:last-child { max-width: 480px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.82); }
.yydj-login__card {
    padding: 44px 42px;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 28px 70px rgba(13,72,126,.22);
}
.yydj-login__heading h2 { margin: 0; font-size: 30px; }
.yydj-login__heading p, .yydj-login__help { color: var(--yydj-muted); }
.yydj-login__heading { margin-bottom: 30px; }
.yydj-field { margin-bottom: 20px; }
.yydj-field label { display: block; margin-bottom: 9px; font-weight: 600; }
.yydj-field input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    outline: none;
    transition: border .2s, box-shadow .2s;
}
.yydj-field input:focus { border-color: var(--yydj-blue); box-shadow: 0 0 0 4px rgba(101,183,255,.16); }
.yydj-password { position: relative; }
.yydj-password input { padding-right: 64px; }
.yydj-password button {
    position: absolute;
    top: 0;
    right: 0;
    height: 48px;
    padding: 0 15px;
    border: 0;
    background: transparent;
    color: var(--yydj-blue-deep);
    cursor: pointer;
}
.yydj-login__submit { width: 100%; height: 48px; border-radius: 10px; background: var(--yydj-blue-deep); }
.yydj-login__help { margin: 22px 0 0; text-align: center; font-size: 13px; }
.yydj-alert { margin-bottom: 20px; padding: 12px 14px; border-radius: 8px; background: #fff1f0; color: #c53b32; }
.yydj-alert--success { background: #edf9f0; color: #237b3b; }

.yydj-admin { min-height: 100vh; background: var(--yydj-bg); }
.yydj-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 232px;
    display: flex;
    flex-direction: column;
    background: #172434;
    color: #fff;
}
.yydj-brand { height: 76px; padding: 0 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.yydj-brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--yydj-blue); font-weight: 800; }
.yydj-brand strong, .yydj-brand small { display: block; }
.yydj-brand small { margin-top: 3px; color: #91a0b2; font-size: 12px; }
.yydj-nav { min-height: 0; padding: 18px 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; }
.yydj-nav:not([data-grouped="1"]) > a { visibility: hidden; }
.yydj-nav[data-grouped="1"] { visibility: visible; }
.yydj-nav__group { margin: 16px 2px 7px; padding: 7px 8px; display: flex; align-items: center; justify-content: space-between; border-radius: 6px; color: #77889c; font-size: 11px; font-weight: 700; letter-spacing: .08em; cursor: pointer; user-select: none; }
.yydj-nav__group:first-child { margin-top: 0; }
.yydj-nav__group:hover, .yydj-nav__group:focus-visible { background: rgba(255,255,255,.06); color: #d9e4ef; outline: none; }
.yydj-nav__group-arrow { font-size: 15px; line-height: 11px; transition: transform .15s ease; }
.yydj-nav__group.is-collapsed .yydj-nav__group-arrow { transform: rotate(-90deg); }
.yydj-nav__items { display: grid; gap: 2px; }
.yydj-nav__items[hidden] { display: none; }
.yydj-nav a { display: block; margin-bottom: 6px; padding: 10px 14px; border-radius: 9px; color: #b8c4d1; font-size: 13px; line-height: 1.45; }
.yydj-nav a:hover, .yydj-nav a.is-active { background: rgba(101,183,255,.16); color: #fff; }
.yydj-main { min-height: 100vh; margin-left: 232px; }
.yydj-header { height: 76px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--yydj-line); }
.yydj-header h1 { margin: 0; font-size: 20px; }
.yydj-header p { margin: 4px 0 0; color: var(--yydj-muted); font-size: 12px; }
.yydj-user, .yydj-user form { display: flex; align-items: center; gap: 14px; }
.yydj-content { padding: 28px; }
.yydj-welcome {
    padding: 30px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(120deg, #328fdc, #65b7ff);
    box-shadow: 0 16px 36px rgba(50,143,220,.2);
}
.yydj-welcome h2 { margin: 8px 0 10px; font-size: 28px; }
.yydj-welcome p { margin: 0; color: rgba(255,255,255,.84); }
.yydj-context-badge { padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.14); }
.yydj-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.yydj-card { padding: 24px; border: 1px solid var(--yydj-line); border-radius: 14px; background: #fff; }
.yydj-card h3 { margin: 0 0 18px; }
.yydj-card dl, .yydj-card pre { margin: 0; }
.yydj-card dl div { padding: 11px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--yydj-line); }
.yydj-card dt { color: var(--yydj-muted); }
.yydj-card pre { min-height: 104px; padding: 16px; border-radius: 10px; background: #f6f8fb; white-space: pre-wrap; }
.yydj-error { min-height: 100vh; display: grid; place-items: center; background: var(--yydj-bg); text-align: center; }
.yydj-error strong { font-size: 72px; color: var(--yydj-blue-deep); }

.yydj-page-heading { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.yydj-page-heading h2 { margin: 0; font-size: 24px; }
.yydj-page-heading p { margin: 5px 0 0; color: var(--yydj-muted); }
.yydj-filter {
    margin-bottom: 18px;
    padding: 18px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    border: 1px solid var(--yydj-line);
    border-radius: 8px;
    background: #fff;
}
.yydj-filter label { min-width: 176px; display: grid; gap: 7px; color: var(--yydj-muted); font-size: 13px; }
.yydj-filter label:first-child { min-width: 270px; }
.yydj-filter input, .yydj-filter select {
    width: 100%;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    background: #fff;
    color: var(--yydj-ink);
    outline: none;
}
.yydj-filter input:focus, .yydj-filter select:focus { border-color: var(--yydj-blue-deep); }
.yydj-table-wrap { overflow-x: auto; border: 1px solid var(--yydj-line); border-radius: 8px; background: #fff; }
.yydj-table { min-width: 1100px; margin: 0; }
.yydj-table th { background: #f7f9fc; color: #4b596b; font-weight: 600; }
.yydj-table td { vertical-align: middle; }
.yydj-table td strong, .yydj-table td small { display: block; }
.yydj-table td small { margin-top: 5px; color: var(--yydj-muted); font-size: 12px; }
.yydj-status { display: inline-block; padding: 4px 8px; border-radius: 4px; background: #eaf5ff; color: #2179bd; }
.yydj-link { color: var(--yydj-blue-deep); font-weight: 600; }
.yydj-empty { padding: 34px !important; color: var(--yydj-muted); text-align: center; }
.yydj-pagination { margin-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.yydj-pagination a, .yydj-pagination span { padding: 7px 11px; border: 1px solid var(--yydj-line); border-radius: 5px; background: #fff; }
.yydj-pagination span { color: #a6b0bd; }
.yydj-pagination strong { font-weight: 500; color: var(--yydj-muted); }
.yydj-breadcrumb { margin-bottom: 18px; display: flex; gap: 8px; color: var(--yydj-muted); }
.yydj-breadcrumb a { color: var(--yydj-blue-deep); }
.yydj-detail-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--yydj-line); border-radius: 8px; background: #fff; }
.yydj-detail-summary div { padding: 20px; border-right: 1px solid var(--yydj-line); }
.yydj-detail-summary div:last-child { border-right: 0; }
.yydj-detail-summary span, .yydj-detail-summary strong { display: block; }
.yydj-detail-summary span { margin-bottom: 8px; color: var(--yydj-muted); font-size: 13px; }
.yydj-detail-summary strong { font-size: 20px; }
.yydj-detail-section { margin-top: 18px; border: 1px solid var(--yydj-line); border-radius: 8px; background: #fff; overflow: hidden; }
.yydj-detail-section > header { position: relative; padding: 15px 20px; border-bottom: 1px solid var(--yydj-line); background: #f8fafc; }
.yydj-detail-section > header:has(.yydj-detail-command-trigger) { padding-right: 150px; }
.yydj-detail-command-trigger { position: absolute; top: 12px; right: 16px; }
.yydj-detail-section h2 { margin: 0; font-size: 16px; }
.yydj-detail-section > header p { margin: 7px 0 0; color: var(--yydj-muted); font-size: 13px; }
.yydj-detail-grid { margin: 0; padding: 8px 20px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.yydj-detail-grid div { min-height: 62px; padding: 16px 0; border-bottom: 1px solid var(--yydj-line); }
.yydj-detail-grid div.is-wide { grid-column: 1 / -1; }
.yydj-detail-grid dt { margin-bottom: 7px; color: var(--yydj-muted); font-size: 13px; }
.yydj-detail-grid dd { margin: 0; line-height: 1.6; }
.yydj-timeline { margin: 0; padding: 22px 24px 22px 42px; list-style: none; }
.yydj-timeline li { position: relative; padding: 0 0 24px 178px; min-height: 58px; border-left: 1px solid #d9e4ef; }
.yydj-timeline li:last-child { padding-bottom: 0; }
.yydj-timeline li::before { content: ""; position: absolute; top: 3px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--yydj-blue-deep); }
.yydj-timeline time { position: absolute; left: 18px; top: 0; color: var(--yydj-muted); font-size: 12px; }
.yydj-timeline strong { display: block; }
.yydj-timeline p { margin: 5px 0 0; color: var(--yydj-muted); }
.yydj-detail-actions { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.yydj-detail-actions span { color: var(--yydj-muted); }
.yydj-inline-alert { margin: 18px 20px; padding: 12px 14px; border-left: 3px solid #e8a23c; background: #fff8ec; color: #8b5b14; }
.yydj-dispatch-form { padding: 18px 20px 20px; }
.yydj-candidate-list { display: grid; gap: 10px; }
.yydj-candidate { min-height: 72px; padding: 14px 16px; display: grid; grid-template-columns: 24px minmax(220px, 1fr) minmax(240px, auto); align-items: center; gap: 12px; border: 1px solid var(--yydj-line); border-radius: 6px; cursor: pointer; }
.yydj-candidate:has(input:checked) { border-color: var(--yydj-blue-deep); background: #f2f8ff; }
.yydj-candidate__main strong, .yydj-candidate__main small, .yydj-candidate__metrics strong, .yydj-candidate__metrics small { display: block; }
.yydj-candidate__main small, .yydj-candidate__metrics small { margin-top: 5px; color: var(--yydj-muted); font-size: 12px; }
.yydj-candidate__metrics { text-align: right; }
.yydj-command-field { margin-top: 16px; display: grid; gap: 8px; color: var(--yydj-muted); font-size: 13px; }
.yydj-command-field textarea { min-height: 88px; padding: 10px 12px; resize: vertical; border: 1px solid #dce5ef; border-radius: 6px; color: var(--yydj-ink); outline: none; }
.yydj-command-field textarea:focus { border-color: var(--yydj-blue-deep); }
.yydj-command-actions { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.yydj-command-actions span { color: var(--yydj-muted); font-size: 13px; }
.worker-region-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.worker-region-picker > fieldset { grid-column: 1 / -1; min-width: 0; }
.worker-region-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--yydj-ink); }
.worker-region-toolbar strong { font-weight: 600; }
.worker-region-toolbar label { color: var(--yydj-blue-deep); cursor: pointer; white-space: nowrap; }
.worker-region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; border: 1px solid #dce5ef; border-radius: 8px; background: #f8fafc; }
.worker-region-option { min-width: 0; padding: 9px 10px; border-radius: 6px; background: #fff; color: var(--yydj-ink); cursor: pointer; }
.worker-region-option:has(input:checked) { background: #f0f7ff; color: var(--yydj-blue-deep); }
.worker-region-option[hidden] { display: none; }
.yydj-content > .yydj-dispatch-form { max-width: 1180px; margin: 0 auto; }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section { margin-bottom: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(31,42,55,.04); }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > * { grid-column: 1 / -1; }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > label.yydj-command-field:not(:has(textarea)):not(:has([data-public-image-upload])) { min-width: 0; grid-column: auto; }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > header { padding: 20px 24px; background: linear-gradient(180deg,#fff,#fafcff); }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > header h2 { font-size: 18px; }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > .yydj-command-field,
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > fieldset.yydj-command-field { margin: 0; padding: 18px 24px 0; border: 0; }
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > .yydj-command-field:last-child,
.yydj-content > .yydj-dispatch-form > .yydj-detail-section > fieldset.yydj-command-field:last-child { padding-bottom: 24px; }
.yydj-content > .yydj-dispatch-form .yydj-command-field > span,
.yydj-content > .yydj-dispatch-form .yydj-command-field > legend { display: block; margin-bottom: 8px; color: #344054; font-size: 13px; font-weight: 600; }
.yydj-content > .yydj-dispatch-form .yydj-command-field > input,
.yydj-content > .yydj-dispatch-form .yydj-command-field > select,
.yydj-content > .yydj-dispatch-form .yydj-command-field > textarea { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid #dce5ef; border-radius: 7px; background: #fff; color: var(--yydj-ink); }
.yydj-content > .yydj-dispatch-form .yydj-command-field > textarea { min-height: 100px; padding-top: 10px; padding-bottom: 10px; resize: vertical; }
.yydj-content > .yydj-dispatch-form .yydj-command-field > small { display: block; margin-top: 7px; color: var(--yydj-muted); line-height: 1.6; }
.yydj-content > .yydj-dispatch-form > .yydj-command-actions { position: sticky; bottom: 0; z-index: 5; justify-content: flex-end; margin-top: 0; padding: 16px 24px; border: 1px solid var(--yydj-line); border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 -8px 24px rgba(31,42,55,.05); backdrop-filter: blur(8px); }
.yydj-content > .yydj-dispatch-form > .yydj-command-actions .layui-btn { min-width: 112px; border-radius: 7px; }
.yydj-content > .yydj-dispatch-form .layui-table input,
.yydj-content > .yydj-dispatch-form .layui-table select { width: 100%; min-height: 36px; padding: 0 9px; border: 1px solid #dce5ef; border-radius: 6px; background: #fff; }
@media (max-width: 760px) {
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section { grid-template-columns: 1fr; column-gap: 0; }
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section > label.yydj-command-field { grid-column: 1 / -1; }
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section > header { padding: 18px; }
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section > .yydj-command-field,
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section > fieldset.yydj-command-field { padding-left: 18px; padding-right: 18px; }
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section > .yydj-command-field:last-child,
    .yydj-content > .yydj-dispatch-form > .yydj-detail-section > fieldset.yydj-command-field:last-child { padding-bottom: 18px; }
    .yydj-content > .yydj-dispatch-form > .yydj-command-actions { position: static; flex-direction: column-reverse; padding: 16px 18px; }
    .yydj-content > .yydj-dispatch-form > .yydj-command-actions .layui-btn { width: 100%; margin: 0; }
}
.yydj-proof-block { padding: 18px 20px 0; }
.yydj-proof-block h3 { margin: 0 0 12px; font-size: 14px; }
.yydj-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.yydj-proof-item { min-width: 0; overflow: hidden; border: 1px solid var(--yydj-line); border-radius: 6px; background: #f8fafc; color: var(--yydj-ink); }
.yydj-proof-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #edf2f7; }
.yydj-proof-item span { display: block; padding: 8px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.yydj-modal-form { max-height: min(78vh, 720px); padding: 24px; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.yydj-modal-title { margin-bottom: 20px; font-size: 18px; font-weight: 600; color: var(--yydj-ink); }
.yydj-modal-field { display: grid; gap: 8px; margin-bottom: 16px; color: var(--yydj-muted); font-size: 13px; }
.yydj-modal-field input, .yydj-modal-field select, .yydj-modal-field textarea { width: 100%; padding: 0 10px; border: 1px solid #dce5ef; border-radius: 6px; background: #fff; color: var(--yydj-ink); box-sizing: border-box; }
.yydj-modal-field input, .yydj-modal-field select { height: 38px; }
.yydj-modal-field textarea { min-height: 88px; padding-top: 8px; padding-bottom: 8px; resize: vertical; }
.yydj-permission-modal { overflow: hidden; }
.yydj-permission-editor { height: 100%; max-height: calc(min(82vh, 760px) - 48px); display: grid; grid-template-rows: auto auto minmax(180px, 1fr) auto auto; }
.yydj-permission-panel { min-height: 0; margin: 0 0 16px; padding: 14px; overflow-y: auto; border: 1px solid var(--yydj-line); border-radius: 8px; background: #f8fafc; }
.yydj-permission-panel legend { padding: 0 6px; color: var(--yydj-ink); font-weight: 600; }
.yydj-permission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.yydj-permission-item { min-width: 0; padding: 11px 12px; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; border: 1px solid #dce5ef; border-radius: 7px; background: #fff; cursor: pointer; }
.yydj-permission-item:has(input:checked) { border-color: var(--yydj-blue-deep); background: #f0f7ff; }
.yydj-permission-item input { margin-top: 3px; }
.yydj-permission-item strong, .yydj-permission-item small { display: block; overflow-wrap: anywhere; }
.yydj-permission-item strong { color: var(--yydj-ink); font-size: 13px; line-height: 1.45; }
.yydj-permission-item small { margin-top: 4px; color: var(--yydj-muted); font-size: 11px; line-height: 1.35; }
.yydj-permission-reason { margin-bottom: 12px; }
.yydj-permission-reason textarea { min-height: 64px; }
.yydj-permission-actions { display: flex; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--yydj-line); }
.yydj-table-wrap--menus { overflow: visible; }
@media (min-width: 761px) {
    .yydj-table-wrap--menus .yydj-table { min-width: 100%; }
}
.yydj-more-menu { position: relative; z-index: 40; display: inline-block; margin-left: 10px; }
.yydj-more-menu:hover, .yydj-more-menu:focus-within { z-index: 50; }
.yydj-more-menu__trigger { min-width: 56px; height: 30px; padding: 0 10px; border: 1px solid #d5e0eb; border-radius: 5px; background: #fff; color: #4b596b; cursor: pointer; }
.yydj-more-menu__trigger::after { content: "⌄"; margin-left: 5px; }
.yydj-more-menu__panel { position: absolute; top: calc(100% + 5px); right: 0; z-index: 41; min-width: 132px; min-height: 40px; padding: 6px; display: none; border: 1px solid #dce5ef; border-radius: 7px; background: #fff; box-shadow: 0 10px 28px rgba(31,42,55,.16); }
.yydj-more-menu__panel::before { content: ""; position: absolute; top: -6px; right: 0; left: 0; height: 6px; }
.yydj-more-menu:hover .yydj-more-menu__panel, .yydj-more-menu:focus-within .yydj-more-menu__panel { display: grid; }
.yydj-more-menu__panel a { padding: 8px 10px; border-radius: 5px; color: var(--yydj-ink); white-space: nowrap; }
.yydj-more-menu__panel a:hover, .yydj-more-menu__panel a:focus { background: #f0f7ff; color: var(--yydj-blue-deep); }
.yydj-more-menu__panel .yydj-more-menu__item { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: var(--yydj-ink); font: inherit; text-align: left; white-space: nowrap; cursor: pointer; }
.yydj-more-menu__panel .yydj-more-menu__item:hover, .yydj-more-menu__panel .yydj-more-menu__item:focus { background: #f0f7ff; color: var(--yydj-blue-deep); }
.yydj-more-menu__panel .yydj-more-menu__empty { padding: 8px 10px; color: #98a4b3; white-space: nowrap; }
.yydj-modal-container { padding: 16px; }
.yydj-dialog .yydj-modal-container { max-height: calc(84vh - 48px); overflow: auto; }
.yydj-modal-message { display: none; margin: 0 0 12px; padding: 8px 10px; border-radius: 6px; background: #fef2f2; color: #dc2626; font-size: 13px; line-height: 20px; }
.yydj-overlay { position: fixed; inset: 0; z-index: 900; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 12px; background: rgba(15, 23, 42, .5); overflow: auto; }
.yydj-dialog { width: min(920px, 94vw); max-height: 84vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 18px 50px rgba(15, 23, 42, .25); }
.yydj-dialog__header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e8edf3; background: #fff; }
.yydj-dialog__header strong { font-size: 15px; color: var(--yydj-ink); }
.yydj-dialog__close { padding: 0 4px; border: 0; background: transparent; color: #7a8798; font-size: 22px; line-height: 1; cursor: pointer; }
.yydj-dialog__close:hover, .yydj-dialog__close:focus { color: #dc2626; }
.yydj-toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 1200; max-width: 86vw; padding: 10px 18px; border-radius: 8px; background: #166534; color: #fff; font-size: 14px; line-height: 20px; box-shadow: 0 10px 26px rgba(15, 23, 42, .2); }
.yydj-toast--error { background: #b91c1c; }
.yydj-upload-preview { display: block; width: 96px; height: 64px; margin-top: 8px; border: 1px solid #e5e7eb; border-radius: 8px; object-fit: cover; background: #f8fafc; }
.yydj-upload-preview[hidden] { display: none; }
.yydj-image-uploader { width: 160px; }
.yydj-image-uploader--icon { width: 96px; }
.yydj-image-uploader-card { position: relative; display: block; width: 160px; height: 100px; padding: 0; overflow: hidden; border: 1px dashed #b9c9dc; border-radius: 8px; background: #f8fbff; color: #64748b; cursor: pointer; }
.yydj-image-uploader--icon .yydj-image-uploader-card { width: 96px; height: 76px; }
.yydj-image-uploader-card:hover, .yydj-image-uploader-card:focus-visible { border-color: var(--yydj-blue-deep); box-shadow: 0 0 0 3px rgba(64,158,255,.12); outline: none; }
.yydj-image-uploader-card:disabled { cursor: wait; opacity: .72; }
.yydj-image-uploader-preview { display: block; width: 100%; height: 100%; object-fit: cover; background: #f8fafc; }
.yydj-image-uploader--icon .yydj-image-uploader-preview { object-fit: contain; }
.yydj-image-uploader-preview[hidden] { display: none; }
.yydj-image-uploader-placeholder { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.yydj-image-uploader-placeholder b { font-size: 24px; font-weight: 400; line-height: 1; color: var(--yydj-blue-deep); }
.yydj-image-uploader-placeholder span { font-size: 12px; }
.yydj-image-uploader.is-empty .yydj-image-uploader-placeholder { display: flex; }
.yydj-image-uploader-action { position: absolute; right: 0; bottom: 0; left: 0; padding: 5px 8px; background: rgba(15,23,42,.68); color: #fff; font-size: 12px; text-align: center; }
.yydj-image-uploader.is-empty .yydj-image-uploader-action { display: none; }
.yydj-image-uploader.is-uploading .yydj-image-uploader-action { display: block; }
.yydj-image-uploader-error { min-height: 18px; margin: 4px 0 0; color: #dc2626; font-size: 12px; line-height: 18px; }

@media (max-width: 760px) {
    .yydj-login__shell { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
    .yydj-login__intro { padding-bottom: 0; }
    .yydj-login__intro h1 { font-size: 38px; }
    .yydj-sidebar { position: static; width: 100%; }
    .yydj-main { margin-left: 0; }
    .yydj-grid { grid-template-columns: 1fr; }
    .yydj-filter { align-items: stretch; flex-direction: column; }
    .yydj-filter label, .yydj-filter label:first-child { min-width: 0; width: 100%; }
    .yydj-detail-summary, .yydj-detail-grid { grid-template-columns: 1fr; }
    .yydj-detail-summary div { border-right: 0; border-bottom: 1px solid var(--yydj-line); }
    .yydj-detail-summary div:last-child { border-bottom: 0; }
    .yydj-detail-grid div.is-wide { grid-column: auto; }
    .yydj-timeline li { padding-left: 0; border-left: 0; }
    .yydj-timeline li::before { display: none; }
    .yydj-timeline time { position: static; display: block; margin-bottom: 5px; }
    .yydj-candidate { grid-template-columns: 24px 1fr; }
    .yydj-candidate__metrics { grid-column: 2; text-align: left; }
    .yydj-command-actions { align-items: flex-start; flex-direction: column; }
    .worker-region-picker { grid-template-columns: 1fr; }
    .worker-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .yydj-page-heading { align-items: stretch; flex-direction: column; gap: 14px; }
    .yydj-page-heading > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
    .yydj-page-heading .layui-btn { margin-left: 0; }
    .yydj-modal-form { max-height: 82vh; padding: 20px 18px; }
    .yydj-modal-form .layui-btn { min-height: 40px; }
    .yydj-permission-editor { max-height: calc(82vh - 40px); }
    .yydj-permission-grid { grid-template-columns: 1fr; }
    .yydj-table-wrap--menus { overflow-x: auto; }
    .yydj-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
