/* GBO Talento · sitio público. Usa los colores del tema GBO cuando está activo. */
.gbot {
	--g-accent: var(--accent, #1B89C6);
	--g-soft: var(--accent-soft, rgba(27, 137, 198, .12));
	--g-bg: var(--bg, #F2F2F7);
	--g-card: var(--card, #FFFFFF);
	--g-card2: var(--card-2, #FFFFFF);
	--g-fill: var(--fill, rgba(120, 120, 128, .12));
	--g-fill2: var(--fill-2, rgba(120, 120, 128, .08));
	--g-label: var(--label, #0B0B0F);
	--g-label2: var(--label-2, rgba(60, 60, 67, .66));
	--g-label3: var(--label-3, rgba(60, 60, 67, .32));
	--g-sep: var(--sep, rgba(60, 60, 67, .16));
	--g-glass: var(--glass, rgba(250, 250, 252, .78));
	--g-shadow: var(--shadow, 0 1px 2px rgba(16, 24, 40, .04), 0 10px 30px rgba(16, 24, 40, .06));
	--g-ok: var(--ok, #34C759);
	--g-err: var(--err, #FF3B30);
	--g-ease: cubic-bezier(.32, .72, 0, 1);
	color: var(--g-label);
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.5;
	letter-spacing: -.01em;
}
.gbot *, .gbot *::before, .gbot *::after { box-sizing: border-box; }
.gbot [hidden] { display: none !important; }
.gbot ul, .gbot ol { list-style: none; margin: 0; padding: 0; }
.gbot p { margin: 0; }
.gbot h1, .gbot h2, .gbot h3 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; text-wrap: balance; }
.gbot a { color: var(--g-accent); text-decoration: none; }
.gbot .ico { width: 1em; height: 1em; flex: none; }
.gbot .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gbot > * + * { margin-top: 0; }

/* Botones */
.gbot .gbot-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 11px 20px;
	border: 0; border-radius: 999px;
	font: 600 16px/1.2 inherit; font-family: inherit;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: transform .2s var(--g-ease), background-color .2s, opacity .2s;
}
.gbot .gbot-btn:active { transform: scale(.96); opacity: .86; }
.gbot .gbot-btn-fill { background: var(--g-accent); color: #fff; }
.gbot .gbot-btn-fill:hover { background: color-mix(in srgb, var(--g-accent) 82%, #000); }
.gbot .gbot-btn-tint { background: var(--g-soft); color: var(--g-accent); }
.gbot .gbot-btn-plain { background: transparent; color: var(--g-accent); }
.gbot .gbot-btn-plain:hover { background: var(--g-fill2); }
.gbot .gbot-btn-lg { min-height: 52px; font-size: 17px; padding: 14px 26px; }
.gbot .gbot-btn-block { width: 100%; }
.gbot .gbot-btn[disabled] { opacity: .4; pointer-events: none; }
.gbot :focus-visible { outline: 3px solid color-mix(in srgb, var(--g-accent) 55%, transparent); outline-offset: 2px; border-radius: 10px; }

.gbot-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c, #007AFF) 15%, transparent); color: color-mix(in srgb, var(--c, #007AFF) 78%, var(--g-label, #000)); font-size: 13px; font-weight: 600; white-space: nowrap; }
.gbot-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #007AFF); }

/* ---------- Lista de vacantes ---------- */
.gbot-jobs { display: grid; gap: 20px; margin-block: 8px 24px; }
.gbot-search { display: flex; flex-wrap: wrap; gap: 10px; }
.gbot-search-field { position: relative; flex: 1 1 280px; display: flex; align-items: center; }
.gbot-search-field .ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--g-label2); }
.gbot .gbot-search input, .gbot .gbot-search select {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 12px;
	background: var(--g-card); box-shadow: var(--g-shadow); color: var(--g-label); font: inherit; font-size: 16px;
	-webkit-appearance: none; appearance: none; outline: none;
}
.gbot .gbot-search input { padding-left: 40px; }
.gbot-search-select { flex: 0 1 220px; position: relative; }
.gbot-search-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--g-label3); border-bottom: 2px solid var(--g-label3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.gbot .gbot-search input:focus, .gbot .gbot-search select:focus { box-shadow: 0 0 0 2px var(--g-accent); }

.gbot-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.gbot-chips::-webkit-scrollbar { display: none; }
.gbot .gbot-chips a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--g-card); color: var(--g-label); font-size: 15px; font-weight: 500; box-shadow: var(--g-shadow); }
.gbot .gbot-chips a span { font-size: 13px; color: var(--g-label2); font-variant-numeric: tabular-nums; }
.gbot .gbot-chips a.is-on { background: var(--g-accent); color: #fff; }
.gbot .gbot-chips a.is-on span { color: rgba(255, 255, 255, .8); }

.gbot-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gbot .gbot-card {
	display: flex; flex-direction: column; gap: 10px;
	padding: 20px 20px 16px;
	border-radius: 22px; background: var(--g-card); color: var(--g-label);
	box-shadow: var(--g-shadow);
	transition: transform .3s var(--g-ease), box-shadow .3s;
}
.gbot .gbot-card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 20px 50px rgba(16, 24, 40, .12); }
.gbot-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gbot-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--g-soft); color: var(--g-accent); font-size: 13px; font-weight: 600; }
.gbot-new { padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--g-ok) 16%, transparent); color: var(--g-ok); font-size: 12px; font-weight: 700; }
.gbot-card-title { font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -.02em; }
.gbot-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: var(--g-label2); }
.gbot-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.gbot-meta .ico { width: 16px; height: 16px; }
.gbot-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: .5px solid var(--g-sep); font-size: 14px; color: var(--g-label2); }
.gbot-go { display: inline-flex; align-items: center; gap: 2px; color: var(--g-accent); font-weight: 600; }
.gbot-go .ico { width: 14px; height: 14px; }
.gbot-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 24px; border-radius: 22px; background: var(--g-card); text-align: center; box-shadow: var(--g-shadow); }
.gbot-empty strong { font-size: 19px; }
.gbot-empty p { color: var(--g-label2); max-width: 46ch; }
.gbot-foot-note { font-size: 15px; color: var(--g-label2); text-align: center; }

