/*
 * Profilio Representatives Creator 2026
 * Presentation-only layer. Native fields remain the election data contract.
 */
.csp-sve-modal--profilio {
    --csp-sve-profile-violet: #6236d5;
    --csp-sve-profile-violet-700: #4d27b5;
    --csp-sve-profile-blue: #3974e8;
    --csp-sve-profile-mint: #28c7ba;
    --csp-sve-profile-ink: #20253b;
    --csp-sve-profile-muted: #747b8e;
    --csp-sve-profile-line: #e5e8f1;
    --csp-sve-profile-soft: #f7f8fc;
    padding: 24px;
    font-family: inherit;
}

.csp-sve-modal--profilio .csp-sve-backdrop {
    background:
        radial-gradient(circle at 22% 16%, rgba(98, 54, 213, .16), transparent 32%),
        radial-gradient(circle at 82% 80%, rgba(40, 199, 186, .12), transparent 30%),
        rgba(17, 22, 35, .7);
    backdrop-filter: blur(11px) saturate(112%);
}

.csp-sve-modal--profilio .csp-sve-dialog {
    position: relative;
    width: min(840px, 100%);
    max-height: min(920px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: #fbfcff;
    box-shadow: 0 34px 100px rgba(20, 25, 45, .32);
    color: var(--csp-sve-profile-ink);
    scrollbar-color: #c8cde0 transparent;
    scrollbar-width: thin;
}

.csp-sve-modal--profilio .csp-sve-dialog::-webkit-scrollbar { width: 8px; }
.csp-sve-modal--profilio .csp-sve-dialog::-webkit-scrollbar-track { background: transparent; }
.csp-sve-modal--profilio .csp-sve-dialog::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #c8cde0; background-clip: padding-box; }
.csp-sve-modal--profilio .csp-sve-dialog::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg, var(--csp-sve-profile-violet), var(--csp-sve-profile-blue) 55%, var(--csp-sve-profile-mint));
}

.csp-sve-modal--profilio .csp-sve-dialog-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 27px 30px 21px;
    border-bottom: 1px solid rgba(229, 232, 241, .85);
    background:
        radial-gradient(circle at 86% 6%, rgba(57, 116, 232, .08), transparent 32%),
        linear-gradient(135deg, #fff 0%, #f9faff 100%);
}

