.saved-list-editor-dialog {
    --ak-canvas: #fff;
    --ak-surface: #fff;
    --ak-surface-raised: #f5f5f5;
    --ak-border: #e0e0e0;
    --ak-border-strong: #bcbcbc;
    --ak-text: #222;
    --ak-muted: #666;
    --ak-brand: #3858c9;
    width: min(600px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100svh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: var(--ak-radius-sm);
    color: #222;
    background: #fff;
    color-scheme: light;
    box-shadow: 0 8px 32px rgb(0 0 0 / 25%);
    font-family: Inter, Arial, ui-sans-serif, system-ui, sans-serif;
}

.saved-list-editor-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.saved-list-editor-dialog [data-saved-list-editor-panel] { width: 100%; max-width: none; margin: 0; padding: 32px; border: 0; background: #fff; }
.saved-list-editor-dialog [data-saved-list-editor-panel] > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.saved-list-editor-dialog [data-saved-list-editor-title] { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: normal; }
.saved-list-editor-dialog label { display: grid; gap: 8px; color: #222; font-size: 14px; }
.saved-list-editor-dialog form { display: grid; gap: 8px; }
.saved-list-editor-dialog [data-saved-list-editor-panel] input:not([type="hidden"]) { width: 100%; height: 42px; min-height: 42px; padding: 10px 12px; border: 1px solid #bcbcbc; border-radius: var(--ak-radius-sm); background: #fff; color: #222; font: inherit; font-size: 16px; line-height: 20px; }
.saved-list-editor-dialog p { margin: 0; color: #666; font-size: 14px; line-height: 1.5; }
.saved-list-editor-dialog [data-saved-list-editor-actions] { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.saved-list-editor-dialog [data-saved-list-editor-actions] > a { display: flex; align-items: center; justify-content: center; flex: 0 1 auto; width: fit-content; min-width: 0; max-width: 100%; min-height: var(--ak-button-min-height); padding: var(--ak-button-padding); border: 1px solid #bcbcbc; border-radius: var(--ak-radius-sm); color: #3858c9; font-size: 14px; line-height: 1.5; text-decoration: none; }
.saved-list-editor-dialog [data-saved-list-editor-panel] [data-saved-list-editor-actions] > .button { width: fit-content; height: auto; min-height: var(--ak-button-min-height); padding: var(--ak-button-padding); justify-content: center; border-radius: var(--ak-radius-sm); font-size: 14px; box-shadow: none; }
.saved-list-editor-dialog .button--secondary { border-color: #bcbcbc; background: transparent; color: #3858c9; }
.saved-list-editor-dialog .button--primary { border-color: #3858c9; background: #3858c9; color: #fff; }
.saved-list-editor-dialog [data-saved-list-editor-panel] > header [data-saved-list-editor-close] { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0; border: 0; background: transparent; color: #666; font-size: 28px; cursor: pointer; }
.saved-list-editor-dialog :focus-visible { outline: 2px solid #3858c9; outline-offset: 3px; }
.saved-list-editor-dialog form[aria-busy="true"] { opacity: 0.65; }

@media (max-width: 767px) {
    .saved-list-editor-dialog [data-saved-list-editor-panel] { padding: 20px; }
}
