:root {
    
    --primary-purple: #b444eb; 
    --secondary-purple: #8b5cf6;
    --main-gradient: linear-gradient(135deg, #c026d3, #8b5cf6);
    --shadow-purple: rgba(139, 92, 246, 0.25);

    --bg-light: #f5f5f5;
    --bg-white-trans: rgba(255, 255, 255, 0.95);
    --text-dark: #333333;
    --text-muted: #888888;
    --border-light: rgba(255, 255, 255, 0.2);

    --border-radius: 24px; 
    --btn-radius: 30px;

        --title-tag-number-bg: #8c42f0;
        --title-tag-text-bg: #d7bdf9;
        --title-tag-text-color: #523895;

        /* --- Design-system component tokens (ADR-0014) --- */
        --ds-field-bg: #f4f2f9;
        --ds-field-border: #e2ddf0;
        --ds-label-color: #4a4357;
        --ds-label-weight: 600;
        --ds-text: #241b39;
        --ds-muted: #8a83a0;
        --ds-radius: 14px;
        --ds-input-radius: 12px;
        --ds-focus-ring: rgba(139, 92, 246, 0.18);
}

body.login-body {
    background: #f0f0f4; 
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.container {
    padding: 0 20px;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
}

.logo-area {
    margin-top: 50px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-float {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 25px;
    position: relative;
    top: 35px;
    z-index: 2;
    animation: logoFloat 3s ease-in-out infinite;
}

.logotext-img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login-form {
    width: 100%;
    background: var(--bg-white-trans);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.login-form h1 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-dark);
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.input-group { margin-bottom: 16px; position: relative; width: 100%; }

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    height: 56px;
    padding: 18px 20px;
    border: 2px solid transparent;
    background: var(--bg-light);
    border-radius: 14px;
    font-size: 15px;
    color: #333;
    display: block;
    transition: all 0.3s;
    outline: none;
    box-sizing: border-box;
}

input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192, 38, 211, 0.1);
}

.password-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

input[type="password"] {
    padding-right: 50px; 
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    color: #888;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-toggle .eye-show,
.password-toggle .eye-hide {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    line-height: 0;
}
.password-toggle .eye-show { display: inline-flex; }
.password-toggle.password-visible .eye-show { display: none; }
.password-toggle.password-visible .eye-hide { display: inline-flex; }

.login-btn {
    width: 100%;
    padding: 16px;
    background: var(--main-gradient);
    border: none;
    border-radius: var(--btn-radius);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 25px var(--shadow-purple);
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--shadow-purple);
}

.login-btn:active {
    transform: scale(0.98);
}

.forgot-password {
    text-align: right;
    margin: 5px 0 25px;
}

.forgot-password a {
    color: #c026d3; 
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

.signup-link a {
    color: #c026d3;
    font-weight: 600;
    text-decoration: none;
}

.social-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.social-link {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 40px;
    border-radius: 20px; font-size: 16px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
}

#googleSignInBtnContainer {
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease;
    cursor: pointer;
}
#googleSignInBtnContainer:hover {
    transform: translateY(-2px);
}

.rights-footer {
    text-align: center;
    width: 100%;
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px 0;
}

.settings-logout-wrapper {
    text-align: center;
    margin: 40px 0;
    padding-bottom: 40px;
}
@media (max-width: 768px) {
    
    .app-settings-body .settings-logout-wrapper { margin-bottom: 0; padding-bottom: 60px; }
}

.login-btn.loading {
    color: transparent;
    position: relative;
    pointer-events: none;
}
.login-btn-spinner {
    width: 36px;
    height: 36px;
    position: absolute;
    top: calc(50% - 18px);
    left: calc(50% - 18px);
}
.login-btn-spinner .login-spinner-dot {
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    animation: login-pulse 1.2s ease-in-out infinite;
}
@keyframes login-pulse {
    0%, 100% { transform: scale(0.6); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 1; }
}

.btn-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    position: relative;
    vertical-align: middle;
}
.btn-spinner .btn-spinner-dot {
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    animation: btn-pulse 1.2s ease-in-out infinite;
}
@keyframes btn-pulse {
    0%, 100% { transform: scale(0.6); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 1; }
}

.login-form .code-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin-bottom: 25px !important;
}

.login-form .code-input {
    flex: 0 0 50px !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;

    text-align: center !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
    box-sizing: border-box !important;
    transition: all 0.3s;
}

.login-form .code-input:focus {
    border-color: #b444eb !important;
    box-shadow: 0 0 0 4px rgba(192, 38, 211, 0.1) !important;
    outline: none !important;
}

#step2 {
    display: none;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-shake {
    animation: shake 0.4s;
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.dashboard-grid {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Wide dashboard card: spans two grid columns only where the grid has room
   (>=992px viewport -> the auto-fit grid holds >=2 columns). Below that it stays
   a normal single-column card, so it never forces an extra column / overflows. */
@media (min-width: 992px) {
    .dashboard-grid > .admin-card-wide {
        grid-column: span 2;
    }
}

.admin-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: box-shadow 0.2s ease;

    width: 100%;
    box-sizing: border-box;
}

.admin-card:hover {
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
}

.admin-card-clickable {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.admin-card-clickable:hover {
    transform: translateY(-5px);
}

.admin-card.highlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #d946ef, #8b5cf6);
}

.card-header {
    padding: 20px 25px;
    background: #fafafa;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: #8b5cf6; 
}

.card-body {
    padding: 25px;
}

.card-body.no-padding {
    padding: 0;
}

.block-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: padding-left 0.16s ease, background 0.2s;
}
.block-action-row:last-child { border-bottom: none; }
.block-action-row:hover { padding-left: 24px; background: #faf5ff; }

.block-action-row .row-icon {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-purple);
    font-size: 20px;
    transition: transform 0.15s ease;
}

.block-action-row .action-icon-circle {
    flex-shrink: 0;
    margin-left: 3px;
    margin-right: 3px;
    transition: transform 0.15s ease;
}
.block-action-row:hover .row-icon,
.block-action-row:hover .action-icon-circle { transform: scale(1.13); }

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: #fdf4ff; 
}

.menu-item span {
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
}

.edit-btn, .question-mark-btn, .settings-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: filter 0.2s;
}

