.pci-page{display:grid;gap:16px}.pci-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.pci-header span,.pci-card-head span,.pci-sheet-card header span{font-size:9px;font-weight:900;color:#b7851d;letter-spacing:.12em}.pci-header h1{margin:5px 0 0;font-size:30px}.pci-header p{margin:7px 0 0;color:#777;font-size:11px}.pci-header>button{min-height:45px;border:0;border-radius:14px;padding:0 15px;background:#17191f;color:#fff;font-weight:900}.pci-stats{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid #e5e5e5;border-radius:20px;background:#fff}.pci-stats div{padding:15px;border-right:1px solid #eee;text-align:center}.pci-stats div:last-child{border:0}.pci-stats span,.pci-stats strong{display:block}.pci-stats span{font-size:9px;color:#777}.pci-stats strong{margin-top:7px;font-size:21px}.pci-card{padding:17px;border:1px solid #e5e5e5;border-radius:22px;background:#fff}.pci-card-head{display:flex;justify-content:space-between}.pci-card-head h2{margin:4px 0 0}.pci-card-head button{width:40px;height:40px;border:0;border-radius:13px}.pci-list{display:grid;gap:8px;margin-top:14px}.pci-item{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid #ececec;border-radius:16px}.pci-item h3{margin:0;font-size:13px}.pci-item p{margin:5px 0 0;color:#777;font-size:9px}.pci-item span{display:inline-block;margin-top:7px;padding:5px 8px;border-radius:999px;background:#fff4cc;color:#8a6200;font-size:8px;font-weight:900}.pci-item span.accepted{background:#dcfce7;color:#067647}.pci-item span.expired{background:#eee;color:#666}.pci-item button{border:0;border-radius:12px;padding:10px;background:#e9f8ef;color:#067647}.pci-sheet{position:fixed;inset:0;z-index:1000;display:grid;align-items:end}.pci-sheet[hidden]{display:none}.pci-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.65)}.pci-sheet-card{position:relative;z-index:1;width:min(100%,520px);margin:auto;padding:12px 20px 25px;border-radius:27px 27px 0 0;background:#fff}.pci-handle{width:42px;height:5px;margin:0 auto 15px;border-radius:99px;background:#ddd}.pci-sheet-card header{display:flex;justify-content:space-between}.pci-sheet-card h2{margin:4px 0 0}.pci-sheet-card header button{width:40px;height:40px;border:1px solid #eee;border-radius:13px;background:#fff}.pci-sheet-card form{display:grid;gap:12px;margin-top:16px}.pci-sheet-card label span{display:block;margin-bottom:6px;font-size:9px;font-weight:900}.pci-sheet-card input{width:100%;height:48px;border:1px solid #ddd;border-radius:14px;padding:0 12px}.pci-sheet-card form button,.pci-result button{height:48px;border:0;border-radius:14px;font-weight:900}.pci-sheet-card form button,.pci-result .primary{background:linear-gradient(135deg,#b98719,#e7bc54);color:#fff}.pci-success{display:grid;place-items:center;width:65px;height:65px;margin:18px auto;border-radius:22px;background:#dcfce7;color:#067647;font-size:24px}#pciResult{text-align:center}#pciResult button{width:100%;margin-top:8px}.pci-message{margin-top:12px;padding:10px;border-radius:12px;background:#fee2e2;color:#b42318;font-size:9px}@media(max-width:520px){.pci-header{display:grid}.pci-header>button{justify-self:start}.pci-item{grid-template-columns:1fr}}


/* =========================================================
   CUEVA PRO — CUSTOMERS PRODUCTION MOBILE V1
   Production customer logic unchanged; presentation only.
========================================================= */

.customers-page,
.customer-page,
.customers-wrapper{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

/* Header */

.page-title,
.customers-header{
  display:flex!important;
  justify-content:space-between!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 8px!important;
}

.page-title h1,
.page-title h2,
.customers-header h1,
.customers-header h2{
  margin:0!important;
  overflow:hidden!important;
  font-size:22px!important;
  line-height:1.05!important;
  letter-spacing:-.045em!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.page-title p,
.customers-header p{
  margin:4px 0 0!important;
  color:#8e8e93!important;
  font-size:8px!important;
}

/* Stats */

.customers-stats,
.stats-grid,
.main-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  margin:8px 0!important;
}

.customers-stats .stat-card,
.stats-grid .stat-card,
.main-stats .stat-card{
  min-width:0!important;
  min-height:92px!important;
  padding:10px!important;
  border:1px solid rgba(17,17,17,.055)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(0,0,0,.035)!important;
}

.customers-stats .stat-card h3,
.stats-grid .stat-card h3,
.main-stats .stat-card h3,
.customers-stats .stat-card strong,
.stats-grid .stat-card strong,
.main-stats .stat-card strong{
  display:block!important;
  margin-top:6px!important;
  overflow:hidden!important;
  font-size:20px!important;
  line-height:1!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.customers-stats .stat-card p,
.stats-grid .stat-card p,
.main-stats .stat-card p{
  margin-top:4px!important;
  color:#8e8e93!important;
  font-size:7px!important;
}

/* Search/filter */

.customers-filter-card,
.customer-filters,
.filter-card,
.filter-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  margin:8px 0!important;
  padding:10px!important;
  border:1px solid rgba(17,17,17,.055)!important;
  border-radius:17px!important;
  background:#fff!important;
}

.customers-filter-card input,
.customers-filter-card select,
.customer-filters input,
.customer-filters select,
.filter-card input,
.filter-card select{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  padding:0 9px!important;
  border:1px solid rgba(17,17,17,.07)!important;
  border-radius:12px!important;
  background:#f8f8f9!important;
  font-size:9px!important;
}

/* Customer table -> cards */

.table-wrapper,
.customers-table-wrap,
.customer-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}

.table-wrapper table,
.customers-table-wrap table,
.customer-table-wrap table{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}

.table-wrapper thead,
.customers-table-wrap thead,
.customer-table-wrap thead{
  display:none!important;
}

.table-wrapper tbody,
.customers-table-wrap tbody,
.customer-table-wrap tbody{
  display:grid!important;
  gap:7px!important;
  width:100%!important;
}

.table-wrapper tr,
.customers-table-wrap tr,
.customer-table-wrap tr{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  padding:10px!important;
  border:1px solid rgba(17,17,17,.055)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(0,0,0,.03)!important;
}

.table-wrapper td,
.customers-table-wrap td,
.customer-table-wrap td{
  display:block!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  font-size:8px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.table-wrapper td:first-child,
.customers-table-wrap td:first-child,
.customer-table-wrap td:first-child{
  grid-row:1/5!important;
}

.table-wrapper td:nth-child(2),
.customers-table-wrap td:nth-child(2),
.customer-table-wrap td:nth-child(2){
  grid-column:2!important;
  color:#111!important;
  font-size:11px!important;
  font-weight:850!important;
}

.table-wrapper td:nth-child(3),
.table-wrapper td:nth-child(4),
.table-wrapper td:nth-child(5),
.customers-table-wrap td:nth-child(3),
.customers-table-wrap td:nth-child(4),
.customers-table-wrap td:nth-child(5),
.customer-table-wrap td:nth-child(3),
.customer-table-wrap td:nth-child(4),
.customer-table-wrap td:nth-child(5){
  grid-column:2!important;
  color:#8e8e93!important;
  font-size:7px!important;
}

.table-wrapper td:last-child,
.customers-table-wrap td:last-child,
.customer-table-wrap td:last-child{
  grid-column:3!important;
  grid-row:1/5!important;
  align-self:center!important;
}

.table-wrapper td:last-child button,
.customers-table-wrap td:last-child button,
.customer-table-wrap td:last-child button{
  width:39px!important;
  height:39px!important;
  min-width:39px!important;
  padding:0!important;
  border-radius:12px!important;
  font-size:0!important;
}

.table-wrapper td:last-child button i,
.customers-table-wrap td:last-child button i,
.customer-table-wrap td:last-child button i{
  font-size:12px!important;
}

/* Native customer cards */

.customers-list,
.customer-list,
.customers-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
}

.customer-card,
.customers-card{
  min-width:0!important;
  padding:10px!important;
  border:1px solid rgba(17,17,17,.055)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(0,0,0,.03)!important;
}

.customer-card header,
.customers-card header{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
}

.customer-avatar,
.customer-card img,
.customers-card img{
  width:44px!important;
  height:44px!important;
  border-radius:13px!important;
  object-fit:cover!important;
}

.customer-card h3,
.customers-card h3{
  margin:0!important;
  overflow:hidden!important;
  font-size:11px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.customer-card p,
.customers-card p{
  margin:3px 0 0!important;
  color:#8e8e93!important;
  font-size:7px!important;
}

.customer-metrics,
.customer-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  margin-top:8px!important;
}

.customer-metrics>div,
.customer-summary-grid>div{
  min-width:0!important;
  padding:8px!important;
  border-radius:12px!important;
  background:#f7f7f8!important;
}

.customer-metrics span,
.customer-metrics strong,
.customer-summary-grid span,
.customer-summary-grid strong{
  display:block!important;
}

.customer-metrics span,
.customer-summary-grid span{
  color:#8e8e93!important;
  font-size:6px!important;
}

.customer-metrics strong,
.customer-summary-grid strong{
  margin-top:4px!important;
  overflow:hidden!important;
  font-size:9px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Customer details -> bottom sheet */

.customer-side-panel,
.customer-details-panel,
#customerDetailsPanel,
#customerModal{
  position:fixed!important;
  inset:auto 0 0 0!important;
  z-index:7300!important;
  width:100%!important;
  max-width:none!important;
  max-height:91dvh!important;
  overflow-y:auto!important;
  padding:
    11px
    13px
    calc(18px + env(safe-area-inset-bottom))!important;
  border-radius:25px 25px 0 0!important;
  background:#f8f8fa!important;
  box-shadow:0 -20px 55px rgba(0,0,0,.2)!important;
}

.customer-side-panel:before,
.customer-details-panel:before,
#customerDetailsPanel:before,
#customerModal:before{
  content:""!important;
  display:block!important;
  width:40px!important;
  height:4px!important;
  margin:0 auto 11px!important;
  border-radius:999px!important;
  background:rgba(17,17,17,.14)!important;
}

