/* VistaCrew app screens, rebuilt from the iOS app's SwiftUI source and simulator captures.
   Every screen is laid out at 390 × 844 pt and scaled into its phone with --k.
   Colors come from AppTheme (light): accent #3484FF, background #EEF2F7, stroke #CFD6E2. */

.phone {
  --k: .846; --bz: 10px;
  position: relative; flex-shrink: 0;
  width: calc(390px * var(--k) + var(--bz) * 2);
  padding: var(--bz);
  border-radius: calc(56px * var(--k) + var(--bz));
  background: linear-gradient(150deg, #6a7294 0%, #2a2f4a 22%, #151829 55%, #3d4466 100%);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.16) inset, 0 0 0 2px #0b0d18 inset;
}
.screen {
  position: relative; overflow: hidden;
  width: calc(390px * var(--k)); height: calc(844px * var(--k));
  border-radius: calc(56px * var(--k));
  background: #eef2f7;
  isolation: isolate;
}
.sheen { position: absolute; inset: var(--bz); border-radius: calc(56px * var(--k)); pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 28%); mix-blend-mode: screen; }

.ios {
  --accent: #3484ff; --accent-soft: #e2f0ff; --bg: #eef2f7; --raised: #f4f8fe; --muted: #eff4fc; --stroke: #cfd6e2;
  --t1: #101218; --t2: #83868e; --t3: #a8acb6; --green: #34c759; --orange: #ff9500; --red: #ff3b30;
  position: absolute; left: 0; top: 0; width: 390px; height: 844px;
  transform: scale(var(--k)); transform-origin: 0 0;
  background: var(--bg); color: var(--t1);
  font: 400 17px/1.25 -apple-system, "SF Pro Text", system-ui, sans-serif;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
  overflow: hidden; padding-top: 54px; text-align: left;
}
.ios svg { width: 1em; height: 1em; flex-shrink: 0; }
.ios b { font-weight: 600; }
.ios h1, .ios h2, .ios h3 { font-family: inherit; line-height: 1.15; }

