/* Registration-only presentation. Form actions and attendance rules stay unchanged. */
@media screen {
    :root[data-theme] body[data-page="registro"] {
        --checkin-ink: #f4f5f6;
        --checkin-muted: #c0c4c7;
        --checkin-line: #5a6064;
        --checkin-surface: linear-gradient(145deg, #292d30ed, #0b0e10f2 74%);
        --checkin-orange: #ff7a00;
        --checkin-icon: #ff850c;
        --checkin-glow: #ff78004a;
        --checkin-green: #52ec56;
        --checkin-input: #101416d9;
        --checkin-rule: #ffffff26;
        --checkin-background: url('checkin-studio-background.webp');
    }
    :root[data-theme="light"] body[data-page="registro"] {
        --checkin-ink: #161b1e;
        --checkin-muted: #4a5359;
        --checkin-line: #a9b1b5;
        --checkin-surface: linear-gradient(145deg, #fffffffa, #edf0f2f5);
        --checkin-icon: #b34b00;
        --checkin-glow: #ff780027;
        --checkin-green: #167832;
        --checkin-input: #ffffff;
        --checkin-rule: #29343b28;
        --checkin-background: linear-gradient(#f0f2f4eb, #f0f2f4eb), url('checkin-studio-background.webp');
    }
    :root[data-theme] body[data-page="registro"] .shell {
        background: var(--checkin-background) center top / cover fixed;
        color: var(--checkin-ink);
        padding: 14px 22px 10px;
    }
    :root[data-theme] .checkin-studio {
        display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
        grid-template-areas: "brand" "title" "search" "profile" "routine" "benefits" "status";
        grid-template-rows: none; width: 100%; max-width: none; margin: 0;
        padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible;
    }
    :root[data-theme] .checkin-studio > * { min-width: 0; }
    :root[data-theme] .checkin-studio .lucide { flex: 0 0 auto; }
    :root[data-theme] .checkin-studio .checkin-header {
        display: grid; grid-area: brand; grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px; align-items: center; padding: 12px 18px; border: 1px solid var(--checkin-line);
        border-left: 2px solid var(--checkin-orange); border-radius: 8px; background: var(--checkin-surface);
        box-shadow: -3px 3px 14px var(--checkin-glow); min-width: 0;
    }
    :root[data-theme] .checkin-studio .checkin-header::after { display: none; }
    :root[data-theme] .checkin-studio .checkin-header > div:first-child { grid-column: 2; grid-row: 1; min-width: 0; }
    :root[data-theme] .checkin-studio .checkin-header .gym-logo { grid-column: 1; grid-row: 1; width: 72px; height: 76px; justify-self: start; }
    :root[data-theme] .checkin-studio .checkin-header h2 { font-size: 23px; font-style: italic; font-weight: 850; line-height: 1.12; color: var(--checkin-ink); margin: 0 0 6px; overflow-wrap: anywhere; }
    :root[data-theme] .checkin-studio .checkin-header p { display: block; color: var(--checkin-muted); font-size: 12px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
    :root[data-theme] .checkin-studio .checkin-header p + p::before { display: none; }
    :root[data-theme] .checkin-studio .checkin-header .checkin-branch { display: flex; align-items: center; gap: 6px; color: var(--checkin-ink); font-weight: 600; }
    :root[data-theme] .checkin-studio .checkin-branch .lucide { width: 15px; height: 15px; flex: 0 0 15px; color: var(--checkin-icon); }
    :root[data-theme] .checkin-studio .checkin-topbar { grid-area: title; margin: 0; padding: 10px 8px; border: 0; min-height: 0; align-items: center; }
    :root[data-theme] .checkin-studio .checkin-topbar > div { display: block; }
    :root[data-theme] .checkin-studio .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 15px; font-style: italic; color: var(--checkin-muted); }
    :root[data-theme] .checkin-studio .eyebrow::before { content: ''; width: 25px; height: 12px; border-inline: 6px solid var(--checkin-orange); transform: skew(-24deg); }
    :root[data-theme] .checkin-studio .checkin-topbar h1 { font-size: 34px; line-height: 1.15; font-style: italic; font-weight: 850; color: var(--checkin-ink); margin: 0; }
    :root[data-theme] .checkin-studio .checkin-profile,
    :root[data-theme] .checkin-studio > .routine-card,
    :root[data-theme] .checkin-studio .checkin-search,
    :root[data-theme] .checkin-studio .checkin-benefit-slot,
    :root[data-theme] .checkin-studio .checkin-status > div {
        position: relative; border: 1px solid var(--checkin-line); border-radius: 8px;
        background: var(--checkin-surface); box-shadow: inset 0 1px 0 #ffffff19, 0 8px 24px #00000024;
    }
    :root[data-theme] .checkin-studio .checkin-search::after,
    :root[data-theme] .checkin-studio .checkin-status > div::after {
        content: ''; position: absolute; bottom: -1px; right: -1px; width: 40%; height: 22px;
        border-bottom: 2px solid var(--checkin-orange); border-right: 2px solid var(--checkin-orange);
        border-radius: 0 0 8px; pointer-events: none; filter: drop-shadow(0 0 5px var(--checkin-glow));
    }
    :root[data-theme] .checkin-studio .checkin-search {
        grid-area: search; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
        align-content: center; padding: 28px; margin: 0;
    }
    :root[data-theme] .checkin-studio .checkin-search label { display: flex; align-items: center; gap: 12px; grid-column: 1; font-size: 22px; font-weight: 750; line-height: 1.3; color: var(--checkin-ink); }
    :root[data-theme] .checkin-studio .checkin-search label .lucide { color: var(--checkin-icon); width: 28px; height: 28px; flex-shrink: 0; }
    :root[data-theme] .checkin-studio .checkin-key-field { position: relative; min-width: 0; }
    :root[data-theme] .checkin-studio .checkin-key-field > .lucide { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); width: 23px; height: 23px; color: var(--checkin-muted); pointer-events: none; }
    :root[data-theme] .checkin-studio #checkin-key { display: block; width: 100%; height: 56px; border: 1px solid #9a9fa3; border-radius: 8px; padding: 10px 48px 10px 14px; color: var(--checkin-ink); background: var(--checkin-input); font-family: inherit; font-size: 21px; box-shadow: inset 0 1px 4px #00000018; }
    :root[data-theme] .checkin-studio #checkin-key::placeholder { color: var(--checkin-muted); font-size: 15px; opacity: 1; }
    :root[data-theme] .checkin-studio #checkin-key:focus { outline: 2px solid var(--checkin-orange); outline-offset: 3px; box-shadow: 0 0 14px var(--checkin-glow); }
    :root[data-theme] .checkin-studio .primary { background: linear-gradient(180deg, #e96c00, #c54100); color: #fff; border: 1px solid #ff9b27; border-radius: 8px; box-shadow: inset 0 1px 0 #ffffff42, 0 3px 14px var(--checkin-glow); font-weight: 800; }
    :root[data-theme] .checkin-studio .primary:hover:not(:disabled) { background: linear-gradient(180deg, #db5c00, #b73700); }
    :root[data-theme] .checkin-studio .primary:disabled { opacity: .5; box-shadow: none; }
    :root[data-theme] .checkin-studio .checkin-search .primary { width: 100%; min-height: 56px; padding: 12px; font-size: 23px; font-style: italic; gap: 12px; }
    :root[data-theme] .checkin-studio .checkin-search .primary .lucide { width: 30px; height: 30px; }
    :root[data-theme] .checkin-studio .checkin-profile { grid-area: profile; display: grid; grid-template-columns: 28% minmax(0, 1fr); align-content: center; align-items: center; gap: 20px; padding: 20px; }
    :root[data-theme] .checkin-studio .checkin-profile .member-photo { grid-column: 1; grid-row: 1; display: flex; width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 300px; min-height: 0; border: 1px solid #858b8f; border-radius: 8px; overflow: hidden; background: var(--checkin-input); box-shadow: -3px -3px 0 var(--checkin-orange), -5px -5px 18px var(--checkin-glow); }
    :root[data-theme] .checkin-studio .member-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
    :root[data-theme] .checkin-studio .member-photo .silhouette { width: 100%; height: 100%; zoom: 1; }
    :root[data-theme] .checkin-studio .silhouette svg { color: var(--checkin-muted); width: 64px; height: 64px; }
    :root[data-theme] .checkin-studio .member-fields { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-self: center; min-width: 0; }
    :root[data-theme] .checkin-studio .member-fields > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 6px 8px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--checkin-rule); grid-column: 1; }
    :root[data-theme] .checkin-studio .member-fields > div:last-child { border-bottom: 0; }
    :root[data-theme] .checkin-studio .member-fields strong { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.4; color: var(--checkin-ink); text-transform: uppercase; font-weight: 600; }
    :root[data-theme] .checkin-studio .member-fields strong .lucide { width: 22px; height: 22px; color: var(--checkin-icon); flex-shrink: 0; }
    :root[data-theme] .checkin-studio .member-fields span { width: 100%; min-height: 0; background: none; padding: 0; border: 0; font-size: 16px; line-height: 1.35; color: var(--checkin-ink); overflow-wrap: anywhere; }
    :root[data-theme] .checkin-studio .member-fields > div:first-child span { font-size: 22px; line-height: 1.2; font-weight: 750; }
    :root[data-theme] .checkin-studio .member-fields > div:nth-child(2) span { justify-self: start; width: auto; max-width: 100%; padding: 4px 10px; font-size: 15px; font-weight: 700; color: #17120a; background: linear-gradient(#ff9b21, #f57000); border: 1px solid #ffaa43; border-radius: 6px; }
    :root[data-theme] .checkin-studio progress { grid-column: 2; width: 100%; height: 8px; border: 0; border-radius: 8px; accent-color: var(--checkin-green); background: #72767a44; overflow: hidden; }
    :root[data-theme] .checkin-studio progress::-webkit-progress-bar { background: #72767a44; border-radius: 8px; }
    :root[data-theme] .checkin-studio progress::-webkit-progress-value { background: var(--checkin-green); border-radius: 8px; }
    :root[data-theme] .checkin-studio progress::-moz-progress-bar { background: var(--checkin-green); }
    :root[data-theme] .checkin-studio .checkin-waiting { grid-column: 2; grid-row: 1; }
    :root[data-theme] .checkin-studio .checkin-waiting p { color: var(--checkin-icon); font-size: 12px; }
    :root[data-theme] .checkin-studio .checkin-waiting h2 { color: var(--checkin-ink); font-size: 23px; }
    :root[data-theme] .checkin-studio > .routine-card { grid-area: routine; display: flex; flex-direction: column; margin: 0; padding: 0 18px 12px; }
    :root[data-theme] .checkin-studio .routine-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; flex: 0 0 auto; background: none; border-bottom: 1px solid var(--checkin-line); }
    :root[data-theme] .checkin-studio .routine-tabs a { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--checkin-ink); font-size: 18px; font-weight: 700; padding: 14px 4px; border-bottom: 2px solid transparent; }
    :root[data-theme] .checkin-studio .routine-tabs a:first-child { border-bottom-color: var(--checkin-orange); }
    :root[data-theme] .checkin-studio .routine-tabs .lucide { color: var(--checkin-icon); width: 23px; height: 23px; }
    :root[data-theme] .checkin-studio .routine-grid { flex: 1; display: grid; grid-template-columns: 90px minmax(0, 1fr); grid-auto-rows: minmax(32px, auto); align-content: center; align-items: stretch; padding: 6px 0 0; gap: 0; }
    :root[data-theme] .checkin-studio .routine-grid strong,
    :root[data-theme] .checkin-studio .routine-grid span { padding: 8px 6px; font-size: 13px; line-height: 1.3; border-bottom: 1px solid var(--checkin-rule); white-space: normal; overflow-wrap: anywhere; color: var(--checkin-ink); }
    :root[data-theme] .checkin-studio .routine-grid strong { color: var(--checkin-icon); font-weight: 750; text-transform: uppercase; }
    :root[data-theme] .checkin-studio .routine-grid .is-today { background: #ff85000b; }
    :root[data-theme] .checkin-studio .routine-grid > :nth-last-child(-n+2) { border-bottom: 0; }
    :root[data-theme] .checkin-studio .checkin-benefit-slot { grid-area: benefits; min-height: 74px; display: flex; align-items: center; }
    :root[data-theme] .checkin-studio .checkin-benefit-slot:empty::before { content: 'Beneficios del paquete'; padding: 16px 22px; font-size: 13px; color: var(--checkin-muted); }
    :root[data-theme] .checkin-studio .checkin-benefits { display: block; grid-area: auto; width: 100%; padding: 10px 18px; border: 0; }
    :root[data-theme] .checkin-studio .checkin-benefits h3 { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
    :root[data-theme] .checkin-studio .checkin-benefits ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
    :root[data-theme] .checkin-studio .checkin-benefits li { grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; padding: 6px 18px; border-right: 1px solid var(--checkin-line); }
    :root[data-theme] .checkin-studio .checkin-benefits li:first-child { padding-left: 0; }
    :root[data-theme] .checkin-studio .checkin-benefits li:last-child { padding-right: 0; border: 0; }
    :root[data-theme] .checkin-studio .checkin-benefits .lucide { width: 38px; height: 38px; color: var(--checkin-icon); }
    :root[data-theme] .checkin-studio .checkin-benefits strong { font-size: 17px; line-height: 1.3; color: var(--checkin-ink); }
    :root[data-theme] .checkin-studio .checkin-benefits span,
    :root[data-theme] .checkin-studio .checkin-benefits > p { font-size: 12px; line-height: 1.35; color: var(--checkin-muted); }
    :root[data-theme] .checkin-studio .checkin-benefits [data-included="0"] .lucide { color: var(--checkin-muted); }
    :root[data-theme] .checkin-studio .checkin-benefits [data-included="0"] strong { font-weight: 500; color: var(--checkin-muted); }
    :root[data-theme] .checkin-studio .checkin-status { grid-area: status; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; gap: 16px; border: 0; background: none; }
    :root[data-theme] .checkin-studio .checkin-status > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-content: center; align-items: center; align-self: stretch; padding: 16px 24px; }
    :root[data-theme] .checkin-studio .checkin-status > div > .lucide { grid-column: 1; grid-row: 1 / 3; width: 36px; height: 36px; color: var(--checkin-icon); }
    :root[data-theme] .checkin-studio .checkin-status > div > span { grid-column: 2; color: var(--checkin-muted); font-size: 14px; line-height: 1.2; }
    :root[data-theme] .checkin-studio .checkin-status strong { grid-column: 2; font-size: 28px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--checkin-ink); }
    :root[data-theme] .checkin-studio .checkin-status .badge { justify-self: start; width: auto; padding: 6px 18px; font-size: 18px; font-weight: 750; border-radius: 6px; border: 1px solid var(--checkin-line); background: #77777720; color: var(--checkin-muted); }
    :root[data-theme] .checkin-studio .checkin-status .badge.ok { background: #1c582d88; color: #b8ffbd; border-color: #47c94e; }
    :root[data-theme="light"] .checkin-studio .checkin-status .badge.ok { background: #d6f0dc; color: #166b2c; }
    :root[data-theme] .checkin-studio .checkin-status .badge.warn { background: #9c3e242b; color: #ffb78c; border-color: #db793f; }
    :root[data-theme="light"] .checkin-studio .checkin-status .badge.warn { color: #922709; }
    :root[data-theme] .checkin-studio [data-checkin-state]:has(.badge.ok)::after { border-color: var(--checkin-green); filter: drop-shadow(0 0 5px #3dff3740); }
    :root[data-theme] .checkin-studio [data-checkin-state]:has(.badge.ok) > .lucide { color: var(--checkin-green); }
    :root[data-theme] .checkin-studio .checkin-status form { grid-column: 1 / -1; justify-self: end; }
    :root[data-theme] .checkin-studio .checkin-status form .primary { min-height: 38px; padding: 8px 20px; }
    :root[data-theme] .checkin-studio .checkin-status > [data-checkin-state] { grid-template-columns: 28px 100px minmax(0, 1fr); column-gap: 10px; padding: 10px 14px; }
    :root[data-theme] .checkin-studio [data-checkin-state] > .lucide { width: 28px; height: 28px; }
    :root[data-theme] .checkin-studio .checkin-status > [data-checkin-state] > .badge { font-size: 12px; line-height: 1.3; padding: 4px 6px; max-width: 100%; white-space: normal; }
    :root[data-theme] .checkin-studio .checkin-notices { position: static; grid-column: 3; grid-row: 1 / 3; min-width: 0; height: 56px; overflow-y: auto; overscroll-behavior: contain; align-content: center; scrollbar-width: thin; }
    :root[data-theme] .checkin-studio .checkin-notices:empty { visibility: hidden; }
    :root[data-theme] body[data-page="registro"] .checkin-studio .checkin-notices .flash { display: block; padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; font-size: 11px; line-height: 1.4; color: #b6f5c0; overflow-wrap: anywhere; }
    :root[data-theme] .checkin-studio .checkin-notices .flash + .flash { margin-top: 4px; }
    :root[data-theme] .checkin-studio .checkin-notices .flash strong,
    :root[data-theme] .checkin-studio .checkin-notices .flash span { display: block; font: inherit; color: inherit; }
    :root[data-theme] .checkin-studio .checkin-notices .flash strong { font-weight: 750; }
    :root[data-theme] .checkin-studio .checkin-notices a { color: inherit; text-decoration: underline; font-weight: 700; }
    :root[data-theme] body[data-page="registro"] .checkin-studio .checkin-notices [data-checkin-notice="error"] { color: #ffb2ba; }
    :root[data-theme] body[data-page="registro"] .checkin-studio .checkin-notices [data-checkin-notice="renewal"] { color: #ffda8c; }
    :root[data-theme="light"] body[data-page="registro"] .checkin-studio .checkin-notices .flash { color: #21683a; }
    :root[data-theme="light"] body[data-page="registro"] .checkin-studio .checkin-notices [data-checkin-notice="error"] { color: #a5243c; }
    :root[data-theme="light"] body[data-page="registro"] .checkin-studio .checkin-notices [data-checkin-notice="renewal"] { color: #825300; }
    :root[data-theme] .checkin-studio [data-checkin-state]:has([data-checkin-notice="error"])::after { border-color: #df626d; filter: none; }
    :root[data-theme] .checkin-studio [data-checkin-state]:has([data-checkin-notice="error"]) > .lucide { color: #df626d; }
    :root[data-theme] .checkin-studio:has(> .birthday-greeting) .checkin-header { display: grid; }
    :root[data-theme] .checkin-studio:has(> .birthday-greeting) .checkin-topbar { display: none; }
    :root[data-theme] .checkin-studio > .birthday-greeting { grid-area: title; margin: 0; padding: 10px 16px; border-radius: 8px; background: var(--checkin-surface); color: var(--checkin-ink); }
    :root[data-theme] body[data-page="registro"] .checkin-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; max-width: none; margin: 16px 0 0; padding: 10px 18px; border: 1px solid var(--checkin-line); border-radius: 8px; background: var(--checkin-surface); color: var(--checkin-ink); }
    :root[data-theme] body[data-page="registro"] .checkin-footer label { font-size: 13px; color: var(--checkin-ink); }
    :root[data-theme] body[data-page="registro"] .checkin-footer > strong { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 16px; border-inline: 1px solid var(--checkin-line); font-size: 13px; font-weight: 500; text-align: center; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div { grid-column: 3; grid-row: 1; display: flex; gap: 10px; align-items: center; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div a { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 9px 16px; min-height: 38px; border: 1px solid var(--checkin-line); border-radius: 7px; color: var(--checkin-ink); background: var(--checkin-surface); font-size: 13px; box-shadow: inset 0 1px 0 #ffffff24; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div a:hover { border-color: var(--checkin-orange); }
    :root[data-theme] body[data-page="registro"] .checkin-footer .lucide { width: 20px; height: 20px; flex-shrink: 0; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div strong { font-size: 25px; font-style: italic; color: var(--checkin-ink); margin-left: 6px; }
    :root[data-theme] body[data-page="registro"] .checkin-detail-panel { padding: 14px 20px; margin-top: 16px; background: var(--checkin-surface); border: 1px solid var(--checkin-line); border-radius: 8px; color: var(--checkin-ink); }
}
@media screen and (min-width: 1100px) {
    :root[data-theme] body[data-page="registro"] .shell { display: flex; flex-direction: column; }
    :root[data-theme] .checkin-studio { flex: 1 0 auto; gap: 14px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.05fr) minmax(0, .9fr); grid-template-areas: "brand title title" "profile routine search" "benefits benefits benefits" "status status status"; grid-template-rows: 106px minmax(285px, 1fr) 86px auto; }
    :root[data-theme] .checkin-studio .checkin-benefit-slot { min-height: 0; }
    :root[data-theme] .checkin-studio .checkin-status { grid-template-columns: minmax(0, .85fr) minmax(0, .75fr) minmax(0, 1.4fr); }
    :root[data-theme] .checkin-studio .checkin-status:has(form) { grid-template-columns: minmax(0, .85fr) minmax(0, .75fr) minmax(0, 1.4fr) auto; }
    :root[data-theme] .checkin-studio .checkin-status form { grid-column: 4; align-self: center; }
}
@media screen and (min-width: 1600px) {
    :root[data-theme] .checkin-studio { gap: 20px; grid-template-rows: 110px minmax(320px, 1fr) 98px auto; }
    :root[data-theme] .checkin-studio .checkin-topbar h1 { font-size: 44px; }
    :root[data-theme] .checkin-studio .checkin-header { grid-template-columns: 82px minmax(0, 1fr); padding-block: 10px; }
    :root[data-theme] .checkin-studio .checkin-header .gym-logo { width: 82px; height: 86px; }
    :root[data-theme] .checkin-studio .checkin-header h2 { font-size: 29px; }
    :root[data-theme] .checkin-studio .checkin-profile { padding: 26px; gap: 24px; }
    :root[data-theme] .checkin-studio .member-fields > div { grid-template-columns: 130px minmax(0, 1fr); padding-block: 14px; }
    :root[data-theme] .checkin-studio .member-fields strong { font-size: 12px; }
    :root[data-theme] .checkin-studio .member-fields span { font-size: 18px; }
    :root[data-theme] .checkin-studio .member-fields > div:first-child span { font-size: 26px; }
    :root[data-theme] .checkin-studio .routine-grid { grid-template-columns: 116px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .routine-grid strong,
    :root[data-theme] .checkin-studio .routine-grid span { font-size: 15px; padding-block: 9px; }
    :root[data-theme] .checkin-studio .checkin-benefits { padding: 18px 24px; }
    :root[data-theme] .checkin-studio .checkin-status > div { min-height: 96px; }
}
@media screen and (min-width: 1100px) and (max-width: 1399px) {
    :root[data-theme] .checkin-studio .checkin-profile { padding: 18px; gap: 16px; }
    :root[data-theme] .checkin-studio .member-fields > div { grid-template-columns: 98px minmax(0, 1fr); padding-block: 9px; }
    :root[data-theme] .checkin-studio .member-fields strong { font-size: 10px; gap: 7px; }
    :root[data-theme] .checkin-studio .member-fields span { font-size: 14px; }
    :root[data-theme] .checkin-studio .member-fields > div:first-child span { font-size: 18px; }
    :root[data-theme] .checkin-studio .member-fields > div:nth-child(2) span { font-size: 13px; padding-inline: 7px; }
    :root[data-theme] .checkin-studio .checkin-search { padding: 20px; gap: 20px; }
    :root[data-theme] .checkin-studio .checkin-search label { font-size: 18px; gap: 8px; }
    :root[data-theme] .checkin-studio .checkin-search label .lucide { width: 24px; height: 24px; }
    :root[data-theme] .checkin-studio .routine-grid { grid-template-columns: 78px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .routine-grid strong,
    :root[data-theme] .checkin-studio .routine-grid span { font-size: 11px; padding-inline: 4px; }
    :root[data-theme] .checkin-studio .checkin-benefits li { grid-template-columns: 28px minmax(0, 1fr); padding-inline: 12px; gap: 9px; }
    :root[data-theme] .checkin-studio .checkin-benefits .lucide { width: 28px; height: 28px; }
    :root[data-theme] .checkin-studio .checkin-benefits strong { font-size: 14px; }
    :root[data-theme] .checkin-studio .checkin-benefits span { font-size: 11px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer { gap: 12px; padding-inline: 14px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer label,
    :root[data-theme] body[data-page="registro"] .checkin-footer > strong,
    :root[data-theme] body[data-page="registro"] .checkin-footer div a { font-size: 11px; }
}
@media screen and (min-width: 1100px) and (min-height: 741px) and (max-height: 800px) {
    :root[data-theme] body[data-page="registro"] .shell { padding-block: 10px; }
    :root[data-theme] .checkin-studio { grid-template-rows: 88px minmax(270px, 1fr) 86px auto; }
    :root[data-theme] .checkin-studio .checkin-header { padding-block: 8px; grid-template-columns: 60px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .checkin-header .gym-logo { width: 60px; height: 64px; }
    :root[data-theme] .checkin-studio .checkin-header h2 { font-size: 22px; }
    :root[data-theme] .checkin-studio .routine-tabs a { padding-block: 12px; }
}
@media screen and (min-width: 1100px) and (max-height: 740px) {
    :root[data-theme] body[data-page="registro"] .shell { padding-block: 8px 10px; }
    :root[data-theme] .checkin-studio { gap: 10px; grid-template-rows: 76px minmax(228px, 1fr) 70px auto; }
    :root[data-theme] .checkin-studio .checkin-header { padding: 8px 14px; grid-template-columns: 52px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .checkin-header .gym-logo { width: 52px; height: 54px; }
    :root[data-theme] .checkin-studio .checkin-header h2 { font-size: 20px; margin-bottom: 2px; }
    :root[data-theme] .checkin-studio .checkin-header p { font-size: 10px; }
    :root[data-theme] .checkin-studio .checkin-topbar h1 { font-size: 30px; }
    :root[data-theme] .checkin-studio .checkin-profile { padding-block: 12px; }
    :root[data-theme] .checkin-studio .member-fields > div { padding-block: 6px; }
    :root[data-theme] .checkin-studio .checkin-search { gap: 16px; }
    :root[data-theme] .checkin-studio .checkin-search .primary,
    :root[data-theme] .checkin-studio #checkin-key { height: 46px; min-height: 46px; }
    :root[data-theme] .checkin-studio .checkin-search .primary { font-size: 20px; padding-block: 8px; }
    :root[data-theme] .checkin-studio > .routine-card { padding-bottom: 8px; }
    :root[data-theme] .checkin-studio .routine-tabs a { padding-block: 9px; font-size: 16px; }
    :root[data-theme] .checkin-studio .routine-grid { grid-auto-rows: minmax(24px, auto); padding-top: 4px; }
    :root[data-theme] .checkin-studio .routine-grid strong,
    :root[data-theme] .checkin-studio .routine-grid span { padding-block: 4px; }
    :root[data-theme] .checkin-studio .checkin-benefit-slot { min-height: 64px; }
    :root[data-theme] .checkin-studio .checkin-benefits { padding-block: 7px; }
    :root[data-theme] .checkin-studio .checkin-status { gap: 10px; }
    :root[data-theme] .checkin-studio .checkin-status > div { padding: 10px 18px; min-height: 66px; grid-template-columns: 30px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .checkin-status > div > .lucide { width: 30px; height: 30px; }
    :root[data-theme] .checkin-studio .checkin-status > div > span { font-size: 11px; }
    :root[data-theme] .checkin-studio .checkin-status strong { font-size: 22px; }
    :root[data-theme] .checkin-studio .checkin-status .badge { padding: 4px 12px; font-size: 14px; }
    :root[data-theme] .checkin-studio .checkin-notices { height: 42px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer { padding-block: 6px; margin-top: 10px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div a { min-height: 30px; padding-block: 5px; }
}
@media screen and (min-width: 681px) and (max-width: 1099px) {
    :root[data-theme] .checkin-studio { grid-template-columns: 1fr 1fr; grid-template-areas: "brand title" "profile search" "routine routine" "benefits benefits" "status status"; }
    :root[data-theme] .checkin-studio .checkin-search { align-content: start; }
    :root[data-theme] .checkin-studio .checkin-profile { grid-template-columns: 110px minmax(0, 1fr); padding: 18px; }
    :root[data-theme] .checkin-studio .member-fields > div { grid-template-columns: 1fr; padding-block: 7px; gap: 3px; }
    :root[data-theme] .checkin-studio .member-fields strong { font-size: 10px; }
    :root[data-theme] .checkin-studio .member-fields strong .lucide { width: 16px; height: 16px; }
    :root[data-theme] .checkin-studio .member-fields span { font-size: 14px; }
    :root[data-theme] .checkin-studio .member-fields > div:first-child span { font-size: 17px; }
    :root[data-theme] .checkin-studio progress { grid-column: 1; }
    :root[data-theme] .checkin-studio .checkin-benefits ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    :root[data-theme] .checkin-studio .checkin-benefits li { padding: 6px; border: 0; }
    :root[data-theme] .checkin-studio .checkin-status > div { padding: 14px; gap: 8px; grid-template-columns: 30px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .checkin-status strong { font-size: 22px; }
    :root[data-theme] .checkin-studio .checkin-status > div > .lucide { width: 26px; height: 26px; }
    :root[data-theme] .checkin-studio .checkin-status { grid-template-columns: 1fr 1fr; }
    :root[data-theme] .checkin-studio .checkin-status > [data-checkin-state] { grid-column: 1 / -1; }
    :root[data-theme] body[data-page="registro"] .checkin-footer { grid-template-columns: 1fr 1fr; }
    :root[data-theme] body[data-page="registro"] .checkin-footer > strong { border: 0; padding: 0; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; }
}
@media screen and (max-width: 680px) {
    :root[data-theme] body[data-page="registro"] .shell { padding: 14px 12px; background-attachment: scroll; }
    :root[data-theme] .checkin-studio { gap: 14px; }
    :root[data-theme] .checkin-studio .checkin-topbar { padding: 4px 0; }
    :root[data-theme] .checkin-studio .checkin-topbar h1 { font-size: 27px; }
    :root[data-theme] .checkin-studio .checkin-header { padding: 12px; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
    :root[data-theme] .checkin-studio .checkin-header .gym-logo { width: 60px; height: 64px; }
    :root[data-theme] .checkin-studio .checkin-header h2 { font-size: 22px; }
    :root[data-theme] .checkin-studio .checkin-search { padding: 20px; gap: 18px; }
    :root[data-theme] .checkin-studio .checkin-search label { font-size: 21px; }
    :root[data-theme] .checkin-studio .checkin-profile { padding: 18px; gap: 18px; grid-template-columns: 84px minmax(0, 1fr); }
    :root[data-theme] .checkin-studio .checkin-profile .member-photo { display: flex; max-height: none; }
    :root[data-theme] .checkin-studio .member-fields > div { grid-template-columns: minmax(0, 1fr); gap: 3px; padding-block: 8px; }
    :root[data-theme] .checkin-studio .member-fields strong { font-size: 10px; gap: 6px; }
    :root[data-theme] .checkin-studio .member-fields strong .lucide { width: 16px; height: 16px; }
    :root[data-theme] .checkin-studio .member-fields span { font-size: 14px; }
    :root[data-theme] .checkin-studio .member-fields > div:first-child span { font-size: 18px; }
    :root[data-theme] .checkin-studio .member-fields > div:nth-child(2) span { font-size: 13px; }
    :root[data-theme] .checkin-studio progress { grid-column: 1; }
    :root[data-theme] .checkin-studio .checkin-waiting h2 { font-size: 18px; }
    :root[data-theme] .checkin-studio .checkin-benefits ul { grid-template-columns: 1fr; gap: 6px; }
    :root[data-theme] .checkin-studio .checkin-benefits li { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--checkin-rule); }
    :root[data-theme] .checkin-studio .checkin-status { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    :root[data-theme] .checkin-studio .checkin-status strong { font-size: 25px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer { grid-template-columns: minmax(0, 1fr); padding: 14px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer > strong { grid-column: 1; grid-row: 2; border: 0; padding: 0; font-size: 12px; justify-content: start; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1; grid-row: 3; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div a { padding: 8px; font-size: 11px; gap: 6px; }
    :root[data-theme] body[data-page="registro"] .checkin-footer div strong { grid-column: 1 / -1; margin: 0; text-align: right; }
    :root[data-theme] body[data-page="registro"] .checkin-detail-panel { padding: 10px; }
}
