/* Library demos use the same color tokens as the rest of the template. */
.kc-swal.swal2-popup { width: min(460px,calc(100vw - 28px)); padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); font-family: inherit; }
.kc-swal .swal2-title { padding: 8px 0; font-size: 24px; letter-spacing: -.6px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.kc-swal .swal2-html-container { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.kc-swal .demo-form { text-align: left; }
.kc-swal .swal2-actions { justify-content: center; gap: 12px; margin-top: 24px; }
.kc-swal .swal2-validation-message { font-size: 11px; color: var(--danger); background: var(--soft); border-radius: 8px; }
.kc-swal .swal2-icon.swal2-success, .kc-swal .swal2-icon.swal2-info { color: var(--accent-deep); border-color: var(--accent-mid); }
.kc-swal .swal2-success-ring { border-color: var(--accent-soft)!important; }
.kc-swal .swal2-success-line-tip, .kc-swal .swal2-success-line-long { background-color: var(--accent-mid)!important; }
.kc-swal .swal2-icon.swal2-warning { color: var(--accent-deep); border-color: var(--accent-mid); }
.demo-record { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 13px; padding: 18px; background: var(--soft); }
.demo-record>div { flex: 1; min-width: 150px; }
.demo-record strong { font-size: 12px; }
.demo-record .muted { font-size: 10px; margin-top: 5px; }
.notyf { padding-bottom: 80px; z-index: 1200; }
.notyf__toast.kc-notification { max-width: min(360px,calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px #10251a22; color: var(--status-text); }
.notyf__toast--error.kc-notification { color: var(--danger-text); }
.notyf__toast.kc-notification-info { color: var(--ink); }
.notyf__toast.kc-notification-warning { color: var(--accent-text); }
.kc-notification .notyf__message { font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.kc-notification .notyf__dismiss-btn { color: inherit; opacity: .8; }
.kc-notification .notyf__dismiss-btn::before, .kc-notification .notyf__dismiss-btn::after { background: currentColor; }
.kanban-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; align-items: start; }
.kanban-column { border: 1px solid var(--line); background: var(--soft); border-radius: 15px; padding: 15px 11px 10px; min-width: 0; }
.kanban-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 5px 14px; }
.kanban-heading h3 { font-size: 12px; }
.kanban-list { display: grid; align-content: start; gap: 13px; min-height: 110px; list-style: none; padding: 0; margin: 0; }
.kanban-task { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 16px; min-width: 0; box-shadow: 0 2px 6px #10251a04; }
.task-top { justify-content: space-between; margin-bottom: 13px; }
.task-handle { display: grid; place-items: center; cursor: grab; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); touch-action: none; }
.task-handle:active { cursor: grabbing; }
.task-handle svg { width: 16px; height: 16px; }
.kanban-task h3 { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.kanban-task>p { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 8px 0 13px; }
.task-area { color: var(--accent-deep); font-size: 9px; }
.task-move-label { display: grid; gap: 7px; font-size: 9px; color: var(--muted); margin-top: 15px; }
.task-move-label .demo-input { font-size: 10px; padding: 8px; }
.task-order { gap: 8px; margin-top: 12px; }
.task-order .btn { font-size: 9px; min-height: 30px; padding: 6px 11px; }
.task-ghost { opacity: .4; background: var(--accent-soft); border: 1px dashed var(--accent-mid); }
.task-dragging { box-shadow: 0 12px 30px #10251a22; }
.choices { margin-bottom: 0; min-width: 0; font-size: 12px; }
.choices__inner { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; min-height: 44px; font-size: 12px; padding: 8px 11px; }
.choices.is-focused .choices__inner, .choices.is-open .choices__inner { border-color: var(--accent-mid); border-radius: 10px; }
.choices__input { background: transparent; color: var(--ink); font-size: 11px; min-width: 0; max-width: 100%; }
.choices__input::placeholder { color: var(--muted); }
.choices__list--dropdown, .choices__list[aria-expanded] { border-color: var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); z-index: 35; }
.choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item { font-size: 11px; padding: 12px; }
.choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted { background: var(--accent-soft); color: var(--accent-soft-text); }
.choices__list--multiple .choices__item { background: var(--accent); color: var(--accent-text); border: 0; border-radius: 9999px; font-size: 10px; padding: 6px 10px; overflow-wrap: anywhere; max-width: 100%; }
.choices[data-type*=select-one]::after { border-color: var(--muted) transparent transparent; }
.choices[data-type*=select-one].is-open::after { border-color: transparent transparent var(--muted); }
.choices .choices__button { background-image: none; border-color: currentColor; color: inherit; padding: 0; width: 17px; height: 17px; font-size: 0; opacity: .8; }
.choices .choices__button::after { content: '×'; font-size: 16px; display: grid; place-items: center; color: inherit; width: 17px; height: 17px; }
.choices__placeholder { opacity: 1; color: var(--muted); }
.choices__item--choice { overflow-wrap: anywhere; }
@media(max-width:1100px) { .kanban-board { grid-template-columns: minmax(0,1fr); } .kanban-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .kanban-list { grid-template-columns: minmax(0,1fr); } .kc-swal.swal2-popup { padding: 23px 18px; } .kc-swal .swal2-title { font-size: 22px; } .notyf { padding-right: 12px; padding-left: 12px; } .demo-record { gap: 12px; padding: 15px; } .demo-record .btn { width: 100%; } .choices__list--dropdown .choices__item--selectable { padding-right: 12px; } }
@media(prefers-reduced-motion:reduce) { .task-ghost, .task-dragging { transition: none; } }
.notyf__toast.kc-notification-error { color: var(--danger-text); }
@media(prefers-reduced-motion:reduce) { .notyf__toast, .notyf__message, .notyf__dismiss { animation-duration: 1ms!important; animation-delay: 0s!important; } }