.edit-btn { background: #e879f9; }
.question-mark-btn { background: #b46dfd; }
.settings-btn { background: linear-gradient(135deg, #d946ef, #8b5cf6); }

.edit-btn.top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.edit-btn:hover, .question-mark-btn:hover, .settings-btn:hover {
    filter: brightness(1.1);
}

.metrics-flex {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.metric-item label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 42px;
    font-weight: 800;
    color: #8b5cf6;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .main-container {
        margin-left: 0;
        padding: 100px 20px 90px; 
    }
}

.stats-banner {
    background: linear-gradient(90deg, #38ef7d 10%, #11998e 90%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.18);
}

.stats-banner-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.stats-banner-item {
    text-align: center;
    min-width: 0;
    flex: 1 1 0;
}

.stats-banner-item.total-item {
    border-left: 2px solid rgba(255,255,255,0.3);
    padding-left: 15px;
}

.stats-number { font-size: clamp(24px, 8vw, 48px); font-weight: 300; margin-bottom: 5px; line-height: 1; }
.stats-label {
    font-size: clamp(8px, 2.5vw, 14px);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: clamp(0px, 0.3vw, 1px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

@media (max-width: 450px) {
    .stats-banner { padding: 20px 10px; }
    .stats-banner-row { gap: 4px; }
    .stats-banner-item.total-item { padding-left: 10px; }
    .stats-label { font-size: clamp(8px, 2.2vw, 11px); letter-spacing: 0; }
    .stats-number { font-size: clamp(22px, 7vw, 36px); }
}

@media (max-width: 350px) {
    .stats-banner { padding: 15px 8px; }
    .stats-banner-row { gap: 2px; }
    .stats-banner-item.total-item { padding-left: 6px; }
    .stats-label { font-size: 8px; text-transform: none; }
    .stats-number { font-size: 22px; }
}

.stats-banner.stats-banner-nested {
    padding: 16px 10px;
    margin-bottom: 0;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.16);
}
.stats-banner.stats-banner-nested .stats-banner-row {
    flex-wrap: wrap;       
    gap: 8px 6px;          
    justify-content: space-around;
}
.stats-banner.stats-banner-nested .stats-banner-item {
    flex: 0 1 auto;        
    padding: 0 4px;
}
.stats-banner.stats-banner-nested .stats-number {
    font-size: 26px;       
}
.stats-banner.stats-banner-nested .stats-label {
    font-size: 10px;       
    letter-spacing: 0;
    white-space: nowrap;   
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
}
.stats-banner.stats-banner-nested .stats-banner-item.total-item {
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 450px) {
    .stats-banner.stats-banner-nested { padding: 14px 8px; }
    .stats-banner.stats-banner-nested .stats-number { font-size: 24px; }
    .stats-banner.stats-banner-nested .stats-label { font-size: 9.5px; }
    .stats-banner.stats-banner-nested .stats-banner-item.total-item { padding-left: 6px; }
}

@media (max-width: 350px) {
    .stats-banner.stats-banner-nested { padding: 12px 6px; }
    .stats-banner.stats-banner-nested .stats-number { font-size: 22px; }
    .stats-banner.stats-banner-nested .stats-label { font-size: 9px; }
    .stats-banner.stats-banner-nested .stats-banner-item.total-item { padding-left: 5px; }
}

.controls-card {
    background: var(--bg-white-trans);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    flex: 1;
}

.control-btn:hover {
    background: rgba(180, 68, 235, 0.05);
    transform: translateY(-2px);
}

.control-icon {
    width: 44px;
    height: 44px;
    background: var(--main-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px var(--shadow-purple);
}

.control-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.view-mode-card {
    padding: 22px 18px;
    border-radius: 17px;
    background: #fff;
    border: 1.8px solid #ede3ff;
    box-shadow: 0 2px 16px rgba(154,67,255,0.08);
}

.view-mode-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.vm-section, .vm-column { display: flex; flex-direction: column; gap: 10px; }

.vm-choice-row { display: flex; align-items: center; gap: 12px; }

.vm-button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid #d6c8f5;
    background: #fff;
    color: var(--primary-purple);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-button i { opacity: 0; transition: opacity 0.2s ease; }
.vm-button.active i { opacity: 1; }

.vm-button.active {
    background: #f6e7ff;
    border-color: var(--primary-purple);
}

.vm-labels span {
    font-size: 15px;
    color: var(--primary-purple);
    font-weight: 700;
}

.guest-item {
    background: var(--bg-white-trans);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    position: relative;
    border-left: 4px solid var(--primary-purple);
    animation: slideUp 0.4s ease-out;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guest-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.guest-item:hover .edit-guest { color: var(--primary-purple); }

.guest-number {
    position: absolute;
    left: -14px; 
    top: 20px;
    background: var(--primary-purple);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px var(--shadow-purple);
}

.guest-info {
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guest-details h4 { font-size: 16px; color: var(--text-dark); margin: 0; }
.guest-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-right: 15px;
}

.edit-guest {
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.edit-guest:hover { color: var(--primary-purple); }

.multiple-guests { border-left-color: var(--secondary-purple); }
.multiple-guests .guest-number { background: var(--secondary-purple); }

.sub-guest {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-left: 35px;
}

.sub-guest .guest-avatar { width: 28px; height: 28px; font-size: 12px; }
.sub-guest span { font-size: 14px; color: var(--text-muted); }

.add-guest-btn {
    position: fixed;
    bottom: 100px; 
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--main-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--shadow-purple);
    transition: transform 0.2s ease;
    z-index: 99;
}

.add-guest-btn:hover { transform: scale(1.1); }

.egf-field-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.egf-field-label {
    min-width: 120px;
    color: var(--text-dark);
    font-size: 14px;
    text-align: right;
    flex-shrink: 0;
}

.egf-field-input {
    flex: 1;
    min-width: 120px;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    font-size: 14px;
    color: var(--text-dark);
    padding: 6px 4px;
    outline: none;
    transition: border-color 0.2s;
}

.egf-field-input:focus {
    border-bottom: 1px solid var(--primary-purple);
}

.egf-field-select {
    flex: 1;
    min-width: 120px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px 12px;
    outline: none;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
}

.egf-field-select:focus {
    border-color: var(--primary-purple);
}

.egf-pencil-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
    flex-shrink: 0;
}

.egf-member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
}

.egf-member-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.egf-trash-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.egf-trash-btn:hover {
    opacity: 1;
}

.egf-chevron {
    transition: transform 0.3s ease;
}

@media (max-width: 480px) {
    .egf-field-label {
        min-width: 100px;
        font-size: 13px;
    }
    .egf-field-row {
        gap: 6px;
    }
}

.language-selector-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;     
    gap: 8px 12px;
}

.language-label {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.language-selector-wrapper {
    position: relative;
    z-index: 20;
    margin-left: auto;   
}

.language-selector-wrapper:has(.language-selector.open) {
    z-index: 100;
}

/* STACKING-CONTEXT TRAP (task tkVqQo9eW1): the wrapper's raised z-index only competes
   WITHIN its nearest stacking context. Any ANCESTOR of a dropdown that carries its own
   z-index (e.g. a settings row) creates such a context and must ALSO raise itself while
   the dropdown is open, or the expanded menu renders under later siblings. Rows use this
   shared rule; add the same :has() pattern to any new dropdown-hosting ancestor. */
.loc-row {
    position: relative;
}
.loc-row:has(.language-selector.open) {
    z-index: 1000;
}

.language-selector {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 140px;
    transition: all 0.2s ease;
}

.language-selector:hover,
.language-selector.open {
    background: #fff;
    border-color: var(--primary-purple);
    box-shadow: 0 4px 15px var(--shadow-purple);
}

.language-selector .chevron {
    margin-left: 15px;
    color: var(--primary-purple);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.language-selector.open .chevron {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 9999;
    min-width: 160px;
    max-height: 320px;      /* never grow huge; long lists scroll (task zob2LqKi) */
    display: none;
    flex-direction: column;
    padding: 8px 0;
    overflow-x: hidden;
    overflow-y: auto;       /* scroll instead of overflowing the viewport */
}

.language-selector.open + .language-options {
    display: flex;
    animation: slideUp 0.2s ease-out;
}

/* Smart-flip: when JS marks the selector .open-up (not enough room below),
   anchor the menu ABOVE the selector instead of below (task zob2LqKi). */
.language-selector.open-up + .language-options {
    top: auto;
    bottom: calc(100% + 8px);
}

.language-option {
    padding: 12px 18px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s;
}

.language-option:hover {
    background: #fdf4ff;
    color: var(--primary-purple);
}

.language-option.selected {
    font-weight: 700;
    color: var(--primary-purple);
    background: #fdf4ff;
}

.language-option.highlighted {
    background: #fdf4ff;
    color: var(--primary-purple);
}

.login-lang-selector {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100;
}

.login-lang-selector .language-selector {
    padding: 8px 12px;
    min-width: auto;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.login-lang-selector .language-options {
    min-width: 140px;
}

.archived-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.archived-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.archived-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.archive-icon {
    color: var(--text-muted);
    font-size: 18px;
    transition: color 0.2s;
    cursor: pointer;
}

.archive-icon:hover {
    color: var(--primary-purple);
}

.danger-btn {
    padding: 16px;
    background: linear-gradient(135deg, #ff5f57, #ff2a2a);
    border: none;
    border-radius: var(--btn-radius);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 25px rgba(255, 42, 42, 0.25);
}

.danger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 42, 42, 0.35);
}

.fields-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.field-pill {
    background: #f7f4fd;
    color: var(--secondary-purple);
    border: 1.5px solid #e2d7f6;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.field-pill.selected {
    background: var(--main-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--shadow-purple);
}

.field-pill:hover:not(.selected) {
    background: #ede6fa;
}

.export-format-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.export-format-box {
    background: var(--bg-light);
    border-radius: 14px;
    height: 80px;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-grow: 1; 
    max-width: 100px;
}

.export-format-box.selected {
    border-color: var(--primary-purple);
    background: #fdf4ff;
    box-shadow: 0 4px 15px rgba(180, 68, 235, 0.15);
}

.export-format-icon {
    font-size: 26px;
    color: var(--secondary-purple);
    margin-bottom: 6px;
    transition: transform 0.2s;
}

.export-format-box.selected .export-format-icon {
    color: var(--primary-purple);
    transform: scale(1.1);
}

.export-format-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 700;
}

.export-format-text.selected {
    color: var(--primary-purple);
}

.destination-select {
    width: 100%;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1.5px solid rgba(0,0,0,0.1);
    font-size: 15px;
    margin-top: 10px;
    background: #fff;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
}

.destination-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(180, 68, 235, 0.1);
}

.premium-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.premium-info {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: justify;
}

.premium-info:last-of-type {
    margin-bottom: 0;
}

.question-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--main-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    float: right;
    margin: -5px -5px 15px 15px;
    box-shadow: 0 4px 12px var(--shadow-purple);
    font-size: 16px;
    transition: transform 0.2s ease;
}

.question-btn:hover {
    transform: scale(1.1);
}

.empty-slot-btn {
    background: #d996f3;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(217, 150, 243, 0.3);
}

.empty-slot-btn:hover {
    background: #c982e6;
}

.notification-overlay-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    display: none;
    z-index: 10000;
    background-color: transparent;
}

.info-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    background: #f4f2fa;
    border-radius: 12px;
    padding: 16px;
    margin-top: 15px;
    text-align: justify;
}

.type-chip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 6px 0 2px;
}

.type-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 92px;
    padding: 12px 8px;
    background: #fff;
    color: var(--secondary-purple);
    border: 2px solid #ececf4;
    border-radius: 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.18s ease;
}

.type-chip i { font-size: 18px; }

.type-chip:not(.active):hover {
    background: #fdf4ff;
    border-color: rgba(217, 70, 239, 0.3);
    transform: translateY(-2px);
}

