/* Nirwana Residence v9.0.8 — premium activity invitation view, optimized for installed PWA */
.nr-pwa-invite-ribbon{display:none}
.nr-invite-logo-shell{display:inline-flex;align-items:center;justify-content:center}
.nr-invite-recipient{display:flex;align-items:center;gap:12px;margin:0 auto 20px;padding:13px 15px;border:1px solid rgba(238,108,24,.16);border-radius:16px;background:#fffaf5;color:#4d392c}
.nr-invite-recipient small{display:block;color:#9a7257;font-size:.68rem;font-weight:900;letter-spacing:.08em}
.nr-invite-recipient strong{display:block;margin-top:2px;line-height:1.35}
.nr-recipient-icon,.nr-info-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:#fff0e6;color:#df5d1b}
.nr-info{display:flex;align-items:flex-start;gap:11px}
.nr-info>div{min-width:0}
.nr-description-card{margin-top:18px;padding:17px;border:1px solid rgba(238,108,24,.14);border-radius:18px;background:rgba(255,255,255,.76)}
.nr-description-label{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#c95a18;font-size:.72rem;font-weight:900;letter-spacing:.08em}

html.nr-pwa-native .main-content:has(.nr-invite-wrap){padding-left:11px!important;padding-right:11px!important}
html.nr-pwa-native .nr-invite-wrap{padding:0!important;max-width:760px;margin:0 auto}
html.nr-pwa-native .nr-invite{
  border:0!important;
  border-radius:26px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(97,58,31,.14)!important;
  overflow:hidden;
}
html.nr-pwa-native .nr-invite:before{display:none!important}
html.nr-pwa-native .nr-pwa-invite-ribbon{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 15px;
  background:#3a2a20;
  color:#fff8f0;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.08em;
}
html.nr-pwa-native .nr-pwa-invite-ribbon span{display:inline-flex;align-items:center;gap:7px}
html.nr-pwa-native .nr-pwa-invite-ribbon small{font-size:.6rem;color:#f7d8c2;font-weight:800;letter-spacing:.07em}
html.nr-pwa-native .nr-invite-head{
  position:relative;
  padding:24px 18px 25px!important;
  border-bottom:0!important;
  color:#fff;
  background:linear-gradient(145deg,#ff9a36 0%,#f97323 50%,#dc5119 100%);
  isolation:isolate;
}
html.nr-pwa-native .nr-invite-head:before,
html.nr-pwa-native .nr-invite-head:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.11);
  z-index:-1;
}
html.nr-pwa-native .nr-invite-head:before{width:170px;height:170px;right:-82px;top:-82px}
html.nr-pwa-native .nr-invite-head:after{width:115px;height:115px;left:-54px;bottom:-60px}
html.nr-pwa-native .nr-invite-state-attendance .nr-invite-head{background:linear-gradient(145deg,#24956b,#197451 58%,#145c42)}
html.nr-pwa-native .nr-invite-state-completed .nr-invite-head{background:linear-gradient(145deg,#66737d,#4d5962 55%,#38434b)}
html.nr-pwa-native .nr-invite-state-draft .nr-invite-head{background:linear-gradient(145deg,#e6a22b,#c98212 56%,#a86208)}
html.nr-pwa-native .nr-invite-logo-shell{
  width:84px;
  height:84px;
  margin:0 auto 13px;
  border-radius:24px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 26px rgba(95,44,14,.2);
  border:1px solid rgba(255,255,255,.75);
}
html.nr-pwa-native .nr-invite-logo{width:72px!important;height:72px!important;max-width:none!important;object-fit:contain}
html.nr-pwa-native .nr-invite-kicker{color:#fff2e7!important;font-size:.62rem!important;letter-spacing:.16em!important;text-shadow:0 1px 2px rgba(62,25,6,.2)}
html.nr-pwa-native .nr-invite-title{color:#fff!important;font-size:1.48rem!important;line-height:1.16!important;margin:8px auto 7px!important;max-width:620px;text-shadow:0 2px 8px rgba(74,31,8,.18)}
html.nr-pwa-native .nr-invite-sub{color:#fff5ec!important;font-size:.78rem;font-weight:700}
html.nr-pwa-native .nr-invite-body{padding:17px 15px 20px!important;background:linear-gradient(180deg,#fffaf5 0,#fff 32%)}
html.nr-pwa-native .nr-invite-recipient{
  margin:-2px 0 15px;
  padding:12px 13px;
  border-radius:16px;
  background:#fff;
  border:1px solid #f0ddd0;
  box-shadow:0 6px 17px rgba(104,65,39,.055);
}
html.nr-pwa-native .nr-recipient-icon{width:40px;height:40px;border-radius:13px;background:#fff0e5;color:#dc5b1c;font-size:.92rem}
html.nr-pwa-native .nr-invite-info{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0!important}
html.nr-pwa-native .nr-info{
  min-width:0;
  min-height:92px;
  padding:12px!important;
  border-radius:16px!important;
  border:1px solid #f0dfd2!important;
  background:#fff!important;
  box-shadow:0 5px 15px rgba(93,57,34,.045);
}
html.nr-pwa-native .nr-info-icon{width:34px;height:34px;border-radius:11px;background:#fff1e7;color:#df5d1b;font-size:.8rem}
html.nr-pwa-native .nr-info small{font-size:.59rem!important;letter-spacing:.07em!important;color:#9b7259!important}
html.nr-pwa-native .nr-info strong{margin-top:3px!important;font-size:.83rem;line-height:1.35;color:#39291f!important;word-break:break-word}
html.nr-pwa-native .nr-info-location,
html.nr-pwa-native .nr-info-status{grid-column:1 / -1;min-height:auto}
html.nr-pwa-native .nr-info-location{align-items:center}
html.nr-pwa-native .nr-info-status{align-items:center}
html.nr-pwa-native .nr-info-status .nr-activity-view-status{margin-top:5px}
html.nr-pwa-native .nr-info-status .nr-activity-status{white-space:normal;text-align:left;line-height:1.3}
html.nr-pwa-native .nr-description-card{
  margin-top:12px;
  padding:15px;
  border-radius:17px;
  border:1px solid #f0dfd2;
  background:#fff;
  box-shadow:0 5px 15px rgba(93,57,34,.045);
}
html.nr-pwa-native .nr-description-label{font-size:.63rem;margin-bottom:9px}
html.nr-pwa-native .nr-description{font-size:.9rem!important;line-height:1.66!important;color:#4c3c32!important}
html.nr-pwa-native .nr-stamps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;margin-top:13px!important}
html.nr-pwa-native .nr-stamp{
  width:auto!important;
  height:auto!important;
  min-height:92px;
  padding:12px 8px;
  border:1px dashed #e6a176!important;
  border-radius:16px!important;
  transform:none!important;
  background:#fff9f4!important;
  color:#b94c16!important;
  box-shadow:none!important;
}
html.nr-pwa-native .nr-stamp:nth-child(2){transform:none!important}
html.nr-pwa-native .nr-stamp span{font-size:.56rem!important}
html.nr-pwa-native .nr-stamp b{font-size:.76rem!important;margin:3px 0!important}
html.nr-pwa-native .nr-stamp em{font-size:.62rem!important;line-height:1.25;word-break:break-word}
html.nr-pwa-native .nr-invite-foot{
  padding:13px 14px!important;
  font-size:.62rem!important;
  letter-spacing:.065em!important;
  background:linear-gradient(90deg,#3b2a20,#5a3b29)!important;
}
html.nr-pwa-native .nr-invite-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:11px 0 17px!important;
  padding:0 2px;
}
html.nr-pwa-native .nr-invite-actions>.btn,
html.nr-pwa-native .nr-invite-actions>a.btn,
html.nr-pwa-native .nr-invite-actions>form{width:100%;margin:0!important}
html.nr-pwa-native .nr-invite-actions>form{display:block!important}
html.nr-pwa-native .nr-invite-actions>form .btn{width:100%;height:44px;border-radius:13px;font-weight:800;font-size:.78rem}
html.nr-pwa-native .nr-invite-actions>.btn,
html.nr-pwa-native .nr-invite-actions>a.btn{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:13px;font-weight:800;font-size:.78rem}
html.nr-pwa-native .nr-send-panel,
html.nr-pwa-native .nr-attendance-panel,
html.nr-pwa-native .nr-doc-panel{padding:0!important;max-width:760px}
html.nr-pwa-native .nr-send-panel .card,
html.nr-pwa-native .nr-attendance-card,
html.nr-pwa-native .nr-doc-card{border-radius:22px!important;box-shadow:0 12px 30px rgba(93,57,34,.09)!important}
html.nr-pwa-native .nr-attendance-head,
html.nr-pwa-native .nr-doc-head{padding:15px!important}
html.nr-pwa-native .nr-attendance-body,
html.nr-pwa-native .nr-doc-body{padding:15px!important}

@media(max-width:390px){
  html.nr-pwa-native .nr-invite-title{font-size:1.3rem!important}
  html.nr-pwa-native .nr-invite-head{padding-inline:14px!important}
  html.nr-pwa-native .nr-invite-body{padding-inline:12px!important}
  html.nr-pwa-native .nr-info{padding:10px!important;gap:8px}
  html.nr-pwa-native .nr-info-icon{width:31px;height:31px}
  html.nr-pwa-native .nr-info strong{font-size:.78rem}
}

@media print{
  .nr-pwa-invite-ribbon{display:none!important}
}