/* ---------- Detalle de vacante ---------- */
.gbot-single { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.gbot-wrap { width: 100%; max-width: 1228px; margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .gbot-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.gbot-back { display: inline-block; margin-bottom: 18px; font-size: 16px; font-weight: 500; }
.gbot-vhead { display: grid; gap: 12px; justify-items: start; margin-bottom: 28px; }
.gbot-vhead h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; }
.gbot-vsub { color: var(--g-label2); font-size: 15px; }
.gbot-vgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.gbot-vmain { display: grid; gap: 20px; min-width: 0; }
.gbot-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.gbot-facts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--g-card); box-shadow: var(--g-shadow); min-width: 0; }
.gbot-fico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--g-soft); color: var(--g-accent); flex: none; }
.gbot-fico .ico { width: 20px; height: 20px; }
.gbot-facts small { display: block; font-size: 13px; color: var(--g-label2); }
.gbot-facts strong { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.gbot-block { padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: var(--g-card); box-shadow: var(--g-shadow); }
.gbot-block h2 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 14px; }
.gbot-prose { font-size: 17px; line-height: 1.6; }
.gbot-prose > * + * { margin-top: .9em; }
.gbot-prose ul { list-style: disc; padding-left: 1.3em; }
.gbot-prose ol { list-style: decimal; padding-left: 1.3em; }
.gbot-list { display: grid; gap: 10px; }
.gbot-list li { display: flex; gap: 10px; align-items: flex-start; }
.gbot-list .ico { width: 20px; height: 20px; color: var(--g-ok); margin-top: 2px; }
.gbot-list.is-star .ico { color: var(--g-accent); }
.gbot-vside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.gbot-sidecard { display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: var(--g-card); box-shadow: var(--g-shadow); }
.gbot-sidecard strong { font-size: 19px; }
.gbot-sidecard p { font-size: 15px; color: var(--g-label2); }
@media (max-width: 920px) { .gbot-vgrid { grid-template-columns: minmax(0, 1fr); } .gbot-vside { position: static; order: -1; } }

