/* FEBRY.OPS V375 — Compact public MS-Chat.
   Single scoped sizing layer for the public login and information areas.
   Deliberately excludes member dashboard, overlays, admin and purchase dialogs.
   Preserve accessible form controls, price labels and Carbon Lime #B6FF40. */

/* Desktop entrance: denser, balanced hero + credential panel. */
body.cl-ms #loginView.login-wrap{
  width:min(1050px,calc(100% - 40px));
  grid-template-columns:minmax(0,1fr) minmax(340px,405px);
  gap:19px!important;
  align-items:start;
  padding:22px 0 30px!important;
}
body.cl-ms #loginView .login-hero-copy{
  padding:4px 2px 0;
  justify-content:flex-start;
  align-self:start;
  min-width:0;
}
body.cl-ms #loginView .login-hero-copy .eyebrow{padding:5px 9px;font-size:9px;letter-spacing:.09em;}
body.cl-ms #loginView .login-hero-copy h1{
  font-size:clamp(30px,3vw,40px)!important;
  line-height:1.1!important;
  margin:10px 0 9px;
}
body.cl-ms #loginView .login-hero-copy>p{
  font-size:12px!important;line-height:1.5!important;max-width:510px;
}
body.cl-ms #loginView .cl-ms-owner{
  padding:8px 10px;gap:9px;
  max-width:max-content;
  border-radius:12px;
  margin-block:10px 12px;
}
body.cl-ms #loginView .cl-ms-owner img{width:40px;height:40px;object-fit:cover;border-radius:9px;}
body.cl-ms #loginView .cl-ms-owner strong{font-size:12px;}
body.cl-ms #loginView .cl-ms-owner small{font-size:10px;}
body.cl-ms #loginView .login-hero-points{
  gap:7px;margin-top:13px;
}
body.cl-ms #loginView .login-hero-points>div{padding:9px 10px;border-radius:10px;}
body.cl-ms #loginView .login-hero-points b{font-size:11px;margin-bottom:3px;}
body.cl-ms #loginView .login-hero-points span{font-size:10.5px;line-height:1.45;}
body.cl-ms #loginView .login-card{
  width:100%;max-width:405px;
  padding:17px!important;
  border-radius:14px!important;
}
body.cl-ms #loginView .login-card h1{font-size:23px;margin:7px 0 5px;line-height:1.15;}
body.cl-ms #loginView .login-card>p{font-size:12px;line-height:1.5;margin-bottom:13px;}
body.cl-ms #loginView .portal-kicker{font-size:9px;letter-spacing:.1em;}
body.cl-ms #loginView .field{gap:5px;margin-bottom:10px;}
body.cl-ms #loginView .field label{font-size:10px;}
body.cl-ms #loginView .input{min-height:40px;padding:9px 11px;font-size:13px;border-radius:9px;}
body.cl-ms #loginView #loginBtn{min-height:41px;margin-top:3px;padding:9px 12px;font-size:12px;}
body.cl-ms #loginView .login-card .security-note{
  padding:11px 12px;margin-top:12px;border-radius:12px;
  font-size:11px;line-height:1.55;
}
body.cl-ms #loginView .login-card .security-note>b{font-size:12px;margin-bottom:4px;}
body.cl-ms #loginView .login-card .secure-highlight{
  margin:4px 0 6px;font-size:13px;line-height:1.38;
}

