/* TimeInOut — design system. --brand / --accent are overridden per subscriber. */
:root {
  --brand: #6C5CE7;
  --accent: #00B894;
  --bg: #F4F5FB;
  --card: #FFFFFF;
  --ink: #1F2340;
  --muted: #6B7090;
  --line: #E6E8F2;
  --soft: #F0F1F8;
  --student-a: #6C5CE7; --student-b: #A66CFF;
  --teacher-a: #00B894; --teacher-b: #00CEC9;
  --material-a: #FF7A59; --material-b: #FDB44B;
  --in: #00B894; --out: #0984E3; --pickup: #E17055; --danger: #E5484D;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(31,35,64,.06), 0 8px 24px rgba(31,35,64,.06);
  --shadow-lg: 0 12px 40px rgba(31,35,64,.14);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.ic { flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; background: var(--soft); color: var(--ink); transition: transform .08s, box-shadow .15s, background .15s; text-decoration: none !important; }
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-danger { background: #FDECEC; color: var(--danger); }
.btn-sm { padding: 6px 12px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--danger); font: inherit; cursor: pointer; }

/* Cards & forms */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h2, .card h3 { display: flex; align-items: center; gap: 8px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .82rem; color: var(--danger); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=search], input[type=number], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
input[type=color] { width: 56px; height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { margin: 0; flex: 1 1 140px; }

/* Flash messages */
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.flash.success { background: #E6F9F3; color: #037a5c; }
.flash.error { background: #FDECEC; color: #B4232A; }
.flash.info { background: #EAF2FF; color: #1F5FBF; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 -6px; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FAFAFE; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }

/* Badges, chips, avatars */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge.in { background: #E6F9F3; color: #037a5c; }
.badge.out { background: #E7F2FD; color: #0767B5; }
.badge.pickup { background: #FDEFEA; color: #B8492C; }
.badge.student { background: #EFECFE; color: #5443C9; }
.badge.teacher { background: #E1FAF6; color: #00806B; }
.badge.gray { background: var(--soft); color: var(--muted); }
.badge.warn { background: #FFF4DB; color: #8A5B00; }
.chip { display: inline-block; padding: 3px 10px; margin: 2px 4px 2px 0; border-radius: 999px; background: var(--soft); font-size: .8rem; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--student-a), var(--student-b)); flex-shrink: 0; }
.avatar.teacher { background: linear-gradient(135deg, var(--teacher-a), var(--teacher-b)); }
.avatar.material { background: linear-gradient(135deg, var(--material-a), var(--material-b)); }
.person { display: flex; gap: 10px; align-items: center; }

/* KPI tiles */
.tile { border-radius: var(--radius); padding: 18px 20px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.tile .num { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.tile .lbl { font-size: .85rem; opacity: .92; }
.tile .ic { position: absolute; right: 14px; top: 14px; opacity: .35; }
.tile.t1 { background: linear-gradient(135deg, var(--student-a), var(--student-b)); }
.tile.t2 { background: linear-gradient(135deg, #0984E3, #3EB4FF); }
.tile.t3 { background: linear-gradient(135deg, var(--teacher-a), var(--teacher-b)); }
.tile.t4 { background: linear-gradient(135deg, var(--material-a), var(--material-b)); }

/* Bar chart (pure CSS) */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.bars .bar span.v { font-size: .7rem; color: var(--muted); }
.bars .bar i { display: block; width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #fff)); min-height: 3px; }
.bars .bar b { font-size: .68rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

/* ---------- Admin layout ---------- */
.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: linear-gradient(90deg, #1B1E3C 250px, var(--bg) 250px); }
.sidebar { background: #1B1E3C; color: #C9CBE6; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 20px; color: #fff; font-weight: 800; font-size: 1.05rem; }
.sidebar .brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 800; }
.sidebar nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 11px; color: #C9CBE6; font-weight: 500; margin-bottom: 2px; text-decoration: none; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar nav a.active { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.sidebar .nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .5; padding: 14px 12px 6px; }
.sidebar .foot { margin-top: auto; padding: 14px 8px 0; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar .foot a { color: #fff; }
.main { padding: 26px 32px 60px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.topbar h1 { margin: 0; }
.banner { background: linear-gradient(90deg, #FFF4DB, #FFE9D6); color: #7A4B00; padding: 10px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .9rem; }

@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; background: var(--bg); }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: 6px; padding: 10px 12px; overflow-x: auto; }
  .sidebar .brand { padding: 0 8px 0 0; } .sidebar .brand span { display: none; }
  .sidebar nav { display: flex; gap: 4px; } .sidebar nav a { white-space: nowrap; padding: 8px 10px; }
  .sidebar nav a .t { display: none; } .sidebar .nav-label, .sidebar .foot { display: none; }
  .main { padding: 18px 16px 50px; }
}

/* ---------- Auth (login) ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--brand) 35%, transparent), transparent),
              radial-gradient(900px 500px at 110% 110%, color-mix(in srgb, var(--accent) 30%, transparent), transparent), var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .logo { text-align: center; margin-bottom: 18px; }
.auth-card .logo img { max-height: 64px; max-width: 200px; }

/* ---------- Platform (marketing) ---------- */
.pnav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 12px; }
.pnav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hero { padding: 50px 0 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #E84393 60%, var(--material-a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-art { background: linear-gradient(135deg, #6C5CE7, #A66CFF 45%, #FF7A59); border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); }
.hero-art .screen { background: #fff; border-radius: 18px; padding: 18px; }
.mini-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mini-roles div { border-radius: 14px; color: #fff; padding: 16px 10px; text-align: center; font-weight: 700; font-size: .85rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 30px 0 60px; }
.feature .fi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 70px; }
.price-card .price { font-size: 2rem; font-weight: 800; margin: 6px 0; }
.price-card.featured { outline: 3px solid var(--brand); }
.section-title { text-align: center; margin: 20px 0 6px; font-size: 1.8rem; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 26px; }
.footer { text-align: center; padding: 30px; color: var(--muted); font-size: .85rem; }
.slug-input { display: flex; align-items: stretch; }
.slug-input input { border-radius: 12px 0 0 12px; }
.slug-input span { display: flex; align-items: center; padding: 0 12px; background: var(--soft); border: 1.5px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; color: var(--muted); white-space: nowrap; font-size: .9rem; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 20px; } }

/* ---------- Kiosk ---------- */
.kiosk-body { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 10%, #fff), var(--bg) 40%); min-height: 100vh; }
.k-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 28px; flex-wrap: wrap; }
.k-org { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; }
.k-org img { height: 48px; max-width: 160px; object-fit: contain; }
.k-clock { text-align: right; }
.k-clock .time { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.k-clock .date { color: var(--muted); font-size: .9rem; }
.k-main { max-width: 1000px; margin: 0 auto; padding: 8px 20px 60px; }
.k-title { text-align: center; margin: 16px 0 6px; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.k-sub { text-align: center; color: var(--muted); margin-bottom: 22px; font-size: 1.05rem; }
.daybar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.daybar button, .daybar label.daypick { border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.daybar button.on, .daybar label.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.daybar input[type=date] { border: 0; padding: 0; width: auto; font-weight: 600; background: transparent; }
.daybar label.on input[type=date] { color: #fff; color-scheme: dark; }
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.role-card { border: 0; border-radius: 26px; padding: 34px 24px; color: #fff; cursor: pointer; text-align: left; font: inherit; box-shadow: var(--shadow-lg); transition: transform .15s; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-start; }
.role-card:hover { transform: translateY(-4px); }
.role-card:active { transform: scale(.98); }
.role-card .ri { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.role-card .rt { display: block; font-size: 1.6rem; font-weight: 800; margin: 18px 0 4px; }
.role-card .rd { display: block; opacity: .9; }
.role-card.student { background: linear-gradient(135deg, var(--student-a), var(--student-b)); }
.role-card.teacher { background: linear-gradient(135deg, var(--teacher-a), var(--teacher-b)); }
.role-card.material { background: linear-gradient(135deg, var(--material-a), var(--material-b)); }
.k-panel { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 26px; }
.k-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; padding: 6px 0; margin-bottom: 8px; }
.k-search { position: relative; }
.k-search .ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.k-search input { font-size: 1.4rem; padding: 18px 20px 18px 58px; border-radius: 18px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.pick { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-align: left; font: inherit; transition: border-color .12s, transform .08s, box-shadow .12s; }
.pick:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.pick:active { transform: scale(.98); }
.pick .avatar { width: 52px; height: 52px; border-radius: 16px; font-size: 1.1rem; }
.pick .nm { font-weight: 700; font-size: 1.08rem; }
.pick .sb { color: var(--muted); font-size: .88rem; }
.pick.sel { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.k-hint { text-align: center; color: var(--muted); padding: 26px 0 6px; }
.who { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--soft); border-radius: 18px; margin-bottom: 18px; }
.who .avatar { width: 52px; height: 52px; border-radius: 16px; }
.status-note { padding: 12px 16px; border-radius: 14px; background: #EAF2FF; color: #1F5FBF; font-weight: 600; margin-bottom: 16px; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.action { border: 0; border-radius: 22px; padding: 30px 18px; color: #fff; font: inherit; font-size: 1.35rem; font-weight: 800; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: var(--shadow); transition: transform .1s, opacity .2s, box-shadow .2s; }
.action:active { transform: scale(.98); }
.action small { font-weight: 500; font-size: .9rem; opacity: .9; }
.action.in { background: linear-gradient(135deg, #00B894, #2ED1A8); }
.action.out { background: linear-gradient(135deg, #0984E3, #3EB4FF); }
.action:disabled { opacity: .35; filter: grayscale(.5); cursor: not-allowed; box-shadow: none; }
.action:disabled:active { transform: none; }
.status-note.is-in { background: #E6F9F3; color: #037a5c; }
.status-note.is-out { background: #EAF2FF; color: #1F5FBF; }
.status-note.is-none { background: var(--soft); color: var(--muted); }
.pick .st, .who .st { margin-left: auto; white-space: nowrap; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; align-self: center; }
.st-in { background: #E6F9F3; color: #037a5c; }
.st-out { background: #E7F2FD; color: #0767B5; }
.action.suggest { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 30%, transparent), var(--shadow-lg); }
.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 14px; }
.mat { display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; font-weight: 600; margin: 0; }
.mat input { width: 22px; height: 22px; accent-color: var(--material-a); }
.mat:has(input:checked) { border-color: var(--material-a); background: #FFF5F1; }
.success { text-align: center; padding: 40px 20px; }
.success .tick { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #00B894, #2ED1A8); animation: pop .45s cubic-bezier(.2,1.6,.4,1); box-shadow: 0 14px 40px rgba(0,184,148,.35); }
.success h2 { font-size: 1.9rem; }
.success .bar-timer { height: 6px; border-radius: 6px; background: var(--soft); max-width: 260px; margin: 24px auto 0; overflow: hidden; }
.success .bar-timer i { display: block; height: 100%; background: var(--brand); animation: drain 6s linear forwards; }
.k-error { background: #FDECEC; color: #B4232A; padding: 12px 16px; border-radius: 12px; margin-top: 14px; font-weight: 600; }
.k-foot { text-align: center; padding: 20px; font-size: .85rem; }
.k-foot a { color: var(--muted); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; margin: 20px auto; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes drain { from { width: 100%; } to { width: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .action-grid { grid-template-columns: 1fr; }
  .k-top { padding: 12px 16px; }
  .role-card { min-height: 150px; padding: 22px; }
  .k-panel { padding: 18px; border-radius: 20px; }
}

/* Demo login helper */
.demo-creds { display: grid; gap: 8px; background: var(--soft); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.demo-fill { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 1.5px dashed var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: .85rem; color: var(--ink); cursor: pointer; text-align: left; }
.demo-fill:hover { border-color: var(--brand); }
.demo-fill code { font-size: .82rem; }

/* Daily attendance sheet */
.att-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; margin-bottom: 16px; }
.att-tabs { display: flex; gap: 6px; background: var(--soft); padding: 4px; border-radius: 12px; }
.att-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; font-weight: 600; color: var(--muted); text-decoration: none; }
.att-tabs a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.att-date { display: flex; gap: 6px; align-items: center; }
.att-date input[type=date] { width: auto; padding: 7px 10px; }
.att-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.att-sum .sum { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); border: 2px solid transparent; color: var(--ink); text-decoration: none; }
.att-sum .sum b { font-size: 1.8rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.att-sum .sum span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.att-sum .sum:hover { box-shadow: var(--shadow-lg); }
.att-sum .s-all b { color: var(--brand); } .att-sum .s-out b { color: #0767B5; } .att-sum .s-in b { color: #B26B00; } .att-sum .s-abs b { color: var(--muted); }
.att-sum .s-all.on { border-color: var(--brand); } .att-sum .s-out.on { border-color: #0984E3; } .att-sum .s-in.on { border-color: #F5A623; } .att-sum .s-abs.on { border-color: var(--muted); }
.att-table tr.is-absent td { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
a.tile { display: block; text-decoration: none !important; transition: transform .15s; }
a.tile:hover { transform: translateY(-3px); }
@media (max-width: 700px) { .att-sum { grid-template-columns: 1fr 1fr; } }