.gbot-apply { max-width: 760px; margin: clamp(32px, 5vw, 56px) auto 0; padding: clamp(20px, 3vw, 32px); border-radius: 30px; background: var(--g-card); box-shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 24px 60px rgba(16, 24, 40, .1); scroll-margin-top: 90px; }
.gbot-apply > header { display: grid; gap: 6px; margin-bottom: 20px; }
.gbot-apply h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; }
.gbot-apply > header p { color: var(--g-label2); font-size: 15px; }
.gbot-apply .gbot-group { background: var(--g-bg); box-shadow: none; }
.gbot-apply .gbot-switch-row { background: var(--g-bg); }

/* ---------- Formularios (estilo Ajustes) ---------- */
.gbot-form { display: grid; gap: 8px; }
.gbot-glabel { padding: 10px 16px 0; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--g-label2); }
.gbot-ghelp { padding: 0 16px 6px; font-size: 13px; color: var(--g-label2); }
.gbot-group { position: relative; border-radius: 16px; background: var(--g-card); box-shadow: var(--g-shadow); overflow: hidden; margin-bottom: 6px; }
.gbot .gbot-field {
	position: relative;
	display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 12px;
	min-height: 50px; margin: 0; padding: 4px 16px; border: 0;
}
.gbot .gbot-field + .gbot-field::before, .gbot .gbot-field + .gbot-exp-del::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--g-sep); }
.gbot .gbot-field > span, .gbot .gbot-field > legend { font-size: 16px; color: var(--g-label); padding: 0; }
.gbot .gbot-field input, .gbot .gbot-field select, .gbot .gbot-field textarea, .gbot .gbot-field output {
	width: 100%; min-width: 0; margin: 0; padding: 10px 0;
	border: 0; border-radius: 0; background: transparent; box-shadow: none;
	color: var(--g-label); font: inherit; font-size: 17px; outline: none;
	-webkit-appearance: none; appearance: none;
}
.gbot .gbot-field output { color: var(--g-label2); }
.gbot .gbot-field input::placeholder, .gbot .gbot-field textarea::placeholder { color: var(--g-label3); }
.gbot .gbot-field:focus-within > span { color: var(--g-accent); }
.gbot .gbot-field.is-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--g-label3); border-bottom: 2px solid var(--g-label3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.gbot .gbot-field.is-select select { padding-right: 24px; cursor: pointer; }
.gbot .gbot-field.is-area { grid-template-columns: minmax(0, 1fr); }
.gbot .gbot-field textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.gbot .gbot-field input[type="date"], .gbot .gbot-field input[type="month"] { min-height: 40px; }
.gbot .gbot-field.gbot-check { grid-template-columns: minmax(0, 1fr) auto; }
.gbot .gbot-field.gbot-check input { width: 51px; padding: 0; }
.gbot-form.is-invalid .gbot-field:has(:invalid) > span { color: var(--g-err); }

.gbot .gbot-switch {
	position: relative; flex: none; width: 51px; height: 31px; margin: 0; padding: 0;
	border-radius: 999px; background: var(--g-fill); border: 0;
	-webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .25s;
}
.gbot .gbot-switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .3s var(--g-ease); }
.gbot .gbot-switch:checked { background: var(--g-ok); }
.gbot .gbot-switch:checked::before { transform: translateX(20px); }
.gbot-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 16px; background: var(--g-card); font-size: 14px; line-height: 1.4; color: var(--g-label2); cursor: pointer; margin-block: 6px 10px; }

