/* CLC Youth V19.0.1 | Invenza responsive workspace. Screen-only layout.
   Preserve the original Invenza colors, typography and print styles. */
@media screen {
  .clc19-app #main-wrapper { width:auto; max-width:none; min-width:0; min-height:100vh; min-height:100dvh; }
  .clc19-app .clc19-content.geex-content {
    box-sizing:border-box; width:100%; max-width:none; min-width:0;
    margin:0; padding:clamp(12px,1.35vw,28px);
    display:flex; flex-direction:column; flex:1 0 auto;
    container:clc-workspace / inline-size;
  }
  .clc19-app .clc19-content > * { min-width:0; max-width:100%; }
  .clc19-app .clc19-content > .geex-content__section + .geex-content__section { margin-top:16px; }
  .clc19-app .clc-footer { margin-top:auto; padding:20px 0 6px; background:transparent; border-top:0; }
  .clc19-app .clc19-page-heading h1 { font-size:clamp(20px,1.5vw,26px); overflow-wrap:anywhere; }
  .clc19-app .clc-panel { padding:clamp(14px,1.3vw,24px); }
  .clc19-app .clc19-dashboard-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); }
  .clc19-app .clc-panel-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr)); }
  .clc19-app :is(.clc-v4-form,.clc-v8-form,.clc-v8-two,.clc-v8-accounts,.clc-v5-kpis,.clc-v5-details,.clc-v16-layout,.clc-v16-kpis,.clc-v16-links,.clc-v16-events,.clc-v12-board,.clc-v12-stats,.clc-v12-project-grid,.clc-v14-grid,.clc-v15-grid,.clc-v17-grid,.clc-v17-recovery,.clc-v4-role-grid) > * { min-width:0; }
  .clc19-app :is(.clc-v4-heading,.clc-v15-heading,.clc-v5-person,.clc-v5-profile,.clc-v16-card-body) > * { min-width:0; }
  .clc19-app :is(.clc-v4-heading,.clc-v15-heading,.clc-v5-profile,.clc-v5-birthday,.clc-v16-card-body) { overflow-wrap:anywhere; }
  .clc19-app :is(.clc-v4-form,.clc-v8-form) :is(label,fieldset) { min-width:0; }
  .clc19-app .clc19-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { max-width:100%; min-width:0; box-sizing:border-box; }
  .clc19-app .clc19-content :is(.clc-v4-button, .clc-v4-pill, .clc-v6-tag) { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
  .clc19-app .clc-v4-form > .clc-v5-actions { align-self:end; }
  .clc19-app .clc-v4-card > summary { justify-content:flex-start; }
  .clc19-app .clc-v4-card > summary::before { flex:none; }
  .clc19-app :is(.clc-v4-table-wrap,.clc-v15-table,.clc-v10-calendar-wrap,.clc-v12-board) { min-width:0; max-width:100%; overscroll-behavior-inline:contain; }
  .clc19-app :is(.clc-v4-table-wrap,.clc-v15-table,.clc-v10-calendar-wrap) { overflow-x:auto; }
  .clc19-app :is(.clc-v4-role-grid,.clc-v12-stats,.clc-v17-grid) { grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); }
  .clc19-app .clc-v12-project-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); }
  .clc19-app :is(.clc-v8-accounts,.clc-v15-grid,.clc-v16-kpis,.clc-v16-links,.clc-v16-events) { grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }
  .clc19-app .clc-v17-recovery { grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr)); }
  .clc19-app .clc-v12-board { grid-template-columns:repeat(5,minmax(210px,1fr)); overflow-x:auto; }
  .clc19-app .clc19-content :is(.clc-v6-banner,.clc-v7-hero,.clc-v10-banner,.clc-v12-hero,.clc-v16-hero,.welcome-banner) :is(h1,h2,h3,h4) { color:#fff; overflow-wrap:anywhere; }
  .clc19-app .clc19-content :is(.clc-v6-banner,.clc-v7-hero,.clc-v10-banner,.clc-v12-hero,.clc-v16-hero) { padding:clamp(16px,2vw,28px); }
  .clc19-app .clc19-content :is(.clc-v6-banner,.clc-v7-hero,.clc-v10-banner,.clc-v12-hero,.clc-v16-hero) > * { min-width:0; }
  .clc19-app .clc19-content :is(.clc-v6-banner,.clc-v7-hero,.clc-v10-banner,.clc-v12-hero) :is(h2,h3) { font-size:clamp(20px,1.65vw,30px); }
  .clc19-app .clc19-content img { max-width:100%; }
  .clc19-app .clc-v16-hero img { max-width:30%; }
  .clc19-app .clc-v16-card-top img { max-width:48%; }
  .clc19-app .clc-v16-qr canvas { max-width:100%; height:auto; aspect-ratio:1; }
  .clc19-app .clc19-header-path { flex:1 1 0; }
  .clc19-app .clc19-header-actions { flex:0 0 auto; }
  .clc19-app #clc19-nav-toggle { flex:none; }
  .clc19-app #sidebar { height:100vh; height:100dvh; }
  @container clc-workspace (max-width: 850px) {
    .clc19-app .clc-v7-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .clc19-app .clc-v5-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .clc19-app .clc-v16-layout { grid-template-columns:1fr; }
  }
  @container clc-workspace (max-width: 620px) {
    .clc19-app :is(.clc-v4-form,.clc-v7-filters,.clc-v8-form,.clc-v8-two,.clc-v5-details,.clc-v16-details,.clc-v14-stats) { grid-template-columns:minmax(0,1fr); }
    .clc19-app .clc-v12-board { grid-template-columns:1fr; overflow:visible; }
    .clc19-app .clc-v6-level { flex-wrap:wrap; }
    .clc19-app .clc-v6-office { flex:1 1 min(100%,170px); }
    .clc19-app .clc-v6-level:not(:last-child):after { display:none; }
    .clc19-app .clc-v6-level { padding-bottom:12px; }
    .clc19-app .clc-v6-align { align-items:stretch; }
    .clc19-app .clc-v14-filter-actions { flex-wrap:wrap; }
    .clc19-app .clc-v4-form > .clc-v5-actions { align-self:stretch; }
  }
  @container clc-workspace (max-width: 350px) {
    .clc19-app .clc-v5-kpis { grid-template-columns:minmax(0,1fr); }
    .clc19-app .clc-v16-card-top { flex-wrap:wrap; }
  }
  @media(max-width:1023px) {
    .clc19-app #sidebar { max-width:calc(100vw - 32px); z-index:70; }
    .clc19-app.clc19-mobile-open #clc19-overlay:not([hidden]) { z-index:69; }
    .clc19-app.clc19-mobile-open { overflow:hidden; }
    .clc19-app #main-wrapper { margin-left:0; }
  }
  @media(max-width:600px) {
    .clc19-app .clc19-content.geex-content { padding:12px; }
    .clc19-app .clc19-icon-btn { width:40px; height:40px; }
    .clc19-app .clc19-header-actions { gap:4px; }
    .clc19-app .clc19-user { padding-left:4px; }
    .clc19-app .clc19-content :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea),.clc19-auth .form-input { font-size:16px; }
    .clc19-app .clc19-content .clc-v4-button { min-height:44px; }
    .clc19-app .clc-v5-profile { flex-wrap:wrap; }
    .clc19-app .clc-footer { justify-content:center; text-align:center; gap:5px; }
    .clc19-app .clc-footer span { width:100%; }
    .clc19-auth { padding:12px; min-height:100dvh; }
    .clc19-auth .clc19-login-brand { flex-wrap:wrap; text-align:center; }
  }
  @media(max-width:360px) {
    .clc19-app .clc19-header-path { display:none; }
    .clc19-app .clc19-header-actions { margin-left:auto; }
    .clc19-app .clc-panel { padding:12px; }
  }
}
