
:root {
  --green-1: #59c321;
  --green-2: #3c7b1a;
  --green-dark: #1d6b1f;
  --green-btn: #3B7F1F;
  --gold: #cda06b;

  --bg: #eaefe2;
  --panel: #f0f3ea;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --light-muted: #999;
  --border: #d7dccf;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 12px;
}


*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


.site-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e0e4d9;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.site-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 80px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-brand:hover { opacity: 0.85; }

.site-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.site-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-start {
  background: var(--green-dark);
  color: #ffffff;
  border: 2px solid var(--green-dark);
}
.nav-start:hover {
  background: var(--green-btn);
  border-color: var(--green-btn);
}


.nav-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 80px;
  height: 42px;
  padding: 0 18px;
  border: 2px solid var(--green-dark);
  border-radius: 6px;
  background: #ffffff;           /* white fill */
  color: var(--green-dark);      /* green text */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-admin:hover {
  background: var(--green-dark);
  color: #ffffff;
}


.site-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 80px;
  height: 42px;
  padding: 0 18px;
  border: 2px solid var(--green-dark);
  border-radius: 6px;
  background: #ffffff;           /* white fill */
  color: var(--green-dark);      /* green text */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}
.site-home-btn:hover {
  background: var(--green-dark);
  color: #ffffff;
}



.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.burger-btn.open .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open .burger-bar:nth-child(2) { opacity: 0; }
.burger-btn.open .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
}
.mobile-nav.open { display: flex; }
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.mobile-nav-item:last-child { border-bottom: none; }
.mobile-nav-item:hover { background: #f5f9f5; color: var(--green-dark); }

.site-hero {
  width: 100%;
  height: 220px;
  background-image: url('newtopimage1.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
}


.csk-wrap {
  position: relative;
  width: 100%;
}

.csk-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #c4ccb8;
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.csk-btn:hover { border-color: var(--green-1); }
.csk-btn.open  { border-color: var(--green-1); box-shadow: 0 0 0 3px rgba(89,195,33,0.12); }
.csk-btn.error {
  border-color: var(--green-1);
  box-shadow: 0 0 0 4px rgba(89,195,33,0.30);
  animation: csk-error-pulse 0.55s ease forwards;
}
@keyframes csk-error-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(89,195,33,0.55); }
  60%  { box-shadow: 0 0 0 10px rgba(89,195,33,0);   }
  100% { box-shadow: 0 0 0 4px  rgba(89,195,33,0.30); }
}

.csk-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #888; }
.csk-label.selected { color: var(--text); }

.csk-arrow {
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.csk-btn.open .csk-arrow { transform: rotate(180deg); }

.csk-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #c4ccb8;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-height: 280px;
  overflow-y: auto;
  z-index: 200;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  display: none;
}
.csk-list.open { display: block; }

.csk-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
  white-space: normal;
  line-height: 1.4;
}
.csk-item:hover    { background: #f0f6ea; }
.csk-item.active   { background: rgba(89,195,33,0.12); color: var(--green-dark); font-weight: 600; }


.page-after-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.page { max-width: 1400px; margin: 0 auto; padding: 0 20px 48px; }

.panel {
  background: var(--panel);
  padding: 32px 24px 44px;
  border: 1px solid #dfe6d4;
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 400px;
}

.panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
  color: #4a4a4a;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}


.card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.card + .card { margin-top: 20px; }
.card:hover { box-shadow: var(--shadow-lg); }

.card h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--green-dark);
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8ede0;
}


.field { margin-bottom: 18px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

select,
input[type="file"],
input[type="text"],
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #c4ccb8;
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
select:focus,
input[type="text"]:focus,
textarea:focus {
  border-color: var(--green-1);
  box-shadow: 0 0 0 3px rgba(89,195,33,0.12);
}

textarea { min-height: 110px; resize: vertical; }

.grid-2, .grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
@media (max-width: 820px) {
  .grid-2, .grid2 { grid-template-columns: 1fr; }
}

.actions { margin-top: 22px; }
.hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--light-muted);
  font-style: italic;
}