.gbot-file { display: block; cursor: pointer; }
.gbot-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gbot-file-ui { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.gbot-file-ui > .ico { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--g-soft); color: var(--g-accent); }
.gbot-file-ui strong { display: block; font-size: 16px; color: var(--g-accent); overflow-wrap: anywhere; }
.gbot-file-ui small { display: block; font-size: 13px; color: var(--g-label2); }
.gbot-file input:focus-visible + .gbot-file-ui { outline: 3px solid color-mix(in srgb, var(--g-accent) 55%, transparent); border-radius: 14px; }
.gbot-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gbot-notice { display: grid; gap: 6px; justify-items: start; padding: 16px 18px; border-radius: 18px; margin-bottom: 18px; }
.gbot-notice strong { font-size: 17px; }
.gbot-notice p { font-size: 15px; color: var(--g-label2); }
.gbot-notice .gbot-btn { margin-top: 6px; }
.gbot-notice.is-ok { background: color-mix(in srgb, var(--g-ok) 14%, var(--g-card)); }
.gbot-notice.is-err { background: color-mix(in srgb, var(--g-err) 12%, var(--g-card)); }
.gbot-notice.is-info { background: var(--g-soft); }

.gbot-me { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.gbot-me small { display: block; font-size: 13px; color: var(--g-label2); }
.gbot-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: linear-gradient(180deg, color-mix(in srgb, var(--g-accent) 60%, #fff), var(--g-accent)); color: #fff; font-weight: 700; font-size: 15px; text-transform: uppercase; }
.gbot-avatar.lg { width: 56px; height: 56px; font-size: 20px; }

@media (max-width: 520px) {
	.gbot .gbot-field { grid-template-columns: 100px minmax(0, 1fr); gap: 8px; }
	.gbot .gbot-field > span { font-size: 15px; }
}

/* ---------- Portal ---------- */
.gbot-portal { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.gbot-login { display: grid; gap: 14px; justify-items: center; max-width: 460px; margin: 0 auto; padding: 32px 24px; border-radius: 28px; background: var(--g-card); box-shadow: var(--g-shadow); text-align: center; }
.gbot-login .gbot-form { width: 100%; text-align: left; }
.gbot-login .gbot-group { background: var(--g-bg); box-shadow: none; }
.gbot-login .gbot-field { grid-template-columns: 70px minmax(0, 1fr); }
.gbot-login h2 { font-size: 26px; letter-spacing: -.03em; }
.gbot-login > p { color: var(--g-label2); font-size: 15px; }
.gbot-login-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--g-soft); color: var(--g-accent); }
.gbot-login-ico .ico { width: 34px; height: 34px; }
.gbot-login .gbot-notice { width: 100%; text-align: left; margin: 0; }

.gbot-phead { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 24px; background: var(--g-card); box-shadow: var(--g-shadow); }
.gbot-phead-txt { flex: 1; min-width: 0; }
.gbot-phead h2 { font-size: 22px; letter-spacing: -.025em; }
.gbot-phead p { font-size: 14px; color: var(--g-label2); overflow-wrap: anywhere; }
.gbot-ring { --p: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; flex: none; background: conic-gradient(var(--g-ok) calc(var(--p) * 1%), var(--g-fill) 0); }
.gbot-ring span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g-card); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gbot-logout { margin: 0; }
@media (max-width: 520px) { .gbot-phead { flex-wrap: wrap; } .gbot-logout { width: 100%; } .gbot-logout .gbot-btn { width: 100%; background: var(--g-fill2); } }

.gbot-seg { display: flex; padding: 3px; border-radius: 12px; background: var(--g-fill); overflow-x: auto; scrollbar-width: none; }
.gbot .gbot-seg a { flex: 1 0 auto; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; color: var(--g-label); font-size: 15px; font-weight: 500; white-space: nowrap; }
.gbot .gbot-seg a.is-on { background: var(--g-card2); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
@media (max-width: 420px) { .gbot .gbot-seg a { padding: 8px 10px; font-size: 14px; } }
.gbot-badge { min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--g-err); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }

.gbot .gbot-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--g-soft); color: var(--g-label); }
.gbot .gbot-callout strong { color: var(--g-accent); }
.gbot .gbot-callout span { grid-column: 1; font-size: 14px; color: var(--g-label2); }
.gbot .gbot-callout .ico { grid-row: 1 / 3; grid-column: 2; color: var(--g-accent); width: 18px; height: 18px; }
.gbot .gbot-callout.is-purple { background: color-mix(in srgb, #AF52DE 14%, var(--g-card)); }
.gbot .gbot-callout.is-purple strong, .gbot .gbot-callout.is-purple .ico { color: #AF52DE; }

.gbot-apps { display: grid; gap: 12px; }
.gbot-app { display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: var(--g-card); box-shadow: var(--g-shadow); }
.gbot-app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gbot-app-top strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.gbot-app-top small { display: block; font-size: 13px; color: var(--g-label2); }
.gbot-app-msg { font-size: 15px; color: var(--g-label2); }
.gbot-link { font-size: 15px; font-weight: 600; }
.gbot-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.gbot-steps li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--g-label3); text-align: center; line-height: 1.2; }
.gbot-steps li span { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--g-fill); box-shadow: 0 0 0 4px var(--g-card); }
.gbot-steps li::before { content: ""; position: absolute; top: 5px; left: -50%; right: 50%; height: 2px; background: var(--g-fill); }
.gbot-steps li:first-child::before { display: none; }
.gbot-steps li.done, .gbot-steps li.now { color: var(--g-label2); }
.gbot-steps li.done span, .gbot-steps li.done::before, .gbot-steps li.now::before { background: var(--g-accent); }
.gbot-steps li.now span { background: var(--g-accent); box-shadow: 0 0 0 4px var(--g-card), 0 0 0 7px var(--g-soft); }
.gbot-steps li.now { color: var(--g-label); font-weight: 600; }

