/* DesignLabMoveis 1.100.87 · extraído do monólito 1.100.78 · ordem preservada */
  /* TELAS PEQUENAS */
  @media(max-width:720px){
    .projectHomeShell{width:calc(100% - 20px) !important;padding-top:calc(14px + env(safe-area-inset-top)) !important}
    .projectBrandLogo{width:41px !important;height:41px !important;min-width:41px;font-size:10px !important}
    .projectBrand strong{font-size:18px !important}
    .projectBrand span{font-size:7.5px !important}
    .homeTopButtons{gap:5px}
    .homeTopButtons button{width:38px;min-width:38px;height:38px;min-height:38px;font-size:15px !important}
    .homeTopButtons #homeAdminPanel{display:none !important}
    .homeTopButtons #homeAdminPanel.show{display:grid !important}

    .projectWelcomeCard{
      min-height:0;display:block;padding:16px;border-radius:18px;
    }
    .homeBlueprint{
      position:absolute;right:-18px;top:17px;width:42%;height:125px;min-height:0;
      opacity:.36;border:0;background-color:transparent;
    }
    .homeWelcomeLeft{padding-right:25%}
    #projectWelcomeTitle{font-size:25px}
    .homeWelcomeCopy{font-size:9px;max-width:250px}
    .projectAccountChip{padding:6px 8px 6px 6px !important;max-width:290px !important}
    .projectAccountAvatar{width:39px !important;height:39px !important;flex-basis:39px !important}
    .projectAccountText #projectAccountEmail{display:none !important}
    #homeLogoutBtn{width:35px;min-width:35px;height:35px;min-height:35px}

    .homeQuickActions{grid-template-columns:1fr;gap:7px;margin-top:10px}
    .homeQuickAction{
      min-height:67px !important;grid-template-columns:42px minmax(0,1fr) 15px;padding:10px 11px !important;
    }
    .homeQuickIcon{width:42px;height:42px;border-radius:12px;font-size:21px}
    .homeQuickText strong{font-size:11px}
    .homeQuickText span{font-size:8px}

    .homeProjectUtilities{margin-top:7px}
    .homeProjectUtilities button{min-height:31px !important;font-size:8px !important}

    .projectSectionHead{margin-top:23px !important}
    .projectSectionHead h2,.homeModelsHead h2{font-size:16px !important}

    .projectCard{
      grid-template-columns:38% minmax(0,1fr);min-height:128px;
      border-radius:14px !important;
    }
    .projectThumb{min-height:128px;height:100% !important;border-radius:13px 0 0 13px}
    .projectCardBody{padding:10px 9px 8px !important}
    .projectCardName{font-size:11px !important}
    .projectCardMeta{font-size:8px !important;line-height:1.42 !important}
    .projectCardFooter{gap:4px !important;margin-top:6px !important}
    .projectCardFooter button{min-height:29px !important;padding:4px 6px !important;font-size:7px !important}

    .homeModelsRail{grid-template-columns:125px repeat(3,142px);gap:7px}
    .homeModelCard{min-height:144px;padding:8px}
    .homeModelPreview{height:82px}

    .homeBottomNav{
      width:calc(100% - 12px);bottom:max(5px,env(safe-area-inset-bottom));
      padding:4px;border-radius:16px;
    }
    .homeBottomNav button{min-height:51px !important;font-size:7px !important}
    .homeBottomNav button .navIcon{font-size:18px}
  }

  @media(max-width:390px){
    .projectBrand span{display:none}
    .homeTopButtons button{width:35px;min-width:35px;height:35px;min-height:35px}
    .homeWelcomeLeft{padding-right:20%}
    .projectCard{grid-template-columns:36% minmax(0,1fr)}
    .projectCardFooter button:first-child{display:none}
  }



/* 1.100.96 · convite PWA: evita atalho comum com barra de URL */
.designLabInstallCard{
  position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);
  z-index:2147483000;width:min(520px,calc(100% - 20px));display:grid;
  grid-template-columns:42px minmax(0,1fr) auto 28px;align-items:center;gap:10px;
  padding:10px 10px 10px 11px;border:1px solid rgba(255,255,255,.16);border-radius:16px;
  background:rgba(23,23,23,.96);color:#fff;box-shadow:0 14px 42px rgba(0,0,0,.42);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.designLabInstallIcon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#fff;color:#171717;font-weight:900;font-size:13px;letter-spacing:-.5px}
.designLabInstallText{display:flex;flex-direction:column;gap:2px;min-width:0}
.designLabInstallText strong{font-size:12px;line-height:1.1}
.designLabInstallText span{font-size:9px;line-height:1.3;color:#c7c7c7}
.designLabInstallPrimary{border:0!important;border-radius:10px!important;min-height:36px!important;padding:0 13px!important;background:#fff!important;color:#171717!important;font-size:10px!important;font-weight:800!important}
.designLabInstallClose{border:0!important;background:transparent!important;color:#aaa!important;font-size:23px!important;line-height:1!important;padding:0!important;min-width:28px!important;min-height:28px!important}
@media(max-width:430px){
  .designLabInstallCard{grid-template-columns:36px minmax(0,1fr) auto 24px;gap:7px;padding:8px;width:calc(100% - 12px);bottom:max(6px,env(safe-area-inset-bottom));border-radius:14px}
  .designLabInstallIcon{width:36px;height:36px;border-radius:10px;font-size:11px}
  .designLabInstallText strong{font-size:10px}.designLabInstallText span{font-size:8px}
  .designLabInstallPrimary{min-height:32px!important;padding:0 10px!important;font-size:9px!important}
}
@media(display-mode:standalone){.designLabInstallCard{display:none!important}}
