.cc31-area {
    box-sizing: border-box;
    width: min(690px, 100% - 32px);
    margin: clamp(20px, 5vw, 62px) auto;
    padding: clamp(16px, 4vw, 36px);
    background: #171613;
    border: 1px solid #51492c;
    border-radius: 14px;
    color: #f5efe0;
    font: 400 15px/1.6 'Poppins', sans-serif;
    overflow-wrap: anywhere;
}
.cc31-wide { width: min(1060px, 100% - 32px); }
.cc31-area h1 { font-size: clamp(1.7rem, 4vw, 2.45rem); margin: 0 0 12px; color: #efc51d; }
.cc31-area h2 { font-size: 1.2rem; margin: 0 0 .5rem; color: #f5db7c; }
.cc31-area a, .cc31-admin details > summary { color: #f5db7c; }
.cc31-area button, .cc31-admin button { min-height: 44px; }
.cc31-area a:focus-visible, .cc31-area button:focus-visible, .cc31-area summary:focus-visible {
    outline: 2px solid #f5db7c;
    outline-offset: 3px;
}
.cc31-form { display: grid; gap: 12px; min-width: 0; }
.cc31-form label { display: grid; gap: 4px; min-width: 0; }
.cc31-form [hidden] { display: none; }
.cc31-area [hidden] { display: none !important; }
.cc31-resend { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; text-align: left; }
.cc31-resend .cc-icon { flex: 0 0 auto; filter: brightness(0); }
.cc31-resend:disabled { opacity: .7; cursor: not-allowed; }
.cc31-form :is(input:not([type=checkbox]),select) {
    min-height: 44px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    color: #fff9ed;
    background: #10100e;
    border: 1px solid #716446;
    border-radius: 6px;
    padding: 9px 10px;
}
.cc31-form button { justify-self: start; }
.cc31-form .cc31-check { display: flex; align-items: start; gap: 9px; }
.cc31-check input { width: 19px; height: 19px; flex: none; accent-color: #efc51d; margin: 3px 0 0; }
.cc31-form .cc31-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cc31-fields, .cc31-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cc31-password { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
.cc31-small { font-size: .83rem; background: #29251e; color: #f5db7c; border: 1px solid #716446; }
.cc31-form meter { width: min(100%,300px); }
.cc31-form meter + small { margin-top: -8px; }
.cc31-back, .cc31-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.cc31-actions { margin: 12px 0; }
@font-face {
    font-family: 'Google Sans';
    src: url('google-sans-500.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
.cc31-actions button.cc31-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid #747775;
    border-radius: 4px;
    background: #fff;
    color: #1f1f1f;
    font: 500 14px/20px 'Google Sans', Arial, sans-serif;
    letter-spacing: .25px;
}
.cc31-actions button.cc31-google:hover { background: #f7f8f8; }
.cc31-actions button.cc31-google:active { background: #edf0f0; }
.cc31-google img { display: block; width: 18px; height: 18px; margin: 0; object-fit: contain; }
.cc31-actions button[value="facebook"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: #0866ff;
    border: 1px solid #0866ff;
    border-radius: 4px;
    color: #fff;
    font: 600 14px/20px Arial, sans-serif;
}
.cc31-actions button[value="facebook"]::before {
    content: '';
    width: 18px;
    height: 18px;
    background: #fff url('facebook-cuenta.png') center / contain no-repeat;
    border-radius: 50%;
}
.cc31-actions button[value="facebook"]:hover { background-color: #0755d5; }
.cc31-actions button:is(.cc31-google,[value="facebook"]) { min-width: min(226px,100%); justify-content: center; }
.cc31-form[data-oauth-form] .cc31-actions { margin-bottom: 0; }
.cc31-form .cc31-otra-cuenta {
    background: transparent;
    color: #f5db7c;
    border: 1px solid transparent;
    font-size: .85rem;
    text-decoration: underline;
}
.cc31-form[data-oauth-form][aria-busy] button { opacity: .65; cursor: progress; }
.cc31-proveedores .cc31-check { align-items: center; min-height: 44px; }
.cc31-proveedores .cc31-check img { flex: none; object-fit: contain; }
.cc31-proveedores .cc31-check small { display: block; color: #c7c3b5; }
.cc31-proveedores button:disabled { opacity: .6; cursor: not-allowed; }
.cc31-panel, .cc31-empty, .cc31-message {
    padding: clamp(12px,3vw,20px);
    margin: 14px 0;
    border: 1px solid #51492c;
    background: #1d1b15;
    border-radius: 8px;
}
.cc31-message { border-left: 4px solid #a6c786; }
.cc31-message.cc31-error { border-left-color: #efa399; }
.cc31-area summary, .cc31-admin summary { cursor: pointer; min-height: 44px; }
.cc31-panel details, .cc31-admin .panel { margin: 12px 0; }
.cc31-welcome { margin-bottom: 18px; }
.cc31-tile {
    min-height: 80px;
    padding: 16px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid #5e502d;
    border-radius: 10px;
    background: #211e17;
    text-decoration: none;
}
.cc31-tile:hover { border-color: #efc51d; background: #292319; }
.cc31-tile img { margin: 0; }
.cc31-admin .table-scroll { overflow: auto; }
.cc31-admin table { min-width: 870px; }
.cc31-admin .cc31-form { width: min(100%,560px); }
.cc31-admin-method { display:inline-flex; gap:.25rem; align-items:center; padding-right:.5rem; }
.cc31-account-state { display: inline-block; color: #f5db7c; font-weight: 600; }
.cc31-activo { color: #b2e197; }
.cc31-suspendido { color: #ffb2a5; }
.cc31-archivado { color: #d3d3cf; }
@media (max-width: 500px) {
    .cc31-fields,.cc31-grid { grid-template-columns: minmax(0,1fr); }
    .cc31-tile { min-height: 58px; }
}

.cc32-phone {
    min-width: 0;
    margin: 0;
    padding: .7rem;
    border: 1px solid #625334;
    border-radius: .6rem;
}
.cc32-phone > div {
    display: grid;
    grid-template-columns: minmax(5rem, 1fr) minmax(0, 2fr);
    gap: .6rem;
}
.cc32-phone input { min-width: 0; width: 100%; }
.cc32-email-address, .cc32-pending { overflow-wrap: anywhere; }
.cc32-email-status { display: flex; align-items: center; gap: .45rem; }
.cc32-verified { color: #91e4a0; }
.cc32-email-status .cc-icon { width: 1em; height: 1em; filter: invert(89%) sepia(15%) saturate(944%) hue-rotate(67deg); }
.cc32-pending { border-block: 1px solid #625334; margin-block: 1rem; padding-block: .8rem; }
.cc32-phone-conflict {
    box-sizing: border-box;
    width: min(30rem, calc(100% - 2rem));
    padding: 1.25rem;
    color: #f5efe0;
    background: #171613;
    border: 1px solid #716446;
    border-radius: .7rem;
}
.cc32-phone-conflict::backdrop { background: rgb(0 0 0 / 65%); }
.cc32-phone-conflict > div { display: grid; gap: .6rem; }
.cc32-phone-conflict button { width: 100%; }
.cc32-phone-conflict button span { display: block; overflow-wrap: anywhere; }

.cc35-profile [data-profile-form] { gap: .55rem; }
.cc35-profile #cc32-phone-help { color: #ddd5c3; font-size: .9rem; margin: .25rem 0; }
.cc35-profile .cc32-phone legend { font-weight: 600; }
.cc35-profile .cc32-phone legend img { width: 18px; height: 18px; vertical-align: middle; }
.cc35-profile .cc32-phone > div { grid-template-columns: minmax(5rem, .8fr) minmax(0, 2fr); }
.cc35-profile .cc32-phone input { min-height: 44px; }
.cc35-profile .cc32-email { margin-block: .8rem; }
.cc35-profile .cc32-email-address { margin-block: .15rem; }
.cc35-profile .cc32-email-status { width: fit-content; margin-block: .3rem; padding: .15rem .55rem; border: 1px solid currentColor; border-radius: 1rem; }
.cc35-profile .cc35-email-edit { margin: .55rem 0 0; }
.cc35-profile .cc35-email-edit form { margin-top: .7rem; }
.cc35-profile .cc35-profile-button {
    box-sizing: border-box; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
    border-radius: .45rem; border: 1px solid #75613b; padding: .35rem .65rem; color: #f5db7c;
    text-decoration: none; cursor: pointer;
}
.cc35-profile .cc35-profile-button::-webkit-details-marker { display: none; }
.cc35-profile .cc35-profile-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cc35-profile [data-email-cancel] { background: #312b1c; border: 1px solid #75613b; color: #f5db7c; }
.cc35-profile [data-profile-form] button[type=submit]:disabled {
    color: #e0d7bf; background: #3b362b; border-color: #6b5f46; cursor: not-allowed;
}
.cc35-profile :is(input,summary,button,a):focus-visible { outline: 2px solid #f5db7c; outline-offset: 2px; }