.gbot-exp { display: grid; gap: 10px; }
.gbot-exp-row { margin: 0; }
.gbot .gbot-exp-del { position: relative; display: block; width: 100%; padding: 13px 16px; border: 0; background: transparent; color: var(--g-err); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.gbot .gbot-exp-del::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--g-sep); }
.gbot [data-gbot-exp-add] { justify-self: start; margin: 4px 0; }
.gbot-turnos legend { float: left; }
.gbot-turnos > div { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 8px; }
.gbot-turnos input { position: absolute; opacity: 0; width: 1px !important; }
.gbot-turnos label { padding: 6px 12px; border-radius: 999px; background: var(--g-fill2); font-size: 14px; cursor: pointer; }
.gbot-turnos input:checked + label { background: var(--g-accent); color: #fff; }
.gbot-turnos input:focus-visible + label { outline: 2px solid var(--g-accent); }
.gbot-savebar { position: sticky; bottom: 0; z-index: 5; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--g-bg) 35%); }

.gbot-tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.gbot-test { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 22px; background: var(--g-card); box-shadow: var(--g-shadow); }
.gbot-test-head { display: flex; align-items: center; gap: 12px; }
.gbot-test-head small { display: block; font-size: 13px; color: var(--g-label2); }
.gbot-test-head strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.gbot-tico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; flex: none; }
.gbot-tico .ico { width: 24px; height: 24px; }
.gbot-tico.tint-indigo { background: linear-gradient(180deg, #8E8CF0, #5856D6); }
.gbot-tico.tint-orange { background: linear-gradient(180deg, #FFBF66, #FF9500); }
.gbot-test > p { font-size: 15px; color: var(--g-label2); }
.gbot-test-time { display: flex; align-items: center; gap: 6px; }
.gbot-test-time .ico { width: 16px; height: 16px; }
.gbot-done { display: flex; align-items: center; gap: 8px; color: var(--g-ok) !important; font-weight: 600; }
.gbot-done .ico { width: 20px; height: 20px; }
.gbot-test form { margin: 0; }

/* Prueba en curso */
.gbot-runner { display: grid; gap: 16px; width: 100%; max-width: 680px; margin: 0 auto; }
.gbot-run-top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 5; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--g-glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--g-shadow); }
.gbot-run-top strong { font-size: 15px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gbot-run-exit { font-size: 15px; }
.gbot-timer, .gbot-count { padding: 4px 12px; border-radius: 999px; background: var(--g-fill); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gbot-timer.is-low { background: color-mix(in srgb, var(--g-err) 18%, transparent); color: var(--g-err); }
.gbot-progress { height: 4px; border-radius: 4px; background: var(--g-fill); overflow: hidden; }
.gbot-progress span { display: block; height: 100%; width: 0; background: var(--g-accent); transition: width .35s var(--g-ease); }
.gbot .gbot-q { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 16px; }
.gbot .gbot-q legend { display: grid; gap: 8px; padding: 0; margin-bottom: 16px; }
.gbot-q legend small { font-size: 14px; color: var(--g-label2); font-weight: 500; }
.gbot-q legend span { font: 650 clamp(21px, 3vw, 26px)/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; letter-spacing: -.025em; }
.gbot-opts { display: grid; border-radius: 18px; background: var(--g-card); box-shadow: var(--g-shadow); overflow: hidden; }
.gbot-opts input { position: absolute; opacity: 0; pointer-events: none; }
.gbot-opts label { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; font-size: 17px; cursor: pointer; transition: background-color .15s; }
.gbot-opts label + input + label::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; height: .5px; background: var(--g-sep); }
.gbot-opts label b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--g-fill); font-size: 15px; font-weight: 700; transition: background-color .15s, color .15s; }
.gbot-opts label:hover { background: var(--g-fill2); }
.gbot-opts input:checked + label { background: var(--g-soft); }
.gbot-opts input:checked + label b { background: var(--g-accent); color: #fff; }
.gbot-opts input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--g-accent) 55%, transparent); outline-offset: -3px; }
.gbot-run-nav { display: flex; gap: 10px; justify-content: space-between; }
.gbot-run-nav .gbot-btn { flex: 1; }
.gbot-run-note { min-height: 1.5em; text-align: center; font-size: 15px; color: var(--g-label2); }
.gbot-run-note.is-warn { color: var(--g-err); font-weight: 600; }
.js-gbot .gbot-runner:not(.is-all) .gbot-q:not(.is-on) { display: none; }
.gbot-runner:not(.is-ready) [data-prev], .gbot-runner:not(.is-ready) [data-next] { display: none; }