/* Public sales & package content: shorten the vertical rhythm consistently. */
body.cl-ms #informationView.ms-public-info{
  padding:34px 14px 48px;
}
body.cl-ms #informationView .ms-info-shell{
  width:min(1020px,100%);
}
body.cl-ms #informationView .ms-info-toolbar{
  width:min(1020px,100%);gap:12px;margin-bottom:17px;
}
body.cl-ms #informationView .ms-info-toolbar-copy strong{font-size:12px;}
body.cl-ms #informationView .ms-info-toolbar-copy span{font-size:10px;}
body.cl-ms #informationView :is(.ms-info-kicker,.ms-detail-divider span){font-size:9px;letter-spacing:.12em;}
body.cl-ms #informationView h2,
body.cl-ms #informationView .ms-price-head h2,
body.cl-ms #informationView .ms-how h2{
  font-size:clamp(25px,3.2vw,36px);
  line-height:1.13;
  letter-spacing:-.04em;
  margin:8px 0 10px;
}
body.cl-ms #informationView .ms-info-lead{font-size:12px;line-height:1.58;}
body.cl-ms #informationView :is(.ms-feature-grid,.ms-price-grid,.ms-tier-grid){gap:10px;margin-top:15px;}
body.cl-ms #informationView .ms-feature-grid{margin-bottom:30px;}
body.cl-ms #informationView .ms-feature-grid article{padding:12px;border-radius:12px;}
body.cl-ms #informationView .ms-feature-grid article h3{font-size:13px;margin:7px 0 4px;}
body.cl-ms #informationView .ms-feature-grid article p{font-size:11px;line-height:1.5;}
body.cl-ms #informationView .ms-tier-card{
  padding:14px!important;
  border-radius:13px!important;
  box-shadow:none;
}
body.cl-ms #informationView .ms-tier-top{gap:10px;}
body.cl-ms #informationView .ms-tier-name{font-size:10px;letter-spacing:.09em;}
body.cl-ms #informationView .ms-tier-price{
  font-size:clamp(29px,3.5vw,36px);
  margin-top:8px;
  line-height:1.08;
  letter-spacing:-.045em;
}
body.cl-ms #informationView .ms-tier-cycle{font-size:10px;margin-top:3px;}
body.cl-ms #informationView .ms-tier-coming{padding:5px 8px;font-size:8px;}
body.cl-ms #informationView .ms-tier-badges{gap:5px;}
body.cl-ms #informationView .ms-tier-private{font-size:8px;}
body.cl-ms #informationView .ms-tier-metrics{
  gap:7px;margin:12px 0 7px;
}
body.cl-ms #informationView :is(.ms-tier-metric,.ms-tier-capacity>div){
  padding:9px 10px;border-radius:10px;
}
body.cl-ms #informationView .ms-tier-metric small,
body.cl-ms #informationView .ms-tier-capacity small{font-size:9px;letter-spacing:.06em;}
body.cl-ms #informationView .ms-tier-metric strong{font-size:12px;margin-top:4px;}
body.cl-ms #informationView .ms-tier-capacity{gap:7px;margin:7px 0 11px;}
body.cl-ms #informationView .ms-tier-capacity span{font-size:10.5px;line-height:1.4;margin-top:3px;}
body.cl-ms #informationView .ms-credit-benefits{
  margin:3px 0 10px;border-radius:11px;
}
body.cl-ms #informationView .ms-credit-benefits-toggle{
  min-height:46px;padding:8px 10px;
}
body.cl-ms #informationView .ms-credit-benefits-heading{gap:3px;}
body.cl-ms #informationView .ms-credit-benefits-heading strong{font-size:11px;}
body.cl-ms #informationView .ms-credit-benefits-heading small{font-size:9.5px;line-height:1.38;}
body.cl-ms #informationView .ms-tier-note{
  padding-top:9px;font-size:10px;line-height:1.48;
}
body.cl-ms #informationView .ms-tier-accordion{border-radius:11px;}
body.cl-ms #informationView .ms-tier-accordion-toggle{
  min-height:44px;padding:9px 11px;
}
body.cl-ms #informationView .ms-tier-accordion-title strong{font-size:11px;}
body.cl-ms #informationView .ms-tier-accordion-title small{font-size:9.5px;}
body.cl-ms #informationView .ms-credit-benefits-body{padding:12px;}
body.cl-ms #informationView .ms-benefit-row{padding:7px 8px;}
body.cl-ms #informationView .ms-detail-divider{
  margin:25px 0 14px;padding-top:18px;gap:10px;
}
body.cl-ms #informationView .ms-quota-note{padding:10px 12px;margin-top:9px;border-radius:11px;font-size:11px;line-height:1.55;}
body.cl-ms #informationView .ms-plan-table :is(th,td){padding:9px 10px;}
body.cl-ms #informationView .ms-plan-caption{padding:9px 11px;}
body.cl-ms #informationView .ms-usage-card{padding:12px;}
body.cl-ms #informationView .ms-usage-head{padding:12px;}
body.cl-ms #informationView .ms-how{margin-top:35px;padding-top:23px;gap:18px;}
body.cl-ms #informationView .ms-platform-roadmap{margin:23px 0 30px;gap:9px;}
body.cl-ms #informationView .platform-card{padding:14px;min-height:150px;border-radius:13px;}
body.cl-ms #informationView .platform-card h3{font-size:clamp(20px,2.4vw,31px);margin:10px 0 6px;}
body.cl-ms #informationView .platform-card.hero h3{font-size:clamp(27px,3vw,38px);}