.customer-detail-grid,
.customer-info-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:10px!important;
}

.customer-detail-grid>div,
.customer-info-grid>div{
  min-width:0!important;
  padding:10px!important;
  border-radius:14px!important;
  background:#fff!important;
}

.customer-detail-grid span,
.customer-detail-grid strong,
.customer-info-grid span,
.customer-info-grid strong{
  display:block!important;
}

.customer-detail-grid span,
.customer-info-grid span{
  color:#8e8e93!important;
  font-size:7px!important;
}

.customer-detail-grid strong,
.customer-info-grid strong{
  margin-top:5px!important;
  overflow:hidden!important;
  font-size:10px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Booking/activity history */

.customer-history,
.customer-bookings,
.customer-activity{
  display:grid!important;
  gap:7px!important;
  margin-top:9px!important;
}

.customer-history-item,
.customer-booking-item,
.customer-activity-item{
  min-width:0!important;
  padding:9px!important;
  border-radius:14px!important;
  background:#fff!important;
}

.customer-history-item header,
.customer-booking-item header,
.customer-activity-item header{
  display:flex!important;
  justify-content:space-between!important;
  gap:8px!important;
  align-items:flex-start!important;
}

.customer-history-item strong,
.customer-booking-item strong,
.customer-activity-item strong{
  overflow:hidden!important;
  font-size:9px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.customer-history-item small,
.customer-booking-item small,
.customer-activity-item small{
  display:block!important;
  margin-top:3px!important;
  color:#8e8e93!important;
  font-size:7px!important;
}

/* Customer actions */

.customer-actions,
.customer-action-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:10px!important;
}

.customer-actions button,
.customer-action-grid button{
  min-width:0!important;
  min-height:45px!important;
  border-radius:13px!important;
  font-size:8px!important;
  font-weight:800!important;
}

/* Generic modals */

.modal,
.customer-modal{
  z-index:7400!important;
}

.modal-content,
.customer-modal-content{
  width:100%!important;
  max-width:none!important;
  max-height:92dvh!important;
  overflow-y:auto!important;
  margin:0!important;
  padding:
    11px
    13px
    calc(18px + env(safe-area-inset-bottom))!important;
  border-radius:25px 25px 0 0!important;
  background:#f8f8fa!important;
}

.modal.open,
.customer-modal.open{
  display:flex!important;
  align-items:flex-end!important;
}

/* Phone */

@media(max-width:430px){
  .customers-stats,
  .stats-grid,
  .main-stats,
  .customer-metrics,
  .customer-summary-grid,
  .customer-detail-grid,
  .customer-info-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:350px){
  .customer-metrics,
  .customer-summary-grid,
  .customer-detail-grid,
  .customer-info-grid,
  .customer-actions,
  .customer-action-grid{
    grid-template-columns:1fr!important;
  }
}

/* v852: match Staff header measurements, including the action and back control. */
#pageContent .pci-header.customer-page-head-v851{
 display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;
 align-items:center!important;gap:11px!important;margin:0!important;padding:4px 0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
#pageContent .customer-page-head-v851 > .staff-back-v717{
 width:48px!important;height:48px!important;min-width:48px!important;
 border:1px solid #e1e3e6!important;border-radius:16px!important;
 background:#fff!important;color:#74777e!important;font-size:18px!important;
 display:grid!important;place-items:center;box-shadow:none!important;
}
#pageContent .customer-page-head-v851 .staff-title-v717{min-width:0!important}
#pageContent .customer-page-head-v851 .staff-eyebrow-v717{
 display:block;color:#9a7626;font-size:9px;font-weight:850;letter-spacing:.18em;margin-bottom:5px;
}
#pageContent .customer-page-head-v851 .staff-title-v717 h2{
 margin:0!important;font-size:24px!important;line-height:1.1!important;letter-spacing:-.04em!important;
 font-weight:850!important;white-space:normal!important;overflow-wrap:normal!important;
}
#pageContent .customer-page-head-v851 .staff-title-v717 > span{
 display:block!important;margin-top:5px!important;color:#989ba2!important;
 font-size:9px!important;line-height:1.4!important;letter-spacing:normal!important;font-weight:400!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#pageContent .customer-page-head-v851 #pciAdd{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
 width:auto!important;min-width:105px!important;height:48px!important;min-height:48px!important;
 padding:0 14px!important;border:0!important;border-radius:16px!important;background:#18191d!important;
 color:#fff!important;font-family:inherit!important;font-size:11px!important;font-weight:800!important;
 line-height:1!important;white-space:nowrap!important;box-shadow:none!important;
}
#pageContent .customer-page-head-v851 #pciAdd i{color:#cba33f!important;font-size:14px!important}
@media(max-width:360px){
 #pageContent .pci-header.customer-page-head-v851{grid-template-columns:40px minmax(0,1fr) auto!important;gap:8px!important}
 #pageContent .customer-page-head-v851 > .staff-back-v717{width:40px!important;min-width:40px!important;height:44px!important;border-radius:13px!important}
 #pageContent .customer-page-head-v851 .staff-title-v717 h2{font-size:22px!important}
 #pageContent .customer-page-head-v851 #pciAdd{min-width:88px!important;padding:0 9px!important;font-size:10px!important}
}