/* ---------- 2.0 ---------- */
.gbot-loc > div > .gbot-field, .gbot-loc + .gbot-field { position: relative; }
.gbot .gbot-loc > div > .gbot-field::before, .gbot .gbot-loc + .gbot-field::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--g-sep); }
.gbot .gbot-field select:disabled { color: var(--g-label3); }
.gbot .gbot-field.gbot-turnos.is-full { display: block; padding-block: 10px; }
.gbot .gbot-turnos.is-full > div { padding: 0; }
.gbot-login.is-wide { max-width: 640px; }
.gbot-login .gbot-seg { width: 100%; }
.gbot-login .gbot-form .gbot-field { grid-template-columns: 120px minmax(0, 1fr); }
.gbot-run-intro { padding: 12px 16px; border-radius: 14px; background: var(--g-soft); font-size: 15px; }
.gbot-matrix { display: grid; grid-template-columns: repeat(3, 78px); gap: 6px; justify-content: center; padding: 14px; border-radius: 18px; background: var(--g-card); box-shadow: var(--g-shadow); color: var(--g-label); }
.gbot-mcell { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 12px; background: var(--g-fill2); }
.gbot-mcell.is-q { background: var(--g-soft); color: var(--g-accent); box-shadow: inset 0 0 0 2px var(--g-accent); }
.gbot-opts.is-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gbot-opts.is-figs label { justify-content: center; min-height: 96px; }
.gbot-opts.is-figs label + input + label::before { display: none; }
.gbot-opts.is-figs label:nth-of-type(odd) { box-shadow: inset -.5px 0 0 var(--g-sep); }
.gbot-opts.is-figs label:nth-of-type(n+3) { border-top: .5px solid var(--g-sep); }
.gbot-fig { display: grid; place-items: center; color: var(--g-label); }
@media (max-width: 400px) { .gbot-matrix { grid-template-columns: repeat(3, 64px); } .gbot-mcell { width: 64px; height: 64px; } .gbot-mcell svg { width: 46px; height: 46px; } }
.gbot-feedback { margin-top: 6px; }
.gbot-fb { display: grid; gap: 8px; padding: 18px; }
.gbot-fb strong { font-size: 19px; }
.gbot-fb > p { color: var(--g-label2); font-size: 15px; }
.gbot-fb ul { display: grid; gap: 10px; margin-top: 6px; }
.gbot-fb li { display: flex; gap: 10px; font-size: 15px; }
.gbot-fb li .ico { width: 18px; height: 18px; color: var(--g-accent); margin-top: 2px; }
.gbot-danger-zone { margin-top: 18px; }
.gbot .gbot-btn.is-danger { color: var(--g-err); }
.gbot-adminform { max-width: 760px; margin-top: 8px; }
.gbot-tico.tint-green { background: linear-gradient(180deg, #6EDB8F, #34C759); }

/* 2.3 · Página de acceso */
.gbot-acceso { max-width: 880px; margin-inline: auto; }
.gbot-acc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.gbot-acc-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.gbot-acc-head p { margin: 2px 0 0; color: var(--g-label2); }
.gbot-acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.gbot-acc-card { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 16px; border-radius: 20px; background: var(--g-card); box-shadow: var(--g-shadow); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.gbot-acc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.gbot-acc-card .gbot-tico { grid-row: 1 / 3; }
.gbot-acc-card strong { font-size: 17px; }
.gbot-acc-card small { font-size: 13px; color: var(--g-label2); line-height: 1.35; }
.gbot-tico.tint-blue { background: linear-gradient(180deg, #5AB0E6, #1B89C6); }
.gbot-tico.tint-teal { background: linear-gradient(180deg, #6ED3E6, #30B0C7); }
.gbot-tico.tint-purple { background: linear-gradient(180deg, #D08CF0, #AF52DE); }
.gbot-tico.tint-pink { background: linear-gradient(180deg, #FF7A9A, #FF2D55); }
.gbot-tico.tint-gray { background: linear-gradient(180deg, #AEAEB2, #8E8E93); }
.gbot-acc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.gbot-acc-box { display: grid; gap: 12px; align-content: start; padding: 22px; margin: 0; }
.gbot-acc-box h3 { margin: 0; font-size: 20px; }
.gbot-acc-box p { margin: 0; color: var(--g-label2); }
.gbot-acc-form { display: grid; gap: 10px; }
.gbot-acc-form .gbot-field { border-radius: 12px; background: var(--g-bg); }
.gbot-check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--g-label2); }
.gbot-acc-foot { margin-top: 20px; font-size: 14px; color: var(--g-label2); }
.gbot-acc-card strong { color: var(--g-label, #1C1C1E); }
.gbot-acc-card:hover strong { color: var(--g-accent); }
.gbot-acc-lead { margin: 0 0 18px; font-size: 18px; color: var(--g-label2); }
.gbot-acc-foot { margin-top: 24px !important; }

/* 2.3.1 · No avanzar sin responder */
.gbot-runner .gbot-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.gbot-q.is-shake { animation: gbot-shake .4s; }
@keyframes gbot-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .gbot-q.is-shake { animation: none; } }

/* 2.4 · Hoja de vida en PDF */
.gbot-cvcard { display: grid; grid-template-columns: 44px 1fr; gap: 12px 14px; align-items: center; padding: 18px; margin-bottom: 18px; border-radius: 20px; background: var(--g-card); box-shadow: var(--g-shadow); }
.gbot-cvcard strong { display: block; font-size: 17px; }
.gbot-cvcard p { margin: 2px 0 0; font-size: 14px; color: var(--g-label2); }
.gbot-cvcard-btns, .gbot-cvbar { grid-column: 1 / -1; }
.gbot-cvcard-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gbot-cvcard-btns form { margin: 0; }
.gbot-cvbar { height: 6px; border-radius: 3px; background: var(--g-bg); overflow: hidden; }
.gbot-cvbar span { display: block; height: 100%; background: var(--g-accent); border-radius: 3px; }

/* 2.5 · Foto del perfil */
.gbot-foto-field { display: flex; align-items: center; gap: 16px; padding: 14px 16px; }
.gbot-foto-prev { display: grid; place-items: center; width: 84px; height: 84px; flex: none; border-radius: 50%; background: var(--g-bg); color: var(--g-label2); overflow: hidden; box-shadow: 0 0 0 3px var(--g-accent); }
.gbot-foto-prev .ico { width: 38px; height: 38px; }
.gbot-foto-prev img, .gbot-avatar.has-foto img, .gbot-av.has-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.gbot-foto-txt { display: grid; gap: 6px; justify-items: start; }
.gbot-foto-txt small { font-size: 13px; color: var(--g-label2); line-height: 1.35; }
.gbot-foto-btn { position: relative; cursor: pointer; padding-inline: 0; }
.gbot-avatar.has-foto, .gbot-av.has-foto { padding: 0; overflow: hidden; background: none; }

/* 2.5.1 · Editor de la foto */
.gbot-foto-acts { display: flex; gap: 14px; flex-wrap: wrap; }
.gbot-noscroll, .gbot-noscroll body { overflow: hidden; }
.gbot-crop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: gbot-fade .2s ease; }
@keyframes gbot-fade { from { opacity: 0; } }
.gbot-crop-sheet { width: min(420px, 100%); border-radius: 24px; background: #fff; color: #1C1C1E; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; animation: gbot-up .3s cubic-bezier(.2, .8, .2, 1); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif; }
@keyframes gbot-up { from { transform: translateY(30px); opacity: 0; } }
.gbot-crop-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 14px; border-bottom: 1px solid #E5E5EA; }
.gbot-crop-head strong { font-size: 16px; }
.gbot-crop-head button { border: 0; background: none; font: inherit; font-size: 16px; color: #1B89C6; cursor: pointer; padding: 6px 4px; }
.gbot-crop-x { justify-self: start; }
.gbot-crop-ok { justify-self: end; font-weight: 600 !important; }
.gbot-crop-stage { position: relative; width: calc(100% - 40px); aspect-ratio: 1; margin: 20px auto 10px; border-radius: 14px; overflow: hidden; background: #F2F2F7; touch-action: none; cursor: grab; user-select: none; }
.gbot-crop-stage:active { cursor: grabbing; }
.gbot-crop-stage canvas { display: block; }
/* Oscurece fuera del círculo: así se ve exactamente lo que quedará. */
.gbot-crop-mask { position: absolute; inset: 0; pointer-events: none; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .45), inset 0 0 0 3px #1B89C6; }
.gbot-crop-help { margin: 0 20px 6px; font-size: 13px; line-height: 1.4; color: #6C6C70; text-align: center; }
.gbot-crop-tools { display: flex; align-items: center; gap: 10px; padding: 8px 20px 20px; }
.gbot-crop-tools input[type=range] { flex: 1; accent-color: #1B89C6; }
.gbot-crop-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #F2F2F7; color: #1C1C1E; font-size: 20px; line-height: 1; cursor: pointer; }
.gbot-crop-btn:hover { background: #E5E5EA; }
@media (prefers-color-scheme: dark) {
	.gbot-crop-sheet { background: #1C1C1E; color: #fff; }
	.gbot-crop-head { border-color: #38383A; }
	.gbot-crop-btn { background: #2C2C2E; color: #fff; }
	.gbot-crop-stage { background: #2C2C2E; }
}
