/* Skyy admin */
body.is-admin{background:var(--ui-bg,#f5f5f7);color:var(--ui-ink,#1d1d1f)}
.adm{max-width:980px;margin:0 auto;padding:104px 20px 60px;display:flex;flex-direction:column;gap:18px}
.adm-role{display:inline-block;margin-left:6px;font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;background:var(--ui-ink,#1d1d1f);color:#fff;vertical-align:2px;letter-spacing:.02em}
.adm-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.adm-stat{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:18px 20px;border-radius:22px;background:#fff;box-shadow:0 16px 32px -28px rgba(0,0,0,.35);text-align:left;cursor:pointer;transition:transform .25s var(--spring,ease)}
.adm-stat:hover{transform:translateY(-2px)}
.adm-stat b{font-size:30px;font-weight:700;letter-spacing:-.03em;line-height:1.1;font-variant-numeric:tabular-nums}
.adm-stat span{font-size:13px;font-weight:600;color:var(--ui-mut,#6e6e73)}
.adm-stat.is-blue b{color:var(--ui-acc,#0071e3)}
.adm-stat.is-pro b{background:linear-gradient(90deg,#ff7ab6,#9d7bff,#4fb7ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.adm-stat.is-red b{color:#e0352b}
.adm-card{background:#fff;border-radius:28px;padding:22px;box-shadow:0 20px 40px -32px rgba(0,0,0,.3)}
.adm-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.adm-head h2{font-size:22px;letter-spacing:-.02em}
.adm-tools{display:flex;gap:8px;flex:1;justify-content:flex-end;min-width:260px}
.adm-search{flex:1;max-width:380px;display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border-radius:14px;background:#f2f2f5;color:var(--ui-mut,#6e6e73)}
.adm-search svg{width:18px;height:18px;flex:none}
.adm-search input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:16px;color:var(--ui-ink,#1d1d1f)}
.adm-sort{height:44px;border-radius:14px;border:0;background:#f2f2f5;padding:0 12px;font-size:15px;font-weight:600;color:var(--ui-ink,#1d1d1f);cursor:pointer}
.adm-chips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 8px}
.adm-chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;background:#f2f2f5;font-size:14px;font-weight:600;color:var(--ui-ink,#1d1d1f);cursor:pointer;transition:background .2s,color .2s}
.adm-chip i{font-style:normal;font-size:12px;font-weight:700;color:var(--ui-mut,#6e6e73);font-variant-numeric:tabular-nums}
.adm-chip.on{background:var(--ui-ink,#1d1d1f);color:#fff}.adm-chip.on i{color:rgba(255,255,255,.6)}
.adm-list{display:flex;flex-direction:column}
.adm-row{display:flex;align-items:center;gap:14px;width:100%;padding:12px 10px;border-radius:16px;text-align:left;cursor:pointer;transition:background .15s;border-bottom:1px solid #f0f0f2}
.adm-row:last-child{border-bottom:0}
.adm-row:hover{background:#f6f6f8}
.adm-av{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;background:#eee}
.adm-av--lg{width:84px;height:84px}
.adm-who{flex:1;min-width:0;display:flex;flex-direction:column}
.adm-who b{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adm-who small{font-size:14px;color:var(--ui-mut,#6e6e73);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adm-tags{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.adm-tag{font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;background:#eef3ff;color:#1d5fd8}
.adm-tag.is-red{background:#fdecea;color:#d02f25}
.adm-when{font-size:13px;color:var(--ui-mut,#6e6e73);white-space:nowrap;width:84px;text-align:right}
.adm-chev{width:16px;height:16px;color:#c3c3c8;flex:none}
.adm-row.is-skel{cursor:default}.adm-row.is-skel i{width:44px;height:44px;border-radius:50%;background:#f0f0f2}.adm-row.is-skel span{height:14px;width:40%;border-radius:8px;background:#f0f0f2}
.adm-empty{padding:40px 10px;text-align:center;color:var(--ui-mut,#6e6e73);font-weight:500}
.adm-drawer{position:fixed;inset:0;z-index:200}
.adm-scrim{position:absolute;inset:0;background:rgba(0,0,0,.25);opacity:0;transition:opacity .3s}
.adm-panel{position:absolute;top:12px;right:12px;bottom:12px;width:min(420px,calc(100% - 24px));overflow:auto;background:#fff;border-radius:28px;padding:22px;box-shadow:0 30px 80px -20px rgba(0,0,0,.35);transform:translateX(calc(100% + 24px));transition:transform .4s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;gap:14px}
.adm-drawer.on .adm-scrim{opacity:1}.adm-drawer.on .adm-panel{transform:none}
.adm-x{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;background:#f2f2f5;display:grid;place-items:center;cursor:pointer}
.adm-x svg{width:16px;height:16px}
.adm-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:10px 0 4px}
.adm-hero h3{font-size:22px;letter-spacing:-.02em;margin-top:6px}
.adm-hero p{color:var(--ui-mut,#6e6e73);font-size:15px}
.adm-hero .btn{margin-top:8px;min-height:40px}
.adm-sec{background:#f7f7f9;border-radius:20px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.adm-sec h4{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ui-mut,#6e6e73)}
.adm-line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;min-height:36px}
.adm-line span{font-weight:600}.adm-line small{font-size:13px;color:var(--ui-mut,#6e6e73)}
.adm-line b{font-weight:600}
.adm-info .adm-line span{font-weight:500;color:var(--ui-mut,#6e6e73)}
.adm-sm{min-height:36px;padding:0 16px;font-size:14px}
.adm-danger{color:#d02f25}
.adm-line .adm-sort{height:36px;background:#fff}
.adm-note{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.adm-note textarea{min-height:76px;font-size:15px}
.adm-sec>.adm-sm{align-self:flex-start}
.adm-copy{font-size:14px;font-weight:600;color:var(--ui-acc,#0071e3);cursor:pointer;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media (max-width:720px){
  .adm{padding:88px 12px 40px}
  .adm-stats{grid-template-columns:repeat(3,1fr);gap:8px}
  .adm-stat{padding:14px;border-radius:18px}.adm-stat b{font-size:24px}.adm-stat span{font-size:12px}
  .adm-card{padding:16px;border-radius:24px}
  .adm-tools{min-width:0;width:100%}.adm-search{max-width:none}
  .adm-chips{flex-wrap:nowrap;overflow-x:auto;margin:14px -16px 6px;padding:0 16px;scrollbar-width:none}
  .adm-chip{flex:none}
  .adm-when,.adm-chev{display:none}
  .adm-row{padding:10px 4px;gap:12px}
  .adm-tags{max-width:42%;justify-content:flex-end}
  .adm-panel{top:auto;left:0;right:0;bottom:0;width:auto;max-height:88vh;border-radius:28px 28px 0 0;transform:translateY(100%)}
}
.adm h2,.adm-panel h3,.adm-panel h4,.adm-panel p{margin:0}
@media (max-width:720px){.adm-role{display:none}}
@media (max-width:720px){
  .adm-stats{grid-template-columns:repeat(6,1fr)}
  .adm-stat{grid-column:span 2}.adm-stat:nth-child(n+4){grid-column:span 3}
  .adm-tools{flex-basis:100%}.adm-sort{max-width:42%}
}

/* update email */
.adm-mail{display:flex;flex-direction:column;gap:12px}
.adm-mail__n{font-size:13px;font-weight:700;color:#6e6e73;padding:6px 12px;border-radius:999px;background:#f2f2f5}
.adm-mail__p{font-size:14px;color:#6e6e73}
.adm-mail>[data-mopen]{align-self:flex-start}
.adm-mail__f{display:flex;flex-direction:column;gap:12px}
.adm-mail__f textarea{resize:vertical;min-height:120px}
.adm-mail__row{display:grid;grid-template-columns:1fr 2fr;gap:10px}
.adm-mail__acts{display:flex;gap:8px;flex-wrap:wrap}
.adm-mail__log h4{font-size:13px;color:#6e6e73;margin:6px 0 4px!important}
.adm-mail__sent{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #f0f0f2;font-size:14px}
.adm-mail__sent span{color:#8a8a90;white-space:nowrap}
@media (max-width:600px){.adm-mail__row{grid-template-columns:1fr}}
