/* .caaco import — XP-style choice dialog */
.caaco-import-dlg {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.45);
    font-family: Tahoma, "Microsoft JhengHei", sans-serif;
}

.caaco-import-dlg[hidden] {
    display: none !important;
}

.caaco-import-dlg__panel {
    width: min(420px, 100%);
    background: linear-gradient(180deg, #f6f4ec 0%, #ece9d8 100%);
    border: 1px solid #0054e3;
    box-shadow:
        inset 1px 1px 0 #fff,
        inset -1px -1px 0 #848484,
        4px 6px 16px rgba(0, 0, 0, 0.45);
}

.caaco-import-dlg__titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 6px 10px;
    background: linear-gradient(180deg, #0a6cd6 0%, #0a52b8 50%, #084aa8 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.caaco-import-dlg__close {
    width: 22px;
    height: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(180deg, #e8a090 0%, #c85040 100%);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.caaco-import-dlg__body {
    padding: 14px 16px 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #000;
}

.caaco-import-dlg__meta {
    margin: 0 0 10px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #aca899;
    font-size: 12px;
}

.caaco-import-dlg__choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
}

.caaco-import-dlg__choice {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #aca899;
    background: linear-gradient(180deg, #fff 0%, #f0eee6 100%);
    text-align: left;
    font: inherit;
    font-size: 13px;
    color: #000;
    cursor: pointer;
    box-shadow: inset 0 1px 0 #fff;
}

.caaco-import-dlg__choice:hover {
    border-color: #316ac5;
    background: linear-gradient(180deg, #eef5fc 0%, #d8e8f8 100%);
}

.caaco-import-dlg__choice strong {
    display: block;
    margin-bottom: 2px;
}

.caaco-import-dlg__choice span {
    font-size: 12px;
    color: #444;
}

.caaco-import-dlg__foot {
    padding: 8px 16px 14px;
    text-align: right;
}

.caaco-import-dlg__cancel {
    padding: 5px 18px;
    border: 1px solid #aca899;
    background: linear-gradient(180deg, #f8f6f0 0%, #e4e0d4 100%);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 #fff;
}

.caaco-import-dlg__cancel:hover {
    background: linear-gradient(180deg, #fff 0%, #ece9d8 100%);
}