.csp-sve-brand { display: flex; align-items: flex-start; gap: 15px; min-width: 0; }
.csp-sve-brand-mark { display: grid; flex: 0 0 50px; place-items: center; width: 50px; height: 50px; overflow: hidden; border: 1px solid #e3e3f1; border-radius: 16px; background: #fff; box-shadow: 0 9px 22px rgba(56, 41, 128, .13); }
.csp-sve-brand-mark img { display: block; width: 42px; height: 42px; object-fit: contain; }
.csp-sve-brand-copy { min-width: 0; }
.csp-sve-brand-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 20px; }
.csp-sve-modal--profilio .csp-sve-kicker { color: var(--csp-sve-profile-violet-700); font-size: 10px; font-weight: 850; letter-spacing: .115em; line-height: 1.3; text-transform: uppercase; }
.csp-sve-kind-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 3px 8px; border: 1px solid #cbdcff; border-radius: 999px; background: #f0f5ff; color: #275bbf; font-size: 9px; font-weight: 850; letter-spacing: .055em; line-height: 1; text-transform: uppercase; }
.csp-sve-modal--profilio .csp-sve-dialog-header h2 { margin: 4px 0 3px; color: #20243a; font-size: clamp(23px, 3vw, 29px); font-weight: 780; letter-spacing: -.035em; line-height: 1.15; }
.csp-sve-modal--profilio .csp-sve-dialog-header p { max-width: 570px; margin: 0; color: var(--csp-sve-profile-muted); font-size: 12.5px; line-height: 1.55; }

.csp-sve-modal--profilio .csp-sve-icon-button {
    position: relative;
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid #e0e3ec;
    border-radius: 13px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 5px 14px rgba(31, 36, 58, .06);
    color: #666d7f;
    cursor: pointer;
}
.csp-sve-modal--profilio .csp-sve-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.csp-sve-modal--profilio .csp-sve-icon-button:hover,
.csp-sve-modal--profilio .csp-sve-icon-button:focus-visible { border-color: #c6b9f6; background: #f7f4ff; color: var(--csp-sve-profile-violet-700); outline: 3px solid rgba(98, 54, 213, .12); }

.csp-sve-modal--profilio .csp-sve-tabs {
    position: sticky;
    z-index: 20;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 0;
    padding: 12px 30px;
    border-bottom: 1px solid rgba(229, 232, 241, .85);
    background: rgba(251, 252, 255, .94);
    backdrop-filter: blur(12px);
}
.csp-sve-modal--profilio .csp-sve-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 9px 14px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: #747b8c; font-size: 13px; font-weight: 750; cursor: pointer; }
.csp-sve-modal--profilio .csp-sve-tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.csp-sve-modal--profilio .csp-sve-tab:hover { background: #f1f3f9; color: #3d4761; }
.csp-sve-modal--profilio .csp-sve-tab:focus-visible { outline: 3px solid rgba(98, 54, 213, .14); outline-offset: 1px; }
.csp-sve-modal--profilio .csp-sve-tab.is-active { border-color: #d9d6fa; background: linear-gradient(135deg, #f0edff, #eff8ff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); color: var(--csp-sve-profile-violet-700); }
.csp-sve-modal--profilio .csp-sve-tab.is-active svg { color: var(--csp-sve-profile-blue); }

.csp-sve-modal--profilio .csp-sve-panel { padding: 22px 30px 30px; }
#csp-sve-form { display: grid; gap: 16px; }
.csp-sve-form-section { position: relative; padding: 19px; border: 1px solid var(--csp-sve-profile-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(31, 36, 58, .035); }
.csp-sve-form-section::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 20px 0 0 20px; background: linear-gradient(180deg, rgba(98, 54, 213, .88), rgba(57, 116, 232, .76), rgba(40, 199, 186, .68)); opacity: .78; }
.csp-sve-section-heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }
.csp-sve-section-icon { display: grid; flex: 0 0 35px; place-items: center; width: 35px; height: 35px; border: 1px solid #dedcf8; border-radius: 11px; background: linear-gradient(145deg, #f2efff, #edf7ff); color: var(--csp-sve-profile-violet-700); }
.csp-sve-section-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.csp-sve-section-heading h3 { margin: 0 0 2px; color: #272c43; font-size: 14px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.csp-sve-section-heading p { margin: 0; color: #858b9c; font-size: 11.5px; line-height: 1.45; }

.csp-sve-modal--profilio .csp-sve-field { min-width: 0; margin: 0; }
.csp-sve-modal--profilio .csp-sve-field > label,
.csp-sve-modal--profilio .csp-sve-fieldset legend { display: block; margin: 0 0 8px; color: #3c4357; font-size: 12px; font-weight: 780; line-height: 1.3; }
.csp-sve-modal--profilio .csp-sve-fieldset legend span { color: #8b91a1; font-weight: 500; }
.csp-sve-title-field { position: relative; }
.csp-sve-modal--profilio .csp-sve-field input,
.csp-sve-modal--profilio .csp-sve-member-search > input { box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; border: 1px solid #dadee9; border-radius: 14px; background: #fff; box-shadow: inset 0 1px 2px rgba(26, 30, 48, .025); color: var(--csp-sve-profile-ink); font: inherit; font-size: 13px; line-height: 1.45; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.csp-sve-modal--profilio .csp-sve-field input { padding: 11px 55px 11px 14px; }
.csp-sve-modal--profilio .csp-sve-member-search > input { padding: 11px 14px 11px 43px; }
.csp-sve-modal--profilio .csp-sve-field input::placeholder,
.csp-sve-modal--profilio .csp-sve-member-search > input::placeholder { color: #afb4c1; }
.csp-sve-modal--profilio .csp-sve-field input:hover,
.csp-sve-modal--profilio .csp-sve-member-search > input:hover { border-color: #c9cddd; }
.csp-sve-modal--profilio .csp-sve-field input:focus,
.csp-sve-modal--profilio .csp-sve-member-search > input:focus { border-color: #7c67e4; box-shadow: 0 0 0 4px rgba(98, 54, 213, .1); outline: 0; }
.csp-sve-modal--profilio .csp-sve-counter { right: 11px; bottom: 9px; padding: 2px 5px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #969bac; font-size: 10px; font-variant-numeric: tabular-nums; }
.csp-sve-modal--profilio .csp-sve-fieldset { margin: 0; padding: 0; border: 0; }

.csp-sve-member-search { position: relative; }
.csp-sve-search-icon { position: absolute; z-index: 2; top: 50%; left: 14px; display: grid; place-items: center; width: 20px; height: 20px; color: #8e96a8; transform: translateY(-50%); pointer-events: none; }
.csp-sve-search-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.csp-sve-modal--profilio .csp-sve-member-results { top: calc(100% + 8px); max-height: 290px; padding: 8px; border: 1px solid #dde1ec; border-radius: 15px; box-shadow: 0 20px 48px rgba(26, 31, 52, .17); }
.csp-sve-modal--profilio .csp-sve-member-result { gap: 11px; min-height: 54px; padding: 8px 10px; border: 1px solid transparent; border-radius: 12px; color: #31384d; }
.csp-sve-modal--profilio .csp-sve-member-result:hover,
.csp-sve-modal--profilio .csp-sve-member-result:focus-visible { border-color: #dcd7fb; background: linear-gradient(135deg, #f6f3ff, #f2fbff); outline: 3px solid rgba(98, 54, 213, .08); }
.csp-sve-modal--profilio .csp-sve-member-result img,
.csp-sve-modal--profilio .csp-sve-selected-person img { border: 2px solid #fff; box-shadow: 0 0 0 1px #dfe3ed, 0 5px 12px rgba(35, 42, 64, .08); }
.csp-sve-modal--profilio .csp-sve-member-result span { color: #30374c; font-size: 12.5px; font-weight: 740; }
.csp-sve-modal--profilio .csp-sve-member-empty { color: var(--csp-sve-profile-muted); font-size: 12px; }

.csp-sve-modal--profilio .csp-sve-selected { grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.csp-sve-modal--profilio .csp-sve-selected-person { grid-template-columns: 40px minmax(0, 1fr) 34px; gap: 10px; min-width: 0; padding: 9px 9px 9px 10px; border: 1px solid #e0e3ed; border-radius: 14px; background: linear-gradient(135deg, #fbfbfe, #f6f9ff); }
.csp-sve-modal--profilio .csp-sve-selected-person strong { overflow: hidden; color: #343b50; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.csp-sve-modal--profilio .csp-sve-selected-person button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #9ca2b1; font-size: 18px; line-height: 1; }
.csp-sve-modal--profilio .csp-sve-selected-person button:hover,
.csp-sve-modal--profilio .csp-sve-selected-person button:focus-visible { border-color: #f1d2d7; background: #fff3f5; color: #bc4355; outline: 3px solid rgba(188, 67, 85, .1); }
.csp-sve-modal--profilio .csp-sve-description { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; color: var(--csp-sve-profile-muted); font-size: 11px; }
.csp-sve-count-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border: 1px solid #dad7f6; border-radius: 999px; background: #f5f3ff; color: var(--csp-sve-profile-violet-700); font-variant-numeric: tabular-nums; }

.csp-sve-modal--profilio .csp-sve-grid { gap: 0 13px; }
.csp-sve-date-shell { position: relative; }
.csp-sve-native-date { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 1px !important; padding: 0 !important; overflow: hidden; border: 0 !important; opacity: 0; pointer-events: none; }
.csp-sve-date-trigger { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 10px; width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid #dadee9; border-radius: 15px; background: #fff; color: var(--csp-sve-profile-ink); text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.csp-sve-date-trigger:hover { border-color: #c7c9e2; background: #fdfdff; }
.csp-sve-date-trigger:focus-visible,
.csp-sve-date-trigger[aria-expanded="true"] { border-color: #7c67e4; box-shadow: 0 0 0 4px rgba(98, 54, 213, .1); outline: 0; }
.csp-sve-control-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dddcf7; border-radius: 11px; background: linear-gradient(145deg, #f1efff, #edf8ff); color: var(--csp-sve-profile-violet-700); }
.csp-sve-control-icon svg,
.csp-sve-chevron { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.csp-sve-date-copy { display: block; min-width: 0; }
.csp-sve-date-copy small,
.csp-sve-date-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csp-sve-date-copy small { margin-bottom: 3px; color: #9298a8; font-size: 9.5px; font-weight: 650; letter-spacing: .02em; }
.csp-sve-date-copy strong { color: #353b51; font-size: 11.5px; font-weight: 780; }
.csp-sve-chevron { color: #9097a8; transition: transform .18s ease; }
.csp-sve-date-trigger[aria-expanded="true"] .csp-sve-chevron { transform: rotate(180deg); }

.csp-sve-modal--profilio .csp-sve-identity { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 12px; min-height: 72px; margin: 0 0 12px; padding: 13px 14px; border: 1px solid #dfe3ed; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.csp-sve-modal--profilio .csp-sve-identity:hover { border-color: #cac9e6; background: #fdfdff; }
.csp-sve-modal--profilio .csp-sve-identity:has(input:checked) { border-color: #c6baf5; background: linear-gradient(135deg, #f8f5ff, #f1fbff); box-shadow: 0 8px 22px rgba(69, 54, 145, .06); }
.csp-sve-modal--profilio .csp-sve-identity > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.csp-sve-modal--profilio .csp-sve-identity-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #deddf1; border-radius: 12px; background: #f3f4f8; color: #8b92a2; transition: .18s ease; }
.csp-sve-modal--profilio .csp-sve-identity-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.csp-sve-modal--profilio .csp-sve-identity input:checked + .csp-sve-identity-icon { border-color: #c9c0f4; background: linear-gradient(145deg, #ece8ff, #e8f8ff); color: var(--csp-sve-profile-violet-700); box-shadow: none; }
.csp-sve-modal--profilio .csp-sve-identity input:focus-visible + .csp-sve-identity-icon { outline: 3px solid rgba(98, 54, 213, .14); }
.csp-sve-identity-copy { min-width: 0; }
.csp-sve-modal--profilio .csp-sve-identity strong { color: #343a50; font-size: 12.5px; font-weight: 790; }
.csp-sve-modal--profilio .csp-sve-identity small { margin-top: 3px; color: var(--csp-sve-profile-muted); font-size: 10.5px; line-height: 1.45; }
.csp-sve-switch-track { position: relative; width: 40px; height: 24px; border: 1px solid #ced3de; border-radius: 999px; background: #e8ebf1; transition: .2s ease; }
.csp-sve-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(30, 37, 56, .2); transition: transform .2s ease; }
.csp-sve-identity input:checked ~ .csp-sve-switch-track { border-color: #6c54d6; background: linear-gradient(135deg, var(--csp-sve-profile-violet), var(--csp-sve-profile-blue)); }
.csp-sve-identity input:checked ~ .csp-sve-switch-track::after { transform: translateX(16px); }

.csp-sve-modal--profilio .csp-sve-context { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; margin: 0; padding: 12px 13px; border: 1px solid #cfe1f9; border-radius: 15px; background: linear-gradient(135deg, #f3f7ff, #f0fbfb); }
.csp-sve-context-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d6e0fb; border-radius: 11px; background: #fff; color: var(--csp-sve-profile-blue); }
.csp-sve-context-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.csp-sve-modal--profilio .csp-sve-context strong { color: #31394d; font-size: 11.5px; }
.csp-sve-modal--profilio .csp-sve-context small { color: #737b8e; font-size: 10.5px; }
.csp-sve-modal--profilio .csp-sve-context > .csp-sve-context-badge { display: inline-flex; align-items: center; width: auto; height: auto; min-height: 23px; padding: 4px 8px; border: 1px solid #bde8e2; border-radius: 999px; background: #edfffc; color: #087e75; font-size: 8.5px; font-weight: 820; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }

.csp-sve-modal--profilio .csp-sve-preview { margin: 0; padding: 18px; border: 1px solid #d9d6f5; border-radius: 18px; background: linear-gradient(135deg, #f8f6ff, #f4faff); }
.csp-sve-modal--profilio .csp-sve-preview h3 { margin: 7px 0 12px; color: #2d3349; font-size: 17px; }
.csp-sve-modal--profilio .csp-sve-preview ul { gap: 8px; margin-top: 0; }
.csp-sve-modal--profilio .csp-sve-preview li { border-color: #dfdff0; background: rgba(255, 255, 255, .9); color: #41485c; }
.csp-sve-modal--profilio .csp-sve-status { min-height: 0; margin: -5px 2px 0; font-size: 12px; }
.csp-sve-modal--profilio .csp-sve-status:empty { display: none; }
.csp-sve-modal--profilio .csp-sve-status.is-busy { color: var(--csp-sve-profile-violet-700); }

.csp-sve-modal--profilio .csp-sve-actions { position: sticky; z-index: 14; bottom: -30px; gap: 9px; margin: 0 -30px -30px; padding: 15px 30px 18px; border-top: 1px solid rgba(223, 226, 236, .9); background: rgba(251, 252, 255, .96); box-shadow: 0 -12px 28px rgba(30, 35, 54, .045); backdrop-filter: blur(13px); }
.csp-sve-modal--profilio .csp-sve-primary,
.csp-sve-modal--profilio .csp-sve-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px; border-radius: 13px; font-size: 12px; font-weight: 790; }
.csp-sve-modal--profilio .csp-sve-primary svg,
.csp-sve-modal--profilio .csp-sve-secondary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.csp-sve-modal--profilio .csp-sve-primary { border: 1px solid #4d27b5; background: linear-gradient(135deg, var(--csp-sve-profile-violet), var(--csp-sve-profile-blue)); box-shadow: 0 9px 20px rgba(76, 44, 180, .22); }
.csp-sve-modal--profilio .csp-sve-primary:hover,
.csp-sve-modal--profilio .csp-sve-primary:focus-visible { box-shadow: 0 12px 24px rgba(76, 44, 180, .28); outline: 3px solid rgba(98, 54, 213, .14); }
.csp-sve-modal--profilio .csp-sve-secondary { border: 1px solid #d8dce8; background: #fff; color: #3e465a; box-shadow: 0 4px 12px rgba(31, 36, 58, .035); }
.csp-sve-modal--profilio .csp-sve-secondary:hover,
.csp-sve-modal--profilio .csp-sve-secondary:focus-visible { border-color: #bdb2ef; background: #f8f6ff; color: var(--csp-sve-profile-violet-700); outline: 3px solid rgba(98, 54, 213, .1); }

.csp-sve-mine-intro { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding: 14px 15px; border: 1px solid #e0e3ee; border-radius: 16px; background: linear-gradient(135deg, #f7f5ff, #f1f9ff); }
.csp-sve-mine-intro > span { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border: 1px solid #dbd7f7; border-radius: 12px; background: #fff; color: var(--csp-sve-profile-violet-700); }
.csp-sve-mine-intro svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.csp-sve-mine-intro h3 { margin: 0 0 2px; color: #2f354a; font-size: 14px; }
.csp-sve-mine-intro p { margin: 0; color: var(--csp-sve-profile-muted); font-size: 11px; }
.csp-sve-modal--profilio .csp-sve-mine { gap: 10px; }
.csp-sve-modal--profilio .csp-sve-mine-item { padding: 15px 16px; border-color: #e0e3ed; border-radius: 15px; background: #fff; box-shadow: 0 6px 18px rgba(31, 36, 58, .035); }
.csp-sve-modal--profilio .csp-sve-mine-item h3 { color: #30364b; }
.csp-sve-modal--profilio .csp-sve-link { color: var(--csp-sve-profile-violet-700); }

[data-csp-sve-tooltip] { position: relative; }
[data-csp-sve-tooltip]::after { content: attr(data-csp-sve-tooltip); position: absolute; z-index: 1000020; right: 0; bottom: calc(100% + 9px); width: max-content; max-width: 220px; padding: 7px 9px; border-radius: 9px; background: #24283a; box-shadow: 0 8px 22px rgba(18, 22, 35, .2); color: #fff; font-size: 10px; font-weight: 650; line-height: 1.35; opacity: 0; pointer-events: none; transform: translateY(3px); transition: opacity .15s ease, transform .15s ease; }
[data-csp-sve-tooltip]:hover::after,
[data-csp-sve-tooltip]:focus-visible::after { opacity: 1; transform: translateY(0); }

.csp-sve-calendar-popover { position: fixed; z-index: 1000015; width: min(354px, calc(100vw - 24px)); padding: 14px; border: 1px solid #dddcef; border-radius: 19px; background: #fff; box-shadow: 0 26px 70px rgba(24, 27, 49, .25); color: var(--csp-sve-profile-ink); }
.csp-sve-calendar-popover[hidden] { display: none !important; }
.csp-sve-calendar-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 2px 11px; border-bottom: 1px solid #eceef4; }
.csp-sve-calendar-head small,
.csp-sve-calendar-head strong { display: block; }
.csp-sve-calendar-head small { margin-bottom: 2px; color: #8b91a2; font-size: 9.5px; font-weight: 700; text-transform: uppercase; }
.csp-sve-calendar-head strong { color: #31364a; font-size: 12px; }
.csp-sve-calendar-close { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #e1e4ec; border-radius: 10px; background: #fff; color: #737a8c; cursor: pointer; }
.csp-sve-calendar-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.csp-sve-calendar-nav { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; padding: 11px 0 8px; }
.csp-sve-calendar-nav button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #e1e4ed; border-radius: 10px; background: #fff; color: #555e72; cursor: pointer; }
.csp-sve-calendar-nav button:hover,
.csp-sve-calendar-nav button:focus-visible { border-color: #c7bdf3; background: #f6f3ff; color: var(--csp-sve-profile-violet-700); outline: 3px solid rgba(98, 54, 213, .09); }
.csp-sve-calendar-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.csp-sve-calendar-month { color: #343a50; font-size: 13px; text-align: center; text-transform: capitalize; }
.csp-sve-calendar-weekdays,
.csp-sve-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.csp-sve-calendar-weekdays { padding-bottom: 4px; }
.csp-sve-calendar-weekdays span { color: #9ba0af; font-size: 8.5px; font-weight: 750; text-align: center; }
.csp-sve-calendar-day { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #454c60; font-size: 11px; font-weight: 680; cursor: pointer; }
.csp-sve-calendar-day:hover,
.csp-sve-calendar-day:focus-visible { border-color: #d8d2f5; background: #f4f1ff; color: var(--csp-sve-profile-violet-700); outline: 0; }
.csp-sve-calendar-day.is-other { color: #c2c5cf; }
.csp-sve-calendar-day.is-today { border-color: #b8ddf5; color: #2864c8; }
.csp-sve-calendar-day.is-selected { border-color: #5630c2; background: linear-gradient(135deg, var(--csp-sve-profile-violet), var(--csp-sve-profile-blue)); box-shadow: 0 5px 12px rgba(81, 49, 186, .2); color: #fff; }
.csp-sve-calendar-time { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 11px 10px; border: 1px solid #e3e5ee; border-radius: 13px; background: #f8f9fc; }
.csp-sve-calendar-time-copy small,
.csp-sve-calendar-time-copy strong { display: block; }
.csp-sve-calendar-time-copy small { color: #969baa; font-size: 8.5px; text-transform: uppercase; }
.csp-sve-calendar-time-copy strong { margin-top: 2px; color: #41475b; font-size: 10.5px; }
.csp-sve-time-steppers { display: flex; align-items: center; gap: 5px; }
.csp-sve-time-stepper { display: grid; grid-template-columns: 25px 28px 25px; align-items: center; border: 1px solid #dfe2eb; border-radius: 10px; background: #fff; overflow: hidden; }
.csp-sve-time-stepper button { height: 29px; padding: 0; border: 0; background: transparent; color: var(--csp-sve-profile-violet-700); font-size: 14px; cursor: pointer; }
.csp-sve-time-stepper button:hover,
.csp-sve-time-stepper button:focus-visible { background: #f1efff; outline: 0; }
.csp-sve-time-stepper strong { color: #343a4f; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.csp-sve-time-colon { color: #6e7587; font-weight: 850; }
.csp-sve-calendar-actions { display: flex; justify-content: flex-end; gap: 7px; padding-top: 11px; }
.csp-sve-calendar-actions button { min-height: 34px; padding: 7px 11px; border-radius: 10px; font-size: 10.5px; font-weight: 760; cursor: pointer; }
.csp-sve-calendar-today { border: 1px solid #dfe2eb; background: #fff; color: #4d5568; }
.csp-sve-calendar-apply { border: 1px solid #4d27b5; background: linear-gradient(135deg, var(--csp-sve-profile-violet), var(--csp-sve-profile-blue)); color: #fff; }

@media (max-width: 720px) {
    .csp-sve-modal--profilio { align-items: end; padding: 0; }
    .csp-sve-modal--profilio .csp-sve-dialog { width: 100%; max-height: 94vh; border-radius: 24px 24px 0 0; }
    .csp-sve-modal--profilio .csp-sve-dialog::before { border-radius: 24px 24px 0 0; }
    .csp-sve-modal--profilio .csp-sve-dialog-header { padding: 22px 18px 17px; }
    .csp-sve-brand { gap: 11px; }
    .csp-sve-brand-mark { flex-basis: 44px; width: 44px; height: 44px; border-radius: 14px; }
    .csp-sve-brand-mark img { width: 37px; height: 37px; }
    .csp-sve-brand-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
    .csp-sve-modal--profilio .csp-sve-dialog-header p { display: none; }
    .csp-sve-modal--profilio .csp-sve-dialog-header h2 { margin-top: 3px; font-size: 22px; }
    .csp-sve-modal--profilio .csp-sve-tabs { padding: 10px 18px; }
    .csp-sve-modal--profilio .csp-sve-panel { padding: 17px 18px 24px; }
    #csp-sve-form { gap: 13px; }
    .csp-sve-form-section { padding: 16px; border-radius: 18px; }
    .csp-sve-modal--profilio .csp-sve-grid,
    .csp-sve-modal--profilio .csp-sve-selected,
    .csp-sve-modal--profilio .csp-sve-preview ul { grid-template-columns: 1fr; }
    .csp-sve-modal--profilio .csp-sve-grid { gap: 14px; }
    .csp-sve-modal--profilio .csp-sve-actions { bottom: -24px; margin: 0 -18px -24px; padding: 13px 18px max(16px, env(safe-area-inset-bottom)); }
    .csp-sve-calendar-popover { position: fixed; inset: auto 8px 8px !important; width: auto; max-height: min(620px, calc(100vh - 16px)); overflow: auto; border-radius: 20px; }
}

@media (max-width: 440px) {
    .csp-sve-modal--profilio .csp-sve-dialog-header { gap: 9px; padding-right: 14px; padding-left: 14px; }
    .csp-sve-modal--profilio .csp-sve-kicker { font-size: 8.5px; letter-spacing: .08em; }
    .csp-sve-kind-badge { font-size: 7.5px; }
    .csp-sve-modal--profilio .csp-sve-tabs { padding-right: 14px; padding-left: 14px; }
    .csp-sve-modal--profilio .csp-sve-tab { gap: 6px; padding: 8px; font-size: 11.5px; }
    .csp-sve-modal--profilio .csp-sve-panel { padding-right: 14px; padding-left: 14px; }
    .csp-sve-section-heading p { font-size: 10.5px; }
    .csp-sve-modal--profilio .csp-sve-context { grid-template-columns: 36px minmax(0, 1fr); }
    .csp-sve-context-badge { grid-column: 2; justify-self: start; }
    .csp-sve-modal--profilio .csp-sve-identity { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 9px; padding: 11px; }
    .csp-sve-modal--profilio .csp-sve-identity small { font-size: 9.5px; }
    .csp-sve-modal--profilio .csp-sve-actions { display: grid; grid-template-columns: 1fr 1fr; margin-right: -14px; margin-left: -14px; padding-right: 14px; padding-left: 14px; }
    .csp-sve-modal--profilio .csp-sve-action-spacer { display: none; }
    .csp-sve-modal--profilio .csp-sve-actions .csp-sve-primary { grid-column: 1 / -1; grid-row: 1; }
    .csp-sve-modal--profilio .csp-sve-actions button { width: 100%; min-width: 0; }
    .csp-sve-calendar-time { align-items: flex-start; flex-direction: column; }
    .csp-sve-time-steppers { width: 100%; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .csp-sve-modal--profilio *,
    .csp-sve-modal--profilio *::before,
    .csp-sve-modal--profilio *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
