/* GrupoApps Design System 1.0 — canonical source: grupoapps-design-system/ */
body[data-ga-system]{--ga-font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ga-control:12px;--ga-card:18px;--ga-dialog:24px;--ga-space:16px;--ga-shadow:0 4px 20px rgb(15 35 55 / 4%);font-family:var(--ga-font);-webkit-text-size-adjust:100%}
body[data-ga-system] :where(button,input,select,textarea){font-family:var(--ga-font)}
body[data-ga-system] :is(.button,.primary,.secondary,.mini-button,.icon-button,.icon-btn,.icon-action,.task-action,.chip-button,.new-task-wide,.tabs button,.user-card button,#access-logout,#logout-button){border-radius:var(--ga-control);min-height:44px;line-height:1.3;font-size:14px;font-weight:600;box-shadow:none;touch-action:manipulation}
body[data-ga-system] :is(.button,.primary,.secondary,.mini-button,.chip-button){gap:8px;padding:11px 16px}
body[data-ga-system] :is(.icon-button,.icon-btn,.icon-action,.task-action,#access-logout,#logout-button){min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
body[data-ga-system] :is(.button,.primary,.secondary,.task-action):hover{transform:none}
body[data-ga-system] :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--blue,#4a9fd1);outline-offset:3px}
body[data-ga-system] :is(button,input,select,textarea):disabled{cursor:not-allowed}
body[data-ga-system] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;min-height:46px;border-radius:var(--ga-control);font-size:16px;line-height:1.4}
body[data-ga-system] textarea{min-height:104px;resize:vertical}
body[data-ga-system] input:is([type=checkbox],[type=radio]){flex-shrink:0}
body[data-ga-system] :is(.field,.form-field>label,.form-grid>label,dialog form>label){font-size:13px;font-weight:600;line-height:1.5}
body[data-ga-system] :is(.form-grid,.form-row,.filter-grid){gap:16px}
body[data-ga-system] :is(.form-grid,.form-row,.filter-grid)>*{min-width:0}
body[data-ga-system] :is(.page-intro,.page-head,.section-heading){gap:20px;margin-bottom:24px}
body[data-ga-system] :is(.page-intro h2,.page-head h1,.intro h1){font-size:32px;font-weight:650;line-height:1.2;letter-spacing:-1px}
body[data-ga-system] :is(.page-intro p,.page-head p,.subtitle){font-size:14px;line-height:1.65}
body[data-ga-system] :is(.eyebrow,.kicker,.page-intro small){font-size:10px;font-weight:700;line-height:1.5;letter-spacing:1.4px}
body[data-ga-system] :is(.panel,.metric,.metric-card,.stats article,.info-card,.task,.user-card,.insight-card,.data-row,.date-panel,.table-wrap,.form-section,.count-summary){border-radius:var(--ga-card);box-shadow:var(--ga-shadow)}
body[data-ga-system] :is(.metric,.metric-card,.stats article,.info-card,.task,.user-card,.insight-card,.form-section){padding:20px}
body[data-ga-system] :is(.metrics,.cards-grid,.stats,.task-list,.users,.data-list){gap:16px}
body[data-ga-system] :is(.metric strong,.metric-card strong,.stats strong){font-size:28px;line-height:1.2;letter-spacing:-.7px;font-weight:650}
body[data-ga-system] :is(.metric small,.metric-card small,.stats small){font-size:12px;line-height:1.5}
body[data-ga-system] :is(.info-card h3,.panel-head h3,.task-title,.data-row strong,.user-card h3){font-size:17px;line-height:1.4;font-weight:650;letter-spacing:-.25px}
body[data-ga-system] :is(.pill,.status,.badge,.status-chip,.method-chip,.company-chip){border-radius:8px;font-size:11px;font-weight:650;line-height:1.4;padding:5px 8px;max-width:100%}
body[data-ga-system] :is(.table-wrap,.table-scroll){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body[data-ga-system] table{font-size:14px;line-height:1.5}
body[data-ga-system] th{font-size:11px;font-weight:650;letter-spacing:.5px;line-height:1.4;padding:14px 16px}
body[data-ga-system] td{padding:14px 16px;vertical-align:middle}
body[data-ga-system] :is(.cell-main small,.data-row small){font-size:12px;line-height:1.5}
body[data-ga-system] :is(.toolbar,.tools,.filters,.filter-grid,.paid-filters,.top-actions){gap:12px}
body[data-ga-system] :is(.toolbar,.filters,.paid-filters,.search,.calendar-field,.date-input-shell,.form-date-shell){min-width:0;max-width:100%}
body[data-ga-system] .toolbar>*{min-width:0}
body[data-ga-system] :is(input[type=date],input[type=datetime-local]){width:100%;min-width:0;max-width:100%;font-size:16px}
body[data-ga-system] .date-controls{grid-template-columns:44px minmax(0,1fr) 44px;gap:12px}
body[data-ga-system] .date-controls button{width:44px;height:44px;border-radius:var(--ga-control);display:grid;place-items:center}
body[data-ga-system] .date-picker-shell{height:44px;border-radius:var(--ga-control)}
body[data-ga-system] .date-picker-shell input{min-height:0!important;height:100%!important}
body[data-ga-system] :is(.search,.filters,.tabs,.admin-tabs){border-radius:var(--ga-control)}
body[data-ga-system] :is(.filter,.nav,.main-tabs a,.sidebar nav button,.admin-tabs button,.tabs button,.topic-chips button){border-radius:var(--ga-control);min-height:44px;font-size:13px;font-weight:600;line-height:1.3}
body[data-ga-system] :is(.topbar,.topbar header){gap:16px}
body[data-ga-system] .topbar{min-height:72px}
body[data-ga-system] :is(.sidebar nav button,.main-tabs a,.topbar .nav){display:flex;align-items:center;justify-content:center;gap:8px}
body[data-ga-system] .sidebar nav button{justify-content:flex-start}
body[data-ga-system] :is(.sidebar nav button,.mobile-nav button,.mobile-tabs a,.topbar .nav)>svg{width:20px;height:20px;flex-shrink:0}
body[data-ga-system] .task-menu{display:flex;flex-wrap:wrap;gap:8px}
body[data-ga-system] :is(.modal,dialog){box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);border-radius:var(--ga-dialog);box-shadow:0 24px 80px rgb(0 0 0 / 22%);overscroll-behavior:contain}
body[data-ga-system] dialog::backdrop{background:rgb(9 22 34 / 48%);backdrop-filter:blur(5px)}
body[data-ga-system] :is(.modal h2,.dialog-head h2,.dialog-head h2,.access-dialog h2){font-size:24px;line-height:1.25;font-weight:650;letter-spacing:-.6px}
body[data-ga-system] :is(.dialog-actions,.modal-actions,.form-actions,.modal footer){gap:12px}
body[data-ga-system] :is(.dialog-actions,.modal-actions,.form-actions,.modal footer)>*{min-width:0}
body[data-ga-system] :is(.empty,.empty-state,.insight-empty){border-radius:var(--ga-card)}
body[data-ga-system] :is(.empty h2,.empty h3,.empty-state h2,.empty-state h3){font-size:22px;line-height:1.3;font-weight:650}
body[data-ga-system] :is(.empty p,.empty-state p){font-size:14px;line-height:1.6}
body[data-ga-system] :is(#toast,#notice){border-radius:12px;max-width:min(440px,calc(100vw - 32px));font-size:13px;font-weight:500;line-height:1.5;pointer-events:none}
body[data-ga-system="tasks"] #toast{top:80px;bottom:auto}
body[data-ga-system] svg.ga-icon{display:block;width:20px;height:20px;min-width:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-ga-system] .ga-icon-inline{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
body[data-ga-system="accounts"] .payable-card{border-radius:var(--ga-card);padding:20px;box-shadow:var(--ga-shadow)}
body[data-ga-system="accounts"] .payable-list{gap:16px}
body[data-ga-system="accounts"] .payable-actions{gap:12px}
body[data-ga-system="training"] :is(.lesson-card,.lesson-card .thumb){border-radius:var(--ga-card)}
body[data-ga-system="training"] .lesson-card:hover{transform:translateY(-3px)}
body[data-ga-system="training"] .home-summary :is(.welcome-card,.progress-strip){border-radius:var(--ga-card)!important;box-shadow:var(--ga-shadow)!important}
body[data-ga-system="training"] .profile>button{min-width:44px;min-height:44px;border-radius:var(--ga-control)}
body[data-ga-system="training"] .close-player{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--ga-control)}
body[data-ga-system="training"] :is(#manage-view,#insights-view,#my-learning-view){width:min(1240px,calc(100% - 32px))}
body[data-ga-system="training"] :is(.data-row,.report-filters,.report-table,.insight-card,.celebrate-card,.notification-panel){color:#17223b}
body[data-ga-system="training"] :is(.admin-toolbar>.muted,.admin-toolbar small,.report-summary){color:#adc1cf}
body[data-ga-system="training"] :is(.report-filters,.report-table,.celebrate-card,.notification-panel){border-radius:var(--ga-card)}
body[data-ga-system="training"] :is(.modal-head,.insight-modal-head,.access-dialog-head)>button,body[data-ga-system="central"] .dialog-head>button{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:var(--ga-control)}
body[data-ga-system="central"] :is(#app>.page-head h1){font-size:32px;line-height:1.2;letter-spacing:-1px}
@media(min-width:360px) and (max-width:760px){body[data-ga-system="tasks"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-ga-system="tasks"] .stats article{gap:10px}}
@media(max-width:760px){
 body[data-ga-system] :is(.page-intro h2,.page-head h1,.intro h1,#app>.page-head h1){font-size:28px}
 body[data-ga-system] :is(.page-intro,.page-head){flex-wrap:wrap;align-items:flex-start;gap:16px}
 body[data-ga-system] :is(.page-intro>*,.page-head>*){min-width:0;max-width:100%}
 body[data-ga-system] :is(.form-grid,.filter-grid){grid-template-columns:minmax(0,1fr)}
 body[data-ga-system] :is(.metric,.metric-card,.stats article,.info-card,.task,.user-card,.insight-card,.form-section){padding:16px}
 body[data-ga-system] :is(.metrics,.cards-grid,.stats,.task-list,.users,.data-list){gap:12px}
 body[data-ga-system] :is(.topbar){min-height:64px;gap:10px}
 body[data-ga-system] :is(.topbar h1,.brand-zone::after){font-size:20px}
 body[data-ga-system] :is(.task-action,.icon-button,.icon-btn,.icon-action){min-width:44px;min-height:44px}
 body[data-ga-system] :is(.mobile-nav,.mobile-tabs){border-radius:18px;gap:4px;bottom:max(12px,env(safe-area-inset-bottom));padding:6px}
 body[data-ga-system] :is(.mobile-nav button,.mobile-tabs a){min-height:52px;border-radius:12px;font-size:10px;line-height:1.3;gap:5px}
 body[data-ga-system] :is(.dialog-actions,.modal-actions,.form-actions,.modal footer){flex-wrap:wrap}
 body[data-ga-system] :is(.dialog-actions,.modal-actions,.modal footer)>.button{flex:1 1 auto}
 body[data-ga-system] :is(dialog,.modal){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:20px}
 body[data-ga-system="tasks"] main{width:calc(100% - 32px);padding-top:28px}
 body[data-ga-system="accounts"] .payable-card{padding:16px}
 body[data-ga-system="accounts"] .payable-list{gap:12px}
 body[data-ga-system="tasks"] .task-menu{grid-column:1/-1;justify-content:flex-end}
 body[data-ga-system="training"] .topbar nav{border-radius:18px!important;padding:6px!important;gap:4px!important}
 body[data-ga-system="training"] .topbar .nav{min-height:48px!important;border-radius:12px!important;font-size:10px!important}
 body[data-ga-system="training"] .data-row{flex-direction:column;gap:12px;padding:16px}
 body[data-ga-system="training"] .data-row .actions{align-self:flex-end}
}
@media(prefers-reduced-motion:reduce){body[data-ga-system] *,body[data-ga-system] *::before,body[data-ga-system] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body[data-ga-system] :is(.panel,.metric,.info-card,.task,.table-wrap){box-shadow:none!important}body[data-ga-system] .table-wrap{overflow:visible}}