/* Status bar, island, Liquid Glass tab bar */
.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; z-index: 30; font-weight: 600; font-size: 17px; color: #000; }
.sb .island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.sb-r { display: flex; align-items: center; gap: 6px; }
.sb .sig { width: 18px; height: 12px; } .sb .wifi { width: 16px; height: 12px; } .sb .batt { width: 27px; height: 13px; }
.tabbar {
  position: absolute; left: 20px; right: 20px; bottom: 20px; height: 64px; z-index: 25;
  display: flex; align-items: center; justify-content: space-around; padding: 0 6px;
  border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,248,252,.9));
  box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 10px 30px rgba(0,30,80,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 66px; padding: 7px 0 6px; font-size: 11px; font-weight: 600; color: #111; border-radius: 26px; }
.tabbar svg { width: 27px; height: 27px; }
.tabbar span.on { color: var(--accent); background: rgba(0,0,0,.06); width: 78px; }
.tabbar span:not(.on)[data-tab="today"] svg { color: #111; }

/* Shared controls */
.cbtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(52,132,255,.2); color: var(--accent); font-size: 19px; }
.gbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); box-shadow: 0 0 0 .5px rgba(0,0,0,.14), 0 4px 12px rgba(0,30,80,.08); color: var(--accent); font-size: 20px; }
.gbtn.tint { background: rgba(226,240,255,.95); }
.stepbtn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(226,240,255,.7); box-shadow: inset 0 0 0 1px rgba(52,132,255,.2); color: var(--accent); font-size: 13px; }
.sic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.sic.orange { background: #ffecd6; color: var(--orange); } .sic.orange svg { width: 22px; }
.sic.gray { background: #e3e6ec; color: #7d828c; }
.sic.green { background: #daf5e1; color: var(--green); font-size: 21px; }
.sic.blue { background: var(--accent-soft); color: var(--accent); } .sic.blue svg { width: 19px; }
.sic.shield { background: #fde9d4; color: #f28c28; }
.chev { color: var(--t3); }

/* ---------- Today ---------- */
.t-card { margin: 16px 11px 14px; padding: 18px 16px 12px; border-radius: 30px; background: linear-gradient(180deg, #f8fbff, #f0f5fd); box-shadow: inset 0 0 0 1px #dbe6f6, 0 10px 30px rgba(0,73,158,.08); }
.t-top { display: flex; justify-content: space-between; align-items: flex-start; }
.t-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--accent); margin-bottom: 5px; }
.t-date { display: flex; align-items: center; gap: 8px; font-size: 29px; font-weight: 700; letter-spacing: -0.025em; }
.t-cal { color: var(--accent); font-size: 17px; opacity: .9; }
.t-btns { display: flex; gap: 8px; }
.t-count { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 10px; color: var(--t2); font-size: 16px; font-weight: 600; }
.t-count b { color: var(--accent); font-size: 25px; font-weight: 700; margin-right: 3px; }
.t-count em { font-style: normal; font-size: 13.5px; }
.t-count em.set { color: var(--green); display: flex; align-items: center; gap: 5px; }
.t-count em.set::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.t-bar { height: 8px; border-radius: 8px; background: #e4e9f1; overflow: hidden; }
.t-bar i { display: block; height: 100%; border-radius: 8px; background: var(--accent); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.t-days { display: flex; align-items: center; gap: 4px; margin: 14px 0 12px; }
.t-days .chev { color: var(--accent); font-size: 17px; }
.days { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.days span { display: flex; flex-direction: column; align-items: center; padding: 6px 0 5px; border-radius: 10px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(207,214,226,.8); }
.days small { font-size: 10.5px; font-weight: 600; color: var(--t2); }
.days b { font-size: 16px; font-weight: 700; line-height: 1.2; }
.days i { width: 4px; height: 4px; border-radius: 50%; background: #c8cdd6; margin-top: 2px; }
.days i.o { background: var(--orange); }
.days .fut b { color: #6d717a; }
.days .on { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.days .on small, .days .on b { color: var(--accent); }
.t-range { display: flex; align-items: center; gap: 10px; color: var(--t2); font-size: 14.5px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid #e1e6ee; }
.t-range > span:first-child { flex: 1; }
.pk { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #ffe8cc; box-shadow: inset 0 0 0 1px rgba(255,149,0,.3); color: var(--orange); font-size: 18px; transition: transform .3s; }
.pk { position: relative; }
.pk::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,149,0,.6); opacity: 0; }
.pk.ping::after { animation: pingOut 1.4s ease-out infinite; }
@keyframes pingOut { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
.today-cap { padding: 6px 13px; border-radius: 20px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(52,132,255,.25); color: var(--accent); font-size: 14px; font-weight: 600; }
.t-stats { display: grid; grid-template-columns: 1fr 1fr; padding-top: 10px; }
.t-stats > div { display: flex; align-items: center; justify-content: center; gap: 10px; }
.t-stats .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.t-stats .ic.blue { background: var(--accent-soft); color: var(--accent); } .t-stats .ic.gray { background: #e6e8ed; color: #737883; }
.t-stats p { margin: 0; text-align: center; line-height: 1.15; }
.t-stats b { display: block; font-size: 16px; font-weight: 700; }
.t-stats small { font-size: 12px; color: var(--t2); }
.t-sec { display: flex; align-items: center; gap: 9px; margin: 12px 10px 4px; font-size: 19px; font-weight: 700; }
.t-list { overflow: hidden; }
.t-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; max-height: 70px; transition: max-height .4s ease, opacity .3s ease, transform .35s ease, padding .4s ease; }
.t-row .who { flex: 1; min-width: 0; }
.t-row .who b { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.t-row .who small { display: block; font-size: 13px; color: var(--t2); margin-top: 1px; }
.t-row.dim .who b { color: var(--t3); font-weight: 500; } .t-row.dim .who small { color: var(--t3); }
.cap { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 10px; }
.rb { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; transition: transform .15s ease, filter .15s; }
.rb.off { background: #ffe3e1; box-shadow: inset 0 0 0 1.5px rgba(255,59,48,.28); color: var(--red); }
.rb.on { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px rgba(52,132,255,.35); color: var(--accent); }
.rb.press { transform: scale(.84); filter: brightness(.95); }
.t-row.leave { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; transform: translateX(40px); }
.t-row.enter { animation: rowIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes rowIn { from { max-height: 0; opacity: 0; transform: translateY(-8px); background: rgba(52,132,255,.18); } to { max-height: 70px; opacity: 1; background: transparent; } }
.st { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.st svg { font-size: 13px; }
.st.ok { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(52,132,255,.3); }
.st.bad { background: #ffe3e1; color: #e0352b; box-shadow: inset 0 0 0 1px rgba(255,59,48,.3); }
.all-set { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 14px; animation: rowIn .5s ease; }
.all-set svg { font-size: 26px; color: var(--accent); }
.all-set b { display: block; font-size: 17px; } .all-set small { color: var(--t2); font-size: 14px; }

/* ---------- Schedule (week) ---------- */
.s-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0 18px; }
.s-head h1 { flex: 1; margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.s-sum { margin: 14px 18px 12px; font-size: 14px; font-weight: 600; color: #2b2e36; }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin: 0 16px 12px; padding: 3px; border-radius: 18px; background: #e3e7ee; font-size: 15px; font-weight: 500; text-align: center; }
.seg span { padding: 7px 0; border-radius: 15px; }
.seg .on { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); font-weight: 600; }
.w-card { margin: 0 10px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px #dde3ec; overflow: hidden; }
.w-top { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px; }
.w-title { flex: 1; text-align: center; line-height: 1.2; } .w-title b { display: block; font-size: 15px; font-weight: 700; } .w-title small { font-size: 12.5px; color: var(--t2); font-weight: 500; }
.mx { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.mx th, .mx td { height: 27px; text-align: center; border: .5px solid rgba(207,214,226,.36); padding: 0; }
.mx th:first-child, .mx td:first-child { width: 104px; text-align: left; padding-left: 10px; border-left: 0; border-right: 1px solid rgba(207,214,226,.9); }
.mx thead th { font-size: 10px; font-weight: 600; color: var(--t1); line-height: 1.05; }
.mx thead th small { display: block; font-size: 8.5px; font-weight: 700; color: var(--t2); }
.mx thead th:first-child { font-size: 10px; font-weight: 700; color: var(--t2); }
.mx tbody td:first-child { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx tfoot td { font-size: 11px; font-weight: 700; }
.mx tfoot td:first-child { font-size: 10px; color: var(--t2); }
.mx tfoot tr:first-child td { border-top: 1px solid rgba(207,214,226,.6); }
.mx .pos { color: var(--accent); } .mx .neg { color: var(--red); }
.mx i { font-style: normal; display: inline-block; }
.mx .d { width: 6px; height: 6px; border-radius: 50%; background: rgba(131,134,142,.8); vertical-align: middle; }
.mx .n { color: rgba(131,134,142,.3); font-size: 11px; }
.mx .c { font-size: 9.5px; font-weight: 700; padding: 2px 3px; border-radius: 8px; line-height: 1.1; }
.mx .c.g { color: var(--t2); background: rgba(131,134,142,.14); }
.mx .c.w { color: #e08600; background: rgba(255,149,0,.14); }
.sched.play .mx tbody i { animation: pop .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 14ms); }
@keyframes pop { from { transform: scale(.2); opacity: 0; } }
.mx .thu { transition: background .5s ease, box-shadow .5s ease; }
.sched.picking .mx .thu { background: rgba(226,240,255,.6); }
.sched.picking .mx thead .thu { color: var(--accent); } .sched.picking .mx thead .thu small { color: var(--accent); }
.mx td[data-neg] { position: relative; }
.mx td[data-neg]::after { content: ""; position: absolute; inset: 3px 2px; border-radius: 6px; background: rgba(255,59,48,.16); opacity: 0; }
.sched.picking [data-neg]::after { animation: negFade 1.2s ease-in-out infinite; }
@keyframes negFade { 50% { opacity: 1; } }
.s-daybar { position: absolute; left: 0; right: 0; bottom: 0; height: 232px; padding: 12px 10px 0; background: rgba(247,250,255,.96); box-shadow: 0 -1px 0 rgba(0,0,0,.06); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sched:not(.picking) .s-daybar { transform: translateY(40px); }
.s-dayhead { padding: 0 6px 12px; }
.s-dayhead b { display: block; font-size: 17px; font-weight: 700; }
.s-dayhead small { font-size: 12.5px; font-weight: 500; color: var(--red); }
.s-actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sa { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; border-radius: 14px; font-size: 12.5px; font-weight: 600; }
.sa svg { font-size: 18px; }
.sa.blue { background: #dcebff; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(52,132,255,.3); }
.sa.gray { background: #e6e9ee; color: #7d828c; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.sa.orange { background: #ffe8cc; color: #f08a00; box-shadow: inset 0 0 0 1px rgba(255,149,0,.3); }
.sa { position: relative; }
.sa[data-go]::after { content: ""; position: absolute; inset: -3px; border-radius: 17px; border: 2px solid rgba(52,132,255,.5); opacity: 0; }
.sched.picking [data-go]::after { animation: goOut 1.4s ease-out infinite; }
@keyframes goOut { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1, 1.2); } }
.sched .tabbar { bottom: 20px; }

/* ---------- Pickup Options (sheet) ---------- */
.pick { background: #4a4d55; }
.pick .sb { color: #fff; }
.pick .behind { position: absolute; left: 14px; right: 14px; top: 44px; height: 30px; border-radius: 30px 30px 0 0; background: #c9ccd3; }
.sheet { position: absolute; left: 0; right: 0; top: 54px; bottom: 0; border-radius: 34px 34px 0 0; background: #f2f2f7; padding: 16px 16px 0; }
.sh-top { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; margin-bottom: 18px; }
.sh-top b { font-size: 17px; font-weight: 600; }
.sh-done { position: absolute; right: 0; padding: 10px 17px; border-radius: 22px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 .5px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.06); font-size: 16px; font-weight: 600; }
.pk-sum { padding: 18px 16px 16px; border-radius: 22px; background: #fff; margin-bottom: 16px; }
.pk-sum b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.pk-sum small { font-size: 15px; font-weight: 500; color: var(--red); transition: color .4s; }
.pk-sum small.ok { color: #248a3d; }
.pk-list { border-radius: 22px; background: #fff; padding: 4px 16px; }
.pk-row { padding: 14px 0 14px; border-bottom: 1px solid #e5e5ea; }
.pk-row:last-child { border-bottom: 0; }
.pk-name { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pk-name i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 14px/26px -apple-system, system-ui; text-align: center; font-style: normal; }
.pk-name b { font-size: 18px; font-weight: 600; }
.chips { display: flex; gap: 6px; margin: -4px 0 10px 38px; }
.chip { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 12px; }
.chip.o { color: #f08a00; background: #fff0de; box-shadow: inset 0 0 0 1px rgba(255,149,0,.25); }
.chip.r { color: #e0352b; background: #ffe5e3; box-shadow: inset 0 0 0 1px rgba(255,59,48,.25); }
.chip.g { color: #6b707a; background: #eef0f4; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.note { display: block; margin: -6px 0 10px 38px; font-size: 12.5px; color: var(--t2); }
.pk-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pb { display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 19px; font-size: 15px; font-weight: 500; background: #4c8bf5; color: #fff; transition: transform .15s ease, background .4s ease; }
.pb svg { font-size: 15px; }
.pb em { font-style: normal; }
.pb.soft { background: #e3eeff; color: #3b7ff0; box-shadow: inset 0 0 0 1px rgba(52,132,255,.25); }
.pb.off { background: #f2f2f4; color: #b9bcc3; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.pb.press { transform: scale(.9); }
.pb.done-ok { background: #34c759; }
.pk-row.flash { animation: pkFlash 1.2s ease-out; }
@keyframes pkFlash { from { background: rgba(52,199,89,.14); } }

/* ---------- Team ---------- */
.tm-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 0 18px; }
.tm-head h1 { margin: 0; font-size: 36px; font-weight: 700; letter-spacing: -0.025em; }
.tm-btns { display: flex; gap: 6px; }
.tm-count { margin: 8px 18px 12px; font-size: 16px; font-weight: 600; }
.tm-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 16px 14px; }
.tm-chips span { text-align: center; padding: 7px 0; border-radius: 16px; font-size: 14px; font-weight: 500; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px #dfe3ea; }
.tm-chips .on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(52,132,255,.4); }
.tm-doc, .tm-emp { display: flex; align-items: center; gap: 12px; padding: 8px 18px; }
.tm-doc b, .tm-emp b { flex: 1; font-size: 17px; font-weight: 600; }
.tm-emp b { font-size: 19px; font-weight: 700; }
.open { color: var(--accent); font-size: 15px; }
.tm-doc { border-radius: 16px; margin: 0 6px; transition: background .5s; }
.tm-doc.hot { background: rgba(255,149,0,.12); }
.count { padding: 3px 11px; border-radius: 12px; background: #d8e6fb; color: var(--accent); font-size: 14px; font-weight: 600; }
.tm-list { background: #f8fafd; margin-top: 8px; }
.tm-row { display: flex; align-items: center; gap: 8px; padding: 11px 14px 11px 18px; border-bottom: 1px solid #e4e7ec; }
.tm-row > div:first-child { flex: 1; }
.tm-row > div:first-child > b { font-size: 19.5px; font-weight: 600; }
.tm-tags { display: flex; gap: 6px; margin-top: 6px; }
.tm-tags span { font-size: 13px; color: #7b808a; padding: 3px 10px; border-radius: 12px; background: #eef1f5; box-shadow: inset 0 0 0 1px #dfe3ea; }
.co { text-align: right; line-height: 1.15; }
.co b { display: block; font-size: 18px; font-weight: 700; }
.co small { display: block; font-size: 13px; color: #7b808a; }
.co.warn b { color: var(--orange); }
.team.play .tm-row { animation: slideIn .5s cubic-bezier(.2,.8,.2,1) both; }
.team.play .tm-row:nth-child(2) { animation-delay: .06s; } .team.play .tm-row:nth-child(3) { animation-delay: .12s; } .team.play .tm-row:nth-child(4) { animation-delay: .18s; } .team.play .tm-row:nth-child(5) { animation-delay: .24s; } .team.play .tm-row:nth-child(6) { animation-delay: .3s; } .team.play .tm-row:nth-child(7) { animation-delay: .36s; } .team.play .tm-row:nth-child(8) { animation-delay: .42s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } }
.notif { position: absolute; left: 10px; right: 10px; top: 56px; z-index: 40; display: flex; gap: 11px; padding: 12px 14px; border-radius: 24px; background: rgba(248,249,252,.97); box-shadow: 0 14px 40px rgba(0,20,60,.22), 0 0 0 .5px rgba(0,0,0,.08); transform: translateY(-140%); opacity: 0; transition: transform .6s cubic-bezier(.2,1.1,.3,1), opacity .3s; }
.notif.on { transform: none; opacity: 1; }
.n-icon { width: 38px; height: 38px; border-radius: 22.37%; flex-shrink: 0; }
.notif > div { flex: 1; font-size: 14px; line-height: 1.25; }
.n-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--t2); } .n-top b { font-weight: 500; color: var(--t2); }
.notif p { margin: 1px 0 0; }

/* ---------- Metrics ---------- */
.big-title { margin: 12px 18px 12px; font-size: 36px; font-weight: 700; letter-spacing: -0.025em; }
.m-filters { display: flex; align-items: center; gap: 8px; padding: 0 16px 12px; }
.fcap { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 18px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px #e1e5ec; font-size: 15px; font-weight: 600; }
.fcap svg { color: #6b707a; font-size: 14px; } .fcap .cd { font-size: 11px; }
.sp { flex: 1; }
.dotbtn { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 17px; }
.m-filters .gear { font-size: 26px; color: var(--accent); }
.m-chart { margin: 0 14px; padding: 12px 12px 10px; border-radius: 26px; background: var(--raised); box-shadow: inset 0 0 0 1px #dfe6f1; }
.segc { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 17px; background: #e3e7ee; font-size: 14.5px; font-weight: 500; text-align: center; margin-bottom: 6px; }
.segc span { padding: 7px 0; border-radius: 14px; } .segc .on { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.chart { width: 100% !important; height: 170px !important; display: block; overflow: visible; }
.chart .grid line { stroke: #dde3ec; stroke-width: 1; }
.chart text { font-size: 10.5px; fill: #8a8f98; font-family: -apple-system, system-ui; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.chart .pt { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.metrics.play .chart .line { animation: drawLine 1.4s cubic-bezier(.4,0,.2,1) both; }
.metrics.play .chart .area { animation: fadeUp 1s .5s ease both; }
.metrics.play .chart .pt { animation: fadeUp .4s 1.3s ease both; }
@keyframes drawLine { from { stroke-dashoffset: 1; } }
@keyframes fadeUp { from { opacity: 0; } }
.m-stats { display: flex; align-items: flex-end; gap: 18px; padding: 8px 8px 2px; border-top: 1px solid #e1e6ee; }
.m-stats small { display: block; font-size: 13.5px; color: var(--t2); }
.m-stats b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.m-stats .c { text-align: center; } .m-stats .c b { font-size: 22px; }
.m-stats .blue { color: var(--accent); } .m-stats .red { color: var(--red); }
.m-stats .hint { margin-left: auto; color: var(--t3); padding-bottom: 6px; }
.m-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 14px 12px; padding: 3px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px #e1e5ec; }
.m-seg span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; border-radius: 19px; font-size: 15px; font-weight: 600; box-shadow: inset 0 0 0 1px #e1e5ec; }
.m-seg .on { background: var(--accent); color: #fff; box-shadow: none; }
.m-sort { display: flex; align-items: center; gap: 8px; padding: 0 16px 10px; font-size: 15px; color: var(--t2); }
.m-sort > span:first-child { flex: 1; }
.sortcap { display: flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-weight: 600; } .sortcap svg { font-size: 11px; }
.arrowbtn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px #dfe3ea; color: var(--t1); font-size: 15px; }
.m-list { margin: 0 14px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #e1e6ee; }
.m-row { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px; border-bottom: 1px solid #edf0f4; }
.m-row > i { font-style: normal; font-weight: 700; font-size: 15px; width: 26px; }
.m-row .r1 { color: #f2b50c; } .m-row .r2 { color: #9aa0aa; } .m-row .r3 { color: #cd7f32; }
.m-row > div:nth-child(2) { flex: 1; } .m-row b { font-size: 17px; font-weight: 600; } .m-row small { display: block; font-size: 14px; color: var(--t2); }
.m-row .rt { text-align: right; } .m-row .rt b { color: var(--accent); font-size: 17px; } .m-row .rt b small { display: inline; color: var(--t2); font-size: 14px; font-weight: 400; }
.m-row .rt em { display: block; font-style: normal; color: var(--red); font-size: 14px; font-weight: 600; }
.metrics.play .m-row { animation: slideIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.9s + var(--i, 0) * .08s); }

/* ---------- Payroll ---------- */
.p-head { margin: 12px 14px 16px; padding: 16px 14px 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.06); }
.p-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.p-top b { flex: 1; font: 700 21px/1.1 ui-rounded, -apple-system, system-ui; }
.p-metrics { display: flex; gap: 6px; margin-bottom: 12px; }
.pm { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 10px; background: rgba(131,134,142,.1); box-shadow: inset 0 0 0 1px rgba(131,134,142,.18); white-space: nowrap; }
.pm small { font-size: 10.5px; font-weight: 600; color: var(--t2); }
.pm b { font-size: 15px; font-weight: 600; }
.pm.ok { background: rgba(52,199,89,.12); box-shadow: inset 0 0 0 1px rgba(52,199,89,.2); } .pm.ok b { color: #28a745; }
.pm.info { background: rgba(52,132,255,.12); box-shadow: inset 0 0 0 1px rgba(52,132,255,.2); } .pm.info b { color: var(--accent); }
.p-week { display: flex; align-items: center; gap: 8px; }
.p-range { flex: 1; text-align: center; padding: 7px 0; border-radius: 18px; background: var(--raised); box-shadow: inset 0 0 0 1px rgba(207,214,226,.75); font-size: 15px; font-weight: 600; }
.this-week { padding: 6px 10px; border-radius: 12px; background: rgba(52,132,255,.12); color: var(--accent); font-size: 13px; font-weight: 600; }
.p-sechead { display: flex; justify-content: space-between; padding: 0 18px 6px; font-size: 15px; font-weight: 600; color: #3a3d45; } .p-sechead small { color: var(--t2); font-size: 12px; font-weight: 600; }
.p-list { background: #fff; margin: 0 14px; border-radius: 18px; padding: 0 14px; }
.p-row { padding: 10px 0; border-bottom: 1px solid #edf0f4; }
.p-l1 { display: flex; align-items: center; gap: 8px; }
.p-l1 b { flex: 1; font-size: 17px; font-weight: 600; }
.wp { font-size: 15.5px; font-weight: 600; color: var(--accent); padding: 3px 8px; border-radius: 12px; background: rgba(226,240,255,.55); box-shadow: inset 0 0 0 1px rgba(52,132,255,.22); }
.p-l1 .chev { font-size: 12px; color: var(--t2); }
.p-row > small { display: block; font-size: 12.5px; color: #1c1f26; opacity: .9; margin-top: 3px; }
.payroll.play .p-row { animation: slideIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.2s + var(--i, 0) * .06s); }
.p-dock { position: absolute; left: 0; right: 0; bottom: 96px; display: flex; gap: 8px; padding: 10px 16px; background: rgba(247,249,252,.96); box-shadow: 0 -1px 0 rgba(0,0,0,.05); }
.dk { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 19px; font-size: 16px; font-weight: 600; transition: transform .15s ease, opacity .3s; }
.dk em { font-style: normal; }
.dk.ex { background: var(--accent); color: #fff; }
.dk.im { background: #fff; box-shadow: inset 0 0 0 1px rgba(52,132,255,.2); }
.dk.press { transform: scale(.93); }
.dk.busy { opacity: .6; }

/* ---------- Placeholder (stands in until a real screen is rebuilt) ---------- */
.ph .ph-card { margin: 0 14px 16px; padding: 18px 16px; border-radius: 22px; background: #fff; display: grid; gap: 12px; }
.ph .ph-list { margin: 0 14px; border-radius: 20px; background: #fff; padding: 4px 14px; }
.ph .ph-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eef0f4; }
.ph .ph-row > div { flex: 1; display: grid; gap: 7px; }
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #e6eaf2 0%, #f2f5fa 50%, #e6eaf2 100%); background-size: 200% 100%; }
.ph.play .sk { animation: skel 1.6s linear infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk.tall { height: 46px; border-radius: 12px; }
.sk.dot { width: 34px; height: 34px; border-radius: 50%; }
.sk.pill { width: 64px; height: 26px; border-radius: 13px; }
.w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w90 { width: 90%; }
.ph-note { position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 16px; background: rgba(52,132,255,.1); color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- Coach marks: what's happening on the phone ---------- */
.coach { position: absolute; inset: 0; z-index: 60; pointer-events: none; transition: opacity .3s ease; }
.coach.bye { opacity: 0; }
.c-ring { position: absolute; border-radius: 16px; border: 2.5px solid #3484ff; box-shadow: 0 0 0 5px rgba(52,132,255,.16), 0 0 26px rgba(52,132,255,.45); opacity: 0; transform: scale(1.18); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.coach.round .c-ring { border-radius: 50%; }
.coach.on .c-ring { opacity: 1; transform: none; }
.c-ring::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid rgba(52,132,255,.55); opacity: 0; }
.coach.on .c-ring::after { animation: ringPulse 1.5s ease-out .45s infinite; }
@keyframes ringPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14, 1.3); } }
.c-tip { position: absolute; white-space: nowrap; padding: 11px 16px 11px 14px; border-radius: 16px; background: linear-gradient(135deg, #1b2366, #0d1136); color: #fff; font: 600 17px/1.2 -apple-system, "SF Pro Text", system-ui, sans-serif; letter-spacing: -0.01em; box-shadow: 0 16px 34px rgba(0,16,60,.35), inset 0 0 0 1px rgba(143,170,255,.35); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s ease .1s, transform .45s cubic-bezier(.2,1.2,.3,1) .1s; }
.coach.above .c-tip { transform: translateY(-8px) scale(.96); }
.coach.on .c-tip { opacity: 1; transform: none; }
.c-tip span { display: flex; align-items: center; gap: 9px; }
.c-tip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #33a0ff, #7678f6); box-shadow: 0 0 8px #33a0ff; flex-shrink: 0; }
.c-tip::after { content: ""; position: absolute; left: var(--ax, 50%); width: 14px; height: 14px; margin-left: -7px; background: #141a4c; transform: rotate(45deg); }
.coach.below .c-tip::after { top: -6px; box-shadow: -1px -1px 0 rgba(143,170,255,.35); }
.coach.above .c-tip::after { bottom: -6px; box-shadow: 1px 1px 0 rgba(143,170,255,.35); }

/* ---------- Shared iOS list parts ---------- */
.grouped { background: #f2f2f7; }
.navbar { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; margin: 0 8px; }
.navbar b { font-size: 17px; font-weight: 600; }
.navbar .back { position: absolute; left: 4px; display: flex; align-items: center; gap: 3px; color: var(--accent); font-size: 17px; }
.navbar .back svg { font-size: 20px; }
.navbar .save { position: absolute; right: 8px; color: var(--accent); font-size: 17px; font-weight: 600; transition: transform .15s; }
.navbar .save.press { transform: scale(.9); }
.lg-title { margin: 2px 18px 10px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.g-head { margin: 18px 32px 7px; font-size: 13px; color: #6d6d72; letter-spacing: .01em; }
.g-foot { margin: 7px 32px 0; font-size: 13px; color: #6d6d72; line-height: 1.35; }
.g-card { margin: 0 16px; border-radius: 12px; background: #fff; overflow: hidden; }
.g-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 16px; font-size: 17px; }
.g-row + .g-row::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; height: .5px; background: #c6c6c8; }
.g-row > span:first-child { flex: 1; }
.g-row.link { color: var(--accent); }
.g-row.link svg { font-size: 22px; }
.g-row small { display: block; font-size: 13px; color: #8a8a8e; margin-top: 2px; }
.g-row.flash, .bq-row.flash { animation: rowFlash 1.4s ease-out; }
@keyframes rowFlash { from { background: rgba(52,132,255,.16); } }
.tg { position: relative; width: 51px; height: 31px; border-radius: 16px; background: #e9e9eb; flex-shrink: 0; transition: background .3s; }
.tg i { position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.tg.on { background: #34c759; } .tg.on i { transform: translateX(20px); }
.stp { display: flex; border-radius: 8px; background: #eeeef0; overflow: hidden; }
.stp i { width: 46px; height: 32px; display: grid; place-items: center; font-style: normal; font-size: 22px; color: #111; transition: background .15s; }
.stp i + i { border-left: .5px solid #c6c6c8; }
.stp i.press { background: #d9d9de; }
.nv { min-width: 30px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; transition: color .3s, transform .3s; }
.nv.bump { color: var(--accent); transform: scale(1.18); }
.menu-btn { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 15px; font-weight: 500; }
.menu-btn svg { font-size: 12px; } .menu-btn svg:first-child { font-size: 16px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #7aa6ff, #6e6af0); color: #fff; font-weight: 600; font-size: 16px; flex-shrink: 0; }
.av.lg { width: 84px; height: 84px; font-size: 30px; }
.bbtn { display: inline-flex; align-self: flex-start; padding: 7px 14px; border-radius: 16px; background: rgba(52,132,255,.13); color: var(--accent); font-size: 15px; font-weight: 600; transition: transform .15s; }
.bbtn.sm { font-size: 13px; padding: 6px 11px; }
.bbtn.press { transform: scale(.92); }

/* ---------- Bonus approvals (inside Payroll) ---------- */
.bonus .p-head { margin-bottom: 12px; }
.notice { display: flex; gap: 12px; align-items: flex-start; margin: 0 14px 12px; padding: 13px 14px; border-radius: 16px; max-height: 120px; transition: max-height .45s ease, opacity .35s ease, margin .45s ease, padding .45s ease; overflow: hidden; }
.notice.crit { background: #fdecec; box-shadow: inset 0 0 0 1px rgba(255,59,48,.25); }
.notice .n-ic { color: var(--red); font-size: 22px; margin-top: 1px; }
.notice b { display: block; font-size: 15px; } .notice small { font-size: 13px; color: #5c5f67; }
.notice.gone { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
.bq { margin: 0 14px; padding: 14px 14px 6px; border-radius: 18px; background: #fff; }
.bq-head { display: flex; align-items: center; margin-bottom: 8px; }
.bq-head > div { flex: 1; } .bq-head b { display: block; font-size: 17px; } .bq-head small { font-size: 13px; color: var(--t2); }
.bq-row { display: grid; gap: 8px; padding: 12px 0 14px; border-top: 1px solid #edf0f4; border-radius: 10px; }
.bq-top { display: flex; justify-content: space-between; gap: 10px; }
.bq-top b { display: block; font-size: 15.5px; } .bq-top small { display: block; font-size: 13px; color: var(--t2); }
.bq-amt { text-align: right; } .bq-amt .ok { color: #28a745; font-weight: 600; } .bq-amt .warn { color: #e08600; font-weight: 600; }
.bq-meta { display: grid; gap: 4px; font-size: 13px; color: var(--t2); }
.bq-meta span { display: flex; align-items: center; gap: 6px; } .bq-meta svg { font-size: 15px; }
.bonus .p-dock { bottom: 96px; }
.dk.off { opacity: .45; }

/* ---------- Staffing needs ---------- */
.needs .g-row { min-height: 44px; padding: 7px 16px; }
.needs .g-row[data-day] span:first-child { flex: 1; }
.needs .ovr > div { flex: 1; } .needs .ovr b { font-size: 16px; font-weight: 600; } .needs .ovr small { font-size: 12.5px; }

/* ---------- Activity ---------- */
.activity .navbar { justify-content: flex-start; }
.menus { display: flex; gap: 18px; margin: 0 18px 4px; }
.a-row { position: relative; display: flex; gap: 14px; padding: 12px 16px; }
.a-row + .a-row::before { content: ""; position: absolute; left: 56px; right: 0; top: 0; height: .5px; background: #c6c6c8; }
.ai { width: 26px; display: grid; place-items: start center; padding-top: 2px; font-size: 21px; font-style: normal; }
.ai.blue { color: var(--accent); } .ai.orange { color: var(--orange); } .ai.red { color: var(--red); } .ai.gray { color: #8e8e93; } .ai.green { color: #34c759; }
.a-row b { display: block; font-size: 15px; font-weight: 600; } .a-row small { display: block; font-size: 13px; color: #6d6d72; margin-top: 1px; } .a-row em { display: block; font-style: normal; font-size: 11.5px; font-weight: 500; color: #a1a1a6; margin-top: 3px; }
.activity.play .a-row { animation: slideIn .5s cubic-bezier(.2,.8,.2,1) both; }
.activity.play .g-card:nth-of-type(n) .a-row:nth-child(2) { animation-delay: .07s; } .activity.play .a-row:nth-child(3) { animation-delay: .14s; }
.a-row.fresh { animation: rowIn .6s cubic-bezier(.2,.8,.2,1) !important; }

/* ---------- App Access ---------- */
.acc-person { display: flex; align-items: center; gap: 12px; margin: 10px 16px 0; padding: 12px 14px; border-radius: 12px; background: #fff; }
.acc-person b { display: block; font-size: 17px; } .acc-person small { font-size: 13px; color: #8a8a8e; }
.access .g-head { margin-top: 16px; }
.access .g-row { min-height: 44px; padding: 6px 16px; }

/* ---------- Reliability ---------- */
.rl-profile { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 2px 0 16px; }
.rl-profile b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; } .rl-profile small { font-size: 14px; color: var(--t2); }
.rl-card { margin: 0 16px; padding: 14px 16px; border-radius: 16px; background: #fff; }
.rl-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #3a3d45; margin-bottom: 8px; }
.ri { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #dff4e8; color: #28a745; font-size: 18px; }
.rl-score { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #edf0f4; }
.gauge { width: 84px; height: 50px; } .gauge svg { width: 84px !important; height: 50px !important; }
.g-track { fill: none; stroke: #e7eaf0; stroke-width: 10; stroke-linecap: round; }
.g-fill { fill: none; stroke: #34c759; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 8; }
.reliability.play .g-fill { animation: gauge 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes gauge { from { stroke-dashoffset: 100; } }
.rl-score > div:nth-child(2) { flex: 1; } .rl-score b { font: 700 38px/1 ui-rounded, -apple-system, system-ui; color: #28a745; } .rl-score small { display: block; font-size: 14px; color: var(--t2); }
.pillx { padding: 5px 11px; border-radius: 12px; font-size: 13px; font-weight: 600; } .pillx.ok { background: #dff4e8; color: #1f8a4c; }
.rl-rows { display: grid; gap: 10px; padding-top: 12px; } .rl-rows small { display: block; font-size: 13px; color: var(--t2); } .rl-rows span { font-size: 15px; font-weight: 500; }
.rank .g-row { gap: 12px; } .rank i { width: 28px; font-style: normal; font-weight: 700; font-size: 15px; color: #8e8e93; } .rank .r1 { color: #f2b50c; } .rank .r2 { color: #9aa0aa; } .rank .r3 { color: #cd7f32; }
.rank span { flex: 1; } .rank b.ok { color: #28a745; } .rank b.warn { color: #e08600; }
.rank .me { background: #eef5ff; }

/* ---------- Coverage Tools / Copy Week ---------- */
.copyweek .sheet { background: #f2f2f7; padding: 16px 0 0; }
.copyweek .sh-top { margin: 0 16px 6px; }
.copyweek .g-head { margin-top: 14px; }
.cov .warn-ic { font-size: 22px; color: var(--orange); } .cov b { font-size: 16px; }
.tpl-row > div { flex: 1; } .tpl-row b { font-size: 16px; font-weight: 600; }
.dialog { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 30; }
.dialog.on { opacity: 1; }
.dl-card { width: 272px; border-radius: 16px; overflow: hidden; background: rgba(250,250,252,.98); text-align: center; transform: scale(1.1); transition: transform .35s cubic-bezier(.2,1.2,.3,1); }
.dialog.on .dl-card { transform: none; }
.dl-card b { display: block; padding: 18px 16px 2px; font-size: 17px; } .dl-card small { display: block; padding: 0 16px 16px; font-size: 13px; color: #3c3c43; }
.dl-btn { display: block; padding: 11px; border-top: .5px solid #c6c6c8; color: var(--accent); font-size: 17px; font-weight: 600; transition: background .15s; }
.dl-btn.cancel { font-weight: 400; } .dl-btn.press { background: #e5e5ea; }
.toastx { position: absolute; left: 50%; bottom: 40px; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 22px; background: #1c1c1e; color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; transform: translate(-50%, 30px); opacity: 0; transition: transform .45s cubic-bezier(.2,1.2,.3,1), opacity .3s; z-index: 31; }
.toastx svg { color: #34c759; font-size: 19px; } .toastx.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Worksheet import ---------- */
.wsimport .dotbtn { transition: transform .15s; } .import .dotbtn.press { transform: scale(.85); }
.imenu { position: absolute; right: 44px; top: 158px; z-index: 30; width: 250px; border-radius: 14px; background: rgba(249,249,251,.98); box-shadow: 0 18px 50px rgba(0,0,0,.2), 0 0 0 .5px rgba(0,0,0,.1); overflow: hidden; transform: scale(.4); transform-origin: 100% 0; opacity: 0; transition: transform .35s cubic-bezier(.2,1.2,.3,1), opacity .2s; }
.imenu.on { transform: none; opacity: 1; }
.im-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 17px; transition: background .15s; }
.im-row + .im-row { border-top: .5px solid #c6c6c8; } .im-row svg { font-size: 19px; } .im-row.press { background: #e5e5ea; }
.picker { position: absolute; left: 0; right: 0; bottom: 0; top: 120px; z-index: 32; border-radius: 14px 14px 0 0; background: #f2f2f7; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.9,.2,1); }
.picker.on { transform: none; }
.pk-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-size: 17px; color: var(--accent); } .pk-bar b { color: #111; } .pk-bar .dim { color: #b0b0b5; }
.pk-files { margin: 4px 16px; border-radius: 12px; background: #fff; }
.pf { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 12px 14px; transition: background .15s; }
.pf + .pf { border-top: .5px solid #c6c6c8; } .pf.press { background: #e5eeff; }
.pf .xl { grid-row: span 2; width: 40px; height: 48px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(160deg, #3cc47c, #1f8a50); }
.pf b { font-size: 15px; font-weight: 600; } .pf small { font-size: 12.5px; color: #8a8a8e; }
.wsimport .g-head { margin-top: 6px; }
.rc-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.rc-row + .rc-row { border-top: .5px solid #e1e1e6; }
.rc-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #dff4e8; color: #28a745; font-size: 17px; }
.rc-row b { display: block; font-size: 15px; } .rc-row small { font-size: 13px; color: var(--t2); }
.rc-row.fresh { animation: rowIn .6s cubic-bezier(.2,.8,.2,1); }
.m-list.slim { margin-top: 14px; }

/* ---------- Performance card queue ---------- */
.texts .sheet { background: #f2f2f7; padding: 18px 16px 0; }
.q-head { display: flex; align-items: flex-start; gap: 10px; }
.q-head > div { flex: 1; } .q-head b { display: block; font-size: 20px; font-weight: 700; } .q-head small { font-size: 13px; color: var(--t2); }
.q-count { padding: 5px 10px; border-radius: 12px; background: #e3eeff; color: var(--accent); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.q-x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e3e3e8; color: #6d6d72; font-size: 13px; }
.q-bar { height: 6px; border-radius: 6px; background: #e1e4ea; margin: 12px 0 16px; overflow: hidden; } .q-bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width .5s ease; }
.q-next { padding: 16px; border-radius: 18px; background: #fff; transition: opacity .25s, transform .25s; }
.q-next.swap { opacity: 0; transform: translateX(-20px); }
.q-kick { display: block; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.q-next > b { display: block; font-size: 22px; font-weight: 700; margin: 3px 0 2px; } .q-next > small { font-size: 13px; color: var(--t2); }
.q-pills { display: flex; gap: 8px; margin-top: 12px; }
.qp { padding: 6px 10px; border-radius: 10px; background: #f0f1f4; font-size: 13px; color: #555; } .qp b { color: #111; } .qp.info { background: #e3eeff; } .qp.info b { color: var(--accent); }
.q-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.qa { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 14px; font-size: 15.5px; font-weight: 600; transition: transform .15s; }
.qa svg { font-size: 18px; } .qa.pri { background: var(--accent); color: #fff; } .qa.ok { background: #dff4e8; color: #1f8a4c; } .qa.press { transform: scale(.94); }
.q-up-h { font-size: 13px; font-weight: 600; color: #6d6d72; margin: 0 4px 6px; text-transform: uppercase; }
.q-up { border-radius: 14px; background: #fff; }
.qu { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; }
.qu + .qu { border-top: .5px solid #e1e1e6; } .qu i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: #eef0f4; color: #6d6d72; }
.qu b { flex: 1; font-weight: 600; } .qu span { font-size: 13px; color: var(--t2); }
.pcard { position: absolute; left: 30px; right: 30px; top: 150px; z-index: 30; padding: 20px; border-radius: 22px; background: linear-gradient(160deg, #1d2a6a, #101542); color: #fff; box-shadow: 0 30px 60px rgba(0,10,40,.45); transform: scale(.85) translateY(30px); opacity: 0; transition: transform .45s cubic-bezier(.2,1.2,.3,1), opacity .3s; }
.pcard.on { transform: none; opacity: 1; }
.pc-top { display: flex; align-items: center; gap: 10px; } .pc-top img { width: 36px; height: 36px; border-radius: 22.37%; } .pc-top b { display: block; font-size: 17px; } .pc-top small { font-size: 12.5px; color: #aab3de; }
.pc-big { margin: 18px 0 12px; } .pc-big b { font: 700 54px/1 ui-rounded, -apple-system, system-ui; color: #7fd3a0; } .pc-big small { display: block; color: #aab3de; font-size: 14px; }
.pc-row { display: flex; gap: 10px; } .pc-row span { flex: 1; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 12px; color: #aab3de; } .pc-row b { display: block; font-size: 20px; color: #fff; }
.pc-note { margin-top: 14px; font-size: 14px; color: #dfe4ff; }
.msgsheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; padding: 16px 16px 40px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -12px 40px rgba(0,0,0,.18); transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.9,.2,1); }
.msgsheet.on { transform: none; }
.ms-to { font-size: 15px; color: #8a8a8e; padding-bottom: 12px; border-bottom: .5px solid #d1d1d6; } .ms-to b { color: #111; font-weight: 500; }
.ms-bubble { margin: 18px 50px 0 auto; width: fit-content; max-width: 260px; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #0a84ff; color: #fff; font-size: 15px; }
.ms-img { display: block; width: 180px; height: 110px; margin-bottom: 8px; border-radius: 12px; background: linear-gradient(160deg, #1d2a6a, #101542); }
.ms-send { position: absolute; right: 16px; bottom: 46px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0a84ff; color: #fff; font-weight: 700; }