.type-chip.active {
    background: var(--main-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 15px var(--shadow-purple);
}

.type-chip-extra { display: none; }
.type-chip-grid.expanded .type-chip-extra { display: inline-flex; }

.type-chip-more {
    color: var(--secondary-purple);
    border-style: dashed;
    border-color: rgba(217, 70, 239, 0.35);
}
.type-chip-grid.expanded .type-chip-more { display: none; }

.form-dropdown-wrapper {
    width: 100%;
    margin-top: 10px;
}

.form-dropdown-wrapper .language-selector {
    width: 100%;
    min-width: 0; 
    background: var(--bg-light);
    border: 2px solid transparent;
    box-shadow: none;
}

.form-dropdown-wrapper .language-options {
    width: 100%;
    max-height: none;   /* inner .scrollable-dropdown handles scrolling here */
    overflow: visible;
}

.scrollable-dropdown {
    max-height: 250px;
    overflow-y: auto;
    
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.scrollable-dropdown::-webkit-scrollbar { width: 6px; }
.scrollable-dropdown::-webkit-scrollbar-track { background: transparent; }
.scrollable-dropdown::-webkit-scrollbar-thumb { background: #d1b3ff; border-radius: 4px; }

.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 45px; 
    margin-bottom: 40px;
    gap: 20px; 
}

.premium-btn.outline {
    background: transparent;
    color: var(--secondary-purple);
    border: 2px solid var(--secondary-purple);
    box-shadow: none;
}

.premium-btn.outline:hover {
    background: rgba(139, 92, 246, 0.05); 
    box-shadow: none;
}

.address-input, .location-input {
    width: 100%;
    background: #f1eff6;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    border: 2px solid transparent;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    outline: none;
}

.address-input:focus, .location-input:focus {
    background: #fff;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(180, 68, 235, 0.1);
}

.address-input::placeholder {
    color: #bbb;
}

.address-btn-row {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.guest-fields-list {
    margin-bottom: 24px;
}

.guest-field-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.guest-field-label {
    background: #e5dbfa;
    border: 1px solid #bba3ea;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
    margin-right: 12px;
}

.field-order-btns {
    display: flex;
    gap: 8px;
}

.move-btn {
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #fff;
    background: var(--primary-purple);
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.move-btn:disabled, .move-btn[aria-disabled="true"] {
    background: #d4c7e8;
    color: #ad90db;
    cursor: default;
}

.move-btn:not([aria-disabled="true"]):hover {
    background: #8b5cf6; 
}

.advanced-settings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
}

.advanced-label {
    width: 40%;
    font-size: 15px;
    color: var(--text-dark);
    text-align: right;
    padding-right: 20px;
    font-weight: 500;
}

.advanced-input-cell {
    width: 50%;
    text-align: left;
}

.advanced-dropdown {
    background: #f8f7fc;
    border: 1.4px solid #e2d7f6;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-dark);
    width: 100%;
    cursor: pointer;
    outline: none;
}

.advanced-dropdown:focus {
    border-color: var(--primary-purple);
}

.advanced-help-cell {
    width: 10%;
    text-align: right;
    vertical-align: middle;
}

.templates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.template-btn {
    background: #f7f4fd;
    color: var(--primary-purple);
    border: 1.4px solid #e2d7f6;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(140,92,246,0.05);
}

.template-btn.selected {
    background: linear-gradient(90deg, #a56dfb, #b46dfd);
    color: #fff;
    box-shadow: 0 4px 14px rgba(140,92,246,0.2);
    border: 1.4px solid transparent;
}

.template-btn .eye-icon {
    font-size: 16px;
}

.custom-field-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    margin-top: 16px;
}

.create-label {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.create-field-name {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 16px;
    min-width: 80px;
    border-bottom: 1px dashed var(--primary-purple);
    padding-bottom: 2px;
    cursor: pointer;
}

.create-icon {
    color: var(--primary-purple);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.create-icon:hover {
    color: #8b5cf6;
}

.field-details-row {
    display: flex;
    align-items: center;
    margin: 12px 0 16px 0;
    gap: 12px;
    font-size: 16px;
}

.field-details-label {
    font-weight: 500;
    min-width: 140px;
    color: var(--text-dark);
}

.field-details-value {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 16px;
}

.field-details-editable {
    border-bottom: 1px dashed var(--primary-purple);
    cursor: pointer;
    transition: opacity 0.2s;
}

.field-details-editable:hover {
    opacity: 0.7;
}

.settings-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.settings-label {
    font-size: 15px;
    color: var(--text-dark);
    min-width: 180px;
    font-weight: 500;
}

.content-card {
    background: rgba(255,255,255,0.98);
    border-radius: 19px;
    box-shadow: 0 10px 35px rgba(154,67,255,0.13);
    border: 1.2px solid rgba(200,180,255,0.12);
    padding: 40px 32px;
    margin: 12px 0;
    position: relative;
    animation: slideUp 0.5s ease-out;
    width: 100%; 
    box-sizing: border-box; 
}

.centered-gray-text {
    text-align: center;
    color: #999;
    font-size: 1.2em; 
    margin: 60px 0;   
    width: 100%;
    display: block;
}

.list-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 17px; color: #222;
    cursor: pointer;
    transition: background 0.15s;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: #fcfaff; }

.row-icon { color: var(--primary-purple); font-size: 20px; }
.action-icon-circle {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary-purple); color: #fff; font-size: 17px;
    box-shadow: 0 2px 6px rgba(180, 68, 235, 0.18);
    cursor: pointer; transition: transform 0.15s ease;
}
.action-icon-circle:hover { transform: scale(1.13); }

.settings-btn {
    position: absolute; right: 12px; top: 12px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #d946ef, #8b5cf6); color: #fff;
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2em; cursor: pointer;
    box-shadow: 0 2px 7px rgba(154,67,255,0.11);
    z-index: 10; transition: all .18s;
}
.settings-btn:hover { background: #b46dfd; transform: scale(1.05); }

.menu-item .settings-btn {
    position: static;
    z-index: auto;
}

.add-block-zone {
    display: none; 
    align-items: center; justify-content: center;
    padding: 6px 0; margin: 2px 0;
    position: relative; z-index: 5; cursor: pointer; transition: all 0.2s;
}
.add-block-zone::before {
    content: ''; flex: 1; height: 2px;
    background: linear-gradient(to right, transparent 0%, #d946ef 100%);
    opacity: 0.45; transition: opacity 0.2s; border-radius: 2px;
}
.add-block-zone::after {
    content: ''; flex: 1; height: 2px;
    background: linear-gradient(to left, transparent 0%, #d946ef 100%);
    opacity: 0.45; transition: opacity 0.2s; border-radius: 2px;
}
.add-block-zone .dot { display: none; }
.add-block-zone .add-btn {
    width: 44px; height: 44px; flex-shrink: 0; margin: 0 6px;
    background: linear-gradient(135deg, #d946ef, #8b5cf6); color: white;
    border: none; border-radius: 50%; font-size: 1.8em; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(154, 67, 255, 0.25); transition: all 0.2s ease;
}
.add-block-zone:hover .add-btn { transform: scale(1.12); box-shadow: 0 6px 18px rgba(154, 67, 255, 0.35); }
.add-block-zone:hover::before,
.add-block-zone:hover::after { opacity: 0.9; }

@keyframes addZonePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 2px 6px rgba(180, 68, 235, 0.18); }
    50%       { opacity: 0.55; transform: scale(0.87); box-shadow: 0 2px 12px rgba(180, 68, 235, 0.10); }
}
.action-icon-circle.edit.pulsing {
    animation: addZonePulse 1.3s ease-in-out infinite;
}

.invite-bg-card {
    margin: 12px 0;
    background: linear-gradient(135deg, #b56cfb 40%, #50eceb 120%);
    border-radius: 22px;
    padding: 20px 15px;
    box-shadow: 0 3px 14px rgba(137, 77, 254, 0.13);
    display: flex; flex-direction: column; align-items: center;
    position: relative; animation: slideUp 0.5s ease-out;
    width: 100%;
    box-sizing: border-box;
}

.invite-img-block {
    background: #fff; border-radius: 13px; margin: 0 auto 16px auto;
    padding: 12px;
    box-shadow: 0 7px 28px rgba(186,88,247,0.12);
    width: 100%;
    max-width: 360px; 
    position: relative;
}

.invite-img-block img {
    width: 100%;
    border-radius: 13px;
    display: block;
    aspect-ratio: 3 / 4; 
    object-fit: cover; 
}

.tag-label {
    position: absolute; background: #b46dfd; color: #fff;
    font-size: 0.83em; top: 12px; left: 14px; border-radius: 12px;
    padding: 3px 14px 3px 10px; font-weight: 700; z-index: 2;
    display: flex; align-items: center; height: 26px;
}
.tag-label .tag-number {
    margin-right: 6px; background: #a565fa; border-radius: 50%;
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
}
.tag-label.bg { left: unset; right: 14px; background: #d946ef; bottom: 11px; top: unset; }

.inline-tag {
    background: #b46dfd; color: #fff; font-size: 0.83em; font-weight: 700;
    border-radius: 12px; padding: 3px 14px; margin: 2px 6px 2px 0;
    display: inline-flex; align-items: center; height: 26px;
}
.inline-tag.big { padding: 4px 16px; }
.inline-tag .tag-number {
    margin-right: 4px; background: rgba(255,255,255,0.25); border-radius: 50%;
    width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.95em;
}

.title-tag-container { position: relative; display: inline-flex; align-items: center; height: 28px; }
.title-tag-number {
    position: absolute; left: 5px; z-index: 2; background: var(--title-tag-number-bg);
    color: #fff; font-size: 0.78em; font-weight: 800; border-radius: 50%;
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
}
.title-tag-text {
    background: var(--title-tag-text-bg); color: var(--title-tag-text-color);
    font-size: 0.83em; font-weight: 700; border-radius: 25px; height: 28px;
    display: flex; align-items: center; justify-content: flex-end;
    padding: 0 16px 0 34px; min-width: 90px;
}

.countdown-block { text-align: center; }
.countdown-table { display: flex; justify-content: center; gap: 25px; margin-top: 10px; }
.count-col { text-align: center; }
.time-num {
    font-weight: 900;
    font-size: 2.8em; 
    color: #523895;
    display: block;
}
.time-label { display: block; font-size: 0.96em; color: #7e67af; margin-top: 5px; font-weight: 700; }

.calendar-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.calendar-btn {
    padding: 16px 24px; border: none; border-radius: 15px; font-size: 1.1em;
    font-weight: 700; cursor: pointer; transition: transform 0.2s;
    width: 70%; 
    max-width: 400px;
    position: relative;
}
.calendar-btn.google { background: #4285f4; color: #fff; }
.calendar-btn.other { background: #b46dfd; color: #fff; }
.calendar-btn:hover { transform: translateY(-2px); }

.centered-gray-text { text-align: center; color: #999; font-size: 1.09em; margin: 20px 0; width: 100%; display: block; }

.image-row { display: flex; align-items: center; gap: 22px; min-height: 150px; position: relative; }
.invitation-img-box {
    background: #f6f6fb; border-radius: 15px; overflow: hidden;
    width: 120px; height: 140px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(180,105,245,0.06); margin-left: 50px; position: relative; border: 1.2px solid #eceafe;
}
.invitation-img { width: 90px; height: 90px; object-fit: contain; border-radius: 12px; display: block; margin: 0 auto; }

.img-remove-btn, .text-share-x-btn {
    position: absolute; left: 0px; top: -10px; width: 38px; height: 38px;
    background: #b46dfd; color: #fff; border-radius: 50%; border: none; font-size: 1.4em;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 9px rgba(181,105,245,0.13); cursor: pointer; z-index: 2; transition: background .2s;
}
.img-remove-btn:hover, .text-share-x-btn:hover { background: #d946ef; }

.change-image-btn {
    background: #b46dfd; color: #fff; font-size: 1.11em; font-weight: 700;
    padding: 16px 30px; border: none; border-radius: 18px; cursor: pointer;
    box-shadow: 0 4px 16px rgba(154,67,255,0.12); margin-left: 20px; transition: background 0.18s, transform 0.09s;
}
.change-image-btn:hover { background: #a065fb; transform: translateY(-2px); }

.text-share-row { display: flex; gap: 24px; align-items: flex-start; min-height: 68px; margin-bottom: 28px; position: relative; }
.editable-text {
    margin: 0 auto 0 0; min-height: 34px; display: flex; flex-direction: column;
    font-size: 1.1em; color: #232136; letter-spacing: -.03em; word-break: break-all;
    text-align: center; padding-top: 10px; align-items: center; width: 100%; white-space: pre-line;
}

.edit-text-btn {
    background: #b46dfd; color: #fff; font-size: 1.11em; font-weight: 700;
    padding: 15px 46px; border: none; border-radius: 18px; cursor: pointer;
    transition: background 0.18s, transform 0.09s; display: block; margin: 20px auto 0 auto;
    box-shadow: 0 4px 16px rgba(154,67,255,0.12);
}
.edit-text-btn:hover { background: #a065fb; transform: translateY(-2px); }

.share-apps-title { font-size: 1.18em; font-weight: 900; color: #252247; margin-bottom: 19px; margin-top: 2px; text-align: center; }
.share-apps-grid { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; margin-bottom: 2px; margin-top: 17px; }
.share-apps-grid > div { flex: 0 0 auto; width: 92px; }

.share-app-icon {
    width: 64px; height: 64px; border-radius: 50%; background: #f8f3fe;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 10px auto;
    font-size: 2.1em; box-shadow: 0 3px 10px rgba(154,67,255,0.06); cursor: pointer; transition: transform 0.2s;
}
.share-app-icon:hover { transform: scale(1.1); }
.icon-whatsapp { color: #1ad05c;}
.icon-telegram { color: #3ebdf9;}
.icon-gmail { font-size: 2.4em;}
.icon-copy { color: #b46dfd;}
.icon-twitter { color: #000;}
.share-app-name { text-align: center; font-size: 1.01em; color: #222145; font-weight: 570; letter-spacing: 0.01em; word-break: normal; overflow-wrap: normal; }

@media (max-width: 480px) {
    .share-apps-grid { gap: 16px 8px; }
    .share-apps-grid > div { width: calc(33.333% - 8px); }
    .share-app-icon { width: 54px; height: 54px; font-size: 1.75em; }
    .share-app-icon img { width: 28px !important; height: 28px !important; }
    .share-app-name { font-size: 0.9em; }
}

.block-type-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 20px;
}

.block-type-info {
    flex: 1;
}

.block-type-title {
    font-size: 1.15em;
    font-weight: 800;
    color: #232136;
    margin-bottom: 8px;
}

.block-type-divider {
    height: 1px;
    background: #ece5f6;
    margin-bottom: 12px;
    width: 100%;
}

.block-type-desc {
    font-size: 0.95em;
    color: #4a4a52;
    line-height: 1.45;
}

.block-type-add-btn {
    background: #b444eb;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(180, 68, 235, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.block-type-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(180, 68, 235, 0.35);
}

.close-x {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ce20ff, #8a00d4);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 10002;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.close-x span {
    font-family: 'Arial', sans-serif;
    font-size: 32px;
    line-height: 1;
    pointer-events: none; 

    position: relative;
    top: 2px; 
}

.ep-chip-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    justify-content: left;
    margin-bottom: 20px;
}
.ep-sub-chips {
    margin-top: -10px;
    margin-bottom: 22px;
}
.ep-back-btn {
    background: none;
    border: 1.5px solid #e2d7f6;
    color: #8753cf;
    font-size: 1.05rem;
    border-radius: 13px;
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background .15s;
    outline: none;
}
.ep-back-btn:hover { background: #f7f4fd; }
.ep-chip-btn {
    background: #f7f4fd;
    color: #8753cf;
    border: 1.5px solid #e2d7f6;
    font-weight: 600;
    font-size: 0.97rem;
    border-radius: 13px;
    padding: 6px 16px;
    margin: 0;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    box-shadow: 0 2px 8px rgba(140,92,246,0.08);
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.ep-chip-btn:hover { background: #efe7fb; border-color: #c9b4ed; }
.ep-chip-btn.selected {
    background: linear-gradient(135deg, #c026d3, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(168,85,247,0.25);
}
.ep-chip-btn.inactive { opacity: 0.55; color: #b6a6dd; cursor: default; }
.ep-chip-btn.inactive:hover { background: #f7f4fd; border-color: #e2d7f6; }
.ep-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding-top: 4px;
}
.ep-photo-card {
    position: relative;
    border-radius: 13px;
    overflow: hidden;
    background: #faf7fd;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.ep-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 13px;
    box-shadow: 0 2px 12px rgba(187,180,220,0.15);
    transition: opacity 0.3s ease;
}
.ep-photo-card img.loading { opacity: 0; }
.ep-photo-card img.loaded { opacity: 1; }
.ep-spinner {
    width: 36px;
    height: 36px;
    position: absolute;
    top: calc(50% - 18px);
    left: calc(50% - 18px);
}
.ep-spinner-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-purple, #b444eb);
    border-radius: 50%;
    position: absolute;
    animation: ep-pulse 1.2s ease-in-out infinite;
}
@keyframes ep-pulse {
    0%, 100% { transform: scale(0.6); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 1; }
}

.myphotos-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.myphotos-title { font-size: 20px; font-weight: 600; color: var(--text-dark); margin: 0 0 4px; }
.myphotos-subtitle { color: var(--text-muted); font-size: 14px; margin: 0; }
.myphotos-actions { display: flex; align-items: center; gap: 14px; }
.myphotos-count { color: var(--text-muted); font-size: 14px; white-space: nowrap; }
.myphotos-count i { margin-right: 4px; }
.myphotos-upload-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--primary, #7b4fc0); color: #fff; border: none;
  padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
}
.myphotos-upload-btn:hover { filter: brightness(1.05); }
.myphotos-empty { color: var(--text-muted); text-align: center; padding: 36px 12px; font-size: 15px; }
.myphotos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.myphotos-tile {
  border: 1px solid #ece6f6; border-radius: 12px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
.myphotos-thumb {
  width: 100%; aspect-ratio: 1 / 1; background-size: cover; background-position: center;
  background-color: #f3eefb; cursor: pointer;
}
.myphotos-meta { padding: 8px 10px; font-size: 12px; color: var(--text-muted); flex: 1; }
.myphotos-date { display: flex; align-items: center; gap: 5px; }
.myphotos-usage { margin-top: 5px; }
.myphotos-usage-used { color: #2e7d52; font-weight: 600; }
.myphotos-usage-unused { color: var(--text-muted); }
.myphotos-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.myphotos-tag {
  background: #f0e8fb; color: #6b46b8; border-radius: 6px; padding: 1px 7px; font-size: 11px;
}
.myphotos-tile-actions {
  display: flex; justify-content: flex-end; gap: 6px; padding: 6px 8px;
  border-top: 1px solid #f1ecf8;
}
.myphotos-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; border: 1px solid #e6def4;
  background: #faf8fe; color: #6b46b8; cursor: pointer; text-decoration: none;
}
.myphotos-icon-btn:hover { background: #f0e8fb; }
.myphotos-del-btn { color: #c0392b; border-color: #f0d6d2; background: #fdf6f5; }
.myphotos-del-btn:hover { background: #fbe6e3; }
.myphotos-preview-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.8); align-items: center; justify-content: center; padding: 24px;
}
.myphotos-preview-overlay img { max-width: 92vw; max-height: 92vh; border-radius: 10px; }

.ce-accordion-wrap { padding-bottom: 40px; }
.ce-acc {
  background: #fff; border: 1px solid #ededf3; border-radius: 14px;
  margin-bottom: 12px; overflow: visible;
  width: 100%; box-sizing: border-box; align-self: stretch;
}
.ce-acc-head {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer;
}
.ce-acc-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--main-gradient, var(--primary-purple, #7b4fc0)); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none;
}
.ce-acc-title { font-weight: 600; font-size: 15px; flex: 1; color: var(--text-dark); }
.ce-acc-summary { font-size: 12.5px; color: var(--text-muted); margin-right: 4px; }
.ce-acc-chev { color: var(--text-muted); transition: transform .2s; }
.ce-acc.open > .ce-acc-head .ce-acc-chev { transform: rotate(180deg); }
.ce-acc-body { padding: 4px 16px 8px; border-top: 1px solid #f3f1f8; }
.ce-acc.closed > .ce-acc-body { display: none; }
.ce-acc.closed { background: #fcfcfe; }
.ce-submit-bar { margin-top: 6px; width: 100%; align-self: stretch; }
.ce-submit-bar .premium-btn { width: 100%; box-sizing: border-box; }

.ce-acc.open > .ce-acc-head .ce-acc-summary { display: none; }
.ce-acc-head { user-select: none; }

.account-row { display: flex; align-items: center; gap: 16px; }
.account-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 24px; font-weight: 700; color: #fff;
  background: var(--main-gradient, var(--primary-purple, #7b4fc0));
}
.account-meta { min-width: 0; }
.account-name { font-size: 18px; font-weight: 600; color: var(--text-dark); }
.account-email { color: var(--text-muted); font-size: 14px; margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.account-signin { color: var(--text-muted); font-size: 13px; margin-top: 5px; }
.account-badge-verified { color: #2e7d52; font-weight: 600; font-size: 12.5px; }

.inline-edit { display: inline-block; }
.inline-edit-display { display: inline-flex; align-items: center; gap: 8px; }
.inline-edit-label { font-weight: 600; color: var(--text-dark); }
.inline-edit-btn {
  background: none; border: none; cursor: pointer; color: var(--secondary-purple, #7b4fc0);
  padding: 2px 4px; border-radius: 6px; font-size: 13px;
}
.inline-edit-btn:hover { background: #f0e8fb; }
.inline-edit-editor { display: inline-flex; align-items: center; gap: 6px; }
.inline-edit-input {
  border: 2px solid #c9b4ed; border-radius: 8px; padding: 4px 8px; font-size: 15px; outline: none;
}
.inline-edit-actions { display: inline-flex; gap: 4px; }
.inline-edit-save, .inline-edit-cancel {
  width: 30px; height: 30px; border-radius: 7px; border: 1px solid #e6def4; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.inline-edit-save { background: var(--main-gradient, #7b4fc0); color: #fff; border-color: transparent; }
.inline-edit-cancel { background: #faf8fe; color: var(--text-muted); }
.inline-edit-saving { opacity: 0.6; pointer-events: none; }

.account-name-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--border-color, #ece6f6); }
.account-name-row:last-child { border-bottom: none; }
.account-name-label { color: var(--text-muted); font-size: 14px; }
.account-name-row .inline-edit { text-align: right; }

.help { position: relative; display: inline-flex; }
/* Lift the help widget (and its popup) above later positioned siblings — e.g. the RSVP
   field rows / dashed guides — so the bubble is always on top (task 89Mqn3UJ). */
.help:has(.help-pop) { z-index: 1000; }
.help-btn { background: none; border: none; cursor: pointer; color: var(--secondary-purple, #7b4fc0); padding: 2px 4px; font-size: 15px; line-height: 1; }
.help-btn:hover { color: var(--primary-purple, #6b46b8); }
.help-pop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 1000; width: 240px;
  background: var(--bg-card, #fff); color: var(--text-dark, #2c2c2a);
  border: 1px solid #e6def4; border-radius: 12px; padding: 10px 12px;
  font-size: 13px; line-height: 1.5; box-shadow: 0 8px 24px rgba(0,0,0,0.12); text-align: left;
  /* Help copy is sentence case and regular weight — never inherit UPPERCASE/letter-spacing
     or a bold weight from an ancestor heading (e.g. .rsvp-scope-heading font-weight:600 /
     .rsvp-row-title). tasks 89Mqn3UJ, CbFaRJDR. Child <strong> stays bold via browser default. */
  text-transform: none; letter-spacing: normal; font-weight: normal;
}
/* Reset the hidden source span too, in case it is ever rendered directly. */
.help-text { text-transform: none; letter-spacing: normal; font-weight: normal; }

.ce-where-hint { font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 8px; }
.ce-where-skip-note { font-size: 12.5px; color: var(--text-muted); margin: 0 0 12px; }
.where-country-chip { display: inline-flex; align-items: center; gap: 5px; background: #f0e8fb; color: #6b46b8; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.where-country-chip i { font-size: 12px; }
.where-country-chip:has(#whereCountryName:empty) { display: none; }

.where-country-edit { background: none; border: 0; padding: 0 0 0 2px; margin: 0; color: inherit; opacity: 0.7; cursor: pointer; font-size: 11px; line-height: 1; }
.where-country-edit:hover { opacity: 1; }
@keyframes ceCardFlash { 0% { box-shadow: 0 0 0 0 rgba(107,70,184,0.45); } 100% { box-shadow: 0 0 0 6px rgba(107,70,184,0); } }
.ce-card-flash { animation: ceCardFlash 1.2s ease-out; border-radius: 12px; }

.date-picker-wrap { position: relative; }
.date-field { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border-color, #ddd); border-radius: 12px; background: var(--bg-card, #fff); font-size: 16px; color: var(--text-strong, #333); cursor: pointer; text-align: left; }
.date-field .chevron { margin-left: auto; color: var(--text-muted); }
.event-calendar { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 9999; background: #fff; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); padding: 12px; }
.event-calendar[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-weight: 700; }
.cal-nav { border: 0; background: none; cursor: pointer; font-size: 16px; padding: 4px 12px; color: var(--text-strong, #333); border-radius: 8px; }
.cal-nav:hover { background: #f0e8fb; }
.cal-nav:disabled { color: #ccc; cursor: default; background: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { margin-bottom: 2px; }
.cal-dow-cell { text-align: center; font-size: 12px; color: var(--text-muted); padding: 4px 0; }
.cal-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--text-strong, #333); padding: 0; }
.cal-cell:hover:not(.disabled):not(.empty) { background: #f0e8fb; }
.cal-cell.selected { background: #6b46b8; color: #fff; }
.cal-cell.disabled { color: #ccc; cursor: default; }
.cal-cell.empty { cursor: default; }

.store-badges { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: #1f1f1f; color: #fff; border-radius: 9px; transition: opacity .15s ease; }
.store-badge:hover { opacity: .85; }
/* Official Google Play assets (task ocWXJvtM): the color badge/icon carry their own
   dark rounded background, so the Google anchor drops the chip framing to avoid double-framing. */
.store-badge--play { background: transparent; padding: 0; border-radius: 0; }
.store-badge-img { display: block; }
.store-badges--badge .store-badge-img--badge { height: 48px; width: auto; }
.store-badges--icon .store-badge-img--icon { width: 38px; height: 38px; object-fit: contain; }
.store-badge i { line-height: 1; }
.store-badges--icon .store-badge { width: 38px; height: 38px; justify-content: center; }
.store-badges--icon .store-badge i { font-size: 18px; }
.store-badges--badge .store-badge { padding: 8px 14px; border-radius: 10px; }
.store-badges--badge .store-badge i { font-size: 22px; }
.store-badge-txt { display: inline-flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge-txt small { font-size: 9px; text-transform: uppercase; letter-spacing: .3px; opacity: .85; }
.store-badge-txt strong { font-size: 15px; font-weight: 600; }

.loc-suggest { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.loc-suggest-lbl { font-size: 11px; color: var(--text-muted, #8a8398); }
.loc-suggest-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border-color, #ece5f6); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13px; font-weight: 600; color: var(--text-dark, #2c2440); cursor: pointer; transition: background .12s ease; }
.loc-suggest-chip:hover { background: var(--surface-1, #faf7ff); }
.loc-suggest-add { width: 20px; height: 20px; border-radius: 50%; background: var(--secondary-purple, #6D49C4); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.loc-suggest-x { background: none; border: none; color: var(--text-muted, #999); cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 4px; }
.loc-suggest-x:hover { color: var(--text-dark, #2c2440); }
.loc-suggest-spin { width: 16px; height: 16px; border: 2px solid var(--border-color, #ece5f6); border-top-color: var(--secondary-purple, #6D49C4); border-radius: 50%; display: inline-block; animation: locSuggestSpin .7s linear infinite; }
@keyframes locSuggestSpin { to { transform: rotate(360deg); } }


/* ============================================================================
   DESIGN-SYSTEM COMPONENTS (ADR-0014) — single source of truth for form / label
   / button / card / segmented styling. Compose these classes on any webapp page;
   do NOT hard-code off-token colors or ad-hoc font-weights per page. All values
   derive from the :root tokens above. Migration tasks adopt these; new pages must
   use them.
     <div class="ds-field"><label class="ds-label">Name <span class="ds-req">*</span></label>
       <input class="ds-input"><div class="ds-hint">help</div></div>
     <button class="ds-btn ds-btn-primary ds-btn-block">Save</button>
     <div class="ds-seg"><button class="ds-seg-opt is-on">A</button><button class="ds-seg-opt">B</button></div>

   Component index (audit 8e3lMyCI — the complete vocabulary the wizard/page
   migrations, tasks koeqpZEw + I0Q1B05Z, adopt):
     .ds-field  .ds-label (+.ds-req /.ds-opt)  .ds-hint  — labeled form field + required/optional markers + help text
     .ds-input  .ds-select  .ds-textarea                — text/number input, dropdown (caret SVG), multiline; shared focus ring
     .ds-btn (+.ds-btn-primary /.ds-btn-ghost /.ds-btn-block) — buttons (gradient primary, outline ghost, full-width); :disabled handled
     .ds-card   .ds-subblock                            — surface card / nested subsection
     .ds-section-title                                  — icon + heading row
     .ds-seg    .ds-seg-opt (.is-on)                    — segmented pill toggle
     .ds-badge (+.ds-badge-accent /.ds-badge-muted)     — small pill label
   Colors/radii derive from the :root / --ds-* tokens above; a few component-local
   neutral shades remain intentionally (no new accent-tint token palette — decision
   Q1=A, questionRef NYSJ0lE3). Class names are STABLE — the Mockup-4 guest screens
   depend on them; never rename, only extend.
   ============================================================================ */
.ds-field { margin-bottom: 14px; }
.ds-label { display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:var(--ds-label-weight); color:var(--ds-label-color); margin:0 0 5px; }
.ds-label .ds-req { color:#e0245e; font-weight:700; }
.ds-label .ds-opt { color:var(--ds-muted); font-weight:500; }
.ds-hint { font-size:11.5px; color:var(--ds-muted); margin:4px 2px 0; }
.ds-input, .ds-select, .ds-textarea {
  width:100%; box-sizing:border-box; background:var(--ds-field-bg);
  border:1px solid transparent; border-radius:var(--ds-input-radius);
  padding:11px 13px; font-size:14px; font-family:inherit; color:var(--ds-text);
  outline:none; transition:border-color .15s, box-shadow .15s;
}
.ds-input::placeholder, .ds-textarea::placeholder { color:#a49dbb; }
.ds-input:focus, .ds-select:focus, .ds-textarea:focus {
  border-color:var(--secondary-purple); box-shadow:0 0 0 3px var(--ds-focus-ring);
}
.ds-select {
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:34px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a83a0' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat; background-position:right 13px center;
}
.ds-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:none; border-radius:var(--btn-radius); padding:13px 22px; font-size:15px; font-weight:600; font-family:inherit; cursor:pointer; transition:transform .15s, box-shadow .15s; }
.ds-btn-primary { background:var(--main-gradient); color:#fff; box-shadow:0 8px 22px var(--shadow-purple); }
.ds-btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 28px var(--shadow-purple); }
.ds-btn-primary:active { transform:scale(.98); }
.ds-btn-ghost { background:#fff; color:var(--primary-purple); border:1px solid var(--ds-field-border); }
.ds-btn-ghost:hover { background:#faf7fe; }
.ds-btn-block { width:100%; }
.ds-btn:disabled { opacity:.5; cursor:not-allowed; box-shadow:none; transform:none; }
.ds-card { background:#fff; border:1px solid rgba(0,0,0,.05); border-radius:20px; box-shadow:0 10px 25px rgba(0,0,0,.03); box-sizing:border-box; }
.ds-section-title { display:flex; align-items:center; gap:9px; font-size:15px; font-weight:700; color:var(--ds-text); margin:0; }
.ds-section-title i { color:var(--primary-purple); }
.ds-subblock { background:#f7f5fc; border:1px solid #efeaf9; border-radius:var(--ds-radius); padding:14px; }
/* Segmented pill control (generalizes .rsvp-scope-toggle) */
.ds-seg { display:inline-flex; background:var(--ds-field-bg); border-radius:22px; padding:3px; gap:2px; }
.ds-seg-opt { border:0; background:transparent; border-radius:20px; padding:7px 15px; font-size:13px; font-weight:600; color:#6a6386; cursor:pointer; font-family:inherit; }
.ds-seg-opt.is-on { background:#fff; color:var(--primary-purple); box-shadow:0 1px 4px rgba(90,60,140,.18); }
.ds-seg-fill { display:flex; flex-wrap:wrap; }
.ds-seg-fill .ds-seg-opt { flex:1 1 auto; text-align:center; }
/* Small badge / pill label */
.ds-badge { display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:700; border-radius:20px; padding:3px 10px; }
.ds-badge-accent { background:#f4eaff; color:var(--primary-purple); }
.ds-badge-muted { background:#eef0f4; color:#6a6386; }


/* RSVP field-summary pills — shared by event-home + event-settings via rsvp-settings-block fragment (i6NPduTS, jAvkREpC) */
.rsvp-pill-summary { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.rsvp-pill-group { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.rsvp-pill-scope { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:var(--text-muted); margin-right:2px; }
.rsvp-pill-scope i { color:var(--primary-purple); }
.rsvp-pill { display:inline-block; padding:4px 10px; border-radius:999px; background:#f0ebfb; color:var(--primary-purple); font-size:12.5px; font-weight:600; border:1px solid #e6ddf7; }
.rsvp-block-desc { color:var(--text-muted); font-weight:400; margin:0 0 16px; line-height:1.5; }
.rsvp-scope-card { background:#f7f5fc; border:1px solid #efeaf9; border-radius:12px; padding:12px 14px; }
.rsvp-pill-row { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }


/* Segmented-pill rendering of .language-option lists (notifications / status / access) — hXxlwibp.
   Applied via the .seg-pills modifier so the base .language-options dropdown (date/time) is untouched. */
.seg-pills { position:static !important; display:inline-flex; flex-wrap:wrap; background:var(--ds-field-bg); border-radius:22px; padding:3px; gap:2px; box-shadow:none; border:0; }
.seg-pills .language-option { position:static; border:0; background:transparent; border-radius:20px; padding:7px 15px; font-size:13px; font-weight:600; color:#6a6386; cursor:pointer; white-space:nowrap; }
.seg-pills .language-option:hover { color:var(--primary-purple); background:transparent; }
.seg-pills .language-option.selected { background:#fff; color:var(--primary-purple); box-shadow:0 1px 4px rgba(90,60,140,.18); }

/* ============================================================================
   Add Guest/Family — Mockup-4 master-detail screen (tasks vRrEv2Np/fV1FKl7P/ng7g9cRN).
   Family status + fields on top; left guest rail (add/remove) + right detail pane;
   the rail collapses to a horizontal switcher on narrow screens.
   ============================================================================ */
.ag-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.ag-card { padding: 18px 20px; }
.ag-status-block { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.ag-status-seg { flex-wrap: wrap; }
.ag-fields { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.ag-fields:empty { margin-top: 0; }

.ag-main { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.ag-rail { display: flex; flex-direction: column; gap: 12px; }
.ag-guest-list { display: flex; flex-direction: column; gap: 8px; }
.ag-guest-item { display: flex; align-items: center; gap: 6px; border: 1px solid var(--ds-field-border); border-radius: var(--ds-input-radius); background: #fff; overflow: hidden; transition: border-color .15s, background .15s; }
.ag-guest-item.is-active { border-color: var(--secondary-purple); background: #faf7fe; }
.ag-guest-pick { flex: 1; text-align: left; border: none; background: transparent; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ds-text); padding: 11px 13px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-guest-del { border: none; background: transparent; color: var(--ds-muted); padding: 0 12px; align-self: stretch; cursor: pointer; transition: color .15s, background .15s; }
.ag-guest-del:hover { color: #e0245e; background: #fef2f4; }
.ag-add-guest { margin-top: 2px; }

.ag-detail { min-height: 120px; }
.ag-id-row { display: grid; grid-template-columns: 1fr 1.4fr 80px; gap: 10px; margin-bottom: 6px; }
.ag-check { display: inline-flex; align-items: center; gap: 8px; }
.ag-bool { width: 20px; height: 20px; accent-color: var(--secondary-purple); }
.ag-multi { display: flex; flex-direction: column; gap: 6px; }
.ag-multi-opt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ds-text); }
.ag-save { margin-top: 4px; }

@media (max-width: 720px) {
  .ag-main { grid-template-columns: 1fr; }
  .ag-guest-list { flex-direction: row; flex-wrap: wrap; }
  .ag-guest-item { flex: 0 1 auto; }
  .ag-guest-pick { padding: 9px 12px; }
  .ag-id-row { grid-template-columns: 1fr 1fr; }
  .ag-id-row > .ds-field:nth-child(3) { grid-column: span 2; }
}

/* Sidebar Grape logo -> home/events list (task pzWi44pH). */
.sidebar-logo-link { display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; }

/* Newly-added guest family flash on the guest list (task qyK8bHQ1). */
@keyframes glFocusFlash {
    0%   { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.55); background-color: #f6f0ff; }
    100% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); background-color: transparent; }
}
.guest-item.gl-focus-flash { animation: glFocusFlash 1.15s ease-out 2; border-radius: 12px; }

/* =========================================================================
   Reusable staged dropzone (GrapeDropzone) — ADR-0014 shared component.
   Task RPgNh7I7. Used by My Photos + Event Photos (BR0Op8s6). Token-driven.
   ========================================================================= */
.grape-dz-host { position: relative; }

.grape-dz-overlay {
    position: absolute; inset: 0; z-index: 30;
    display: none; align-items: center; justify-content: center; text-align: center;
    background: rgba(244, 242, 249, 0.96);
    border: 2.5px dashed var(--secondary-purple);
    border-radius: var(--border-radius);
    cursor: pointer;
}
.grape-dz-host.grape-dz-dragging .grape-dz-overlay { display: flex; }
.grape-dz-overlay-inner { pointer-events: none; color: var(--ds-text); padding: 20px; }
.grape-dz-overlay .grape-dz-ico { font-size: 2.6rem; color: var(--secondary-purple); margin-bottom: 10px; }
.grape-dz-overlay .grape-dz-prompt { font-size: 1.05rem; font-weight: 600; }
.grape-dz-overlay .grape-dz-browse { font-size: 0.85rem; color: var(--ds-muted); margin-top: 4px; }

.grape-dz-tray {
    display: none;
    border: 1px solid var(--ds-field-border);
    background: var(--ds-field-bg);
    border-radius: var(--ds-radius);
    padding: 14px; margin-bottom: 16px;
}
.grape-dz-tray.grape-dz-open { display: block; }
.grape-dz-tray-head { margin-bottom: 10px; }
.grape-dz-tray-count { font-size: 0.85rem; font-weight: var(--ds-label-weight); color: var(--ds-label-color); }

.grape-dz-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.grape-dz-thumb {
    position: relative; width: 82px; height: 82px; border-radius: 12px; overflow: hidden;
    background: #fff center / cover no-repeat;
    box-shadow: 0 1px 4px var(--shadow-purple);
}
.grape-dz-thumb.grape-dz-failed { outline: 2px solid #e05252; outline-offset: -2px; }
.grape-dz-thumb-x {
    position: absolute; top: 3px; right: 3px; width: 20px; height: 20px;
    border: none; border-radius: 50%;
    background: rgba(36, 27, 57, 0.72); color: #fff;
    cursor: pointer; font-size: 0.85rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.grape-dz-thumb-x:hover { background: #e05252; }

.grape-dz-actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.grape-dz-clear { background: none; border: none; color: var(--ds-muted); cursor: pointer; font-size: 0.82rem; font-weight: 600; }
.grape-dz-clear:hover { color: #e05252; }
.grape-dz-clear[disabled] { opacity: 0.5; cursor: default; }
.grape-dz-upload {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    background: var(--main-gradient); color: #fff; border: none;
    border-radius: var(--btn-radius); padding: 9px 20px;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.grape-dz-upload[disabled] { opacity: 0.6; cursor: default; }
.grape-dz-spin {
    width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: #fff;
    border-radius: 50%; display: none; animation: grape-dz-spin 0.7s linear infinite;
}
.grape-dz-upload.grape-dz-busy .grape-dz-spin { display: inline-block; }
@keyframes grape-dz-spin { to { transform: rotate(360deg); } }

/* ---- master-admin public photo curation (a7b7tJ79) ---- */
.app-add-row { margin: 14px 0 6px; }
.app-add-row h4 { margin: 0 0 8px; font-size: 0.95rem; }
.app-add-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.app-add-controls .ds-input { flex: 1 1 180px; min-width: 140px; }
.app-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.app-chip { border: 1px solid var(--border-color, #d5d9e0); background: #fff; border-radius: 999px;
  padding: 4px 12px; font-size: 0.8rem; cursor: pointer; }
.app-chip-active { background: #6a3aa2; border-color: #6a3aa2; color: #fff; }
.app-tile-tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px 0; min-height: 26px; }
.app-tag { display: inline-flex; align-items: center; gap: 4px; background: #f1ecf8; color: #4b2e77;
  border-radius: 999px; padding: 2px 8px; font-size: 0.72rem; }
.app-tag-x { border: none; background: none; color: #4b2e77; cursor: pointer; font-size: 0.85rem;
  line-height: 1; padding: 0; }
.app-tile-add { display: flex; align-items: center; gap: 6px; padding: 6px 8px 8px; }
.app-tag-input { flex: 1; font-size: 0.78rem; padding: 4px 8px; }
.app-add-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.app-add-tags .app-tag-input { flex: 0 1 140px; }

/* ---- The Event hub: inline title editor (I57zJspD) ---- */
.oa-row .oa-value { margin-left: auto; color: var(--text-muted, #7a8092); font-size: 0.85rem;
  max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-row .oa-value + .oa-chev { margin-left: 8px; }
.oa-inline-editor { display: flex; gap: 8px; align-items: center; padding: 10px 16px 14px; }
.oa-inline-editor[hidden] { display: none; } /* class display beats the hidden attr without this (found in Chrome validation) */
.oa-inline-editor .ds-input { flex: 1; }

/* ---- The Event: dedicated Date & Time edit surface (qWFUsGKc) ---- */
.tew-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tew-row > div { flex: 1 1 140px; }
.tew-date-error { font-size: .72rem; color: #d33; font-weight: 600; margin: 6px 0 0; }
.tew-actions { display: flex; gap: 10px; margin-top: 18px; }

/* ---- The Event: dedicated Location edit surface (Ya1LFOY2) ---- */
.twh-addr-results { border: 1px solid rgba(20,10,40,.12); border-radius: 11px; margin-top: 6px; overflow: hidden; background: #fff; }
.twh-addr-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(20,10,40,.08); padding: 11px 12px; cursor: pointer; font: inherit; font-size: .9rem; color: #2b2440; }
.twh-addr-item:last-child { border-bottom: none; }
.twh-addr-item:hover { background: #f6f3fb; }
.twh-addr-credit { padding: 6px 12px; font-size: .7rem; color: var(--text-muted, #7a8092); text-align: right; }

/* ---- master-admin tag vocabulary curation (LfqZbobm) ---- */
.at-tree { margin-top: 10px; }
.at-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-bottom: 1px solid rgba(20,10,40,.07); }
.at-row .at-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.at-key { background: #f1ecf8; color: #4b2e77; border-radius: 6px; padding: 1px 7px; font-size: .72rem; }
.at-count { background: #ede9f7; color: #6a3aa2; border-radius: 999px; padding: 1px 9px; font-size: .72rem; font-weight: 700; }
.at-retired .at-name { opacity: .45; text-decoration: line-through; }
.at-actions { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.at-select { font-size: .74rem; padding: 4px 8px; max-width: 170px; }

/* ---- account lifecycle admin page (tkSDLV27Nu) ---- */
.al-result { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(20,10,40,.09); border-radius: 12px; }
.al-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.al-email { font-weight: 700; word-break: break-all; }
.al-state-label { font-size: .74rem; color: var(--text-muted, #7a8092); }
.al-state { border-radius: 999px; padding: 2px 10px; font-size: .74rem; font-weight: 700; background: #ede9f7; color: #6a3aa2; }
.al-state-active { background: #e3f6ea; color: #1e7a45; }
.al-state-suspended { background: #fff4d6; color: #8a5a00; }
.al-state-disabled, .al-state-deleted { background: #fde6e6; color: #a12a2a; }
.al-note { margin: 10px 0 0; font-size: .8rem; color: var(--text-muted, #7a8092); }
.al-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; }
.al-reason-label { font-size: .8rem; font-weight: 600; }
.al-actions { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.al-result[hidden], .al-note[hidden], .al-controls[hidden] { display: none; }

/* ---- sidebar ADMIN section, master-admin only (ht5cRDfF) ---- */
.nav-admin-divider { margin: 16px 14px 4px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.25);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.nav-link.nav-link-admin i { color: #ffd166; }

/* ---- admin-nav pills on /app/admin/** pages (PYfqeJFB) ---- */
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.admin-nav-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px;
  padding: 7px 16px; font-size: .84rem; font-weight: 600; text-decoration: none;
  background: #fff; color: #4b2e77; border: 1px solid rgba(20,10,40,.12); }
.admin-nav-pill i { color: #b58900; }
.admin-nav-pill.active { background: #6a3aa2; border-color: #6a3aa2; color: #fff; }
.admin-nav-pill.active i { color: #ffd166; }

/* ============================================================================
   Account notification preferences card — App Settings (task tkOk7vcqMR).
   Rows stack label/toggle above the default-cadence selector; on wider cards the
   selector sits beside the text. Locked rows explain always-on essential mail.
   ============================================================================ */
.notif-pref-heading { display:flex; align-items:center; gap:9px; font-size:20px; font-weight:600; color:var(--text-dark); margin:0 0 6px; }
.notif-pref-heading i { color:var(--primary-purple); font-size:17px; }
.notif-pref-intro { color:var(--text-muted); margin:0 0 14px; line-height:1.5; }
.notif-pref-group { margin-top:14px; }
.notif-pref-group-title { font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--ds-muted); margin:0 0 6px; }
.notif-pref-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding:12px 0; border-top:1px solid #efeaf9; }
.notif-pref-group .notif-pref-row:first-of-type { border-top:0; }
.notif-pref-main { display:flex; align-items:center; gap:12px; flex:1 1 280px; min-width:0; }
.notif-pref-icon { flex:0 0 34px; height:34px; border-radius:10px; background:#f4eaff; color:var(--primary-purple); display:inline-flex; align-items:center; justify-content:center; font-size:15px; }
.notif-pref-text { flex:1 1 auto; min-width:0; }
.notif-pref-label { display:block; font-weight:600; font-size:14.5px; color:var(--ds-text); cursor:pointer; }
.notif-pref-locked .notif-pref-label { cursor:default; }
.notif-pref-sub { font-size:12.5px; color:var(--text-muted); line-height:1.45; margin-top:2px; overflow-wrap:anywhere; }
.notif-pref-toggle { position:relative; display:inline-block; width:46px; height:26px; flex-shrink:0; }
.notif-pref-toggle input { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; z-index:1; }
.notif-pref-slider { position:absolute; inset:0; background:#d9d4ec; border-radius:999px; transition:.2s; pointer-events:none; }
.notif-pref-slider::before { content:""; position:absolute; width:20px; height:20px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s; }
.notif-pref-toggle input:checked + .notif-pref-slider { background:var(--primary-purple); }
.notif-pref-toggle input:checked + .notif-pref-slider::before { transform:translateX(20px); }
.notif-pref-toggle input:focus-visible + .notif-pref-slider { box-shadow:0 0 0 3px var(--ds-focus-ring); }
.notif-pref-toggle input:disabled + .notif-pref-slider { opacity:.55; }
.notif-pref-cadence { display:flex; align-items:center; gap:10px; flex:0 1 auto; margin-left:46px; }
.notif-pref-cadence-label { font-size:12.5px; color:var(--ds-label-color); font-weight:600; white-space:nowrap; }
.notif-pref-select { width:auto; min-width:150px; padding-top:8px; padding-bottom:8px; font-size:13.5px; }
.notif-pref-select:disabled { opacity:.55; cursor:not-allowed; }
.notif-pref-cadence.is-muted { opacity:.55; }
.notif-pref-always { flex-shrink:0; white-space:nowrap; }
.notif-pref-card.is-saving { pointer-events:none; }
@media (max-width: 560px) {
    .notif-pref-cadence { margin-left:0; flex:1 1 100%; flex-wrap:wrap; }
    .notif-pref-select { flex:1 1 160px; min-width:0; }
}

/* Signed-in devices / sessions card (tki5JNWxky) — reuses the notif-pref heading/icon/sub styles */
.session-list { list-style:none; margin:4px 0 0; padding:0; }
.session-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; padding:12px 0; border-top:1px solid #efeaf9; }
.session-row:first-child { border-top:0; }
.session-icon { flex:0 0 34px; }
.session-text { flex:1 1 220px; min-width:0; }
.session-label { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; }
.session-name { font-weight:600; font-size:14.5px; color:var(--ds-text); overflow-wrap:anywhere; }
.session-meta { display:flex; flex-wrap:wrap; gap:2px 6px; }
.session-meta-sep { color:#c9c2dd; }
.session-revoke-btn { padding:8px 14px; font-size:13.5px; flex-shrink:0; }
.session-revoke-btn:disabled { opacity:.55; cursor:not-allowed; }
.session-row.is-revoked .session-name, .session-row.is-revoked .session-icon { opacity:.6; }
.session-empty { margin:6px 0 0; }
@media (max-width: 560px) {
    .session-revoke-btn { margin-left:48px; }
}

/* ---------------------------------------------------------------------------
   Durable notification inbox (task tkDx9JEuzw) — templates/app/inbox.html + js/inbox.js
   --------------------------------------------------------------------------- */
.inbox-card { grid-column: 1 / -1; }
.inbox-header { gap: 12px; flex-wrap: wrap; }
.inbox-mark-all {
    background: none; border: 1px solid #ddd6fe; color: #6d28d9; border-radius: 999px;
    padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.inbox-mark-all:hover { background: #f5f3ff; }
.inbox-mark-all:disabled { opacity: 0.5; cursor: default; }
.inbox-card .card-body { padding: 8px 0; }
.inbox-loading { text-align: center; padding: 24px; color: #9ca3af; }
.inbox-list { list-style: none; margin: 0; padding: 0; }
.inbox-item {
    display: flex; align-items: flex-start; gap: 8px; padding: 12px 20px;
    border-bottom: 1px solid #f3f4f6;
}
.inbox-item:last-child { border-bottom: none; }
.inbox-item.unread { background: #faf7ff; }
.inbox-item-link {
    flex: 1; min-width: 0; display: flex; gap: 12px; text-decoration: none; color: inherit;
}
.inbox-item-icon {
    flex: 0 0 36px; height: 36px; border-radius: 50%; background: #ede9fe; color: #7c3aed;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.inbox-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inbox-item-title {
    font-weight: 600; font-size: 14px; color: #1f2937; display: inline-flex; align-items: center; gap: 6px;
}
.inbox-item.unread .inbox-item-title { color: #4c1d95; }
.inbox-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; display: inline-block; }
.inbox-item-body { font-size: 14px; color: #374151; overflow-wrap: anywhere; }
.inbox-item-when { font-size: 12px; color: #9ca3af; }
.inbox-item-actions { display: flex; gap: 4px; flex: 0 0 auto; }
.inbox-action {
    width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent; color: #6b7280;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.inbox-action:hover { background: #f3f4f6; color: #111827; }
.inbox-empty { text-align: center; padding: 36px 20px; color: #6b7280; }
.inbox-empty i { font-size: 34px; color: #c4b5fd; margin-bottom: 10px; }
.inbox-more-wrap { text-align: center; }
.inbox-more {
    margin: 12px auto; background: none; border: none; color: #6d28d9; font-weight: 600; cursor: pointer;
    padding: 8px 16px;
}
.inbox-more:disabled { opacity: 0.5; }
.inbox-card [hidden] { display: none !important; }

/* ---------------------------------------------------------------------------
   Staged CSV guest import (task tkh8BvtkQm) — templates/app/guest-list/import.html + js/guest-import.js
   --------------------------------------------------------------------------- */
.gi-page { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.gi-page [hidden] { display: none !important; }
.gi-back { color: var(--primary-purple); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.gi-card .card-body { display: flex; flex-direction: column; gap: 14px; }
.gi-intro { margin: 0; color: #4b5563; font-size: 14px; }
.gi-muted { color: #9ca3af; font-size: 13px; }
.gi-help { margin: 0; }
.gi-example { background: #f7f5fc; border: 1px solid #efeaf9; border-radius: 12px; padding: 10px 14px; }
.gi-example-title { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.gi-example-csv { margin: 6px 0 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gi-limits { margin: 0; padding-left: 18px; color: #4b5563; font-size: 13px; }
.gi-upload-form { display: flex; flex-direction: column; gap: 12px; }
.gi-row { display: flex; gap: 12px; flex-wrap: wrap; }
.gi-row .gi-field { flex: 1 1 220px; }
.gi-field { display: flex; flex-direction: column; gap: 6px; }
.gi-label { font-size: 13px; font-weight: 600; color: #374151; }
.gi-check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #374151; }
.gi-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gi-danger { color: #dc2626; }
.gi-alert { border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.gi-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.gi-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.gi-file-line { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-weight: 600; color: #1f2937; overflow-wrap: anywhere; }
.gi-status-msg { font-size: 15px; font-weight: 600; color: #4c1d95; }
.gi-progress { height: 8px; background: #ede9fe; border-radius: 999px; overflow: hidden; }
.gi-progress-bar { height: 100%; width: 0; background: var(--main-gradient); transition: width .3s; }
.gi-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.gi-chip { background: #f3f4f6; color: #374151; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.gi-chip-ok { background: #ecfdf5; color: #065f46; }
.gi-chip-warning { background: #fffbeb; color: #92400e; }
.gi-chip-error { background: #fef2f2; color: #991b1b; }
.gi-preview-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gi-filter { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #4b5563; }
.gi-filter .ds-select { width: auto; padding-top: 7px; padding-bottom: 7px; }
.gi-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gi-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gi-table th { text-align: left; font-size: 12px; color: #6b7280; font-weight: 700; padding: 8px 10px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.gi-table td { padding: 8px 10px; border-bottom: 1px solid #f3f4f6; vertical-align: top; overflow-wrap: anywhere; }
.gi-table .ds-select { min-width: 180px; padding-top: 8px; padding-bottom: 8px; }
.gi-col-header { font-weight: 600; color: #1f2937; }
.gi-col-sample { color: #6b7280; }
.gi-row-error { background: #fff7f7; }
.gi-row-skipped td:not(:first-child) { opacity: .55; }
.gi-name { font-weight: 600; color: #1f2937; min-width: 140px; }
.gi-details { color: #4b5563; font-size: 13px; min-width: 140px; }
.gi-issues { min-width: 180px; }
.gi-issue { font-size: 13px; }
.gi-issue-error { color: #b91c1c; }
.gi-issue-warning { color: #92400e; }
.gi-tag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; }
.gi-tag-warning { background: #fffbeb; color: #92400e; }
.gi-applied { color: #059669; }
.gi-include { width: 18px; height: 18px; accent-color: var(--primary-purple); }
.gi-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 600px) {
    .gi-pager .ds-btn { padding: 10px 14px; }
    .gi-actions .ds-btn { width: 100%; }
}
a.control-btn { text-decoration: none; color: inherit; }
.gl-import-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--primary-purple); font-weight: 600; text-decoration: none; }
.gl-import-link:hover { text-decoration: underline; }

/* Account data export card (task tkX6tC50k6) */
.data-export-note { margin:0 0 14px; }
.data-export-status { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:4px 0 16px; }
.data-export-status[hidden] { display:none; }
.data-export-badge.is-ready { background:#e6f7ee; color:#1f8a4c; }
.data-export-badge.is-failed { background:#fdecec; color:#c0392b; }
.data-export-detail { margin:0; }
.data-export-progress { flex-basis:100%; height:6px; border-radius:6px; background:#efeaf9; overflow:hidden; }
.data-export-progress[hidden] { display:none; }
.data-export-progress-bar { height:100%; width:0; background:var(--main-gradient); transition:width .4s ease; }
.data-export-actions { display:flex; flex-wrap:wrap; gap:10px; }
.data-export-btn { padding:10px 18px; font-size:14px; text-decoration:none; }
.data-export-btn[hidden] { display:none; }
.data-export-btn:disabled { opacity:.55; cursor:not-allowed; }