/* Public product preview and checkout, without changing payment logic. */
body.cl-ms #loginView .ms-ui-preview{
  margin:9px 0 15px;padding-top:18px;
}
body.cl-ms #loginView .ms-ui-heading{margin-bottom:10px;gap:10px;}
body.cl-ms #loginView .ms-ui-heading h2{font-size:clamp(21px,2.4vw,27px);}
body.cl-ms #loginView .ms-ui-showcase{padding:11px;border-radius:12px;}
body.cl-ms #loginView .ms-ui-tabs{padding-bottom:9px;}
body.cl-ms #loginView .ms-ui-stage{min-height:210px;max-height:410px;}
body.cl-ms #loginView .ms-ui-stage img{max-height:390px;}
body.cl-ms #loginView .ms-ui-footer{padding-top:9px;}

body.cl-ms #msOrderSection.ms-buy{
  width:min(1020px,calc(100% - 28px));
  max-width:1020px;
  padding:17px;
  border-radius:14px;
  margin:18px auto 30px;
}
body.cl-ms #msOrderSection .ms-buy-heading h2{font-size:clamp(23px,2.8vw,30px);}
body.cl-ms #msOrderSection .ms-buy-heading p{font-size:12px;line-height:1.5;}
body.cl-ms #msOrderSection .ms-buy-layout{gap:12px;margin-top:15px;}
body.cl-ms #msOrderSection :is(.ms-buy-form,.ms-buy-summary,.ms-buy-result){padding:13px;border-radius:12px;}
body.cl-ms #msOrderSection .ms-buy-form{gap:10px;}
body.cl-ms #msOrderSection .ms-buy label{font-size:12px;gap:5px;}
body.cl-ms #msOrderSection :is(input:not([type=checkbox]),select,textarea){
  min-height:42px;padding:9px 11px;font-size:13px;
}
body.cl-ms #msOrderSection .ms-buy-summary>strong{font-size:18px;margin:7px 0;}
body.cl-ms #msOrderSection .ms-buy-line{font-size:12px;padding:9px 0;}
body.cl-ms #msOrderSection .ms-buy-total{margin:9px 0;padding:10px;}
body.cl-ms #msOrderSection .ms-buy-total strong{font-size:23px;}
body.cl-ms #msOrderSection .ms-buy-submit{min-height:44px;padding:11px!important;font-size:12px;}

/* Tablet/mobile: keep the public page compact but touch-usable. */
@media(max-width:900px){
  body.cl-ms #loginView.login-wrap{
    width:calc(100% - 28px);
    display:flex!important;
    flex-direction:column!important;
    gap:13px!important;
    padding:16px 0 26px!important;
  }
  body.cl-ms #loginView .login-hero-copy,
  body.cl-ms #loginView .login-card{width:100%;max-width:100%;}
  body.cl-ms #loginView .login-hero-copy{padding:1px 0 0;}
  body.cl-ms #loginView .login-hero-copy h1{font-size:clamp(29px,7.2vw,37px)!important;}
  body.cl-ms #loginView .login-card{padding:15px!important;}
  body.cl-ms #informationView.ms-public-info{padding:23px 12px 38px;}
  body.cl-ms #informationView .ms-tier-card{padding:13px!important;}
  body.cl-ms #informationView .ms-tier-price{font-size:clamp(28px,7vw,35px);}
  body.cl-ms #informationView h2{font-size:clamp(25px,6.7vw,32px);}
  body.cl-ms #informationView .ms-tier-metrics{margin-top:11px;}
  body.cl-ms #msOrderSection.ms-buy{width:calc(100% - 20px);padding:13px;}
  body.cl-ms #msOrderSection :is(.ms-buy-form,.ms-buy-summary,.ms-buy-result){padding:12px;}
  body.cl-ms #loginView .ms-ui-stage{min-height:200px;max-height:340px;}
  body.cl-ms #loginView .ms-ui-stage img{max-height:320px;}
}
@media(max-width:390px){
  body.cl-ms #loginView.login-wrap{width:calc(100% - 22px);}
  body.cl-ms #informationView.ms-public-info{padding-inline:10px;}
  body.cl-ms #informationView .ms-tier-badges{max-width:110px;}
  body.cl-ms #informationView .ms-tier-name{font-size:9.5px;}
  body.cl-ms #informationView .ms-tier-card{padding:12px!important;}
}
