.account-card-tabs {
    display: flex;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 4px 0 20px;
    padding: 5px;
    border: 1px solid #dfe5f0;
    border-radius: 13px;
    background: #edf1f8;
    scroll-margin-top: 100px;
}
.account-card-tabs[hidden], .account-card-panel[hidden], .account-card-panel [hidden], [data-account-settings-panel][hidden] { display: none !important; }
.account-card-tabs button {
    min-height: 43px;
    padding: 10px 24px;
    border: 0;
    border-radius: 9px;
    color: #64728c;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}
.account-card-tabs button[aria-selected="true"] { color: #23426f; background: #fff; box-shadow: 0 3px 12px #17315c13; }
.account-card-tabs button:focus-visible, .account-card-panel :focus-visible { outline: 3px solid #96aaff; outline-offset: 3px; }
.account-card-panel { padding: 30px; border: 1px solid #e3e8f0; border-radius: 20px; background: #fff; box-shadow: 0 16px 45px #0e224e0f; }
.account-card-panel .settings-card-head { margin-bottom: 24px; }
.account-card-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: 28px; }
.account-card-preview {
    display: grid;
    place-items: center;
    min-height: 230px;
    padding: 16px;
    border: 1px solid #e0e6f1;
    border-radius: 14px;
    background: #f5f7fb;
    overflow: hidden;
}
.account-card-preview a { display: block; max-width: 100%; color: #365adb; }
.account-card-preview img { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; margin: auto; border-radius: 7px; object-fit: contain; }
.account-card-empty { margin: 0; color: #6c7b94; font-size: 14px; line-height: 1.8; text-align: center; word-break: keep-all; }
.account-card-pdf { display: grid; justify-items: center; gap: 13px; text-align: center; }
.account-card-pdf > span { padding: 7px 10px; border-radius: 8px; background: #e8edfc; color: #4562ab; font-size: 12px; font-weight: 800; }
.account-card-pdf p { margin: 0; color: #64728c; font-size: 13px; }
.account-card-meta { margin: 12px 0 0; color: #6c7b94; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.account-card-form { display: grid; gap: 15px; }
.account-card-form > p { margin: 0; color: #62718a; font-size: 13px; line-height: 1.8; word-break: keep-all; }
.account-card-upload { display: grid; gap: 9px; padding: 17px; border: 1px dashed #b5c5ed; border-radius: 12px; color: #344966; background: #f7f9ff; font-size: 13px; font-weight: 750; }
.account-card-upload input { display: block; width: 100%; max-width: 100%; color: #63718b; font: inherit; font-size: 12px; }
.account-card-upload input::file-selector-button { margin-right: 10px; padding: 8px 11px; border: 1px solid #d3ddf1; border-radius: 7px; color: #3656b0; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.account-card-upload small { color: #76849e; font-size: 12px; font-weight: 500; }
.account-card-selected { margin: 0; color: #3656b0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.account-card-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.account-card-actions .button { min-height: 43px; padding: 10px 18px; font-size: 13px; }
.account-card-actions .button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.account-card-actions .account-card-delete { color: #b2474c; background: #fff; border-color: #ebd8da; }
.account-card-help { padding: 13px 15px; border: 1px solid #e4eaf4; border-radius: 10px; background: #f8faff; }
.account-card-error { color: #b43c45 !important; }
@media (max-width: 700px) {
    .account-card-panel { padding: 22px 18px; }
    .account-card-layout { grid-template-columns: 1fr; gap: 20px; }
    .account-card-preview { min-height: 180px; }
    .account-card-tabs { width: 100%; }
    .account-card-tabs button { flex: 1; padding: 10px 16px; }
    .account-card-actions .button { flex: 1; }
}
