/* IT-BALON.CZ v632 – finální mobilní doladění schváleného klient/admin dashboardu */
@media (max-width:900px){
  html body.itb-v631-mobile,
  html body.itb-v631-mobile .itb-client-mobile-v630,
  html body.itb-v631-mobile .itb-admin-mobile-v631,
  html body.itb-v631-mobile .itb-client-drawer-v630,
  html body.itb-v631-mobile .itb-admin-drawer-v631{
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  }

  /* Staré mobilní docky nesmí přebít schválenou navigaci. */
  html body.itb-v632-mobile .itb-digital-dock-v599,
  html body.itb-v632-mobile nav[class*="digital-dock"],
  html body.itb-v632-mobile nav[class*="mobile-dock"],
  html body.itb-v632-mobile nav[class*="bottom-nav"]:not(.itb-client-bottom-nav-v630):not(.itb-admin-bottom-nav-v631){
    display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
  }
  html body.itb-v632-client .itb-client-bottom-nav-v630,
  html body.itb-v632-admin .itb-admin-bottom-nav-v631{
    display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }

  /* společný polish */
  html body.itb-v632-mobile .itb-client-appbar-v630,
  html body.itb-v632-mobile .itb-admin-appbar-v631{
    height:68px!important;padding:8px 10px!important;border-bottom:1px solid #dce8f6!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 img,
  html body.itb-v632-mobile .itb-admin-brand-v631 img{width:40px!important;height:40px!important;flex-basis:40px!important}
  html body.itb-v632-mobile .itb-client-brand-v630 strong,
  html body.itb-v632-mobile .itb-admin-brand-v631 strong{font-size:16px!important;font-weight:800!important;letter-spacing:-.01em!important}
  html body.itb-v632-mobile .itb-client-brand-v630 small,
  html body.itb-v632-mobile .itb-admin-brand-v631 small{font-size:8px!important;font-weight:700!important;letter-spacing:.045em!important}
  html body.itb-v632-mobile .itb-client-bell-v630,
  html body.itb-v632-mobile .itb-client-menu-open-v630,
  html body.itb-v632-mobile .itb-admin-menu-open-v631{width:44px!important;height:44px!important;min-width:44px!important;border-radius:14px!important}
  html body.itb-v632-mobile .itb-client-bell-v630 span{font-size:19px!important;line-height:1!important;transform:none!important;filter:none!important}
  html body.itb-v632-mobile .itb-admin-role-v631{min-height:44px!important;padding:0 13px!important;font-size:11px!important;font-weight:800!important;border-radius:14px!important}

  /* klient – schválený vzhled */
  html body.itb-v632-client .itb-client-mobile-v630{padding-bottom:118px!important;background:#f3f7fc!important}
  html body.itb-v632-client .itb-client-hero-v630{
    padding:22px 10px 17px!important;
    background:radial-gradient(circle at 94% 6%,rgba(255,255,255,.12) 0 53px,transparent 54px),linear-gradient(145deg,#0740ad 0%,#0969ff 62%,#0848bd 100%)!important;
  }
  html body.itb-v632-client .itb-client-hero-copy-v630 h1{
    max-width:100%!important;margin:0!important;font-size:clamp(25px,7.2vw,31px)!important;line-height:1.06!important;
    font-weight:800!important;letter-spacing:-.035em!important;text-wrap:balance!important;
  }
  html body.itb-v632-client .itb-client-hero-copy-v630 p{margin-top:8px!important;font-size:13px!important;font-weight:500!important}
  html body.itb-v632-client .itb-client-today-v630{margin-top:16px!important;padding:12px 5px!important;border-radius:17px!important}
  html body.itb-v632-client .itb-client-today-v630>div{grid-template-columns:23px minmax(0,1fr)!important;padding:0 5px!important}
  html body.itb-v632-client .itb-client-today-v630 .ico{width:21px!important;height:21px!important;font-size:17px!important}
  html body.itb-v632-client .itb-client-today-v630 small{font-size:7.5px!important;font-weight:600!important}
  html body.itb-v632-client .itb-client-today-v630 strong{font-size:9px!important;font-weight:700!important;line-height:1.18!important}

  html body.itb-v632-client .itb-client-support-state-v630{
    display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important;margin-top:12px!important;padding:11px!important;border-radius:17px!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630 .mark{width:39px!important;height:39px!important;border-radius:13px!important;font-size:24px!important}
  html body.itb-v632-client .itb-client-support-state-v630 strong{font-size:13px!important;font-weight:750!important}
  html body.itb-v632-client .itb-client-support-state-v630 small{font-size:10px!important;font-weight:500!important}
  html body.itb-v632-client .itb-client-support-state-v630>b{grid-column:1/-1!important;justify-content:center!important;width:100%!important;padding:9px 11px!important;font-size:10.5px!important;font-weight:700!important}

  html body.itb-v632-client .itb-client-kpis-v630{gap:9px!important;margin-top:11px!important}
  html body.itb-v632-client .itb-client-kpis-v630>a{
    min-height:136px!important;padding:13px 11px!important;grid-template-columns:39px minmax(0,1fr)!important;border-radius:18px!important;
    box-shadow:0 10px 24px rgba(5,39,94,.13)!important;
  }
  html body.itb-v632-client .itb-client-kpis-v630 .ico{width:38px!important;height:38px!important;border-radius:13px!important;font-size:20px!important}
  html body.itb-v632-client .itb-client-kpis-v630 strong{font-size:29px!important;font-weight:800!important}
  html body.itb-v632-client .itb-client-kpis-v630 b{margin-top:10px!important;font-size:12.5px!important;font-weight:750!important;line-height:1.22!important}
  html body.itb-v632-client .itb-client-kpis-v630 small{font-size:9.5px!important;font-weight:500!important;line-height:1.3!important}

  html body.itb-v632-client .itb-client-filter-v630{margin:12px 8px 0!important;padding:12px!important;gap:8px!important;border-radius:18px!important}
  html body.itb-v632-client .itb-client-filter-head-v630 strong{font-size:13px!important;font-weight:750!important}
  html body.itb-v632-client .itb-client-filter-head-v630 a{font-size:10px!important;font-weight:650!important}
  html body.itb-v632-client .itb-client-filter-v630 label>span:not(.sr-only){font-size:8.5px!important;font-weight:600!important}
  html body.itb-v632-client .itb-client-filter-v630 select,
  html body.itb-v632-client .itb-client-filter-v630 input{height:48px!important;min-height:48px!important;font-size:12px!important;font-weight:550!important;border-radius:13px!important}

  html body.itb-v632-client .itb-client-recent-v630{margin:14px 8px 0!important}
  html body.itb-v632-client .itb-client-section-title-v630 h2{font-size:16px!important;font-weight:800!important}
  html body.itb-v632-client .itb-client-section-title-v630>a{font-size:10px!important;font-weight:700!important}
  html body.itb-v632-client .itb-client-ticket-row-v630{min-height:70px!important;padding:9px 9px!important}
  html body.itb-v632-client .itb-client-ticket-row-v630 .copy small{font-size:9px!important;font-weight:700!important}
  html body.itb-v632-client .itb-client-ticket-row-v630 .copy strong{font-size:11.5px!important;font-weight:750!important}
  html body.itb-v632-client .itb-client-ticket-row-v630 .copy em{font-size:9px!important}
  html body.itb-v632-client .itb-client-ticket-row-v630 .state b{font-size:8.5px!important;font-weight:700!important}
  html body.itb-v632-client .itb-client-ticket-row-v630 .state small{font-size:8px!important}
  html body.itb-v632-client .itb-client-package-v630{margin:12px 8px!important}

  html body.itb-v632-client .itb-client-bottom-nav-v630,
  html body.itb-v632-admin .itb-admin-bottom-nav-v631{
    left:7px!important;right:7px!important;bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;min-height:72px!important;
    padding:7px 5px 6px!important;border-radius:20px!important;
  }
  html body.itb-v632-client .itb-client-bottom-nav-v630>a,
  html body.itb-v632-admin .itb-admin-bottom-nav-v631>a{font-size:8px!important;font-weight:650!important}
  html body.itb-v632-client .itb-client-bottom-nav-v630>a span,
  html body.itb-v632-admin .itb-admin-bottom-nav-v631>a span{width:31px!important;height:31px!important;font-size:18px!important}
  html body.itb-v632-client .itb-client-bottom-nav-v630>a.new span,
  html body.itb-v632-admin .itb-admin-bottom-nav-v631>a.new span{width:50px!important;height:50px!important;font-size:28px!important}

  /* admin – stejné proporce jako schválený koncept */
  html body.itb-v632-admin .itb-admin-mobile-v631{padding-bottom:118px!important;background:#f3f7fc!important}
  html body.itb-v632-admin .itb-admin-hero-v631{padding:20px 8px 16px!important}
  html body.itb-v632-admin .itb-admin-hero-head-v631{grid-template-columns:minmax(0,1fr) 74px!important;gap:9px!important}
  html body.itb-v632-admin .itb-admin-hero-head-v631 h1{margin:0!important;font-size:clamp(25px,7.2vw,31px)!important;line-height:1.06!important;font-weight:800!important;letter-spacing:-.035em!important}
  html body.itb-v632-admin .itb-admin-hero-head-v631 h1 b{font-weight:800!important}
  html body.itb-v632-admin .itb-admin-hero-head-v631 p{margin-top:7px!important;font-size:13px!important;font-weight:500!important}
  html body.itb-v632-admin .itb-admin-hero-head-v631>a{min-height:74px!important;border-radius:17px!important}
  html body.itb-v632-admin .itb-admin-hero-head-v631>a b{font-size:26px!important}
  html body.itb-v632-admin .itb-admin-today-v631{margin-top:15px!important;padding:12px 5px!important;border-radius:17px!important}
  html body.itb-v632-admin .itb-admin-today-v631>div{grid-template-columns:23px minmax(0,1fr)!important;padding:0 5px!important}
  html body.itb-v632-admin .itb-admin-today-v631>div>span{font-size:17px!important}
  html body.itb-v632-admin .itb-admin-today-v631 small{font-size:7.5px!important;font-weight:600!important}
  html body.itb-v632-admin .itb-admin-today-v631 strong{font-size:9px!important;font-weight:700!important}
  html body.itb-v632-admin .itb-admin-kpis-v631{gap:9px!important;margin-top:11px!important}
  html body.itb-v632-admin .itb-admin-kpis-v631>a{min-height:136px!important;padding:13px 11px!important;grid-template-columns:39px minmax(0,1fr)!important;border-radius:18px!important}
  html body.itb-v632-admin .itb-admin-kpis-v631 .ico{width:38px!important;height:38px!important;border-radius:13px!important;font-size:20px!important}
  html body.itb-v632-admin .itb-admin-kpis-v631 strong{font-size:29px!important;font-weight:800!important}
  html body.itb-v632-admin .itb-admin-kpis-v631 b{margin-top:10px!important;font-size:12.5px!important;font-weight:750!important}
  html body.itb-v632-admin .itb-admin-kpis-v631 small{font-size:9.5px!important;font-weight:500!important}
  html body.itb-v632-admin .itb-admin-filter-v631{margin:12px 8px 0!important;padding:12px!important;gap:8px!important;border-radius:18px!important}
  html body.itb-v632-admin .itb-admin-recent-v631{margin:14px 8px 0!important}

  /* drawer – čitelnější, méně tučný */
  html body.itb-v632-mobile .client-portal-sidebar{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
  html body.itb-v632-mobile .itb-client-drawer-nav-v630 a b,
  html body.itb-v632-mobile .itb-admin-drawer-nav-v631 a b,
  html body.itb-v632-mobile .itb-client-drawer-account-v630 a b,
  html body.itb-v632-mobile .itb-admin-drawer-account-v631 a b{font-weight:700!important}
}

@media (max-width:360px){
  html body.itb-v632-client .itb-client-hero-copy-v630 h1,
  html body.itb-v632-admin .itb-admin-hero-head-v631 h1{font-size:23px!important}
  html body.itb-v632-client .itb-client-kpis-v630>a,
  html body.itb-v632-admin .itb-admin-kpis-v631>a{min-height:130px!important;padding:12px 9px!important}
  html body.itb-v632-client .itb-client-kpis-v630 b,
  html body.itb-v632-admin .itb-admin-kpis-v631 b{font-size:11.5px!important}
}


@media (max-width:900px){
  /* KPI karty více na střed */
  html body.itb-v632-client .itb-client-kpis-v630>a,
  html body.itb-v632-admin .itb-admin-kpis-v631>a{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:16px 10px!important;
  }
  html body.itb-v632-client .itb-client-kpis-v630 .ico,
  html body.itb-v632-admin .itb-admin-kpis-v631 .ico{
    margin:0 auto 2px!important;
  }
  html body.itb-v632-client .itb-client-kpis-v630 strong,
  html body.itb-v632-admin .itb-admin-kpis-v631 strong,
  html body.itb-v632-client .itb-client-kpis-v630 b,
  html body.itb-v632-admin .itb-admin-kpis-v631 b,
  html body.itb-v632-client .itb-client-kpis-v630 small,
  html body.itb-v632-admin .itb-admin-kpis-v631 small{
    grid-column:auto!important;
    text-align:center!important;
    align-self:center!important;
    width:100%!important;
    margin-top:0!important;
  }
  html body.itb-v632-client .itb-client-kpis-v630 strong,
  html body.itb-v632-admin .itb-admin-kpis-v631 strong{line-height:1!important}
  html body.itb-v632-client .itb-client-kpis-v630 small,
  html body.itb-v632-admin .itb-admin-kpis-v631 small{max-width:15ch!important}

  /* Filtry jako sbalený akordeon ve výchozím stavu */
  html body.itb-v632-client .itb-client-filter-v630.itb-filter-accordion-ready-v633,
  html body.itb-v632-admin .itb-admin-filter-v631.itb-filter-accordion-ready-v633{
    overflow:hidden!important;
  }
  html body.itb-v632-client .itb-client-filter-head-v630 strong,
  html body.itb-v632-admin .itb-admin-filter-head-v631 strong{
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    cursor:pointer!important;
    user-select:none!important;
  }
  html body.itb-v632-client .itb-client-filter-head-v630 strong span,
  html body.itb-v632-admin .itb-admin-filter-head-v631 strong span{
    display:inline-block!important;
    min-width:12px!important;
    text-align:center!important;
  }
  html body.itb-v632-client .itb-client-filter-v630.is-collapsed,
  html body.itb-v632-admin .itb-admin-filter-v631.is-collapsed{
    gap:0!important;
    padding-bottom:12px!important;
  }
  html body.itb-v632-client .itb-client-filter-v630.is-collapsed > :not(.itb-client-filter-head-v630),
  html body.itb-v632-admin .itb-admin-filter-v631.is-collapsed > :not(.itb-admin-filter-head-v631){
    display:none!important;
  }
}

@media (max-width:360px){
  html body.itb-v632-client .itb-client-kpis-v630>a,
  html body.itb-v632-admin .itb-admin-kpis-v631>a{
    min-height:132px!important;
    padding:14px 8px!important;
  }
}


@media (max-width:900px){
  /* Zrušení spodního pevného menu – ponechat jen šipku nahoru */
  html body.itb-v632-client .itb-client-mobile-v630,
  html body.itb-v632-admin .itb-admin-mobile-v631{
    padding-bottom:18px!important;
  }
  html body.itb-v632-client .itb-client-bottom-nav-v630,
  html body.itb-v632-admin .itb-admin-bottom-nav-v631{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  /* Klientská karta Podpora je aktivní – zarovnání na střed */
  html body.itb-v632-client .itb-client-support-state-v630{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630 .mark,
  html body.itb-v632-client .itb-client-support-state-v630 > span:nth-child(2){
    margin-left:auto!important;
    margin-right:auto!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630 > span:nth-child(2){
    justify-items:center!important;
    text-align:center!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630>b{
    justify-content:center!important;
    text-align:center!important;
  }
}


@media (max-width:900px){
  /* v635 – sjednocená horní lišta ve stylu veřejného webu */
  html body.itb-v632-mobile .itb-client-appbar-v630,
  html body.itb-v632-mobile .itb-admin-appbar-v631{
    position:sticky!important;
    top:0!important;
    z-index:40!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:10px 12px!important;
    background:#fff!important;
    border-bottom:1px solid #dbe7f5!important;
    box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630,
  html body.itb-v632-mobile .itb-admin-brand-v631{
    gap:10px!important;
    min-width:0!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 img,
  html body.itb-v632-mobile .itb-admin-brand-v631 img{
    width:36px!important;height:36px!important;flex-basis:36px!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 strong,
  html body.itb-v632-mobile .itb-admin-brand-v631 strong{
    font-size:15.5px!important;line-height:1!important;letter-spacing:-.02em!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 small,
  html body.itb-v632-mobile .itb-admin-brand-v631 small{
    margin-top:3px!important;
    font-size:8px!important;
    letter-spacing:.08em!important;
    color:#667a96!important;
  }
  html body.itb-v632-mobile .itb-client-bell-v630,
  html body.itb-v632-mobile .itb-client-menu-open-v630,
  html body.itb-v632-mobile .itb-admin-menu-open-v631{
    width:46px!important;height:46px!important;min-width:46px!important;border-radius:15px!important;
  }
  html body.itb-v632-mobile .itb-admin-role-v631{
    min-height:46px!important;
    padding:0 15px!important;
    border-radius:15px!important;
    font-size:11px!important;
    letter-spacing:.03em!important;
  }
}


/* v636 – horní mobilní lišta více ve stylu hlavního webu + jemnější akcní prvky */
@media (max-width:900px){
  html body.itb-v632-mobile .itb-client-appbar-v630,
  html body.itb-v632-mobile .itb-admin-appbar-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634{
    position:sticky!important;
    top:0!important;
    z-index:60!important;
    min-height:74px!important;
    height:auto!important;
    padding:10px 12px 10px 12px!important;
    background:#fff!important;
    border-top:3px solid #0f6cff!important;
    border-bottom:1px solid #d7e5f7!important;
    border-radius:0 0 20px 20px!important;
    box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630,
  html body.itb-v632-mobile .itb-admin-brand-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-brand-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-brand-v631{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
    text-decoration:none!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 img,
  html body.itb-v632-mobile .itb-admin-brand-v631 img,
  html body.unified-support-layout .itb-ticket-appbar-v634 img{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    object-fit:contain!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 span,
  html body.itb-v632-mobile .itb-admin-brand-v631 span,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-brand-v630 span,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-brand-v631 span{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 strong,
  html body.itb-v632-mobile .itb-admin-brand-v631 strong,
  html body.unified-support-layout .itb-ticket-appbar-v634 strong{
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:-.01em!important;
    line-height:1.05!important;
    color:#11408d!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 small,
  html body.itb-v632-mobile .itb-admin-brand-v631 small,
  html body.unified-support-layout .itb-ticket-appbar-v634 small{
    margin-top:3px!important;
    font-size:7.5px!important;
    font-weight:700!important;
    letter-spacing:.085em!important;
    color:#70809a!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }
  html body.itb-v632-mobile .itb-client-appbar-actions-v630,
  html body.itb-v632-mobile .itb-admin-appbar-actions-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-appbar-actions-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-appbar-actions-v631{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    margin-left:auto!important;
  }
  html body.itb-v632-mobile .itb-client-bell-v630,
  html body.itb-v632-mobile .itb-client-menu-open-v630,
  html body.itb-v632-mobile .itb-admin-menu-open-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-bell-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-menu-open-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-menu-open-v631{
    width:47px!important;
    height:47px!important;
    min-width:47px!important;
    border-radius:15px!important;
    border:1px solid #dbe6f5!important;
    background:#fff!important;
    box-shadow:0 10px 22px rgba(15,23,42,.08)!important;
  }
  html body.itb-v632-mobile .itb-client-menu-open-v630,
  html body.itb-v632-mobile .itb-admin-menu-open-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-menu-open-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-menu-open-v631{
    background:linear-gradient(180deg,#0f6cff 0%,#0b4dc8 100%)!important;
    border-color:#0d60ec!important;
  }
  html body.itb-v632-mobile .itb-client-menu-open-v630 span,
  html body.itb-v632-mobile .itb-admin-menu-open-v631 span,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-menu-open-v630 span,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-menu-open-v631 span{
    background:#fff!important;
  }
  html body.itb-v632-mobile .itb-admin-role-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-role-v631{
    min-height:47px!important;
    padding:0 16px!important;
    border-radius:15px!important;
    background:linear-gradient(180deg,#0f6cff 0%,#0b4dc8 100%)!important;
    color:#fff!important;
    border:1px solid #0d60ec!important;
    box-shadow:0 10px 22px rgba(15,23,42,.08)!important;
    font-size:11px!important;
    font-weight:750!important;
    letter-spacing:.03em!important;
  }

  /* menší text v aktualizačním boxu, aby byl vždy na 1 řádku */
  html body.itb-v632-admin .itb-admin-hero-head-v631{grid-template-columns:minmax(0,1fr) 82px!important;}
  html body.itb-v632-admin .itb-admin-hero-head-v631>a{
    min-height:82px!important;
    border-radius:18px!important;
    padding:8px 5px!important;
    align-content:center!important;
    justify-items:center!important;
  }
  html body.itb-v632-admin .itb-admin-hero-head-v631>a b{
    font-size:24px!important;
    line-height:1!important;
  }
  html body.itb-v632-admin .itb-admin-hero-head-v631>a small{
    display:block!important;
    margin-top:5px!important;
    font-size:8.8px!important;
    line-height:1.05!important;
    font-weight:560!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }
}


/* v637 – větší čitelnost ticketů + podpora + sjednocenější top bar */
@media (max-width:900px){
  /* společná horní hlavička více jako hlavní web */
  html body.itb-v632-mobile .itb-client-appbar-v630,
  html body.itb-v632-mobile .itb-admin-appbar-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634{
    width:calc(100% - 14px)!important;
    margin:0 auto 10px!important;
    padding:11px 14px!important;
    min-height:76px!important;
    border-top:3px solid #2aa8ff!important;
    border-bottom:1px solid #d7e5f7!important;
    border-radius:0 0 22px 22px!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
    box-shadow:0 16px 34px rgba(15,23,42,.09)!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630,
  html body.itb-v632-mobile .itb-admin-brand-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-brand-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-brand-v631{
    gap:11px!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 img,
  html body.itb-v632-mobile .itb-admin-brand-v631 img,
  html body.unified-support-layout .itb-ticket-appbar-v634 img{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 strong,
  html body.itb-v632-mobile .itb-admin-brand-v631 strong,
  html body.unified-support-layout .itb-ticket-appbar-v634 strong{
    font-size:14.5px!important;
    font-weight:850!important;
    letter-spacing:-.012em!important;
    color:#143c85!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 small,
  html body.itb-v632-mobile .itb-admin-brand-v631 small,
  html body.unified-support-layout .itb-ticket-appbar-v634 small{
    font-size:7.8px!important;
    letter-spacing:.095em!important;
    color:#71839f!important;
  }
  html body.itb-v632-mobile .itb-client-bell-v630,
  html body.itb-v632-mobile .itb-client-menu-open-v630,
  html body.itb-v632-mobile .itb-admin-menu-open-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-bell-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-menu-open-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-menu-open-v631{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:16px!important;
  }
  html body.itb-v632-mobile .itb-admin-role-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-role-v631{
    min-height:48px!important;
    padding:0 17px!important;
    border-radius:16px!important;
    font-size:11.5px!important;
    font-weight:800!important;
  }

  /* Klient – větší podpora a CTA */
  html body.itb-v632-client .itb-client-support-state-v630{
    gap:10px!important;
    padding:14px!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630 .mark{
    width:44px!important;height:44px!important;border-radius:14px!important;font-size:25px!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630 strong{
    font-size:16px!important;
    font-weight:820!important;
    line-height:1.15!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630 small{
    font-size:11.5px!important;
    font-weight:600!important;
    line-height:1.3!important;
  }
  html body.itb-v632-client .itb-client-support-state-v630>b{
    min-height:44px!important;
    padding:11px 13px!important;
    font-size:12.5px!important;
    font-weight:760!important;
  }

  /* Přehled ticketů – klient */
  html body.itb-v632-client .itb-client-recent-v630{margin-top:16px!important;}
  html body.itb-v632-client .itb-client-section-title-v630 h2{
    font-size:18px!important;
    font-weight:820!important;
    letter-spacing:-.015em!important;
  }
  html body.itb-v632-client .itb-client-section-title-v630>a{
    font-size:11.5px!important;
    font-weight:760!important;
  }
  html body.itb-v632-client .itb-client-ticket-row-v630{
    min-height:78px!important;
    padding:11px 11px!important;
  }
  html body.itb-v632-client .itb-client-ticket-row-v630 .copy small{
    font-size:9.8px!important;
    font-weight:760!important;
  }
  html body.itb-v632-client .itb-client-ticket-row-v630 .copy strong{
    font-size:13.2px!important;
    font-weight:800!important;
    line-height:1.2!important;
  }
  html body.itb-v632-client .itb-client-ticket-row-v630 .copy em{
    font-size:10px!important;
    font-weight:600!important;
    line-height:1.28!important;
  }
  html body.itb-v632-client .itb-client-ticket-row-v630 .state b{
    font-size:9.3px!important;
    font-weight:760!important;
  }
  html body.itb-v632-client .itb-client-ticket-row-v630 .state small{
    font-size:8.8px!important;
    font-weight:650!important;
  }
  html body.itb-v632-client .itb-client-package-v630{
    margin:14px 8px 18px!important;
    padding:14px 14px!important;
    border-radius:20px!important;
  }
  html body.itb-v632-client .itb-client-package-v630 small{
    font-size:10px!important;
    font-weight:760!important;
  }
  html body.itb-v632-client .itb-client-package-v630 strong{
    font-size:17px!important;
    font-weight:840!important;
    line-height:1.08!important;
  }
  html body.itb-v632-client .itb-client-package-v630 em{
    font-size:11px!important;
    font-weight:600!important;
    line-height:1.34!important;
  }
  html body.itb-v632-client .itb-client-package-v630>a{
    font-size:12px!important;
    font-weight:760!important;
  }

  /* Přehled ticketů – admin */
  html body.itb-v632-admin .itb-admin-section-title-v631 h2{
    font-size:18px!important;
    font-weight:820!important;
    letter-spacing:-.015em!important;
  }
  html body.itb-v632-admin .itb-admin-section-title-v631>a{
    font-size:11.5px!important;
    font-weight:760!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631{
    min-height:80px!important;
    padding:11px 11px!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631 .priority{
    font-size:10.5px!important;
    font-weight:760!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631 .copy small{
    font-size:9.8px!important;
    font-weight:760!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631 .copy strong{
    font-size:13.2px!important;
    font-weight:800!important;
    line-height:1.2!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631 .copy em{
    font-size:10px!important;
    font-weight:600!important;
    line-height:1.28!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631 .state b{
    font-size:9.3px!important;
    font-weight:760!important;
  }
  html body.itb-v632-admin .itb-admin-ticket-row-v631 .state small{
    font-size:8.8px!important;
    font-weight:650!important;
  }
}


/* v641 – sjednocená horní mobilní lišta s hlavním webem + robustní menu */
@media (max-width:900px){
  html body.itb-v632-mobile .itb-client-appbar-v630,
  html body.itb-v632-mobile .itb-admin-appbar-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634{
    margin:8px 10px 10px!important;
    min-height:72px!important;
    height:auto!important;
    padding:10px 12px!important;
    border:1px solid #dbe7f5!important;
    border-top:2px solid #1d9eff!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
    box-shadow:0 16px 34px rgba(15,23,42,.08)!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 img,
  html body.itb-v632-mobile .itb-admin-brand-v631 img,
  html body.unified-support-layout .itb-ticket-appbar-v634 img{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 strong,
  html body.itb-v632-mobile .itb-admin-brand-v631 strong,
  html body.unified-support-layout .itb-ticket-appbar-v634 strong{
    font-size:15px!important;
    font-weight:850!important;
    color:#144595!important;
  }
  html body.itb-v632-mobile .itb-client-brand-v630 small,
  html body.itb-v632-mobile .itb-admin-brand-v631 small,
  html body.unified-support-layout .itb-ticket-appbar-v634 small{
    font-size:7.9px!important;
    letter-spacing:.09em!important;
  }
  html body.itb-v632-mobile .itb-client-bell-v630,
  html body.itb-v632-mobile .itb-client-menu-open-v630,
  html body.itb-v632-mobile .itb-admin-menu-open-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-bell-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-client-menu-open-v630,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-menu-open-v631{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:16px!important;
  }
  html body.itb-v632-mobile .itb-admin-role-v631,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-role-v631{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:48px!important;
    padding:0 17px!important;
    border-radius:16px!important;
    font-size:11.5px!important;
    font-weight:850!important;
    letter-spacing:.03em!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }
  html body.itb-v632-mobile .itb-admin-role-v631:hover,
  html body.itb-v632-mobile .itb-admin-role-v631:focus-visible,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-role-v631:hover,
  html body.unified-support-layout .itb-ticket-appbar-v634 .itb-admin-role-v631:focus-visible{
    filter:brightness(1.03)!important;
  }
  html body.itb-v632-mobile .client-portal-main.itb-index-v338,
  html body.unified-support-layout .ticket-detail-page{
    padding-top:0!important;
  }
  html body.itb-v631-mobile .itb-admin-drawer-v631 a,
  html body.itb-v631-mobile .itb-client-drawer-v630 a,
  html body.unified-support-layout .itb-admin-drawer-v631 a,
  html body.unified-support-layout .itb-client-drawer-v630 a{
    pointer-events:auto!important;
    touch-action:manipulation!important;
    cursor:pointer!important;
  }
}