.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 0;
  background: linear-gradient(135deg, #4a9e24, var(--green-btn));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(59,127,31,0.25);
  text-decoration: none;
}
.btn:hover, .btn-primary:hover {
  background: linear-gradient(135deg, var(--green-btn), #2d6614);
  box-shadow: 0 4px 14px rgba(59,127,31,0.35);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn.secondary {
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn.secondary:hover {
  background: #f7faf4;
}


.summary-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.scorebox {
  flex: 1;
  min-width: 280px;
}

.scoreline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.smallnote {
  font-size: 12px;
  color: var(--light-muted);
  margin-top: 6px;
}


.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  min-width: 80px;
}
.badge.pass {
  background: linear-gradient(135deg, #e0fde9, #c8f5d6);
  border: 2px solid #6fe19a;
  color: #0f6e2a;
  box-shadow: 0 2px 8px rgba(111,225,154,0.3);
}
.badge.fail {
  background: linear-gradient(135deg, #ffe9e9, #ffd4d4);
  border: 2px solid #ffb3b3;
  color: #8a1f1f;
  box-shadow: 0 2px 8px rgba(255,179,179,0.3);
}
.badge.review {
  background: linear-gradient(135deg, #fff8e0, #fff0c0);
  border: 2px solid #ffd27a;
  color: #7a5200;
}


.bar {
  height: 22px;
  border-radius: 999px;
  background: #e4e8dc;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-1), var(--green-2));
  transition: width 1s ease;
  min-width: 2px;
}
.bar-fill.low { background: linear-gradient(90deg, #e84040, #c02020); }


.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 18px;
}
.alert.warn {
  background: #fff8ef;
  border: 1px solid #f0d4a0;
  color: #7a5500;
}
.alert.warn ul {
  margin: 6px 0 0 18px;
  padding: 0;
}
.alert.warn li { margin-bottom: 4px; }


.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e0e5d8;
}

.tbl thead th {
  background: linear-gradient(180deg, #f0f4ec, #e6ebe0);
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #4a5a3e;
  border-bottom: 2px solid #d4dbc8;
}

.tbl tbody td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
  border-bottom: 1px solid #eef1e8;
  color: #3a3a3a;
  line-height: 1.5;
}

.tbl tbody tr:last-child td { border-bottom: none; }

.tbl tbody tr:hover td {
  background: #f8faf5;
}


.score-cell {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.score-cell .earned { color: var(--green-dark); }
.score-cell .divider { color: #bbb; margin: 0 2px; }
.score-cell .max { color: #999; }
.score-cell.zero .earned { color: #c0392b; }
.score-cell.full .earned { color: var(--green-1); }


.step-id {
  display: inline-block;
  background: #f0f4ec;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  border: 1px solid #d8e0cc;
}


.obs-text {
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
  font-style: italic;
}


.frames-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.frame-thumb {
  width: 160px;
  text-align: center;
}
.frame-thumb img {
  width: 160px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.frame-thumb img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}
.frame-thumb .frame-time {
  font-size: 11px;
  color: var(--light-muted);
  margin-bottom: 4px;
  font-weight: 600;
}


.motion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef6ff;
  border: 1px solid #b3d4f0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  color: #2a6da8;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}
.motion-badge.ok { background: #edfff2; border-color: #9ae0ad; color: #1a7a2e; }
.motion-badge.warn { background: #fff8ef; border-color: #f0d4a0; color: #8a6a00; }


.comments {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  resize: vertical;
  background: #fafcf8;
  transition: border-color 0.2s;
}
.comments:focus {
  border-color: var(--green-1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(89,195,33,0.1);
}


.status {
  margin-top: 14px;
  color: #5f5f5f;
  font-size: 13px;
}
pre.json {
  margin-top: 12px;
  background: #0b1020;
  color: #e8ecff;
  padding: 16px;
  border-radius: var(--radius);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.5;
}

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .panel { border: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}



.tbl-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid #e0e5d8;
}
.tbl-scroll .tbl {
  border: none;
  border-radius: 0;
  min-width: 580px;
}

/* ─── Responsive action button row ──────────────────────────────────── */
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto 0;
  max-width: 920px;
}
.action-row .btn { flex: 1 1 160px; justify-content: center; }


@media (max-width: 1024px) {
  .site-nav-btn { font-size: 11px; padding: 0 12px; height: 38px; }
  .site-home-btn { font-size: 11px; padding: 0 12px; height: 38px; }
}


@media (max-width: 900px) {
  .site-topbar-inner {
    flex-wrap: wrap;
    min-height: unset;
    padding: 10px 16px;
    gap: 8px;
    align-items: center;
  }
  .site-brand        { flex: 1 1 auto; }
  .site-nav          { flex: 0 0 auto; gap: 6px; flex-wrap: nowrap; }
  .site-logo         { width: 44px; height: 44px; }
  .site-brand-text   { font-size: 14px; }
  .site-nav-btn      { font-size: 10px; padding: 0 10px; height: 34px; letter-spacing: 0.5px; }
  .site-home-btn     { font-size: 10px; padding: 0 10px; height: 34px; min-width: unset; }
  .site-hero         { height: 160px; }
  .panel             { padding: 20px 16px 32px; }
  .card              { padding: 22px 18px; }
  .feature-grid      { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 768px) {
  .page, .page-after-hero { padding-left: 12px; padding-right: 12px; }
  .panel                  { padding: 16px 12px 28px; }
  .card                   { padding: 18px 14px; max-width: 100%; }
  .card + .card           { margin-top: 14px; }

  
  .tbl-scroll            { border-radius: var(--radius); }
  .tbl-scroll .tbl       { min-width: 520px; }

 
  .summary-row           { flex-direction: column; gap: 16px; }
  .scorebox              { min-width: 0; width: 100%; }

  
  .timer-card            { flex-direction: column; align-items: center; gap: 20px; }
  .timer-info            { width: 100%; }
  .timer-bar-wrap        { max-width: 100%; }

 
  .frames-grid           { gap: 8px; }
  .frame-thumb           { width: calc(33.33% - 6px); }
  .frame-thumb img,
  .frame-thumb > a img   { width: 100%; height: auto; }

  
  .feature-grid          { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  
  .scoreline             { flex-direction: column; gap: 4px; }
}


@media (max-width: 600px) {
  .site-topbar        { position: relative; }
  .site-topbar-inner  { flex-wrap: nowrap; gap: 8px; padding: 8px 12px; align-items: center; }
  .site-brand         { gap: 8px; flex: 1 1 auto; min-width: 0; }
  .site-brand-text    { font-size: 12px; letter-spacing: 0; }
  .site-logo          { width: 36px; height: 36px; }
  .site-nav           { display: none; }
  .burger-btn         { display: flex; }

  .site-hero          { height: 110px; }

  .card               { padding: 16px 12px; }

  .tbl thead th       { font-size: 10px; padding: 9px 7px; }
  .tbl tbody td       { font-size: 12px; padding: 9px 7px; }


  .tbl-col-obs        { display: none; }

 
  .frame-thumb        { width: calc(50% - 4px); }

  
  .feature-grid       { grid-template-columns: 1fr; }
  .feature-tile       { flex-direction: row; gap: 14px; padding: 14px 12px; }
  .feature-tile-icon  { width: 36px; height: 36px; flex-shrink: 0; }

  
  .action-row         { flex-direction: column; }
  .action-row .btn    { flex: none; width: 100%; }

 
  .timer-ring-wrap    { width: 110px; height: 110px; }
  .timer-ring         { width: 110px; height: 110px; }
  .timer-sec          { font-size: 22px; }

 
  .grid-2, .grid2     { grid-template-columns: 1fr; gap: 12px; }

 
  .badge              { padding: 6px 16px; font-size: 13px; }

 
  .verdict-wrap       { flex-direction: row; }
  .verdict-icon-circle{ width: 44px; height: 44px; }

  
  .smallnote          { font-size: 11px; word-break: break-word; }
}


@media (max-width: 400px) {
  .site-brand-text    { font-size: 11px; }
  .card               { padding: 14px 10px; }
  .tbl tbody td       { padding: 8px 6px; font-size: 11px; }
  .frame-thumb        { width: 100%; }
  .btn                { padding: 10px 18px; font-size: 13px; }
}


.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
.icon-xs { font-size: 14px; }
.icon-sm { font-size: 17px; }
.icon-md { font-size: 22px; }
.icon-lg { font-size: 30px; }
.icon-xl { font-size: 44px; }
.with-icon { display: inline-flex; align-items: center; gap: 7px; }


.lucide { vertical-align: middle; }
[data-lucide] { display: inline-block; vertical-align: middle; }


.gsap-fade-up { opacity: 0; transform: translateY(30px); }
.gsap-fade-in { opacity: 0; }


.fm-card { will-change: transform; }


.spotlight-card {
  position: relative;
  isolation: isolate;
}
.spotlight-card .spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    280px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(89,195,33,0.11) 0%,
    transparent 70%
  );
  z-index: 0;
}
.spotlight-card:hover .spotlight { opacity: 1; }
.spotlight-card > *:not(.spotlight) { position: relative; z-index: 1; }


.aurora-wrap {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.aurora-wrap .blob {
  position: absolute; border-radius: 50%;
  filter: blur(55px); opacity: 0.18;
}
.aurora-wrap .blob-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #59c321, transparent 70%);
  top: -90px; left: -70px;
  animation: aurora1 9s ease-in-out infinite;
}
.aurora-wrap .blob-2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #cda06b, transparent 70%);
  bottom: -60px; right: -40px;
  animation: aurora2 11s ease-in-out infinite;
}
@keyframes aurora1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(26px,-14px) scale(1.07)} }
@keyframes aurora2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-18px,22px) scale(0.93)} }


.hero-grid {
  
}


.glow-focus:focus,
.glow-focus:focus-within {
  border-color: var(--green-1) !important;
  box-shadow: 0 0 0 3px rgba(89,195,33,0.18), 0 0 18px rgba(89,195,33,0.09) !important;
  outline: none;
}


.glow-hover:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(89,195,33,0.14) !important;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}
.feature-tile {
  background: #f7faf4;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 15px;
  display: flex; flex-direction: column; gap: 10px;
  cursor: default;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.3s;
}
.feature-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: #b8d4a0;
}
.feature-tile-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-1), var(--green-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.feature-tile-icon .material-symbols-rounded { font-size: 21px; }
.feature-tile-title { font-weight: 700; font-size: 13.5px; color: var(--green-dark); }
.feature-tile-desc  { font-size: 12.5px; color: var(--muted); line-height: 1.5; }


.upload-zone {
  border: 2px dashed #c4ccb8;
  border-radius: var(--radius);
  padding: 26px 16px 20px;
  text-align: center;
  background: #fafcf8;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.upload-zone.drag-over {
  border-color: var(--green-1);
  background: rgba(89,195,33,0.04);
  box-shadow: 0 0 0 3px rgba(89,195,33,0.14);
}
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; width: 100%; height: 100%;
}
.upload-zone-icon { color: var(--green-2); margin-bottom: 8px; }
.upload-zone-label { font-size: 14px; font-weight: 600; color: #555; }
.upload-zone-hint  { font-size: 12px; color: var(--light-muted); margin-top: 4px; }
.upload-zone-name  {
  display: none;
  margin-top: 10px; font-size: 12.5px; font-weight: 600;
  color: var(--green-dark); background: #e8f5e0;
  border-radius: 6px; padding: 5px 12px;
  align-items: center; gap: 5px; justify-content: center;
}


.step-ico {
  font-size: 18px;
  display: inline-block; vertical-align: middle;
}
.step-ico.full    { color: #1a7a2e; }
.step-ico.high    { color: #2980b9; }
.step-ico.partial { color: #e67e22; }
.step-ico.low     { color: #e84040; }
.step-ico.zero    { color: #c0392b; }


.verdict-wrap { display: flex; align-items: center; gap: 14px; }
.verdict-icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.verdict-icon-circle.pass { background: #e0fde9; }
.verdict-icon-circle.fail { background: #ffe9e9; }
.verdict-icon-circle.pass .material-symbols-rounded { color: #0f6e2a; font-size: 30px; }
.verdict-icon-circle.fail .material-symbols-rounded { color: #8a1f1f; font-size: 30px; }


.score-num { font-variant-numeric: tabular-nums; }


.step-icon-mat {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: #f0f0f0; color: #bbb;
  transition: background 0.4s, color 0.4s, transform 0.3s;
}
.step-icon-mat .material-symbols-rounded { font-size: 19px; }
.step.active .step-icon-mat { background: #e8f5e9; color: #2e7d32; transform: scale(1.12); }
.step.done   .step-icon-mat { background: #e8f5e9; color: #2e7d32; }


.sig-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px; font-size: .75rem;
  font-weight: 600; background: #f5f5f5; color: #777;
  transition: background .4s, color .4s;
}
.sig-badge.active { background: #e8f5e9; color: #2e7d32; }
.sig-badge svg { width: 13px; height: 13px; flex-shrink: 0; }


@keyframes mat-spin { to { transform: rotate(360deg); } }
.spin-icon { display: inline-block; animation: mat-spin 1s linear infinite; }