.dl-page {
    --dl-accent: var(--color-primary, #7161d7);
    --dl-line: var(--glass-border, #dfe3eb);
    --dl-surface: var(--bg-secondary, #fff);
    --dl-base: var(--bg-primary, #f5f6fa);
    --dl-text: var(--text-primary, #242638);
    --dl-muted: var(--text-tertiary, #858898);
    color: var(--dl-text); font-size: 13px; padding: 4px 0 24px;
}
.dl-page *, .dl-page *::before, .dl-page *::after { box-sizing: border-box; }
.dl-page button, .dl-page input, .dl-page select, .dl-page textarea { font: inherit; color: var(--dl-text); }
.dl-page button, .dl-page select, .dl-page input:not([type="checkbox"]), .dl-page textarea { border: 1px solid var(--dl-line); border-radius: 8px; background: var(--dl-surface); }
.dl-page button { min-height: 34px; padding: 7px 12px; cursor: pointer; transition: background .15s, border-color .15s; }
.dl-page button:hover:not(:disabled) { border-color: var(--dl-accent); background: color-mix(in srgb, var(--dl-accent) 7%, var(--dl-surface)); }
.dl-page button:disabled { opacity: .46; cursor: not-allowed; }
.dl-page button:focus-visible, .dl-page input:focus-visible, .dl-page select:focus-visible, .dl-page textarea:focus-visible, .dl-page summary:focus-visible { outline: 2px solid var(--dl-accent); outline-offset: 3px; }
.dl-page input:not([type="checkbox"]), .dl-page select { min-height: 36px; padding: 7px 10px; min-width: 0; }
.dl-page input[type="checkbox"] { accent-color: var(--dl-accent); }
.dl-page textarea { width: 100%; min-height: 85px; padding: 10px 12px; resize: vertical; line-height: 1.65; }
.dl-page input:disabled, .dl-page select:disabled, .dl-page textarea:disabled { opacity: .55; cursor: not-allowed; }
.dl-page .dl-primary { background: var(--dl-accent); color: #fff; border-color: transparent; }
.dl-page .dl-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--dl-accent) 85%, #000); color: #fff; }
.dl-page .dl-text { border-color: transparent; background: transparent; color: var(--dl-accent); }
.dl-page .dl-danger { color: #d15264; }
.dl-heading, .dl-heading-actions, .dl-toolbar, .dl-tools, .dl-pagination, .dl-pagination > div, .dl-section-heading, .dl-drawer-header, .dl-form-footer, .dl-progress-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-heading { margin: 4px 0 23px; }
.dl-heading h2 { font-size: 25px; line-height: 1.35; letter-spacing: -.6px; margin: 5px 0 8px; }
.dl-heading-compact { margin: 0 0 10px; min-height: 38px; }
.dl-heading-compact h2 { font-size: 18px; margin: 0; letter-spacing: -.2px; }
.dl-heading p, .dl-drawer-header p { margin: 0; color: var(--dl-muted); line-height: 1.6; }
.dl-eyebrow { color: var(--dl-accent); font-size: 11px; font-weight: 650; letter-spacing: 2px; }
.dl-heading-actions { flex-wrap: wrap; justify-content: flex-end; }
.dl-views { display: flex; gap: 6px; border-bottom: 1px solid var(--dl-line); padding-bottom: 12px; overflow-x: auto; margin-bottom: 18px; }
.dl-page .dl-view { display: flex; align-items: center; white-space: nowrap; gap: 12px; padding: 10px 16px; border-color: transparent; background: transparent; color: var(--text-secondary, #727789); }
.dl-page .dl-view span { font-size: 11px; border-radius: 5px; padding: 2px 6px; background: color-mix(in srgb, var(--dl-muted) 11%, transparent); }
.dl-page .dl-view.is-active { color: var(--dl-accent); background: color-mix(in srgb, var(--dl-accent) 10%, var(--dl-surface)); font-weight: 650; }
.dl-filter-panel { border: 1px solid var(--dl-line); border-radius: 12px; background: var(--dl-surface); padding: 15px 16px; }
.dl-main-filters { display: flex; gap: 9px; flex-wrap: wrap; }
.dl-search { flex: 1 1 260px; }
.dl-search input { width: 100%; }
.dl-main-filters select { max-width: 220px; flex: 0 1 170px; }
.dl-more-filters { margin-top: 11px; }
.dl-more-filters summary, .dl-system-info summary, .dl-technical-collapse summary { cursor: pointer; color: var(--text-secondary, #727789); padding: 4px 0; user-select: none; }
.dl-extra-filters { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 12px; padding-top: 13px; }
.dl-toolbar { margin: 18px 0 11px; font-size: 12px; color: var(--dl-muted); flex-wrap: wrap; }
.dl-tools { gap: 9px; flex-wrap: wrap; }
.dl-inline { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.dl-columns { position: relative; }
.dl-columns summary { padding: 8px 10px; border: 1px solid var(--dl-line); border-radius: 8px; background: var(--dl-surface); color: var(--dl-text); cursor: pointer; }
.dl-column-menu { position: absolute; top: 41px; right: 0; background: var(--dl-surface); color: var(--dl-text); border: 1px solid var(--dl-line); border-radius: 10px; padding: 13px; width: 310px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; box-shadow: 0 12px 36px #0002; z-index: 15; max-height: 400px; overflow: auto; }
.dl-column-menu label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.dl-column-menu button { grid-column: 1 / -1; }
.dl-table-wrap { border: 1px solid var(--dl-line); border-radius: 12px; overflow-x: auto; background: var(--dl-surface); }
.dl-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.dl-table th { padding: 13px 14px; background: color-mix(in srgb, var(--dl-muted) 5%, var(--dl-surface)); font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--text-secondary, #727789); }
.dl-table td { padding: 15px 14px; border-top: 1px solid var(--dl-line); vertical-align: middle; min-width: 90px; }
.dl-table tbody tr:hover { background: color-mix(in srgb, var(--dl-accent) 3%, var(--dl-surface)); }
.dl-table td small { display: block; margin-top: 5px; color: var(--dl-muted); font-size: 11px; line-height: 1.45; }
.dl-cell-store { min-width: 235px !important; max-width: 300px; }
.dl-page .dl-store-link { text-align: left; line-height: 1.6; font-size: 13px; font-weight: 600; border: 0; padding: 0; background: transparent; min-height: 0; }
.dl-page .dl-store-link:hover { color: var(--dl-accent); background: transparent !important; }
.dl-cell-expected_at, .dl-cell-submitted_at, .dl-cell-created_at, .dl-cell-completed_at, .dl-cell-updated_at { min-width: 140px !important; }
.dl-cell-latest_note, .dl-cell-solution, .dl-cell-request_note { min-width: 180px !important; max-width: 260px; }
.dl-cell-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.65; }
.dl-cell-operation { white-space: nowrap; }
.dl-badge { display: inline-flex; white-space: nowrap; align-items: center; border-radius: 5px; padding: 4px 8px; font-size: 11px; line-height: 1.3; font-weight: 600; }
.dl-status-queued { color: #b86892; background: color-mix(in srgb, #e8a5cc 18%, var(--dl-surface)); }
.dl-status-in_progress { color: #677bca; background: color-mix(in srgb, #94a1f0 18%, var(--dl-surface)); }
.dl-status-fault { color: #b18530; background: color-mix(in srgb, #edc976 21%, var(--dl-surface)); }
.dl-status-completed { color: #408974; background: color-mix(in srgb, #8bc8b6 20%, var(--dl-surface)); }
.dl-status-cancelled { color: var(--dl-muted); background: color-mix(in srgb, var(--dl-muted) 13%, var(--dl-surface)); }
.dl-page .dl-overdue { color: #cc6e62; font-size: 11px; }
.dl-group-row td { padding: 11px 14px; background: color-mix(in srgb, var(--dl-muted) 5%, var(--dl-surface)); }
.dl-group-row td > span:last-child { margin-left: 12px; color: var(--dl-muted); font-size: 11px; }
.dl-pagination { margin-top: 17px; color: var(--dl-muted); font-size: 12px; }
.dl-empty { padding: 70px 20px; border: 1px dashed var(--dl-line); border-radius: 12px; text-align: center; color: var(--dl-muted); background: var(--dl-surface); }
.dl-empty strong { display: block; font-size: 16px; color: var(--dl-text); font-weight: 550; }
.dl-empty p { line-height: 1.75; margin: 10px 0 20px; }
.dl-empty-icon { font-size: 37px; color: var(--dl-accent); margin-bottom: 13px; }
.dl-muted, .dl-help { color: var(--dl-muted); }
.dl-help { font-size: 11px; line-height: 1.7; }
.dl-spinner { display: inline-block; border: 2px solid var(--dl-line); border-top-color: var(--dl-accent); width: 24px; height: 24px; border-radius: 50%; animation: dl-spin .8s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
body.dl-drawer-open { overflow: hidden; }
.dl-overlay { position: fixed; inset: 0; z-index: 1600; display: flex; justify-content: flex-end; }
.dl-backdrop { position: absolute; inset: 0; background: #12142366; backdrop-filter: blur(2px); cursor: pointer; }
.dl-drawer { position: relative; width: min(630px, 100vw); height: 100%; background: var(--dl-surface); box-shadow: -12px 0 60px #0002; display: flex; flex-direction: column; outline: 0; }
.dl-drawer-wide { width: min(760px, 100vw); }
.dl-drawer-header { align-items: flex-start; flex-shrink: 0; padding: 25px 26px 20px; border-bottom: 1px solid var(--dl-line); }
.dl-drawer-header h3 { margin: 0 0 7px; font-size: 21px; line-height: 1.4; overflow-wrap: anywhere; }
.dl-drawer-header p { font-size: 12px; }
.dl-page .dl-close { border: 0; background: transparent; font-size: 25px; color: var(--dl-muted); padding: 0 8px; cursor: pointer; line-height: 1; }
.dl-page .dl-close:hover { color: var(--dl-text); }
.dl-drawer-body { padding: 22px 26px 40px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.dl-drawer h4 { font-size: 14px; margin: 0 0 16px; }
.dl-section-heading { margin-bottom: 14px; }
.dl-section-heading h4 { margin: 0; }
.dl-section-heading > span { font-size: 11px; color: var(--dl-muted); }
.dl-form-grid, .dl-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 18px; }
.dl-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dl-field > span { font-size: 12px; color: var(--text-secondary, #727789); }
.dl-field em { font-style: normal; color: #c16576; margin-left: 3px; }
.dl-field input, .dl-field select { width: 100%; }
.dl-wide { grid-column: 1 / -1; }
.dl-form-footer { border-top: 1px solid var(--dl-line); padding-top: 18px; margin-top: 20px; font-size: 11px; }
.dl-form-footer button { flex-shrink: 0; }
.dl-technical-collapse { border-top: 1px solid var(--dl-line); margin-top: 22px; padding-top: 16px; }
.dl-technical-collapse summary { font-size: 13px; }
.dl-technical-collapse summary span { font-size: 11px; color: var(--dl-muted); margin-left: 8px; }
.dl-technical-collapse .dl-form-grid { margin-top: 17px; }
.dl-selected-store { border: 1px solid color-mix(in srgb, var(--dl-accent) 40%, var(--dl-line)); background: color-mix(in srgb, var(--dl-accent) 5%, var(--dl-surface)); border-radius: 8px; padding: 14px; margin-bottom: 18px; }
.dl-selected-store strong { font-size: 14px; line-height: 1.6; }
.dl-selected-store p { margin: 4px 0; color: var(--dl-muted); font-size: 12px; }
.dl-selected-store button { margin-left: -12px; margin-bottom: -8px; }
.dl-store-results { border: 1px solid var(--dl-line); border-radius: 8px; max-height: 230px; overflow-y: auto; margin-top: 9px; }
.dl-page .dl-store-results button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--dl-line); border-radius: 0; padding: 12px; }
.dl-store-results strong, .dl-store-results small { display: block; line-height: 1.5; }
.dl-store-results strong { font-size: 12px; font-weight: 550; }
.dl-store-results small { font-size: 11px; margin-top: 4px; color: var(--dl-muted); }
.dl-store-pager { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 8px 0 18px; font-size: 11px; color: var(--dl-muted); }
.dl-store-pager span { margin-right: auto; }
.dl-choice-field { margin: 0; padding: 0; border: 0; }
.dl-choice-field legend { padding: 0; font-size: 12px; color: var(--text-secondary, #727789); }
.dl-radio-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dl-radio-option { position: relative; min-width: 0; cursor: pointer; }
.dl-page .dl-radio-option input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.dl-radio-option span {
    display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 10px;
    border: 1px solid var(--dl-line); border-radius: 9px; background: var(--bg-primary, #fff);
    color: var(--text-secondary, #727789); font-size: 13px; font-weight: 600; transition: .16s ease;
}
.dl-radio-option:hover span { border-color: var(--color-primary, #6d4aff); color: var(--text-primary, #222); }
.dl-radio-option input:checked + span { border-color: var(--color-primary, #6d4aff); background: rgba(109, 74, 255, .1); color: var(--color-primary, #6d4aff); box-shadow: inset 0 0 0 1px var(--color-primary, #6d4aff); }
.dl-radio-option input:focus-visible + span { outline: 2px solid var(--color-primary, #6d4aff); outline-offset: 2px; }
.dl-page .dl-store-pager button { font-size: 11px; padding: 4px 8px; min-height: 29px; }
.dl-store-hint { padding: 18px 10px; color: var(--dl-muted); font-size: 12px; line-height: 1.75; }
.dl-alert { border: 1px solid color-mix(in srgb, #bca466 35%, var(--dl-line)); border-radius: 8px; background: color-mix(in srgb, #e8c776 8%, var(--dl-surface)); padding: 13px 14px; margin: 15px 0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.dl-alert p { margin: 7px 0; }
.dl-alert.dl-error { border-color: color-mix(in srgb, #bc6c77 35%, var(--dl-line)); color: #c46b78; background: color-mix(in srgb, #cf7a86 7%, var(--dl-surface)); }
.dl-duplicate > button { display: block; width: 100%; margin: 8px 0; text-align: left; }
.dl-duplicate .dl-field { margin-top: 15px; }
.dl-detail-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; color: var(--text-secondary, #727789); font-size: 12px; }
.dl-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 17px 0 0; }
.dl-detail-section { padding: 24px 0; border-bottom: 1px solid var(--dl-line); }
.dl-info-grid { margin: 0; }
.dl-info dt { color: var(--dl-muted); font-size: 11px; margin-bottom: 7px; }
.dl-info dd { margin: 0; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-edit-panel, .dl-action-panel { border: 1px solid color-mix(in srgb, var(--dl-accent) 25%, var(--dl-line)); border-radius: 9px; margin-top: 20px; padding: 17px; background: color-mix(in srgb, var(--dl-accent) 3%, var(--dl-surface)); }
.dl-action-panel .dl-field + .dl-field { margin-top: 14px; }
.dl-progress-footer { justify-content: flex-end; margin-top: 10px; margin-bottom: 7px; }
.dl-progress-footer .dl-help { margin-right: auto; }
.dl-timeline { list-style: none; margin: 22px 0 0; padding: 0 0 0 13px; }
.dl-timeline li { position: relative; padding: 0 0 24px 18px; border-left: 1px solid var(--dl-line); }
.dl-timeline li:last-child { padding-bottom: 3px; }
.dl-timeline li::before { content: ''; position: absolute; top: 4px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-accent); }
.dl-log-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 11px; }
.dl-log-head strong { font-size: 12px; font-weight: 550; }
.dl-log-head > span, .dl-log-head time { color: var(--dl-muted); }
.dl-log-head time { margin-left: auto; }
.dl-timeline p { margin: 8px 0 0; font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-timeline small { display: block; margin-top: 7px; color: var(--dl-muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.dl-system-info { padding: 20px 0 0; }
.dl-system-info .dl-info-grid { margin-top: 17px; }
.dl-dict-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.dl-dictionary-list { list-style: none; padding: 0; margin: 25px 0; }
.dl-dictionary-list li { border-top: 1px solid var(--dl-line); padding: 14px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.dl-dictionary-list p { white-space: pre-wrap; font-size: 12px; line-height: 1.65; color: var(--dl-muted); margin-bottom: 0; overflow-wrap: anywhere; }
.dl-dictionary-list button { flex-shrink: 0; }
.dl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
    .dl-heading { align-items: flex-start; }
    .dl-heading h2 { font-size: 22px; }
    .dl-extra-filters { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
}
@media (max-width: 700px) {
    .dl-heading { flex-direction: column; gap: 15px; }
    .dl-heading h2 { font-size: 21px; }
    .dl-heading-actions { justify-content: flex-start; width: 100%; gap: 7px; }
    .dl-heading-actions > .dl-primary { margin-left: auto; }
    .dl-heading p { font-size: 12px; }
    .dl-page .dl-view { padding: 9px 10px; gap: 8px; }
    .dl-views { gap: 1px; margin-bottom: 13px; }
    .dl-filter-panel { padding: 12px; }
    .dl-main-filters select { flex: 1 1 120px; max-width: none; }
    .dl-extra-filters { grid-template-columns: 1fr 1fr; }
    .dl-tools { gap: 6px; }
    .dl-tools > select { max-width: 165px; }
    .dl-column-menu { right: -50px; width: 285px; }
    .dl-table-wrap { border: 0; background: transparent; overflow: visible; }
    .dl-table, .dl-table tbody { display: block; }
    .dl-table thead { display: none; }
    .dl-table tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--dl-line); border-radius: 11px; background: var(--dl-surface); padding: 14px; margin-bottom: 11px; gap: 13px; }
    .dl-table td { display: block; border: 0; padding: 0; min-width: 0 !important; max-width: none; font-size: 12px; }
    .dl-table td:not(.dl-cell-store):not(.dl-cell-operation)::before { content: attr(data-label); display: block; font-size: 10px; color: var(--dl-muted); margin-bottom: 5px; }
    .dl-table td.dl-cell-store, .dl-table td.dl-cell-latest_note, .dl-table td.dl-cell-request_note, .dl-table td.dl-cell-solution { grid-column: 1 / -1; }
    .dl-cell-operation { grid-column: 1 / -1; text-align: right; border-top: 1px solid var(--dl-line) !important; padding-top: 6px !important; }
    .dl-page .dl-store-link { font-size: 14px; }
    .dl-table .dl-group-row { display: block; border: 0; padding: 5px 0; background: transparent; }
    .dl-group-row td { background: transparent; }
    .dl-pagination { flex-wrap: wrap; justify-content: center; }
    .dl-drawer, .dl-drawer-wide { width: 100%; }
    .dl-drawer-header { padding: 20px 18px 16px; }
    .dl-drawer-header h3 { font-size: 19px; }
    .dl-drawer-body { padding: 20px 18px 30px; }
    .dl-form-grid { grid-template-columns: 1fr; }
    .dl-form-footer { align-items: flex-start; }
    .dl-detail-summary { gap: 10px; }
    .dl-detail-summary > span:not(.dl-badge):not(.dl-overdue) { flex-basis: 100%; }
    .dl-actions button { flex: 1 1 100px; }
    .dl-log-head time { width: 100%; margin-left: 0; }
    .dl-progress-footer { flex-wrap: wrap; }
    .dl-progress-footer .dl-help { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dl-page *, .dl-page *::before, .dl-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
