/* 출석부 전용 CSS. 기존 페이지 스타일에 영향을 주지 않도록 .sgatt-scope로 범위를 제한합니다. */
/* 단독 미리보기용: 기존 팝업에 넣을 때 아래 body 규칙과 preview 클래스는 생략 가능합니다. */
body.attendance-preview { margin:0; padding:24px; background:#080914; }
.attendance-preview > .sgatt-scope { max-width:1080px; margin:0 auto; }
.sgatt-scope { --font:"Apple SD Gothic Neo","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; --bg:#080914; }
.sgatt-scope h2 { margin:6px 0 0; }
.sgatt-scope [hidden] { display:none!important; }
.sgatt-scope {
  --panel:#121320;
   --line:#282938;
   --muted:#9092a8;
   --purple:#9865ff;
   --text:#f4f3fc;
   color:var(--text);
  font:14px/1.5 var(--font);
}
.sgatt-scope h1,
.sgatt-scope h2,
.sgatt-scope p {
  padding:0;
}
.sgatt-scope * {
  box-sizing:border-box
}
.sgatt-scope button,
.sgatt-scope a {
  -webkit-tap-highlight-color:transparent
}
.sgatt-scope button {
  font:inherit;
  color:inherit;
  cursor:pointer
}
.sgatt-scope a {
  color:inherit;
  text-decoration:none
}
.sgatt-scope button:focus-visible,
.sgatt-scope a:focus-visible,
.sgatt-scope summary:focus-visible {
  outline:2px solid #b69aff;
  outline-offset:4px
}
.sgatt-scope .sgatt-eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  color:#a682d9
}
.sgatt-scope .sgatt-eyebrow span {
  display:inline-block;
  background:#ae7aff;
  width:5px;
  height:5px;
  border-radius:50%;
  margin:0 8px 2px 0
}
.sgatt-scope .sgatt-stats {
  margin:22px 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:22px 0;
  background:#11121e;
  border:1px solid var(--line);
  border-radius:12px
}
.sgatt-scope .sgatt-stats>div {
  display:flex;
  align-items:center;
  gap:18px;
  padding:0 33px;
  border-right:1px solid var(--line)
}
.sgatt-scope .sgatt-stats>div:last-child {
  border:0
}
.sgatt-scope .sgatt-stat-icon {
  font-size:25px;
  border:1px solid #46315e;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#20172f;
  color:#b28be9
}
.sgatt-scope .sgatt-stats small {
  color:var(--muted);
  font-size:12px;
  display:block;
  margin-bottom:3px
}
.sgatt-scope .sgatt-stats strong {
  font-size:25px;
  font-weight:700;
  line-height:1.3
}
.sgatt-scope .sgatt-stats em {
  font-size:14px;
  font-style:normal;
  margin-left:5px;
  font-weight:500;
  color:#bbb4cc
}
.sgatt-scope .sgatt-stats strong i {
  font-weight:400;
  font-size:11px;
  color:#6f6f83;
  font-style:normal;
  margin-left:12px
}
.sgatt-scope .sgatt-stats strong i.sgatt-lavender {
  color:#b49acb
}
.sgatt-scope .sgatt-content-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:22px
}
.sgatt-scope .sgatt-panel {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px
}
.sgatt-scope .sgatt-calendar {
  padding:25px 28px 18px
}
.sgatt-scope .sgatt-calendar-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px
}
.sgatt-scope h2 {
  font-size:19px;
  letter-spacing:-.5px;
  margin:6px 0 0
}
.sgatt-scope .sgatt-calendar-head .sgatt-eyebrow,
.sgatt-scope .sgatt-section-head .sgatt-eyebrow {
  font-size:8px;
  color:#928398
}
.sgatt-scope .sgatt-month-picker {
  display:flex;
  gap:15px;
  align-items:center
}
.sgatt-scope .sgatt-month-picker strong {
  font-size:19px;
  letter-spacing:.3px
}
.sgatt-scope .sgatt-month-picker button {
  width:29px;
  height:29px;
  background:#1b1c2b;
  border:1px solid #333342;
  border-radius:7px;
  font-size:20px;
  line-height:20px;
  color:#aba4bc
}
.sgatt-scope .sgatt-week,
.sgatt-scope .sgatt-days {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr))
}
.sgatt-scope .sgatt-week {
  margin-bottom:9px;
  text-align:center;
  font-size:12px;
  color:#8b879c
}
.sgatt-scope .sgatt-week span:first-child {
  color:#da8798
}
.sgatt-scope .sgatt-week span:last-child {
  color:#8a9ed3
}
.sgatt-scope .sgatt-days {
  gap:7px
}
.sgatt-scope .sgatt-day {
  min-height:77px;
  border:1px solid #262735;
  border-radius:8px;
  background:#151622;
  position:relative;
  padding:7px 10px
}
.sgatt-scope .sgatt-day .number {
  font-size:11px;
  color:#a29db4
}
.sgatt-scope .sgatt-day.sgatt-sunday .number {
  color:#cc8292
}
.sgatt-scope .sgatt-day.sgatt-saturday .number {
  color:#8499ca
}
.sgatt-scope .sgatt-day.sgatt-empty {
  border:0;
  background:transparent
}
.sgatt-scope .sgatt-day.sgatt-future {
  opacity:.5
}
.sgatt-scope .sgatt-day.sgatt-done {
  background:linear-gradient(145deg,#231b35,#1c182c);
  border-color:#423157
}
.sgatt-scope .sgatt-stamp {
  font-size:8px;
  color:#bd98ee;
  position:absolute;
  left:50%;
  top:23px;
  transform:translateX(-50%) rotate(-12deg);
  width:38px;
  height:38px;
  border:1px solid #9266c2;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  line-height:1.1;
  box-shadow:inset 0 0 0 3px #1f182d,inset 0 0 0 4px #674c87
}
.sgatt-scope .sgatt-stamp b {
  font-size:16px
}
.sgatt-scope .sgatt-day.sgatt-today-cell {
  border-color:#b27dff;
  background:#251c3b;
  box-shadow:inset 0 0 0 1px #9c65ed
}
.sgatt-scope .sgatt-today-label {
  position:absolute;
  right:6px;
  top:8px;
  font-size:7px;
  color:#c49aff;
  letter-spacing:1px
}
.sgatt-scope .sgatt-today-mark {
  display:block;
  text-align:center;
  color:#d4b4ff;
  font-size:19px;
  line-height:1;
  margin-top:3px
}
.sgatt-scope .sgatt-day small {
  display:block;
  text-align:center;
  color:#a68abb;
  font-size:8px;
  margin-top:4px
}
.sgatt-scope .sgatt-legend {
  display:flex;
  align-items:center;
  gap:17px;
  border-top:1px solid #272735;
  padding-top:16px;
  margin-top:16px;
  color:#8d879d;
  font-size:9px
}
.sgatt-scope .sgatt-legend>span {
  display:flex;
  align-items:center;
  gap:5px
}
.sgatt-scope .sgatt-legend i {
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%
}
.sgatt-scope .sgatt-done-key {
  background:#9f72d9
}
.sgatt-scope .sgatt-today-key {
  border:1px solid #ba88ff
}
.sgatt-scope .sgatt-reward-key {
  color:#dcc18e;
  font-size:14px;
  font-style:normal;
  line-height:6px
}
.sgatt-scope .sgatt-legend .sgatt-timezone {
  margin-left:auto;
  font-size:8px;
  color:#68677c
}
.sgatt-scope .sgatt-today {
  padding:25px 24px 20px;
  text-align:center;
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 35%,#30214166,transparent 65%),#141320
}
.sgatt-scope .sgatt-today-top {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.sgatt-scope .sgatt-today-top .sgatt-eyebrow {
  font-size:8px;
  letter-spacing:1px;
  color:#a18caf
}
.sgatt-scope .sgatt-live-pill {
  font-size:8px;
  color:#c6a3f5;
  border:1px solid #654881;
  border-radius:20px;
  padding:3px 7px;
  background:#281d3a
}
.sgatt-scope .sgatt-check-icon {
  width:56px;
  height:56px;
  border:1px solid #986bd4;
  border-radius:17px;
  display:grid;
  place-items:center;
  margin:25px auto 17px;
  background:linear-gradient(135deg,#a177d1,#49296f);
  color:#f4e5ff;
  font-size:34px;
  box-shadow:0 0 25px #b67eff18,inset 0 0 0 4px #ffffff09
}
.sgatt-scope .sgatt-today h2 {
  font-size:22px
}
.sgatt-scope .sgatt-today p {
  font-size:12px;
  color:#a9a0b9;
  line-height:1.7;
  margin:10px 0 18px
}
.sgatt-scope .sgatt-daily-points {
  padding:12px;
  background:#0d0d1780;
  border:1px solid #30263d;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:17px
}
.sgatt-scope .sgatt-daily-points small {
  font-size:10px;
  color:#9b8fae
}
.sgatt-scope .sgatt-daily-points strong {
  font-size:25px;
  color:#d0afff
}
.sgatt-scope .sgatt-daily-points strong span {
  font-size:14px
}
.sgatt-scope .sgatt-primary {
  border:1px solid #b68aff;
  border-radius:8px;
  background:linear-gradient(105deg,#a365ee,#7945d5);
  height:47px;
  width:100%;
  color:white;
  font-weight:700;
  font-size:13px;
  box-shadow:0 5px 20px #7b42bf20
}
.sgatt-scope .sgatt-primary:hover {
  filter:brightness(1.1)
}
.sgatt-scope .sgatt-primary span {
  margin-left:12px
}
.sgatt-scope .sgatt-primary:disabled {
  cursor:default;
  background:#30283e;
  border-color:#57406b;
  color:#bda9d1;
  box-shadow:none
}
.sgatt-scope .sgatt-once {
  display:block;
  font-size:12px;
  color:#73687f;
  margin-top:12px
}
.sgatt-scope .sgatt-next-reward {
  border:1px solid #3c304c;
  background:linear-gradient(115deg,#23182f,#151321);
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:17px;
  margin-top:16px
}
.sgatt-scope .sgatt-gift-icon {
  display:grid;
  place-items:center;
  width:42px;
  flex:0 0 42px
}
.sgatt-scope .sgatt-gift-icon img {
  width:42px;
  height:42px;
  display:block
}
.sgatt-scope .sgatt-next-reward small {
  font-size:12px;
  color:#9d8eae;
  display:block
}
.sgatt-scope .sgatt-next-reward strong {
  display:block;
  font-size:14px;
  margin:3px 0
}
.sgatt-scope .sgatt-next-reward strong b {
  color:#c6a0fb
}
.sgatt-scope .sgatt-next-reward div>span {
  font-size:12px;
  color:#8f809d
}
.sgatt-scope .sgatt-next-reward div>span b {
  color:#b49acb
}
.sgatt-scope .sgatt-next-reward>span:last-child {
  margin-left:auto;
  color:#9673b8
}
.sgatt-scope .sgatt-deposit-gauge {
  margin-top:16px;
  padding:16px;
  border:1px solid #3c304c;
  border-radius:12px;
  background:#151321;
}
.sgatt-scope .sgatt-deposit-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.sgatt-scope .sgatt-deposit-row small {
  font-size:12px;
  color:#9d8eae;
}
.sgatt-scope .sgatt-deposit-row strong,
.sgatt-scope .sgatt-deposit-row b {
  font-size:13px;
  font-weight:700;
  color:#f4f3fc;
}
.sgatt-scope .sgatt-gauge {
  height:10px;
  margin:10px 0;
  border-radius:999px;
  background:#2a2438;
  overflow:hidden;
}
.sgatt-scope .sgatt-gauge span {
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#7a4dff,#c6a0fb);
}
.sgatt-scope .sgatt-deposit-gauge.is-met .sgatt-gauge span {
  background:linear-gradient(90deg,#6d4b9a,#d7b6ff);
}
.sgatt-scope .sgatt-deposit-gauge.is-met .sgatt-deposit-row b {
  color:#d7b6ff;
}
.sgatt-scope .sgatt-rewards {
  padding:25px 28px;
  margin-top:22px
}
.sgatt-scope .sgatt-section-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.sgatt-scope .sgatt-section-head>span {
  font-size:10px;
  color:#9b91a8
}
.sgatt-scope .sgatt-section-head>span b {
  color:#d3b4fd
}
.sgatt-scope .sgatt-reward-track {
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  margin-top:23px
}
.sgatt-scope .sgatt-reward-card {
  position:relative;
  flex:1 1 0;
  min-width:0;
  background:#171622;
  border:1px solid #34303f;
  border-radius:10px;
  text-align:center;
  padding:17px 8px 13px
}
.sgatt-scope .sgatt-reward-card.sgatt-reached {
  background:#21192f;
  border-color:#644384
}
.sgatt-scope .sgatt-reward-card.sgatt-next {
  border-color:#a16ae4;
  background:linear-gradient(135deg,#261c37,#1b172a)
}
.sgatt-scope .sgatt-reward-card.sgatt-next:before {
  content:"NEXT REWARD";
  position:absolute;
  top:-8px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  font-size:7px;
  letter-spacing:1px;
  background:#9a65dc;
  border-radius:4px;
  padding:2px 9px;
  color:white
}
.sgatt-scope .sgatt-reward-card>small {
  font-size:10px;
  color:#c6b6da
}
.sgatt-scope .sgatt-reward-emblem {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg,#c4a4e9,#644388);
  color:#eee1ff;
  font-family:Georgia;
  font-weight:bold;
  font-size:22px;
  margin:10px auto 7px;
  border:2px solid #bd9dd8;
  box-shadow:inset 0 0 0 2px #6c4b88
}
.sgatt-scope .sgatt-reward-card:last-child .sgatt-reward-emblem {
  background:linear-gradient(135deg,#ebd9b5,#957545);
  border-color:#d1b47d;
  color:#ffe9c0
}
.sgatt-scope .sgatt-reward-card strong {
  font-size:18px;
  display:block
}
.sgatt-scope .sgatt-reward-card strong span {
  font-size:11px;
  color:#bdaacd
}
.sgatt-scope .sgatt-reward-card button {
  font-size:9px;
  width:100%;
  padding:6px;
  border-radius:5px;
  margin-top:12px;
  background:#282033;
  border:1px solid #49385e;
  color:#b8a2ce
}
.sgatt-scope .sgatt-reward-card button:disabled {
  cursor:default;
  background:#1e1c28;
  border-color:#302b3b;
  color:#71697d
}
.sgatt-scope .sgatt-reward-hint {
  font-size:12px;
  color:#8d819c;
  margin:14px 4px 0
}
.sgatt-scope .sgatt-rules {
  margin-top:20px;
  padding:0 26px
}
.sgatt-scope .sgatt-rules summary {
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  padding:20px 0;
  font-size:12px;
  color:#c2b6d0
}
.sgatt-scope .sgatt-rules summary::-webkit-details-marker {
  display:none
}
.sgatt-scope .sgatt-rules summary i {
  font-style:normal;
  color:#8d7a9f
}
.sgatt-scope .sgatt-rules:not([open]) summary i {
  transform:rotate(180deg)
}
.sgatt-scope .sgatt-rules>div {
  border-top:1px solid #292431;
  padding:12px 0 20px;
  position:relative
}
.sgatt-scope .sgatt-rules p {
  font-size:10px;
  color:#93889e;
  margin:7px 0
}
.sgatt-scope .sgatt-rules p.sgatt-demo-note {
  color:#b09ac3;
  margin-top:14px
}
.sgatt-scope .sgatt-rules button {
  font-size:9px;
  background:transparent;
  border:0;
  color:#ab89ca;
  margin:6px 0 0;
  padding:0
}
.sgatt-scope #sgatt-toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translate(-50%,20px);
  background:#30213f;
  border:1px solid #8860ad;
  color:#e9dafa;
  padding:12px 24px;
  border-radius:9px;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transition:.25s;
  max-width:90%;
  text-align:center;
  font-size:12px
}
@media(max-width:1000px) {
.sgatt-scope .sgatt-content-grid {
  grid-template-columns:minmax(0,1fr) 265px;
  gap:15px
}
.sgatt-scope .sgatt-calendar {
  padding:20px 18px
}
.sgatt-scope .sgatt-day {
  padding:6px;
  min-height:74px
}
.sgatt-scope .sgatt-stats>div {
  padding:0 18px;
  gap:12px
}
.sgatt-scope .sgatt-stats strong i {
  display:none
}
.sgatt-scope .sgatt-legend {
  gap:12px
}
.sgatt-scope .sgatt-legend .sgatt-timezone {
  display:none
}
.sgatt-scope .sgatt-today {
  padding:23px 18px
}
.sgatt-scope .sgatt-today-top {
  gap:5px
}
}
@media(max-width:760px) {
.sgatt-scope .sgatt-stats {
  padding:16px 0;
  margin:16px 0
}
.sgatt-scope .sgatt-stats>div {
  padding:0 12px;
  gap:0
}
.sgatt-scope .sgatt-stat-icon {
  display:none
}
.sgatt-scope .sgatt-stats small {
  font-size:9px
}
.sgatt-scope .sgatt-stats strong {
  font-size:21px
}
.sgatt-scope .sgatt-stats em {
  font-size:11px
}
.sgatt-scope .sgatt-content-grid {
  display:flex;
  flex-direction:column-reverse;
  gap:16px
}
.sgatt-scope .sgatt-today {
  padding:17px;
  display:grid;
  grid-template-columns:48px 1fr 140px;
  gap:0 12px;
  text-align:left;
  align-items:center
}
.sgatt-scope .sgatt-today-top {
  grid-column:1/-1;
  margin-bottom:15px
}
.sgatt-scope .sgatt-check-icon {
  width:45px;
  height:45px;
  font-size:27px;
  margin:0;
  grid-row:2/4
}
.sgatt-scope .sgatt-today h2 {
  font-size:17px;
  margin:0
}
.sgatt-scope .sgatt-today p {
  font-size:10px;
  margin:2px 0;
  grid-column:2
}
.sgatt-scope .sgatt-today p br {
  display:none
}
.sgatt-scope .sgatt-daily-points {
  display:none
}
.sgatt-scope .sgatt-today .sgatt-primary {
  grid-column:3;
  grid-row:2/4;
  font-size:11px;
  height:43px
}
.sgatt-scope .sgatt-once {
  display:none
}
.sgatt-scope .sgatt-next-reward {
  display:none
}
.sgatt-scope .sgatt-popup-intro {
  flex-wrap:wrap
}
.sgatt-scope .sgatt-intro-rewards {
  flex:1 1 100%
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card {
  flex:1 1 0;
  max-width:none;
}
.sgatt-scope .sgatt-calendar {
  padding:20px 14px 16px
}
.sgatt-scope .sgatt-calendar-head {
  margin-bottom:20px
}
.sgatt-scope h2 {
  font-size:17px
}
.sgatt-scope .sgatt-calendar-head .sgatt-eyebrow {
  font-size:7px
}
.sgatt-scope .sgatt-month-picker {
  gap:10px
}
.sgatt-scope .sgatt-month-picker strong {
  font-size:17px
}
.sgatt-scope .sgatt-month-picker button {
  width:25px;
  height:26px
}
.sgatt-scope .sgatt-days {
  gap:5px
}
.sgatt-scope .sgatt-day {
  min-height:68px;
  padding:5px
}
.sgatt-scope .sgatt-day .number {
  font-size:10px
}
.sgatt-scope .sgatt-today-label {
  font-size:6px;
  right:4px;
  top:7px
}
.sgatt-scope .sgatt-stamp {
  width:32px;
  height:32px;
  font-size:6px;
  top:24px
}
.sgatt-scope .sgatt-stamp b {
  font-size:12px
}
.sgatt-scope .sgatt-day small {
  font-size:7px
}
.sgatt-scope .sgatt-today-mark {
  font-size:16px;
  margin-top:8px
}
.sgatt-scope .sgatt-legend {
  font-size:8px;
  gap:14px
}
.sgatt-scope .sgatt-rewards {
  padding:20px 15px;
  margin-top:16px
}
.sgatt-scope .sgatt-section-head>span {
  font-size:8px
}
.sgatt-scope .sgatt-section-head .sgatt-eyebrow {
  font-size:7px
}
.sgatt-scope .sgatt-section-head h2 {
  font-size:16px
}
.sgatt-scope .sgatt-reward-track {
  grid-template-columns:repeat(2,1fr);
  gap:15px 10px
}
.sgatt-scope .sgatt-reward-card {
  padding:13px 10px 10px
}
.sgatt-scope .sgatt-reward-card strong {
  font-size:17px
}
.sgatt-scope .sgatt-reward-hint {
  font-size:9px;
  line-height:1.8
}
.sgatt-scope .sgatt-rules {
  padding:0 17px;
  margin-top:16px
}
.sgatt-scope .sgatt-rules p {
  font-size:9px;
  line-height:1.8
}
}
@media(prefers-reduced-motion:reduce) {
.sgatt-scope * {
  scroll-behavior:auto!important;
  transition:none!important
}
}
.sgatt-scope .sgatt-day {
  min-width:0;
}
.sgatt-scope #sgatt-attendance {
  width:100%;
  margin:0;
  padding:0;
}
.sgatt-scope .sgatt-popup-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:18px 22px;
  background:linear-gradient(110deg,#241734,#171326);
  border:1px solid #4a325e;
  border-radius:12px;
}
.sgatt-scope .sgatt-popup-intro h2 {
  margin:5px 0;
  font-size:21px;
}
.sgatt-scope .sgatt-popup-intro p {
  margin:0;
  color:#b6a3ca;
  font-size:11px;
}
.sgatt-scope .sgatt-popup-copy {
  flex:0 0 auto;
  max-width:240px;
}
.sgatt-scope .sgatt-intro-rewards {
  flex:1 1 auto;
  min-width:0;
  margin-left:auto;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-track {
  margin-top:8px;
  gap:8px;
  justify-content:flex-end;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card {
  flex:0 1 132px;
  max-width:150px;
  padding:16px 6px 10px;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-emblem {
  width:30px;
  height:30px;
  font-size:18px;
  margin:6px auto 4px;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card strong {
  font-size:15px;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card button {
  margin-top:8px;
  font-size:12px;
}
.sgatt-scope .sgatt-popup-badge {
  border:1px solid #7b559d;
  border-radius:20px;
  padding:6px 12px;
  color:#caa8ed;
  font-size:9px;
  letter-spacing:1px;
  white-space:nowrap;
  flex:0 0 auto;
}
.sgatt-scope .sgatt-stats {
  margin:14px 0;
  padding:14px 0;
}
.sgatt-scope .sgatt-stats>div {
  padding:0 18px;
  gap:12px;
}
.sgatt-scope .sgatt-content-grid {
  grid-template-columns:minmax(0,1fr) 260px;
  gap:14px;
}
.sgatt-scope .sgatt-calendar {
  padding:18px;
}
.sgatt-scope .sgatt-calendar-head {
  margin-bottom:17px;
}
.sgatt-scope .sgatt-day {
  min-height:68px;
}
.sgatt-scope .sgatt-today {
  padding:18px;
}
.sgatt-scope .sgatt-rewards {
  padding:18px;
  margin-top:14px;
}
.sgatt-scope .sgatt-rules {
  margin-top:14px;
}
.sgatt-scope #sgatt-toast {
  display:none;
  position:static;
  max-width:none;
  transform:none;
  opacity:1;
  margin:12px 0 0;
  padding:10px 15px;
  text-align:left;
}
@media(max-width:760px) {
.sgatt-scope .sgatt-popup-intro {
  padding:13px 14px;
}
.sgatt-scope .sgatt-popup-intro h2 {
  font-size:16px;
}
.sgatt-scope .sgatt-popup-intro p {
  font-size:9px;
}
.sgatt-scope .sgatt-popup-badge {
  display:none;
}
.sgatt-scope .sgatt-stats>div {
  padding:0 9px;
}
.sgatt-scope .sgatt-stats strong {
  font-size:20px;
}
.sgatt-scope .sgatt-today {
  grid-template-columns:35px 1fr 112px;
  padding:13px;
  gap:0 9px;
}
.sgatt-scope .sgatt-check-icon {
  width:34px;
  height:38px;
  font-size:23px;
}
.sgatt-scope .sgatt-today h2 {
  font-size:15px;
}
.sgatt-scope .sgatt-today p {
  font-size:9px;
}
.sgatt-scope .sgatt-today .sgatt-primary {
  font-size:10px;
}
.sgatt-scope .sgatt-calendar {
  padding:14px 9px;
}
.sgatt-scope .sgatt-day {
  min-height:65px;
}
.sgatt-scope .sgatt-days {
  gap:4px;
}
}

@media(max-width:760px) { body.attendance-preview { padding:12px; } }
.mp-pane[data-mp-pane="attendance"] .sgatt-scope { max-width:100%; }
.mp-pane[data-mp-pane="attendance"] .sgatt-primary:disabled { opacity:.55; cursor:default; }
