/* === RG PORTAL LOTTERY V1.3.6 START === */
/* RG_PORTAL_LOTTERY_MOBILE_DIALOG_V1_3_6 */

.lottery-reservation-shell{
  width:min(100%,980px);
  margin:0 auto;
}

.lottery-topline{
  display:grid;
  grid-template-columns:minmax(0,1fr) 142px;
  gap:10px;
  align-items:start;
  margin:0 0 13px;
}

.lottery-reservation-hero{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.lottery-reservation-hero h1{
  margin:0;
  color:#071b37;
  font-size:clamp(30px,8vw,43px);
  line-height:1.02;
  letter-spacing:-.032em;
}

.lottery-reservation-hero p{
  margin:0;
  color:#637089;
  font-size:13px;
  line-height:1.42;
}

.lottery-global-compact{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  width:142px;
}

.lottery-global-compact article{
  min-width:0;
  padding:8px 9px;
  border:1px solid #d5dfeb;
  border-radius:12px;
  background:linear-gradient(180deg,#fff,#f8fafd);
  box-shadow:0 4px 12px rgba(6,27,55,.055);
}

.lottery-global-compact article:last-child{
  border-color:#dec679;
  background:linear-gradient(180deg,#fffdf8,#fff6db);
}

.lottery-global-compact span{
  display:block;
  color:#637089;
  font-size:8px;
  font-weight:900;
  line-height:1.2;
  letter-spacing:.045em;
  text-transform:uppercase;
}

.lottery-global-compact strong{
  display:block;
  margin-top:3px;
  color:#071b37;
  font-size:21px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

/* Gestión rápida, compacta y proporcionada */
.lottery-management-launch{
  display:none;
}

.lottery-management-panel{
  position:sticky;
  top:126px;
  z-index:35;
  margin:0 0 16px;
}

.lottery-management-dialog{
  padding:18px;
  border:1px solid rgba(216,170,74,.72);
  border-radius:20px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0,rgba(239,214,147,.16),transparent 18rem),
    linear-gradient(135deg,#071b37 0%,#123f77 58%,#245f9d 100%);
  box-shadow:0 16px 34px rgba(6,27,55,.22);
  backdrop-filter:blur(12px);
}

.lottery-management-close{
  display:none;
}

.lottery-management-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
}

.lottery-management-heading .section-kicker{
  color:#f4d98f;
}

.lottery-management-heading h2{
  margin:3px 0 0;
  color:#fff;
  font-size:24px;
  line-height:1.08;
}

.lottery-management-heading p{
  max-width:470px;
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.42;
  text-align:right;
}

.lottery-management-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.lottery-action-card{
  min-width:0;
  padding:15px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:17px;
  background:rgba(255,255,255,.095);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.lottery-action-card.request-action{
  border-color:rgba(244,217,143,.42);
}

.lottery-action-card.collected-action{
  border-color:rgba(147,211,174,.40);
}

.lottery-action-card-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}

.lottery-action-title{
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.lottery-action-step{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#071b37;
  background:linear-gradient(180deg,#f8df99,#d8aa4a);
  box-shadow:0 5px 12px rgba(0,0,0,.16);
  font-size:13px;
  font-weight:950;
}

.collected-action .lottery-action-step{
  color:#fff;
  background:linear-gradient(135deg,#39a874,#176b45);
}

.lottery-action-title h3{
  margin:1px 0 3px;
  color:#fff;
  font-size:15px;
  line-height:1.2;
}

.lottery-action-title p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.35;
}

.lottery-action-current{
  flex:0 0 auto;
  min-width:76px;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:11px;
  background:rgba(4,20,42,.24);
  text-align:right;
}

.lottery-action-current span{
  display:block;
  color:rgba(255,255,255,.68);
  font-size:8px;
  font-weight:900;
  letter-spacing:.045em;
  line-height:1.2;
  text-transform:uppercase;
}

.lottery-action-current strong{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:21px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.lottery-management-form{
  display:grid;
  grid-template-columns:132px minmax(190px,1fr);
  gap:10px;
  align-items:end;
  margin:0;
}

.lottery-quantity-field{
  min-width:0;
  display:grid;
  gap:5px;
  margin:0;
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.035em;
  text-transform:uppercase;
}

.lottery-quantity-wrap{
  position:relative;
  display:block;
}

.lottery-management-panel .lottery-management-form input[type="number"]{
  width:100%;
  min-height:58px;
  margin:0;
  padding:10px 48px 10px 14px;
  border:2px solid #efd693;
  border-radius:13px;
  color:#071b37;
  background:#fffdf7;
  box-shadow:inset 0 1px 2px rgba(6,26,52,.05);
  font-size:24px;
  font-weight:950;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.lottery-management-panel .collected-form input[type="number"]{
  border-color:#93d3ae;
  background:#f3fbf6;
}

.lottery-management-panel .lottery-management-form input:focus{
  border-color:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.16);
  outline:0;
}

.lottery-quantity-unit{
  position:absolute;
  top:50%;
  right:11px;
  transform:translateY(-50%);
  color:#637089;
  font-size:9px;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
  pointer-events:none;
}

.lottery-management-panel .lottery-action-button{
  width:100%;
  min-height:58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  margin:0;
  padding:9px 14px;
  border:0;
  border-radius:13px;
  cursor:pointer;
  opacity:1;
  visibility:visible;
  box-shadow:0 9px 20px rgba(0,0,0,.20);
  font-weight:950;
  text-align:center;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}

.lottery-management-panel .lottery-action-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.035);
  box-shadow:0 12px 24px rgba(0,0,0,.24);
}

.lottery-management-panel .lottery-action-button:active{
  transform:translateY(0);
}

.lottery-management-panel .lottery-action-button > span{
  display:block;
  color:inherit;
  font-size:14px;
  line-height:1.12;
}

.lottery-management-panel .lottery-action-button > small{
  display:block;
  color:inherit;
  opacity:.78;
  font-size:9px;
  font-weight:850;
  line-height:1.2;
}

.lottery-management-panel .request-button{
  color:#071b37 !important;
  -webkit-text-fill-color:#071b37 !important;
  background:linear-gradient(180deg,#ffeaa9 0%,#e8bb4f 100%) !important;
  border:2px solid #fff0b5 !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.70) !important;
}

.lottery-management-panel .collected-button{
  color:#fff;
  -webkit-text-fill-color:#fff;
  background:linear-gradient(135deg,#319d6b 0%,#176b45 100%);
  border:1px solid #68bd8e;
}

.lottery-management-panel .lottery-action-button:disabled,
.lottery-management-panel .lottery-management-form input:disabled{
  opacity:.48;
  cursor:not-allowed;
  filter:grayscale(.18);
  box-shadow:none;
}

.lottery-disabled-note{
  margin:9px 0 0;
  padding:8px 10px;
  border-radius:10px;
  color:#d8e4f3;
  background:rgba(5,22,46,.26);
  font-size:10px;
  line-height:1.35;
}

/* Dos bloques informativos con fondos distintos */
.lottery-status-section{
  margin:0 0 14px;
  padding:16px 14px;
  border-radius:20px;
  box-shadow:0 10px 26px rgba(6,27,55,.075);
}

.lottery-status-section.request-status{
  border:1px solid #bdd2e9;
  background:
    radial-gradient(circle at 100% 0,rgba(36,104,183,.08),transparent 16rem),
    linear-gradient(180deg,#f7fbff,#edf5fd);
}

.lottery-status-section.settlement-status{
  border:1px solid #bcd8c8;
  background:
    radial-gradient(circle at 100% 0,rgba(23,107,69,.08),transparent 16rem),
    linear-gradient(180deg,#f7fcf9,#edf8f1);
}

.lottery-block-heading{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:13px;
}

.lottery-block-heading h2{
  margin:2px 0 0;
  color:#071b37;
  font-size:23px;
  line-height:1.1;
}

.lottery-block-heading p{
  margin:0;
  color:#637089;
  font-size:12px;
  line-height:1.4;
}

.lottery-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0;
}

.lottery-summary-grid.sales-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.lottery-summary-card{
  min-width:0;
  min-height:102px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:13px 11px;
  border:1px solid rgba(191,205,222,.90);
  border-radius:16px;
  background:rgba(255,255,255,.90);
  box-shadow:0 5px 14px rgba(6,27,55,.045);
}

.lottery-summary-card span{
  color:#637089;
  font-size:10px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:.035em;
  text-transform:uppercase;
}

.lottery-summary-card strong{
  margin-top:6px;
  color:#071b37;
  font-size:34px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.lottery-summary-card small{
  margin-top:4px;
  color:#526075;
  font-size:11px;
  font-weight:800;
}

.lottery-summary-card.own{
  border-top:4px solid #174f91;
}

.lottery-summary-card.delivered,
.lottery-summary-card.liquidated{
  border-top:4px solid #176b45;
}

.lottery-summary-card.pending,
.lottery-summary-card.pending-money{
  border:2px solid #d8aa4a;
  background:linear-gradient(180deg,#fffdf7,#fff6dd);
}

.lottery-summary-card.collected{
  border-top:4px solid #174f91;
}

.lottery-summary-card.stock{
  border-top:4px solid #7b88a0;
}

.lottery-money-rule{
  margin-top:12px;
  padding:11px 12px;
  border:1px solid #add0bd;
  border-radius:14px;
  color:#155c3f;
  background:rgba(255,255,255,.76);
  font-size:12px;
  line-height:1.45;
}

.lottery-project-trace{
  margin-top:13px;
  padding:11px 13px;
  border-radius:14px;
  color:#526075;
  background:#edf3fa;
  font-size:12px;
  line-height:1.45;
}

.lottery-service-warning{
  padding:16px;
  border:1px solid #e5c98e;
  border-radius:17px;
  color:#6f4b00;
  background:#fff7df;
  font-size:13px;
  line-height:1.45;
}



@media(max-width:699px){
  body.lottery-management-modal-open{
    overflow:hidden;
  }

  .lottery-management-launch{
    position:fixed;
    left:14px;
    right:14px;
    bottom:calc(14px + env(safe-area-inset-bottom));
    z-index:900;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border:2px solid #fff1b8;
    border-radius:16px;
    color:#071b37 !important;
    -webkit-text-fill-color:#071b37 !important;
    background:linear-gradient(180deg,#ffe79d,#e4b648) !important;
    box-shadow:0 14px 34px rgba(4,24,50,.34);
    font-size:15px;
    font-weight:950;
    letter-spacing:.01em;
  }

  .lottery-management-panel{
    position:fixed;
    inset:0;
    z-index:1000;
    display:flex;
    align-items:flex-end;
    margin:0;
    padding:12px 12px calc(12px + env(safe-area-inset-bottom));
    background:rgba(2,13,30,.72);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .18s ease,visibility .18s ease;
  }

  .lottery-management-panel.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .lottery-management-dialog{
    width:100%;
    max-height:min(88vh,760px);
    overflow:auto;
    padding:16px;
    border-radius:22px 22px 16px 16px;
    transform:translateY(24px);
    transition:transform .18s ease;
    overscroll-behavior:contain;
  }

  .lottery-management-panel.is-open .lottery-management-dialog{
    transform:translateY(0);
  }

  .lottery-management-close{
    position:absolute;
    top:10px;
    right:10px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(255,255,255,.28);
    border-radius:12px;
    color:#fff;
    background:rgba(5,23,48,.54);
    font-size:26px;
    font-weight:700;
    line-height:1;
  }

  .lottery-management-heading{
    position:relative;
    display:grid;
    gap:8px;
    padding-right:42px;
    align-items:start;
  }

  .lottery-management-heading p{
    max-width:none;
    text-align:left;
  }

  .lottery-management-actions{
    grid-template-columns:1fr;
  }

  .lottery-management-form{
    grid-template-columns:112px minmax(0,1fr);
  }

  .lottery-action-card{
    padding:13px;
  }

  .lottery-management-panel .lottery-action-button{
    min-height:58px;
    padding-inline:10px;
  }

  .lottery-reservation-shell{
    padding-bottom:82px;
  }
}

@media(max-width:360px){
  .lottery-management-form{
    grid-template-columns:1fr;
  }

  .lottery-management-panel .lottery-action-button{
    width:100%;
  }
}

@media(min-width:700px){
  .lottery-topline{
    grid-template-columns:minmax(0,1fr) 250px;
    gap:18px;
  }

  .lottery-global-compact{
    width:250px;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .lottery-management-panel{
    top:126px;
  }

  .lottery-management-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .lottery-block-heading{
    flex-direction:row;
    align-items:end;
    justify-content:space-between;
    gap:18px;
  }

  .lottery-block-heading p{
    max-width:430px;
    text-align:right;
  }

  .lottery-summary-grid.sales-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}


/* === RG PORTAL LOTTERY V1.3.6 END === */

/* RG_LOTTERY_BUYER_MANAGER_CSS_V1_0_0 */
.lottery-buyer-launch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:14px;
  padding:15px;
  border:1px solid #d8c48d;
  border-radius:17px;
  background:linear-gradient(135deg,#fffdf7,#fff6dc);
  box-shadow:0 7px 18px rgba(6,27,55,.055);
}
.lottery-buyer-launch-copy{
  min-width:0;
}
.lottery-buyer-launch-copy h3{
  margin:3px 0 4px;
  color:#071b37;
  font-size:18px;
  line-height:1.15;
}
.lottery-buyer-launch-copy p{
  max-width:670px;
  margin:0;
  color:#637089;
  font-size:11px;
  line-height:1.45;
}
.lottery-buyer-launch-stats,
.lottery-buyer-manager-summary{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.lottery-buyer-launch-stats{
  margin-top:10px;
}
.lottery-buyer-launch-stats span,
.lottery-buyer-manager-summary span{
  padding:7px 9px;
  border:1px solid #e0d2a8;
  border-radius:999px;
  color:#5d4a18;
  background:#fff;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
.lottery-buyer-launch-stats strong,
.lottery-buyer-manager-summary strong{
  color:#071b37;
  font-size:13px;
}
.lottery-buyer-launch-button{
  flex:0 0 auto;
  min-height:46px;
  margin:0;
  white-space:nowrap;
}
.lottery-buyer-manager{
  position:fixed;
  inset:0;
  z-index:1360;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.lottery-buyer-manager[hidden]{
  display:none;
}
.lottery-buyer-manager-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,13,30,.72);
}
.lottery-buyer-manager-dialog{
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(980px,100%);
  max-height:min(90vh,900px);
  overflow:hidden;
  border:1px solid #ead48f;
  border-radius:23px;
  background:#fffdf7;
  box-shadow:0 28px 70px rgba(0,0,0,.34);
}
.lottery-buyer-manager-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:19px 20px 13px;
  border-bottom:1px solid #eadfbf;
}
.lottery-buyer-manager-heading h2{
  margin:3px 0 5px;
  color:#071b37;
  font-size:25px;
  line-height:1.12;
}
.lottery-buyer-manager-heading p{
  max-width:680px;
  margin:0;
  color:#637089;
  font-size:12px;
  line-height:1.45;
}
.lottery-buyer-manager-close{
  flex:0 0 auto;
  width:42px;
  height:42px;
  margin:0;
  border:1px solid #c9d4e2;
  border-radius:50%;
  color:#33435b;
  background:#fff;
  font-size:27px;
  line-height:1;
  cursor:pointer;
}
.lottery-buyer-manager-summary{
  padding:11px 20px 0;
}
.lottery-buyer-manager-content{
  min-height:0;
  overflow:auto;
  padding:13px 20px 20px;
}
.lottery-unit-filters{
  display:flex;
  gap:7px;
  overflow-x:auto;
  margin:0 0 12px;
  padding:1px 0 4px;
  scrollbar-width:none;
}
.lottery-unit-filters::-webkit-scrollbar{
  display:none;
}
.lottery-unit-filters button{
  flex:0 0 auto;
  min-height:38px;
  padding:8px 13px;
  border:1px solid #c9d4e2;
  border-radius:999px;
  color:#42516a;
  background:#fff;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.lottery-unit-filters button.is-active{
  border-color:#174f91;
  color:#fff;
  background:#174f91;
}
.lottery-units-list{
  display:grid;
  gap:8px;
}
.lottery-unit-row{
  display:grid;
  grid-template-columns:72px minmax(180px,1fr) minmax(205px,auto);
  gap:12px;
  align-items:center;
  padding:11px;
  border:1px solid #d8dee8;
  border-radius:15px;
  background:#fff;
  box-shadow:0 4px 12px rgba(7,27,55,.045);
}
.lottery-unit-row[hidden]{
  display:none;
}
.lottery-unit-number{
  display:grid;
  place-items:center;
  min-height:58px;
  border-radius:12px;
  color:#071b37;
  background:#edf4fc;
}
.lottery-unit-number span{
  font-size:8px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.lottery-unit-number strong{
  font-size:22px;
  line-height:1;
}
.lottery-unit-name{
  display:grid;
  gap:5px;
  margin:0;
  color:#33435b;
  font-size:10px;
  font-weight:900;
}
.lottery-unit-name small{
  color:#7a879a;
  font-weight:700;
}
.lottery-unit-name input{
  width:100%;
  min-height:44px;
  margin:0;
  padding:9px 11px;
  border:1px solid #bdc9d8;
  border-radius:11px;
  color:#071b37;
  background:#fff;
  font-size:14px;
}
.lottery-unit-name input:focus{
  border-color:#174f91;
  box-shadow:0 0 0 3px rgba(23,79,145,.12);
  outline:0;
}
.lottery-unit-delivery{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:9px 11px;
  border:1px solid #c8d7cd;
  border-radius:12px;
  color:#155c3f;
  background:#f3faf6;
  cursor:pointer;
}
.lottery-unit-delivery input{
  width:22px;
  height:22px;
  margin:0;
  accent-color:#176b45;
}
.lottery-unit-delivery span{
  display:grid;
  gap:2px;
}
.lottery-unit-delivery strong{
  font-size:11px;
  line-height:1.2;
}
.lottery-unit-delivery small{
  color:#668073;
  font-size:9px;
}
.lottery-units-savebar{
  position:sticky;
  bottom:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
  padding:10px 12px;
  border:1px solid rgba(7,27,55,.18);
  border-radius:14px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 24px rgba(6,27,55,.14);
  backdrop-filter:blur(8px);
}
.lottery-units-savebar span{
  color:#637089;
  font-size:10px;
  line-height:1.35;
}
.lottery-units-savebar .btn{
  margin:0;
  white-space:nowrap;
}
.lottery-units-empty{
  padding:16px;
  border:1px dashed #d3bd80;
  border-radius:14px;
  color:#6c5b2f;
  background:#fff;
  font-size:12px;
  line-height:1.45;
}
.lottery-assignment-prompt{
  position:fixed;
  inset:0;
  z-index:1400;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.lottery-assignment-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,13,30,.72);
}
.lottery-assignment-sheet{
  position:relative;
  width:min(620px,100%);
  max-height:min(86vh,780px);
  overflow:auto;
  padding:22px;
  border:1px solid #ead48f;
  border-radius:22px;
  background:#fffdf7;
  box-shadow:0 28px 70px rgba(0,0,0,.34);
}
.lottery-assignment-intro h2,
.lottery-assignment-form-heading h2{
  margin:4px 0 7px;
  color:#071b37;
  font-size:25px;
  line-height:1.12;
}
.lottery-assignment-intro p,
.lottery-assignment-form-heading p{
  margin:0;
  color:#637089;
  font-size:13px;
  line-height:1.45;
}
.lottery-assignment-actions{
  display:flex;
  gap:9px;
  margin-top:18px;
}
.lottery-assignment-actions .btn{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin:0;
  text-align:center;
}
.lottery-assignment-form-heading{
  margin-bottom:14px;
}
.lottery-assignment-lines{
  display:grid;
  gap:8px;
  max-height:48vh;
  overflow:auto;
  padding-right:3px;
}
.lottery-assignment-lines label{
  display:grid;
  grid-template-columns:88px 1fr;
  align-items:center;
  gap:10px;
  margin:0;
  color:#33435b;
  font-size:11px;
  font-weight:900;
}
.lottery-assignment-lines input[type="text"]{
  min-height:44px;
  margin:0;
  padding:9px 11px;
  border:1px solid #bdc9d8;
  border-radius:11px;
  color:#071b37;
  background:#fff;
  font-size:14px;
}
body.lottery-assignment-open,
body.lottery-buyer-manager-open{
  overflow:hidden;
}
@media(max-width:699px){
  .lottery-buyer-launch{
    align-items:stretch;
    flex-direction:column;
  }
  .lottery-buyer-launch-button{
    width:100%;
  }
  .lottery-buyer-manager{
    align-items:flex-end;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .lottery-buyer-manager-dialog{
    width:100%;
    max-height:94vh;
    border-radius:22px 22px 14px 14px;
  }
  .lottery-buyer-manager-heading{
    padding:16px 15px 11px;
  }
  .lottery-buyer-manager-heading h2{
    font-size:22px;
  }
  .lottery-buyer-manager-summary{
    padding:10px 15px 0;
  }
  .lottery-buyer-manager-content{
    padding:12px 15px 15px;
  }
  .lottery-unit-row{
    grid-template-columns:58px minmax(0,1fr);
    gap:9px;
  }
  .lottery-unit-number{
    grid-row:1 / span 2;
    min-height:100%;
  }
  .lottery-unit-delivery{
    grid-column:2;
  }
  .lottery-units-savebar{
    align-items:stretch;
    flex-direction:column;
  }
  .lottery-units-savebar .btn{
    width:100%;
  }
  .lottery-assignment-prompt{
    align-items:flex-end;
    padding:12px 12px calc(12px + env(safe-area-inset-bottom));
  }
  .lottery-assignment-sheet{
    width:100%;
    max-height:90vh;
    padding:18px;
    border-radius:22px 22px 14px 14px;
  }
  .lottery-assignment-actions{
    flex-direction:column;
  }
  .lottery-assignment-lines label{
    grid-template-columns:70px minmax(0,1fr);
  }
}

/* RG_LOTTERY_PORTAL_RECTIFICATIONS_CSS_V1_0_0 */
.lottery-main-launches{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.lottery-rectification-launch{display:inline-flex;align-items:center;justify-content:center;min-height:3.25rem;padding:.75rem 1.15rem;border:1px solid rgba(27,81,145,.24);border-radius:.95rem;background:#fff;color:#0b315f;font-weight:800;text-decoration:none;box-shadow:0 .75rem 1.6rem rgba(11,49,95,.08)}.lottery-rectification-section{scroll-margin-top:9rem}.lottery-rectification-rule{margin-bottom:1rem;padding:.9rem 1rem;border:1px solid rgba(214,164,54,.42);border-radius:.9rem;background:#fff9e8;color:#634a12;line-height:1.45}.lottery-movement-list{display:grid;gap:1rem}.lottery-movement-card{padding:1rem;border:1px solid rgba(27,81,145,.18);border-radius:1rem;background:#fff;box-shadow:0 .85rem 2rem rgba(11,49,95,.07)}.lottery-movement-card-heading{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between}.lottery-movement-card-heading h3{margin:.15rem 0 0;color:#071d3d}.lottery-movement-date{color:#60728c;font-size:.86rem;font-weight:700}.lottery-movement-status{display:inline-flex;flex:0 0 auto;padding:.4rem .65rem;border-radius:999px;background:#e9f2ff;color:#154b87;font-size:.78rem;font-weight:900}.lottery-movement-status.is-rectificado_parcial{background:#fff4d6;color:#795617}.lottery-movement-status.is-rectificado_total{background:#edf0f4;color:#4d5c70}.lottery-movement-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:1rem}.lottery-movement-totals span{padding:.75rem;border-radius:.8rem;background:#f5f8fc}.lottery-movement-totals small,.lottery-movement-totals strong{display:block}.lottery-movement-totals small{color:#61728a;font-size:.74rem;font-weight:800;text-transform:uppercase}.lottery-movement-totals strong{margin-top:.2rem;color:#071d3d;font-size:1.35rem}.lottery-rectification-history,.lottery-rectification-form-wrap{margin-top:.9rem;border-top:1px solid rgba(27,81,145,.13);padding-top:.85rem}.lottery-rectification-history summary,.lottery-rectification-form-wrap summary{cursor:pointer;color:#154b87;font-weight:850}.lottery-rectification-history p{margin:.7rem 0 0;padding:.7rem;border-radius:.75rem;background:#f6f8fb;color:#40516a}.lottery-rectification-form{display:grid;grid-template-columns:minmax(9rem,.45fr) minmax(14rem,1fr) auto;gap:.8rem;align-items:end;margin-top:.9rem}.lottery-rectification-form label{display:grid;gap:.35rem;color:#1d3556;font-weight:800}.lottery-rectification-form input,.lottery-rectification-form textarea{width:100%;border:1px solid rgba(27,81,145,.28);border-radius:.75rem;background:#fff;padding:.75rem;color:#071d3d;font:inherit}.lottery-rectification-form small{color:#65758b;font-weight:600}.lottery-rectification-locked{margin:.9rem 0 0;padding:.75rem;border-radius:.75rem;background:#f1f3f6;color:#5d6878}@media(max-width:760px){.lottery-main-launches{align-items:stretch}.lottery-main-launches>*{width:100%}.lottery-movement-card-heading{display:grid}.lottery-movement-status{justify-self:start}.lottery-movement-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.lottery-rectification-form{grid-template-columns:1fr}.lottery-rectification-form button{width:100%}}
