/* ROLLCALL-STYLES-VERSION: v100-pill-compaction-2026-09-10 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #f1f5f9;
  min-height: 100vh;
}
:root {
  --navy:#0f172a;
  --navy-light:#1e293b;
  --blue:#0f62fe;
  --blue-light:#3b82f6;
  --accent:#22c55e;
  --accent-light:#4ade80;
  --surface:#f8fafc;
  --border:#e2e8f0;
  --text:#0f172a;
  --text-muted:#475569;
  --text-light:#64748b;
  --green:#198038;
  --amber:#ba4e00;
  --red:#da1e28;
  --red-light:#fff1f1;
  --shadow:none;
  --shadow-lg:0 4px 16px rgba(15,23,42,0.10);
  --app-header-h:95px;
}
input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 15px;
}
:root input,
:root textarea,
:root select {
  font-size: 16px;
}
button,
.popup-overlay {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
.btn:active,
.na-row:active,
.home-row:active,
.link-row:active,
.scan-item:active,
.nav-item:active,
.copy-ic:active {
  transform: translateY(1px);
}
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.header {
  background:
    linear-gradient(
      135deg,
      #0f1e38,
      #1a3358);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.header-top {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.header-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.header-sub {
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-identity {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-icon {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}
.header-actions .btn-icon {
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 5px;
}
.header-nav {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-item {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  padding: 10px 4px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.nav-item-active {
  color: #fff;
  font-weight: 500;
  border-bottom-color: var(--accent);
}
.main {
  flex: 1;
  padding: 20px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card-sm {
  padding: 16px;
}
.card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.card-sub:last-child {
  margin-bottom: 0;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: -4px 0 14px;
  line-height: 1.45;
}
.summary-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.grade-group {
  margin-top: 14px;
}
.grade-group:first-of-type {
  margin-top: 18px;
}
.grade-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.summary-row {
  font-size: 15px;
  color: var(--text);
  padding: 8px 2px;
  border-bottom: 1px solid var(--surface);
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-row:last-child {
  border-bottom: none;
}
.summary-actions {
  display: flex;
  gap: 10px;
}
.summary-actions .btn {
  flex: 1;
}
.group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 0 2px;
  padding: 9px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #334155;
  text-align: left;
}
.group-toggle ~ .group-toggle {
  margin-top: 14px;
}
.group-toggle-caret {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.group-toggle-count {
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0;
}
.members-card {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  margin-top: -16px;
}
.members-stick {
  position: sticky;
  top: var(--app-header-h);
  z-index: 5;
  background: #f1f5f9;
  padding-top: 16px;
}
.members-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 24px 24px 8px;
  box-shadow: none;
  transition: box-shadow .15s ease;
}
.mstuck .members-panel {
  box-shadow: 0 8px 12px -10px rgba(15, 23, 42, 0.12);
}
.members-list {
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 0 24px 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group:last-child {
  margin-bottom: 0;
}
.label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border 0.15s;
  outline: none;
}
.input:focus {
  border-color: var(--blue);
}
.input::placeholder {
  color: var(--text-light);
}
.input.error {
  border-color: var(--red);
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea.input {
  resize: vertical;
  line-height: 1.5;
}
.err-msg {
  color: var(--red);
  font-size: 13px;
  margin-bottom: 12px;
}
.btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-light);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: #16a34a;
}
.btn .arr {
  display: inline-block;
  transform: translateY(-1px);
}
.btn-danger {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #fca5a5;
}
.btn-danger:hover {
  background: #fee2e2;
}
.btn-full {
  width: 100%;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 9px;
}
.badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.badge-green {
  background: #defbe6;
  color: var(--green);
}
.badge-amber {
  background: #fff8e8;
  color: var(--amber);
}
.badge-red {
  background: var(--red-light);
  color: var(--red);
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      #0f1e38,
      #1a3358);
  padding: 24px;
}
.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo-img {
  width: 100%;
  height: auto;
  display: block;
}
.login-logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}
.login-logo-platform {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.popup-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow-lg);
}
.popup-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.popup-body {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.popup-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.intro-confirm-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.intro-confirm-head .icn {
  width: 22px;
  height: 22px;
}
.intro-confirm-alert {
  color: var(--red);
  flex-shrink: 0;
}
.intro-confirm-prog {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  flex-shrink: 0;
}
.intro-confirm-actions {
  display: flex;
  gap: 10px;
}
.btn-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  border: 1.5px solid;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  font-family: inherit;
}
.btn-ic .icn {
  width: 17px;
  height: 17px;
}
.btn-ic-yes {
  background: #defbe6;
  border-color: var(--green);
  color: var(--green);
}
.btn-ic-no {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.intro-dna-x {
  color: var(--red);
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  margin-right: 5px;
}
.centre-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}
.toast-err {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  z-index: 999;
}
.toast-info {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 999;
}
.home-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.home-row:last-child {
  margin-bottom: 0;
}
.home-row:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.home-row-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.home-row-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.home-row-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
  white-space: nowrap;
}
.nudge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chart-wrap {
  height: 200px;
  position: relative;
  margin-top: 8px;
}
.att-head {
  display: flex;
  gap: 12px;
}
.att-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}
.att-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.att-fieldset:disabled {
  opacity: 0.75;
}
.notice-banner {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.notice-banner.amber {
  background: #fff8e8;
  border-color: #fcd34d;
  color: var(--amber);
}
.notice-banner.blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.meta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-line {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
}
.meta-line .meta-ic {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-right: 8px;
  color: var(--text-light);
}
.meta-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meta-line .meta-who {
  flex: 0 1 auto;
  min-width: 0;
}
.meta-line .meta-when {
  flex: 0 0 auto;
  white-space: pre;
  overflow: visible;
}
.meta-line-head {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.meta-line-head .meta-ic {
  color: var(--text-muted);
}
.toggle-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.toggle-btn {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  color: var(--text-muted);
  font-family: inherit;
}
.toggle-btn.active-blue {
  background: #eff6ff;
  border-color: var(--blue);
  color: var(--blue);
}
.toggle-btn.active-red {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.toggle-btn.active-green {
  background: #defbe6;
  border-color: var(--green);
  color: var(--green);
}
.toggle-btn:disabled {
  opacity: .45;
  cursor: default;
}
.intro-out-row {
  padding: 12px 0;
}
.intro-out-row + .intro-out-row {
  border-top: 1px solid var(--border);
}
.intro-out-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.intro-out-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.intro-out-toggle {
  margin-top: 10px;
}
.intro-out-scan {
  margin-top: 8px;
}
.io-row {
  padding: 12px 0;
}
.io-row + .io-row {
  border-top: 1px solid var(--border);
}
.io-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.io-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
}
.io-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}
.io-actions {
  margin-top: 10px;
}
.io-scan {
  margin-top: 8px;
}
.io-clear {
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.io-by {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 2px;
}
.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.chip-on {
  background: #eff6ff;
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}
.chip-locked {
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chip-locked .icn {
  width: 13px;
  height: 13px;
}
.count-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #eff6ff;
  border-radius: 999px;
  padding: 1px 9px;
  margin-left: 4px;
}
.search-res {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: #fff;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.search-row:last-child {
  border-bottom: none;
}
.search-row:hover {
  background: var(--surface);
}
.search-loc {
  font-size: 12px;
  color: var(--text-light);
}
.stu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 15px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
}
.stu-row:last-child {
  border-bottom: none;
}
.stu-present {
  background: #f0fdf4;
}
.stu-teaching {
  opacity: .5;
  cursor: default;
}
.stu-teach-tag {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1px 8px;
  white-space: nowrap;
}
.stu-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-top: 1px;
}
.stu-present .stu-check {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.stu-main {
  flex: 1;
  min-width: 0;
}
.stu-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.stu-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: #eff6ff;
  border-radius: 6px;
  padding: 1px 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.stu-grade {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.waiver-card .btn {
  margin-top: 12px;
}
.waiver-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  margin: 12px 0;
  display: block;
  max-height: 60vh;
  object-fit: cover;
}
.waiver-preview {
  width: 100%;
  border-radius: 12px;
  margin: 12px 0;
  display: block;
  border: 1px solid var(--border);
}
.selected-student {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.link-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.contact-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.contact-val a {
  color: var(--blue);
  text-decoration: none;
}
.tools-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, transform .1s;
}
.tool-row:hover {
  border-color: var(--accent);
}
.tool-row:active {
  transform: translateY(1px);
}
.tool-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tile-icon svg {
  width: 22px;
  height: 22px;
}
.tool-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tool-titles {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.tool-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}
.tool-badge {
  flex-shrink: 0;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 20px;
}
.admin-tab-bar {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  gap: 4px;
}
.admin-tab {
  flex: 1;
  padding: 9px 6px;
  border: none;
  background: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.admin-tab.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.page-pills {
  margin-left: auto;
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.att-log-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--surface);
}
.att-log-row:last-child {
  border-bottom: none;
}
.log-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.log-name.done {
  color: var(--text-light);
  font-weight: 400;
}
.log-pills {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.copy-ic {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.copy-ic .icn {
  width: 15px;
  height: 15px;
}
.copy-ic.done {
  background: #defbe6;
  border-color: #a7f3d0;
  color: var(--green);
}
.log-slab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.log-copied {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0;
  flex-shrink: 0;
}
.linklike {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.issue-row {
  padding: 8px 2px;
  border-bottom: 1px solid var(--surface);
}
.issue-row:last-child {
  border-bottom: none;
}
.issue-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.issue-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.link-row-t {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.link-row-ic {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.pill.p-purple {
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.pill-link {
  text-decoration: none;
  cursor: pointer;
}
.pill-link .icn {
  width: 11px;
  height: 11px;
}
.btn-caption {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 6px;
}
a.btn {
  text-decoration: none;
}
.btn-site .icn {
  width: 17px;
  height: 17px;
  color: var(--text-light);
}
.log-notes {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: pre-wrap;
}
.link-btn.danger {
  color: var(--red);
}
.act-entry {
  position: relative;
  isolation: isolate;
  margin-top: 5px;
  padding: 9px 2px 9px 10px;
  border-bottom: 1px solid var(--surface);
  border-left: 3px solid var(--border);
}
.act-entry:last-of-type {
  border-bottom: none;
}
.act-title {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.act-title > span:first-child {
  flex: 1;
  min-width: 0;
}
.act-pills {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.act-pills .pill {
  font-size: 10px;
  padding: 2px 7px;
}
.act-detail {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 1px;
  line-height: 1.4;
}
.act-by {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 2px;
}
.act-extra {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.act-extra.x-red {
  color: var(--red);
}
.act-extra.x-green {
  color: var(--green);
}
.act-extra.x-grey {
  color: var(--text-light);
  font-weight: 400;
}
.act-intro {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.45;
}
.act-entry-link {
  cursor: pointer;
}
.act-entry-link:hover {
  background: var(--surface);
}
.act-caret {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #cbd5e1;
  z-index: -1;
}
.code-area {
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
  white-space: pre;
}
.config-save-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.config-status {
  font-size: 13px;
  color: var(--text-muted);
}
.instr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.instr-row:first-of-type {
  padding-top: 4px;
  border-top: none;
}
.instr-f {
  height: 32px;
  font-size: 13px;
  padding: 0 9px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  outline: none;
}
.instr-f:focus {
  border-color: var(--blue);
}
.instr-f:disabled {
  cursor: default;
  background: var(--surface);
  color: var(--text-muted);
}
.if-name {
  flex: 1 1 120px;
  min-width: 100px;
}
.loc-dd {
  position: relative;
  flex: 1 1 128px;
  min-width: 112px;
}
.loc-dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  cursor: pointer;
  text-align: left;
}
.loc-dd-btn:disabled {
  cursor: default;
}
.loc-dd-lbl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loc-dd-car {
  width: 14px;
  height: 14px;
  stroke: var(--text-light);
}
.loc-dd-pop {
  position: absolute;
  top: 36px;
  left: 0;
  z-index: 30;
  min-width: 160px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
}
.loc-dd-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  padding: 5px 4px;
  cursor: pointer;
}
.loc-dd-opt input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
}
.instr-x {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.instr-x:hover {
  border-color: #fca5a5;
  color: var(--red);
}
.instr-x .icn {
  width: 15px;
  height: 15px;
}
.instr-filter {
  margin: 0 0 12px;
}
.instr-filter select {
  height: 34px;
  font-size: 13px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  outline: none;
  width: 100%;
  max-width: 220px;
}
.instr-filter select:focus {
  border-color: var(--blue);
}
.instr-lrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.instr-lrow + .instr-lrow {
  border-top: 1px solid var(--border);
}
.instr-lmain {
  flex: 1 1 auto;
  min-width: 0;
}
.instr-lname {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.instr-lsub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.instr-lseen {
  margin-top: 1px;
  font-size: 11.5px;
}
.instr-unnamed {
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
}
.instr-chip {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  padding: 0 8px;
  border-radius: 999px;
}
.instr-chip-role {
  background: var(--surface);
  color: var(--text-muted);
  text-transform: capitalize;
}
.instr-chip-off {
  background: var(--red-light);
  color: var(--red);
}
.instr-inactive .instr-lname,
.instr-inactive .instr-lsub {
  color: var(--text-light);
}
.instr-inactive .instr-chip-role {
  opacity: .6;
}
.instr-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.instr-ic {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.instr-ic:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.instr-ic .icn {
  width: 16px;
  height: 16px;
}
.instr-ic-del:hover {
  border-color: #fca5a5;
  color: var(--red);
}
.instr-ic-on {
  color: var(--green);
  border-color: #bbf7d0;
}
.instr-ic-on:hover {
  border-color: var(--green);
  color: var(--green);
}
.instr-ic-lock {
  cursor: default;
  border-style: dashed;
}
.instr-ic-lock:hover {
  border-color: var(--border);
  color: var(--text-light);
}
.instr-modal {
  max-width: 420px;
  text-align: left;
}
.instr-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 2px 0 14px;
}
.instr-fld {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.instr-fld-l {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.instr-form .instr-f {
  height: 36px;
  width: 100%;
}
.instr-form .loc-dd {
  width: 100%;
  flex: none;
  min-width: 0;
}
.app-footer {
  text-align: center;
  padding: 12px 16px;
  font-size: 11px;
  color: var(--text-light);
  transition: opacity 0.15s;
}
.keyboard-open .app-footer {
  display: none;
}
@media (max-width:480px) {
  .main {
    padding: 12px;
  }
  .card {
    padding: 16px;
  }
  .members-card {
    padding: 0;
  }
  .members-panel {
    padding: 16px 16px 8px;
  }
  .members-list {
    padding: 0 16px 16px;
  }
}
.icn {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.hero {
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  margin-bottom: 16px;
}
.hero-blue {
  background:
    linear-gradient(
      135deg,
      #0f62fe,
      #3b82f6);
}
.hero-green {
  background:
    linear-gradient(
      135deg,
      #15803d,
      #22c55e);
}
.hero-grey {
  background:
    linear-gradient(
      135deg,
      #475569,
      #64748b);
}
.hero-k {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  opacity: .9;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-loc {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 4px;
}
.hero-dt {
  font-size: 14px;
  opacity: .95;
  margin-bottom: 8px;
}
.hero-tag {
  font-size: 13px;
  font-weight: 600;
  opacity: .97;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.hero-tag .icn {
  width: 16px;
  height: 16px;
}
.hero-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
}
.hero-blue .hero-btn {
  color: var(--blue);
}
.hero-green .hero-btn {
  color: #15803d;
}
.hero-grey .hero-btn {
  color: var(--text);
}
.hero-btn:disabled {
  opacity: .5;
  cursor: default;
}
.intro-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff7f7;
  border: 1px solid #fca5a5;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color .15s, transform .1s;
}
.intro-alert:hover {
  border-color: var(--red);
}
.intro-alert:active {
  transform: translateY(1px);
}
.intro-alert:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.intro-alert-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--red-light);
  color: var(--red);
}
.intro-alert-ic .icn {
  width: 22px;
  height: 22px;
}
.intro-alert-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.intro-alert-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.intro-alert-sub {
  font-size: 12px;
  color: #b3261e;
  line-height: 1.35;
}
.intro-alert-badge {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 9px;
  border-radius: 20px;
}
.intro-alert-chev {
  color: #e0a3a3;
  display: flex;
  flex-shrink: 0;
}
.intro-alert-chev .icn {
  width: 18px;
  height: 18px;
}
.na-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.na-chip {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.na-chip .icn {
  width: 18px;
  height: 18px;
}
.na-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.na-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.na-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--surface);
  padding: 13px 2px;
  cursor: pointer;
  font-family: inherit;
}
.na-row:last-child {
  border-bottom: none;
}
.na-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.na-badge.b-amber {
  background: #fff8e8;
  color: var(--amber);
}
.na-badge.b-red {
  background: var(--red-light);
  color: var(--red);
}
.na-badge.b-green {
  background: #defbe6;
  color: var(--green);
}
.na-t {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.na-car {
  color: var(--text-light);
  display: inline-flex;
}
.ga-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.ga-chip.ga-m {
  background: #378ADD;
  color: #fff;
}
.ga-chip.ga-f {
  background: #D4537E;
  color: #fff;
}
.ga-chip.ga-x {
  background: #7F77DD;
  color: #fff;
}
.ga-chip.ga-u {
  background: #888780;
  color: #fff;
}
.na-chip.na-chip-intro {
  background: #eff6ff;
  color: var(--blue);
}
.intro-row {
  padding: 11px 2px;
  border-bottom: 1px solid var(--surface);
}
.intro-row:last-child {
  border-bottom: none;
}
.intro-l1 {
  display: flex;
  align-items: center;
}
.intro-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.intro-meta {
  font-size: 12px;
  color: var(--text-light);
  margin: 3px 0 4px;
}
.intro-goal {
  font-size: 14px;
  color: var(--text);
  font-style: italic;
}
.intro-goal-none {
  color: var(--text-light);
}
.na-chip.na-chip-mc {
  background: #f1f5f9;
  color: #475569;
}
.mc-tint {
  border-radius: 12px;
  padding: 4px 12px 6px;
  margin-top: 10px;
}
.mc-tint-new {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
}
.mc-tint-leave {
  background: #fff8f0;
  border: 1px solid #fde8cd;
}
.mc-tint .elig-row {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}
.mc-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.mc-sub-left {
  color: var(--red);
}
.mc-seclabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 8px 0 1px;
}
.mc-tint-new .mc-seclabel {
  color: var(--green);
}
.mc-tint-leave .mc-seclabel {
  color: var(--amber);
}
.mc-loc,
.trend-loc {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mc-loc .icn,
.trend-loc .icn {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}
.mc-loc-name,
.trend-loc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.na-chip.na-chip-trend {
  background: #eff6ff;
  color: var(--blue);
}
.trend-body {
  padding: 6px 0 2px;
}
.trend-body .chart-wrap {
  margin-top: 0;
}
.na-chip.na-chip-member {
  background: #defbe6;
  color: var(--green);
}
.install-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}
.ih-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f1e38;
}
.ih-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ih-body {
  flex: 1;
  min-width: 0;
}
.ih-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.ih-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.ih-sub b {
  font-weight: 600;
  color: var(--text);
}
.ih-install {
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 9px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.ih-install:hover {
  background: var(--blue-light);
}
.ih-x {
  border: none;
  background: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  display: flex;
}
.ih-x .icn {
  width: 18px;
  height: 18px;
}
.bn-panel {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px 13px;
  margin-bottom: 16px;
  transition: border-color .15s, transform .1s;
}
.bn-panel:hover {
  border-color: #bfdbfe;
}
.bn-panel:active {
  transform: translateY(1px);
}
.bn-panel:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.bn-ptop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bn-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bn-t {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bn-foot {
  font-size: 12px;
  color: var(--text-light);
}
.bn-ext {
  color: var(--text-light);
  display: inline-flex;
  flex-shrink: 0;
}
.bn-ext .icn {
  width: 16px;
  height: 16px;
}
.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.back {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.back:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.page-head-tt {
  min-width: 0;
}
.page-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}
.page-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.srch {
  position: relative;
}
.srch-icn {
  position: absolute;
  left: 12px;
  top: 13px;
  stroke: var(--text-light);
  z-index: 1;
}
.srch-input {
  padding-left: 38px;
}
.att-sticky {
  position: sticky;
  bottom: 0;
  margin: 0 -20px;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}
.att-sticky-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.att-counts {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
.att-review {
  flex: 0 0 auto;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
}
.att-review:hover {
  background: #16a34a;
}
.att-review-edit {
  background: var(--red);
}
.att-review-edit:hover {
  background: #b91c1c;
}
.att-scan {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.att-scan:hover {
  border-color: var(--accent);
}
.att-scan:active {
  transform: translateY(1px);
}
.att-scan .icn {
  width: 20px;
  height: 20px;
}
.spill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 5px;
  line-height: 1;
}
.spill.sp-teach {
  background: #eff6ff;
  color: var(--blue);
}
.spill.sp-train {
  background: #defbe6;
  color: var(--green);
}
.keyboard-open .att-sticky {
  display: none;
}
.v-att .app-footer {
  display: none;
}
.v-att .main {
  padding-bottom: 0;
}
.keyboard-open .att-pad {
  padding-bottom: 16px;
}
@media (max-width:480px) {
  .att-sticky-inner {
    padding: 10px 12px;
  }
  .att-sticky {
    margin: 0 -12px;
  }
}
.hero-div {
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  margin: 14px 0 12px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}
.hero-mi {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.hero-mi .icn {
  width: 17px;
  height: 17px;
  opacity: .92;
}
.hero-instr {
  font-size: 13px;
  opacity: .95;
  margin-top: 10px;
}
.hero-green .hero-meta,
.hero-green .hero-instr {
  color: #fff;
}
.stu-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.stu-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.stu-del .icn {
  width: 16px;
  height: 16px;
}
.stu-del:hover {
  background: var(--red-light);
}
.grade-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 9px;
  white-space: nowrap;
}
.g-mark {
  flex-shrink: 0;
  display: block;
}
.pnew {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  padding: 1px 7px;
}
.branch-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.branch-head:not(:first-child) {
  margin-top: 16px;
}
.loc-card {
  padding: 0;
  overflow: hidden;
}
.loc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.loc-head-l {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.loc-pin {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}
.loc-head-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-head-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: #eff6ff;
  border-radius: 999px;
  padding: 1px 9px;
  flex-shrink: 0;
}
.loc-body {
  padding: 2px 14px;
}
.elig-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--surface);
}
.elig-row:last-child {
  border-bottom: none;
}
.elig-main {
  min-width: 0;
}
.elig-line1 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.elig-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.elig-stat {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.elig-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.elig-alert {
  width: 16px;
  height: 16px;
  color: var(--red);
}
.num-g {
  color: var(--green);
  font-weight: 700;
}
.num-r {
  color: var(--red);
  font-weight: 700;
}
.num-n {
  color: var(--text);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  padding: 3px 9px;
  flex-shrink: 0;
}
.pill .icn {
  width: 13px;
  height: 13px;
}
.pill.p-red {
  color: var(--red);
  background: var(--red-light);
  border: 1px solid #fca5a5;
}
.pill.p-green {
  color: var(--green);
  background: #defbe6;
  border: 1px solid #a7f3d0;
}
.att-sticky-2 {
  gap: 10px;
}
.att-sticky-2 .btn {
  flex: 1;
}
.btn-edit {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #fca5a5;
}
.btn-edit:hover {
  background: #fee2e2;
}
.btn-edit:disabled {
  opacity: .5;
  cursor: default;
}
.waiver-stage {
  position: relative;
  margin: 12px 0;
}
.waiver-stage .waiver-video {
  margin: 0;
}
.waiver-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(17, 23, 42, .85);
  color: #fff;
  border-radius: 9px;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}
.toggle-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.notice-banner.red {
  background: var(--red-light);
  border-color: #fca5a5;
  color: #991b1b;
}
.notice-banner .icn {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
}
.nb-head {
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}
.sent-tick {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #defbe6;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 8px;
}
.sent-tick .icn {
  width: 26px;
  height: 26px;
}
.sent-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.sent-doc {
  text-align: center;
  font-size: 14px;
  color: var(--text);
}
.sent-meta {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin: 2px 0 10px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stepper-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.stepper-btn:disabled {
  opacity: .4;
  cursor: default;
}
.stepper-val {
  min-width: 34px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}
.stepper-hint {
  font-size: 11.5px;
  color: var(--text-light);
}
.scan-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--surface);
}
.scan-row:last-child {
  border-bottom: none;
}
.scan-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.scan-row-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.pill.p-grey {
  color: var(--text-light);
  background: var(--surface);
  border: 1px solid var(--border);
}
.if-count {
  width: 58px;
  flex: 0 0 auto;
}
.doc-count-lbl {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
}
.scan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--surface);
  padding: 12px 2px;
  cursor: pointer;
  font-family: inherit;
}
.scan-item:last-child {
  border-bottom: none;
}
.scan-item-main {
  min-width: 0;
}
.page-missing {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin: 12px 0;
}
.scan-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.scan-title-row .pill {
  margin-top: 2px;
}
.meta-line-red {
  color: var(--red);
  font-weight: 600;
}
.meta-line-red .meta-ic {
  color: var(--red);
}
.mi-green {
  color: var(--green) !important;
}
.mi-red {
  color: var(--red) !important;
}
.btn-danger-solid {
  background: var(--red);
  color: #fff;
}
.btn-danger-solid:hover {
  background: #b91c1c;
}
.admin-del-zone {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 12px;
}
.scan-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.scan-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.scan-pills-right {
  justify-content: flex-end;
  margin-top: 2px;
  max-width: 45%;
}
.att-alert {
  display: inline-flex;
  align-items: center;
  color: var(--red);
}
.att-alert.amber {
  color: var(--amber);
}
.att-alert .icn {
  width: 16px;
  height: 16px;
}
.pill.p-amber {
  color: var(--amber);
  background: #fff8e8;
  border: 1px solid #fcd34d;
}
.pill.p-blue {
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #93c5fd;
}
.completed-banner {
  margin-bottom: 0;
  font-weight: 600;
}
.completed-banner .icn {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 10px;
}
.pager-info {
  font-size: 12px;
  color: var(--text-light);
}