/* v854: selectable status summaries and refresh progress. */
.pci-stats > button{appearance:none;min-width:0;padding:15px;border:0;border-right:1px solid #eee;background:#fff;color:#17191f;font-family:inherit;cursor:pointer;text-align:center}
.pci-stats > button:last-child{border-right:0}
.pci-stats > button[aria-pressed="true"]{background:#faf6ec;box-shadow:inset 0 -3px #ba9642}
.pci-stats > button[aria-pressed="true"] span,.pci-stats > button[aria-pressed="true"] strong{color:#876d2c}
.pci-stats > button:focus-visible{outline:2px solid #ba9642;outline-offset:-4px}
#pciRefresh.is-refreshing-v854 i{display:inline-block;animation:pci-refresh-v854 .8s linear infinite}
#pciRefresh:disabled{cursor:wait}
@keyframes pci-refresh-v854{to{transform:rotate(360deg)}}
.pci-item .pci-resend-v854{min-height:40px;padding:0 12px;border:1px solid #e6d9b3;border-radius:12px;background:#faf6ec;color:#876d2c;font:inherit;font-size:11px;font-weight:700;white-space:nowrap}
.pci-item .pci-resend-v854:disabled{opacity:.6;cursor:wait}
.pci-filter-empty-v854{padding:12px 0;color:#8a8e97;font-size:12px}

/* v855: compact invitation list pagination. */
.pci-load-more-v855{display:block;width:100%;min-height:42px;margin-top:14px;padding:10px 16px;border:1px solid #e6d9b3;border-radius:12px;background:#faf6ec;color:#876d2c;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}
.pci-load-more-v855:focus-visible{outline:2px solid #ba9642;outline-offset:2px}

/* v856: invitation sheets match staff form and action styling. */
#pciSheet{align-items:end;justify-items:center}
#pciSheet .pci-backdrop{appearance:none;-webkit-appearance:none;border-radius:0}
#pciSheet .pci-sheet-card{box-sizing:border-box;margin:0 auto;width:min(100%,520px);max-height:90vh;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:10px 18px calc(20px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:#f8f8fa;color:#18191d}
#pciSheet .pci-handle{width:40px;height:4px;margin:0 auto 20px;background:#cdcdd2}
#pciSheet header{align-items:flex-start;gap:14px}
#pciSheet header span{color:#9a7626;font-size:9px;letter-spacing:.16em;font-weight:800}
#pciSheet header h2{font-size:23px;font-weight:850;line-height:1.15;letter-spacing:-.035em;margin:6px 0 0}
#pciSheet #pciClose{appearance:none;-webkit-appearance:none;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;padding:0;border:0;border-radius:13px;background:#eaeaed;color:#5c5e64;font-size:18px}
#pciSheet #pciForm{gap:15px;margin-top:22px}
#pciSheet label>span{font-size:12px;font-weight:700;margin-bottom:8px;color:#18191d}
#pciSheet label small{font-size:11px;color:#92959d;font-weight:400}
#pciSheet input{box-sizing:border-box;appearance:none;-webkit-appearance:none;min-width:0;height:48px;padding:0 14px;border:1px solid #dcdde2;border-radius:14px;background:#fff;color:#18191d;font-family:inherit;font-size:16px;box-shadow:none}
#pciSheet input::placeholder{color:#a0a2a8;opacity:1}
#pciSheet input:focus{outline:2px solid #ba9642;outline-offset:1px}
#pciSheet button{font-family:inherit;cursor:pointer}
#pciSheet #pciCreate,#pciSheet #pciWhatsApp{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:14px;background:#18191d;color:#fff;font-size:14px;font-weight:750;line-height:1.3}
#pciSheet #pciCreate{margin-top:3px}
#pciSheet #pciWhatsApp i{color:#cfaa50;font-size:18px}
#pciSheet #pciResult{padding-top:4px}
#pciSheet .pci-success{width:52px;height:52px;margin:22px auto 14px;border-radius:17px;background:#e9f3ec;color:#4e805a;font-size:22px}
#pciSheet #pciResult h3{margin:0;font-size:20px;letter-spacing:-.025em}
#pciSheet #pciResultText{margin:10px auto 20px;max-width:360px;font-size:13px;line-height:1.6;color:#81858e}
#pciSheet .pci-result-actions-v856{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
#pciSheet #pciCopy,#pciSheet #pciAnother{appearance:none;-webkit-appearance:none;margin:0;min-height:44px;padding:10px;border:1px solid #dedfe4;border-radius:13px;background:#fff;color:#656971;font-size:12px;font-weight:700;line-height:1.4}
#pciSheet #pciCopy i{margin-right:5px;color:#9a7626}
#pciSheet button:focus-visible{outline:2px solid #ba9642;outline-offset:2px}
#pciSheet button:disabled{opacity:.6;cursor:wait}
#pciSheet .pci-message{font-size:12px;line-height:1.5}

.pci-item.pci-selected-v858{border-color:#ba9642;box-shadow:0 0 0 2px #e6d9b3;background:#faf8ef}
#pciSheet .pci-message:has(button){background:#faf6ec;color:#876d2c;border:1px solid #e6d9b3}
#pciSheet .pci-message p{margin:0 0 10px}
#pciSheet .pci-message button{min-height:40px;padding:8px 14px;border:1px solid #e6d9b3;border-radius:12px;background:#fff;color:#876d2c;font-weight:700}
#pciSheet .pci-message input{margin-top:10px;width:100%}
.pci-item button[data-send]{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;font-family:inherit;font-size:11px;font-weight:700}

/* v859: invitation options and confirmation. */
.pci-item{position:relative}
.pci-item h3{padding-right:32px}
.pci-menu-v859{position:absolute;top:9px;right:9px;z-index:2}
.pci-menu-v859 summary{list-style:none;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#82858c;cursor:pointer;background:#f5f5f7}
.pci-menu-v859 summary::-webkit-details-marker{display:none}
.pci-menu-v859>div{position:absolute;right:0;top:42px;min-width:155px;padding:5px;border:1px solid #e1e2e6;border-radius:13px;background:#fff;box-shadow:0 7px 22px #00000016}
.pci-menu-v859 button[data-invite-action]{width:100%;min-height:40px;background:#fff;color:#8e4c3d;font-family:inherit;font-size:11px;font-weight:650;text-align:left;padding:10px}
.pci-decision-v859{position:fixed;inset:0;z-index:1100;display:grid;align-items:end;justify-items:center}
.pci-decision-v859[hidden]{display:none}
.pci-decision-backdrop-v859{position:absolute;inset:0;background:#0008}
.pci-decision-card-v859{position:relative;width:min(100%,520px);box-sizing:border-box;padding:22px 18px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#f8f8fa;max-height:85dvh;overflow:auto}
.pci-decision-card-v859 header{display:flex;align-items:center;gap:12px;justify-content:space-between}
.pci-decision-card-v859 h2{font-size:21px;margin:0;color:#18191d;letter-spacing:-.03em}
.pci-decision-card-v859 header button{appearance:none;width:40px;height:40px;border:0;border-radius:13px;background:#eaeaed;color:#5c5e64;font-size:17px}
.pci-decision-card-v859 p{font-size:13px;line-height:1.6;color:#81858e;margin:18px 0 22px}
.pci-decision-actions-v859{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pci-decision-actions-v859 button{appearance:none;min-height:46px;border:1px solid #dedfe4;border-radius:13px;background:#fff;color:#656971;font-family:inherit;font-size:12px;font-weight:750;padding:10px}
.pci-decision-actions-v859 #pciDecisionConfirmV859{background:#18191d;color:#fff;border-color:#18191d}
.pci-decision-v859 button:disabled{opacity:.6}
.pci-decision-v859 button:focus-visible,.pci-menu-v859 summary:focus-visible{outline:2px solid #ba9642;outline-offset:2px}
#pciDecisionErrorV859{color:#a44837}

/* v861: compact search and archive toolbar. */
.pci-tools-v861{display:flex;gap:9px;align-items:center;margin-top:16px}
.pci-search-v861{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #e1e2e6;border-radius:13px;background:#fff;height:42px;color:#979aa2}
.pci-search-v861 input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-family:inherit;font-size:16px;color:#18191d}
.pci-search-v861 input::placeholder{font-size:11px;color:#969aa2}
.pci-search-v861 input::-webkit-search-cancel-button{-webkit-appearance:none}
.pci-search-v861 button{appearance:none;border:0;background:transparent;color:#81858e;min-width:28px;min-height:32px;padding:0}
.pci-search-v861 button[hidden]{display:none}
.pci-archive-tab-v861{appearance:none;min-height:42px;border:1px solid #e1e2e6;border-radius:13px;background:#fff;color:#81858e;padding:0 10px;font-family:inherit;font-size:10px;font-weight:650;white-space:nowrap}
.pci-archive-tab-v861 span{display:inline-block;margin-left:4px;font-weight:750}
.pci-archive-tab-v861[aria-pressed="true"]{border-color:#e6d9b3;background:#faf6ec;color:#876d2c}
.pci-search-hint-v861{font-size:11px;color:#969aa2;margin:8px 0 0}
.pci-load-more-v855:disabled{opacity:.65;cursor:wait}
.pci-tools-v861 button:focus-visible,.pci-search-v861:focus-within{outline:2px solid #ba9642;outline-offset:2px}

.pci-menu-v859 button[data-invite-action="restore"]{color:#876d2c}
