/* crico (2026) 2026-11-11: acceso comun adaptable, sin dependencias externas. */
:root {
    color-scheme: light;
    --ink: #203549;
    --muted: #657687;
    --gold: #bd934c;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: #eef1f4;
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.5;
}
a { color: #315f80; }
.access-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100svh;
}
.identity {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 2.5rem clamp(2rem, 5vw, 5rem);
    background: radial-gradient(ellipse at 0 100%, #355367 0, transparent 65%), #192b3b;
    color: #f5f1e8;
}
.identity::after {
    content: "";
    position: absolute;
    width: 32rem;
    height: 32rem;
    border: 1px solid #ffffff0c;
    border-radius: 50%;
    right: -18rem;
    bottom: -15rem;
    pointer-events: none;
}
.wordmark { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: 600; align-self: flex-start; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid #bd934c99; border-radius: .6rem; color: #e0bf86; font-family: Georgia, serif; }
.identity-content { margin-block: auto; padding-block: 3rem; max-width: 30rem; }
.lodge-emblem { display: grid; place-items: center; width: 118px; height: 118px; padding: 14px; margin-bottom: 2rem; border-radius: 1.4rem; background: #faf7ef; }
.lodge-emblem img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .17em; margin: 0 0 .9rem; }
.identity .eyebrow { color: #dbbc86; }
.identity h1 { font-size: clamp(1.9rem, 3.4vw, 3.25rem); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.16; margin: 0 0 1.4rem; overflow-wrap: anywhere; }
.identity-description { color: #bdcbd5; font-size: 1.05rem; max-width: 24rem; }
.identity-footer { color: #b8c6cf; font-size: .76rem; margin: 0; }
.access-panel { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.5rem, 5vw, 5.5rem) 1.5rem; background: #fff; }
.access-form { width: 100%; max-width: 420px; margin: auto; padding-block: 1rem; }
.access-form .eyebrow { color: #8c6a36; }
h2 { margin: 0; font-size: 2rem; letter-spacing: -.035em; font-weight: 650; }
.intro { margin: .6rem 0 2rem; color: var(--muted); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .5rem; }
.field input { width: 100%; min-height: 49px; border: 1px solid #ccd5de; border-radius: .65rem; background: #fbfcfd; padding: .7rem .9rem; font: inherit; color: var(--ink); }
.field input:focus { border-color: #487596; outline: 3px solid #48759620; background: #fff; }
.version-choice { border: 0; padding: 0; margin: 1.8rem 0 1.5rem; min-width: 0; }
.version-choice legend { font-size: .83rem; font-weight: 600; padding: 0; margin-bottom: .65rem; }
.version-option { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border: 1px solid #dce2e8; border-radius: .7rem; margin-bottom: .65rem; cursor: pointer; transition: background .15s, border-color .15s; }
.version-option:has(input:checked) { border-color: #547a96; background: #f0f5f9; box-shadow: inset 3px 0 #315976; }
.version-option:has(input:focus-visible) { outline: 3px solid #48759655; outline-offset: 2px; }
.version-option input { accent-color: #315976; width: 17px; height: 17px; margin: 0; flex-shrink: 0; }
.version-copy { min-width: 0; }
.version-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .87rem; font-weight: 650; }
.version-description { display: block; font-size: .77rem; margin-top: .15rem; color: var(--muted); }
.recommended { font-size: .62rem; color: #466044; background: #e4ecde; padding: .15rem .45rem; border-radius: .3rem; font-weight: 600; }
.enter-button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 50px; border: 0; border-radius: .65rem; background: #254862; color: #fff; padding: .8rem 1.1rem; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.enter-button:hover { background: #18364e; }
.enter-button:focus-visible, a:focus-visible { outline: 3px solid #bd934c; outline-offset: 4px; }
.enter-button span:last-child { font-size: 1.25rem; font-weight: 400; }
.access-note { margin-top: 1.3rem; text-align: center; font-size: .73rem; color: var(--muted); }
.recovery { margin-top: 1.2rem; padding: .85rem 1rem; border-radius: .6rem; background: #fff6e5; font-size: .87rem; }
.recovery p { margin: 0 0 .35rem; }
.recovery a { font-weight: 600; }
.panel-footer { text-align: center; font-size: .7rem; color: #71808c; margin-top: 1.5rem; }
.panel-footer span { padding-inline: .5rem; }
@media (max-width: 767px) {
    .access-shell { grid-template-columns: 1fr; }
    .identity { padding: 1.4rem 1.5rem 1.6rem; }
    .wordmark { font-size: .9rem; }
    .brand-mark { width: 1.8rem; height: 1.8rem; }
    .identity-content { padding: 1.6rem 0 0; margin: 0; }
    .lodge-emblem { float: right; width: 66px; height: 66px; padding: 8px; margin: 0 0 .6rem 1rem; border-radius: .85rem; }
    .identity .eyebrow { font-size: .61rem; margin-bottom: .5rem; }
    .identity h1 { font-size: 1.65rem; margin-bottom: .6rem; }
    .identity-description, .identity-footer { display: none; }
    .access-panel { padding: 1.6rem 1.5rem 1.2rem; }
    .access-form { padding: 0; }
    .access-form > .eyebrow { display: none; }
    h2 { font-size: 1.6rem; }
    .intro { font-size: .86rem; margin-bottom: 1.4rem; }
    .version-choice { margin-top: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
