/* A shared visual shell across native, full-document navigations. */
@view-transition{navigation:auto}
html{background:#f8fbf9;color-scheme:light}
html.tcqa-preparing body{visibility:hidden!important}
.portal-header,.tc-qa-pilot .site-header{view-transition-name:tcqa-header}
.tc-qa-enterprise .p-sidebar{view-transition-name:tcqa-company-menu}
::view-transition-group(tcqa-header),::view-transition-group(tcqa-company-menu){animation-duration:.18s;animation-timing-function:ease-out}
::view-transition-old(tcqa-header),::view-transition-old(tcqa-company-menu){animation:none;opacity:0}
::view-transition-new(tcqa-header),::view-transition-new(tcqa-company-menu){animation:none;opacity:1}
::view-transition-old(root){animation:tcqa-content-out .12s ease-out both}
::view-transition-new(root){animation:tcqa-content-in .18s ease-out both}
@keyframes tcqa-content-out{to{opacity:0}}
@keyframes tcqa-content-in{from{opacity:0}to{opacity:1}}
/* Headers should not reappear as an empty block on every module change. */
.tc-qa-enterprise .company-module-header.p-reveal{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation-duration:.001ms!important}}

/* Allow the next deliberate click while the short visual crossfade finishes. */
::view-transition{pointer-events:none}

/* Visual verification 2026-11-13: preserve original logo ratio and one canvas. */
#tc-qa-visual .site-footer .footer-logo-lockup img{height:auto!important;aspect-ratio:702 / 428;object-fit:contain!important;max-width:100%;display:block}
#tc-qa-visual #tc-training .tr-main{background:transparent!important}
#tc-qa-visual #tc-training .tr-main::before,#tc-qa-visual #tc-training .tr-main::after{content:none!important;background:none!important}

/* Nested native modules share the page canvas, never a second background. */
#tc-qa-visual #portal-main main{background:transparent!important}
#tc-qa-visual #portal-main main::before,#tc-qa-visual #portal-main main::after{content:none!important;background:none!important}
@media(max-width:600px){
#tc-qa-visual .portal-header{padding-inline:16px;gap:10px}
#tc-qa-visual .portal-header .portal-brand{width:102px;flex-basis:102px}
#tc-qa-visual .portal-header .portal-brand img:not(.tc-icon){height:64px;object-fit:contain}
#tc-qa-visual .portal-header .portal-menu{flex-shrink:0}
#tc-qa-visual .portal-header .portal-account{gap:12px;min-width:0}
#tc-qa-visual .portal-header .qa-account-menu{padding:0;border:0}
#tc-qa-visual .portal-header .qa-account-menu summary{font-size:16px;gap:6px;padding:0;min-height:44px;white-space:nowrap}
#tc-qa-visual .portal-header .qa-account-menu summary .tc-icon{width:20px;height:20px}
#tc-qa-visual .site-footer .footer-bottom{padding-right:58px}
}

@media(max-width:900px){
#tc-qa-visual .p-sidebar:has(.p-account-overview-link){display:flex;align-items:center;gap:12px;overflow-x:auto;white-space:nowrap}
#tc-qa-visual .p-sidebar:has(.p-account-overview-link)>nav{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#tc-qa-visual .p-sidebar .p-account-overview-link{border:0;padding:0;margin:0;flex:0 0 auto}
#tc-qa-visual .p-sidebar:has(.p-account-overview-link) a{margin-top:0;flex:0 0 auto}
}

/* Readability fixes found in the actual mobile and desktop captures. */
#tc-qa-visual .eu-coverflow .mc-card .p-btn{color:#147b58!important;background:#fff}
#tc-qa-visual .p-material-control .tm-download-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:13px 18px;border:1px solid #cedbd6;border-radius:11px;background:#fff;color:#101e2c;font:650 14px/1.3 Inter,"Segoe UI",sans-serif}
#tc-qa-visual .p-material-control .tm-download-action:disabled{opacity:.55;cursor:not-allowed;background:#edf3ef}
#tc-qa-visual .qa-profile-form~.tcuida-core-account-title,#tc-qa-visual .tcuida-core-account-title:has(a[download]){font-size:16px;line-height:1.7;font-weight:400;letter-spacing:normal}
#tc-qa-visual .tcuida-core-sus-component button.tcuida-core-sus-action{font:650 14px/1.4 Inter,"Segoe UI",sans-serif;min-height:44px;padding:11px 16px;border:1px solid #d9b9b4;border-radius:11px;color:#8e443a;background:#fff6f4;cursor:pointer}
@media(max-width:600px){
#tc-qa-visual .tcuida-core-sus-component.p-row{display:flex;flex-direction:column;align-items:stretch;gap:16px}
#tc-qa-visual .tcuida-core-sus-component.p-row>.sub{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}
#tc-qa-visual .tcuida-core-sus-component.p-row>.sub h3{max-width:none;width:100%;margin:0}
#tc-qa-visual .tcuida-core-sus-component.p-row>.sub p{margin:0}
#tc-qa-visual .tcuida-core-sus-component form{display:grid;gap:12px;width:100%}
#tc-qa-visual .tcuida-core-sus-component form label{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}
}

