/* v174 · Final interface coherence layer */
:root{--v174-ink:#102442;--v174-muted:#687a94;--v174-line:#d9e4f0;--v174-soft:#f5f8fc;--v174-blue:#2868e8;--v174-danger:#c93f50}
#app-shell,#app-shell button,#app-shell input,#app-shell select,#app-shell textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
#app-shell h1,#app-shell h2,#app-shell h3,#app-shell h4,#app-shell h5,#app-shell .pc-nombre,#app-shell .ph-name{font-family:inherit!important;letter-spacing:-.025em}
#app-shell h1{font-size:clamp(26px,2.2vw,36px)!important;line-height:1.12!important}#app-shell h2{font-size:clamp(23px,1.8vw,32px)!important;line-height:1.16!important}#app-shell h3{line-height:1.22!important}

/* Header team selector */
.header-team-switcher{display:flex;align-items:center;min-width:270px;height:44px;border:1px solid var(--v174-line);border-radius:12px;background:#fff;box-shadow:0 2px 7px rgba(16,36,66,.04);overflow:hidden}
.header-team-icon{width:42px;height:42px;display:grid;place-items:center;color:var(--v174-blue);background:#f2f7ff}.header-team-icon svg{width:19px;height:19px}
.header-team-switcher label{min-width:0;flex:1;display:flex;flex-direction:column;padding:5px 10px 4px;gap:0}.header-team-switcher label>span{color:var(--v174-muted);font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.header-team-switcher select{appearance:none;border:0!important;background:transparent!important;color:var(--v174-ink);font-weight:750;font-size:13px;line-height:20px;padding:0 18px 0 0;max-width:185px;outline:none;background-image:linear-gradient(45deg,transparent 50%,#6f8198 50%),linear-gradient(135deg,#6f8198 50%,transparent 50%)!important;background-position:calc(100% - 9px) 8px,calc(100% - 5px) 8px!important;background-size:4px 4px,4px 4px!important;background-repeat:no-repeat!important}
.header-team-manage{width:40px;height:42px;border:0;border-left:1px solid var(--v174-line);background:#fff;color:#60748f;display:grid;place-items:center;cursor:pointer;transition:.18s}.header-team-manage:hover{background:#edf4ff;color:var(--v174-blue)}.header-team-manage svg{width:17px;height:17px}

/* Profile and sign out */
.profile-menu-logout{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #f3c8cf;border-radius:9px;font-size:13px;color:#b62e41!important;background:#fff5f6;text-decoration:none;font-weight:750;transition:.18s}.profile-menu-logout:hover{background:#feecef;border-color:#eba9b4}
.profile-logout-btn{display:inline-flex!important;align-items:center;gap:7px!important;border:1px solid #e7a9b3!important;background:#fff5f6!important;color:#b52d40!important;font-weight:750!important}.profile-logout-btn:hover{background:#fee7eb!important}.profile-logout-btn svg{width:15px;height:15px}

/* Teams and access */
.team-admin-modal{border-radius:20px!important;box-shadow:0 28px 80px rgba(16,36,66,.24)!important}.team-admin-modal>.modal-header{padding:22px 24px 17px!important;background:linear-gradient(135deg,#f7faff,#fff)!important}.team-admin-body{padding:18px 24px 10px!important;gap:20px!important}.team-admin-eyebrow{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eaf2ff;color:#205eca!important}.team-admin-summary{grid-template-columns:repeat(3,1fr)!important;gap:10px!important}.team-admin-summary>div{min-height:78px;justify-content:center;background:linear-gradient(145deg,#f7faff,#fff)!important}.team-admin-summary strong{font-size:22px!important}
.team-admin-toolbar{align-items:center!important}.team-admin-toolbar>div>strong{font-size:17px!important}.team-admin-toolbar>div>span{font-size:12px!important}.team-admin-toolbar .btn{min-height:39px}
.team-admin-card{padding:16px!important}.team-admin-mark{border-radius:50%!important}.team-admin-actions .btn{min-height:34px}.team-admin-actions .team-use-button{border-color:#b7cff7;color:#215fca;background:#f5f9ff}.team-current-note{display:inline-flex;align-items:center;background:#eaf8f3;padding:7px 9px;border-radius:8px}
.icon-delete-btn{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid #ecc5cc;border-radius:9px;background:#fff7f8;color:var(--v174-danger);cursor:pointer;transition:.18s}.icon-delete-btn:hover{background:#ffecef;border-color:#df8e9b;transform:translateY(-1px)}
.team-admin-empty{padding:28px!important;background:linear-gradient(145deg,#f7faff,#fff);gap:8px!important}.team-empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#eaf2ff;color:var(--v174-blue)}.team-admin-empty ol{display:flex;list-style:none;margin:8px 0 4px;padding:0;gap:8px;flex-wrap:wrap;justify-content:center}.team-admin-empty li{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--v174-line);border-radius:8px;background:#fff;font-size:11px}.team-admin-empty li b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#eaf2ff;color:#205eca;font-size:10px}
.team-access-panel{background:linear-gradient(145deg,#f8fbff,#fff)!important}.staff-access-notice{padding:12px;border:1px solid #f1d5a7;border-radius:9px;background:#fff9ed;color:#855b18;font-size:12px}.team-admin-footer{display:flex;align-items:center;justify-content:space-between!important;padding:14px 24px 18px!important;border-top:1px solid var(--v174-line)!important;margin:0!important}.team-admin-footer span{color:var(--v174-muted);font-size:11px}

/* Dashboard actions */
.dashboard-team-button,.dashboard-player-button{min-height:40px!important;border-radius:10px!important;padding-inline:15px!important}.dashboard-player-button{box-shadow:0 7px 16px rgba(40,104,232,.18)}

/* Player cards */
#tab-perfiles .player-card{border-radius:15px!important;border:1px solid var(--v174-line)!important;box-shadow:0 8px 22px rgba(16,36,66,.065)!important;overflow:hidden!important;transition:transform .18s,box-shadow .18s,border-color .18s!important}
#tab-perfiles .player-card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 28px rgba(16,36,66,.1)!important;border-color:#b7cdec!important}
#tab-perfiles .player-card .pc-nombre{font-family:inherit!important;font-size:14px!important;font-weight:800!important;line-height:1.12!important;color:var(--v174-ink)!important}
#tab-perfiles .player-card .pcs .val{font-family:inherit!important;font-weight:750!important;font-size:13px!important}#tab-perfiles .player-card .pcs .lbl{font-size:9px!important;letter-spacing:.06em!important}
#tab-perfiles .player-card .pc-actions{display:grid!important;grid-template-columns:1fr 36px!important;gap:7px!important;padding:10px 12px 12px!important}#tab-perfiles .player-card .pc-actions .btn{justify-content:center!important;min-height:34px!important}.pc-actions .icon-delete-btn{width:36px;height:34px}

/* Responsive layout: prevent the oversized/cropped tablet view */
@media(max-width:900px){.app-header{padding-inline:14px!important}.header-team-switcher{min-width:210px}.header-team-switcher select{max-width:130px}.team-admin-body{padding-inline:15px!important}.team-admin-footer{padding-inline:15px!important}#inicio-wrap>div>div:first-child{align-items:flex-start!important;gap:14px;flex-direction:column!important}#inicio-wrap>div>div:first-child>div:last-child{width:100%;flex-wrap:wrap!important}}
@media(max-width:620px){.header-team-switcher{min-width:0;max-width:205px}.header-team-icon{display:none}.team-admin-summary{grid-template-columns:1fr 1fr!important}.team-admin-summary>div:nth-child(3){grid-column:1/-1}.team-admin-footer span{display:none}#inicio-wrap{padding-inline:12px!important}#inicio-wrap h2{font-size:25px!important}.dashboard-team-button,.dashboard-player-button{flex:1}.team-admin-empty ol{flex-direction:column;align-items:stretch}.team-admin-empty li{justify-content:flex-start}}