/* EPP native form headings are full rows; narrow screens use one field per row. */
#tc-qa-visual .epp-panel #catalogForm .company-fields>h2,#tc-qa-visual .epp-panel #catalogForm .company-fields>p{grid-column:1/-1;min-width:0}
#tc-qa-visual .epp-panel #catalogForm .company-fields{width:100%;max-width:100%;min-width:0}
#tc-qa-visual .epp-panel #catalogForm .company-field{min-width:0}
@media(max-width:700px){
#tc-qa-visual .epp-panel #catalogForm .inner{display:block!important}
#tc-qa-visual .epp-panel #catalogForm .company-fields,#tc-qa-visual .epp-panel #catalogForm .company-fields.wide-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px}
#tc-qa-visual .epp-panel #catalogForm .company-field input:not([type=hidden]),#tc-qa-visual .epp-panel #catalogForm .company-field select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:48px}
#tc-qa-visual .epp-panel #catalogForm .company-field.action{grid-column:1/-1}
}

#tc-qa-visual #catalogForm[action*="key=currencies"] label:empty::before{content:"Descripción (opcional)"}
@media(max-width:700px){
#tc-qa-visual .epp-panel .tab-container{padding:16px;max-width:100%;min-width:0}
#tc-qa-visual .epp-panel .tab-buttons{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding-bottom:8px}
#tc-qa-visual .epp-panel .tab-buttons .tab{flex:0 0 auto;width:auto;white-space:nowrap;min-width:88px}
#tc-qa-visual .epp-panel .tab-content{padding:16px 0;min-width:0}
#tc-qa-visual .epp-panel .form-container-inventory{width:100%;max-width:100%;padding:0;min-width:0}
#tc-qa-visual .epp-panel .form-container-inventory select{width:100%;max-width:100%;min-width:0;font-size:16px}
#tc-qa-visual .ex-wrap form[data-ext-draft]>.ex-actions{padding-right:64px}
}

@media(max-width:600px){
#tc-qa-visual .ex-wrap .ex-table[data-ext-cards],#tc-qa-visual .ex-wrap .ex-table[data-ext-cards] tbody,#tc-qa-visual .ex-wrap .ex-table[data-ext-cards] tr,#tc-qa-visual .ex-wrap .ex-table[data-ext-cards] td{width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere}
#tc-qa-visual .ex-wrap .ex-stat strong{font-size:24px;line-height:1.25;overflow-wrap:normal;word-break:normal}
}

/* Visual audit: complete video frame within a usable presentation area. */
#tc-qa-visual .video-container{max-width:960px;margin-inline:auto}
#tc-qa-visual .video-container video{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;background:#102c25}

/* Visual audit: preserve the complete game illustration without oversized height. */
#tc-qa-visual .company-employees-image.big{display:block;width:100%;max-width:100%;height:auto;max-height:480px;object-fit:contain;margin:20px auto}

/* Visual audit: readable filters and table actions on phones. */
@media(max-width:600px){#tc-qa-visual #tc-training .tr-filters{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important}#tc-qa-visual #tc-training .tr-filters>label{width:100%!important;min-width:0!important}#tc-qa-visual #tc-training .tr-filters input,#tc-qa-visual #tc-training .tr-filters select{width:100%!important;min-width:0!important;min-height:48px;font-size:16px}#tc-qa-visual #tc-training .tr-scroll{max-width:100%;overflow-x:auto}#tc-qa-visual #tc-training .tr-scroll table:has(.p-btn){min-width:640px}#tc-qa-visual #tc-training .tr-scroll .p-btn{white-space:nowrap;min-width:100px}#tc-qa-visual #tc-training .tr-empty{max-width:100%;min-width:0;box-sizing:border-box}}

/* Visual audit: full questions and spaced native EPP tables. */
#tc-qa-visual #questionTitle{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;height:auto!important;max-height:none!important;-webkit-line-clamp:unset!important}
#tc-qa-visual #portal-main .table-responsive{max-width:100%;overflow-x:auto}
#tc-qa-visual #portal-main .table-responsive table.table{width:100%;min-width:680px;border-collapse:collapse}
#tc-qa-visual #portal-main .table-responsive table.table th,#tc-qa-visual #portal-main .table-responsive table.table td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #dce8e4}
#tc-qa-visual #portal-main .table-responsive table.table th{background:#edf5f1;color:#203f39;font-size:14px;white-space:nowrap}

/* Visual audit: omit a missing legacy decorative emoticon in QA plan copy. */
#tc-qa-visual img[src="/media/editors/tinymce/plugins/emoticons/img/smiley-cool.gif"]{display:none}
