.option-row {
  grid-template-columns: 40px minmax(120px, 1fr) minmax(120px, 1fr) 100px minmax(130px, 1fr) minmax(130px, 1fr) 38px;
}

.opt-correct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-weight: 900;
  color: #6d28d9;
}

.q-image-status {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 800;
}

.stand-panel fieldset {
  position: relative;
  overflow: hidden;
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(145deg, #ffffff, #f8f4ff);
  box-shadow: 0 12px 30px rgba(91, 33, 182, 0.1), inset 0 0 20px rgba(139, 92, 246, 0.04);
}

.stand-panel fieldset::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.12);
}

.stand-panel legend {
  color: #6d28d9;
  text-shadow: 0 0 14px rgba(124, 58, 237, 0.2);
}

.task-info-settings {
  border-color: rgba(59, 130, 246, 0.72) !important;
  background: linear-gradient(145deg, #f8fbff, #eef5ff) !important;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14), 0 0 24px rgba(59, 130, 246, 0.1) !important;
}

.company-card-field {
  border-color: rgba(245, 158, 11, 0.8) !important;
  background: linear-gradient(145deg, #fffdf5, #fff4dc) !important;
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.16), 0 0 24px rgba(251, 191, 36, 0.12) !important;
}

.company-card-field legend {
  color: #b45309;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.task-card {
  position: relative;
  overflow: hidden;
  align-items: center;
  border-color: rgba(124, 58, 237, 0.65);
  background: linear-gradient(135deg, #ffffff 0%, #fbf7ff 62%, #fff2fa 100%);
  box-shadow: 0 15px 34px rgba(74, 28, 132, 0.15), 0 0 22px rgba(139, 92, 246, 0.1);
}

.task-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.1);
  filter: blur(6px);
  pointer-events: none;
}

.task-neon-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #a78bfa;
  border-radius: 18px;
  background: linear-gradient(145deg, #211333, #3c1d66);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.55), inset 0 0 16px rgba(255, 255, 255, 0.08);
  font-size: 27px;
}

.task-card-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.task-card-copy h3 {
  margin: 8px 0 5px;
}

@media (max-width: 760px) {
  .option-row {
    grid-template-columns: 32px 1fr;
  }

  .option-row .opt-en,
  .option-row .opt-points,
  .option-row .opt-feedback {
    grid-column: 2;
  }

  .task-card {
    display: grid;
    grid-template-columns: 58px 1fr;
  }

  .task-card .card-actions {
    grid-column: 1 / -1;
  }
}

/* 2026-09 stand portal visual refresh */
.stand-nav {
  background: linear-gradient(110deg, #0d0816ee, #1e1037f2 62%, #291042ee);
  border-bottom-color: rgba(168, 85, 247, .72);
  box-shadow: 0 8px 32px rgba(88, 28, 135, .34), inset 0 -1px 0 rgba(236, 72, 153, .28);
}

.stand-brand { gap: 11px; }
.stand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(168, 85, 247, .72), 0 0 32px rgba(236, 72, 153, .32);
}
.stand-brand-copy { display: flex; align-items: center; gap: 9px; }

.stand-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 88% 10%, rgba(236,72,153,.28), transparent 35%), linear-gradient(135deg,#10091b,#271044 58%,#39145e);
  border: 1px solid #a855f7;
  box-shadow: 0 20px 48px rgba(63, 22, 103, .28), 0 0 28px rgba(139,92,246,.23), inset 0 0 34px rgba(168,85,247,.08);
}
.stand-hero::after { content:""; position:absolute; width:180px; height:180px; right:-75px; bottom:-105px; border-radius:50%; background:#ec489933; filter:blur(8px); }

.stand-privacy-card {
  display: flex;
  gap: 13px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(245, 158, 11, .72);
  border-radius: 20px;
  background: linear-gradient(135deg,#fff9de,#fff 58%,#fff4cc);
  box-shadow: 0 13px 30px rgba(180, 83, 9, .13), 0 0 20px rgba(245,158,11,.1);
}
.stand-privacy-card>span { font-size: 27px; }
.stand-privacy-card p { margin: 5px 0 7px; line-height: 1.45; }

.stand-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: rgba(139, 92, 246, .42);
  box-shadow: 0 7px 17px rgba(60, 28, 98, .08);
}
.stand-tabs button:nth-child(1)::before{content:"🎯"}.stand-tabs button:nth-child(2)::before{content:"👥"}.stand-tabs button:nth-child(3)::before{content:"📊"}.stand-tabs button:nth-child(4)::before{content:"🏆"}.stand-tabs button:nth-child(5)::before{content:"🎁"}
.stand-tabs button.active { background: linear-gradient(135deg,#4c1d95,#7c3aed); box-shadow:0 0 20px rgba(124,58,237,.36); }

.stand-panel {
  border-color: rgba(139,92,246,.42);
  background: linear-gradient(145deg,#fff,#fcf9ff 66%,#fff5fb);
  box-shadow: 0 22px 52px rgba(58, 28, 91, .13), 0 0 24px rgba(139,92,246,.09);
}

.check-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.check-grid label {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(139,92,246,.30);
  border-radius: 14px;
  background: linear-gradient(145deg,#fff,#f7f2ff);
  box-shadow: 0 7px 17px rgba(91,33,182,.07);
  font-weight: 800;
}
.check-grid label>input:first-child { accent-color:#7c3aed; transform:scale(1.13); }
.check-grid small { margin-left:auto; display:flex; align-items:center; gap:3px; }

.native-filter-hidden { display:none!important; }
.task-filter-chips { display:flex; gap:9px; overflow-x:auto; padding:4px 2px 12px; scrollbar-width:none; }
.task-filter-chips::-webkit-scrollbar { display:none; }
.task-filter-chips button {
  flex:0 0 auto;
  border:1px solid rgba(139,92,246,.48);
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  color:#4c1d95;
  font-weight:900;
  box-shadow:0 7px 18px rgba(76,29,149,.10);
}
.task-filter-chips button.active { color:#fff; background:linear-gradient(135deg,#6d28d9,#a855f7); border-color:#c084fc; box-shadow:0 0 20px rgba(139,92,246,.36); }

.data-card,.reward-card,.leader-list li {
  border-color: rgba(139,92,246,.38);
  background: linear-gradient(145deg,#fff,#faf6ff);
  box-shadow: 0 10px 25px rgba(62,27,98,.10), inset 4px 0 0 rgba(168,85,247,.75);
}

.legal-language { position:sticky; top:0; z-index:3; display:flex; gap:8px; padding:14px 70px 8px 22px; background:#fff; }
.legal-language button { border:1px solid #8b5cf6; border-radius:999px; padding:8px 18px; background:#fff; color:#5b21b6; font-weight:950; }
.legal-language button.active { color:#fff; background:linear-gradient(135deg,#6d28d9,#ec4899); box-shadow:0 0 18px #8b5cf655; }
.legal-copy h2 { color:#321255; }
.legal-copy h3 { color:#6d28d9; }

@media(max-width:760px){
  .stand-shell{width:min(100% - 20px,1240px);margin-top:18px}
  .stand-nav{padding:11px 13px}.stand-logo{width:34px;height:34px}.stand-brand-copy{display:grid;gap:0}.stand-brand-copy b{font-size:10px}
  .stand-panel{padding:17px}.check-grid{grid-template-columns:1fr 1fr;gap:8px}.check-grid label{font-size:13px;padding:9px;min-height:54px}
  dialog{max-height:92vh}.legal-copy{padding:18px 22px 28px}.legal-copy h2{font-size:25px}.legal-copy{font-size:16px}.legal-language{padding-left:18px}
}

/* Stand portalı: ana uygulamanın koyu neon yüzeyi, tüm sekmelerde ortak kart dili. */
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 28% at 4% 2%, rgba(139,92,246,.22), transparent 75%),
    radial-gradient(ellipse 42% 30% at 100% 32%, rgba(236,72,153,.14), transparent 75%),
    #0d0b17;
  color: #f8f5ff;
}
.stand-shell { width: min(1220px, calc(100% - 36px)); margin-top: 30px; }
.stand-nav { border-bottom: 1px solid rgba(196,181,253,.28); }
.stand-brand-copy { font-size: 18px; letter-spacing: -.02em; }
.stand-brand-copy b { color: #dec9ff; font-weight: 750; letter-spacing: .01em; }
.stand-nav>div { display: flex; align-items: center; gap: 8px; }
.stand-nav .stand-btn { min-height: 42px; }
.stand-nav .stand-btn.ghost { color: #ece4ff; border-color: rgba(196,181,253,.48); }
.stand-nav .stand-btn.ghost:hover { background: rgba(139,92,246,.2); }

.stand-hero {
  min-height: 206px;
  margin-top: 0;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(246,79,164,.32), transparent 34%),
    radial-gradient(circle at 18% 90%, rgba(93,63,229,.36), transparent 48%),
    linear-gradient(120deg, #191027, #321453 61%, #521660);
  box-shadow: 0 22px 60px rgba(0,0,0,.32), 0 0 40px rgba(150,76,255,.20), inset 0 1px 0 rgba(255,255,255,.15);
}
.stand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(222,179,255,.55);
}
.stand-hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.stand-hero #eventName { color: #e9dcff; font-size: 17px; font-weight: 650; }
.stand-hero .eyebrow { color: #ffe08d!important; }
.limit-badge {
  position: relative;
  z-index: 1;
  max-width: 290px;
  border-color: rgba(255,217,123,.78);
  background: rgba(24,13,40,.62);
  color: #ffe19a;
  box-shadow: 0 0 22px rgba(255,199,87,.16), inset 0 0 12px rgba(255,199,87,.06);
}
.stand-privacy-card {
  color: #f7e9c3;
  border-color: rgba(251,191,36,.44);
  background: linear-gradient(115deg, #292018, #201a20 70%, #2c1d29);
  box-shadow: 0 12px 30px rgba(0,0,0,.18), inset 4px 0 0 #fbbf24;
}
.stand-privacy-card p { color: #e8d9c3; }
.stand-privacy-card .text-button { color: #ffd079; }

.stand-tabs {
  gap: 9px;
  margin: 22px 0 3px;
  padding: 3px 2px 13px;
  scrollbar-width: thin;
  scrollbar-color: #7c3aed transparent;
}
.stand-tabs button {
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid rgba(196,181,253,.34);
  border-radius: 15px;
  background: #211a32;
  color: #e9e1f7;
  font-size: 14px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.stand-tabs button:nth-child(6)::before { content: "📜"; }
.stand-tabs button:hover { transform: translateY(-2px); border-color: #bf91ff; }
.stand-tabs button.active {
  border-color: #dab8ff;
  background: linear-gradient(120deg, #6630dc, #9f46e3 70%, #c647a9);
  color: white;
  box-shadow: 0 8px 24px rgba(127,52,231,.4), 0 0 20px rgba(177,91,255,.25);
}

.stand-panel {
  --section-accent: #b47aff;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(172,112,255,.56);
  border-radius: 27px;
  background:
    radial-gradient(circle at 98% 1%, rgba(168,85,247,.13), transparent 28%),
    linear-gradient(160deg, #1b1529, #15121f 54%, #1a1329);
  color: #f7f3ff;
  box-shadow: 0 20px 55px rgba(0,0,0,.27), 0 0 26px rgba(139,92,246,.12), inset 0 1px 0 rgba(255,255,255,.06);
}
.stand-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--section-accent), #ed73c1, transparent 85%);
  box-shadow: 0 0 18px var(--section-accent);
}
#tab-participants { --section-accent: #5abcf5; }
#tab-analytics { --section-accent: #e777f1; }
#tab-leaderboard { --section-accent: #ffcc69; }
#tab-rewards { --section-accent: #78e4ae; }
#tab-documents { --section-accent: #6bd9e9; }
.stand-panel h2 { margin: 3px 0 9px; color: #fff; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; }
.stand-panel h3 { margin: 24px 0 10px; color: #f1e8ff; font-size: 18px; }
.stand-panel p { color: #c8bfd5; line-height: 1.55; }
.stand-panel>.panel-head { align-items: flex-start; }
.stand-panel>.panel-head p { margin: 7px 0 0; }
#tab-participants>h2::before { content: "👥 "; }
#tab-analytics>h2::before { content: "📊 "; }
#tab-leaderboard>h2::before { content: "🏆 "; }
#tab-rewards>h2:first-child::before { content: "🎁 "; }

.stand-panel .stand-grid>label:not(.tick),
.stand-panel fieldset label:not(.tick) { min-width: 0; }
.stand-panel label>span { color: #e4d9f5; font-size: 13px; letter-spacing: .01em; }
.stand-panel input:not([type=checkbox]):not([type=radio]):not([type=file]),
.stand-panel select,
.stand-panel textarea {
  min-height: 48px;
  border: 1px solid rgba(186,157,229,.48);
  border-radius: 14px;
  background: #282036;
  color: #fff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.19);
}
.stand-panel input::placeholder,
.stand-panel textarea::placeholder { color: #aaa0bb; }
.stand-panel input:focus,
.stand-panel select:focus,
.stand-panel textarea:focus {
  border-color: #c69aff;
  outline: 3px solid rgba(168,85,247,.25);
  box-shadow: 0 0 17px rgba(168,85,247,.22);
}
.stand-panel input[type=file] {
  width: 100%;
  border: 1px dashed rgba(186,157,229,.6);
  border-radius: 14px;
  padding: 12px;
  background: #251c35;
  color: #eadfff;
}
.stand-panel input[type=checkbox],
.stand-panel input[type=radio] { accent-color: #a776ff; }
.stand-panel .tick {
  align-items: center;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(168,122,225,.32);
  border-radius: 14px;
  background: rgba(126,75,180,.13);
}
.stand-panel .tick>span { margin: 0; }
.stand-btn { transition: transform .16s ease, filter .16s ease, box-shadow .16s ease; }
.stand-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.stand-btn:focus-visible,
.stand-tabs button:focus-visible,
.task-filter-chips button:focus-visible { outline: 3px solid #f5a7e4; outline-offset: 3px; }
.stand-panel .stand-btn.ghost {
  border-color: rgba(175,125,255,.7);
  background: rgba(127,75,194,.18);
  color: #ead6ff;
}
.stand-panel .stand-btn.primary {
  min-height: 49px;
  border: 1px solid rgba(225,189,255,.56);
  background: linear-gradient(115deg, #6d3fe7, #a345ea 62%, #d348ad);
  box-shadow: 0 10px 25px rgba(123,58,237,.29), inset 0 1px 0 rgba(255,255,255,.23);
}
.stand-panel form>.stand-btn.primary.full { margin-top: 5px; }

.stand-panel fieldset {
  border: 1px solid rgba(177,126,250,.48);
  border-radius: 21px;
  padding: clamp(16px, 2.5vw, 23px);
  background: linear-gradient(145deg, #241a37, #20182d 65%, #2b1b38);
  box-shadow: 0 12px 28px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.04);
}
.stand-panel fieldset::after { box-shadow: inset 0 0 0 1px rgba(233,201,255,.06); }
.stand-panel fieldset legend {
  padding: 4px 11px;
  border: 1px solid rgba(190,147,255,.5);
  border-radius: 999px;
  background: #34224e;
  color: #f4e9ff;
  font-size: 14px;
  text-shadow: none;
  box-shadow: 0 0 17px rgba(162,85,247,.19);
}
.stand-panel .task-info-settings {
  background: linear-gradient(145deg, #172b42, #1a213b)!important;
  border-color: rgba(89,168,255,.65)!important;
}
.stand-panel .task-info-settings legend { background: #17355b; border-color: #5ca9f3; }
.stand-panel .company-card-field {
  background: linear-gradient(145deg, #352515, #271c23)!important;
  border-color: rgba(255,199,87,.67)!important;
}
.stand-panel .company-card-field legend { background: #533516; border-color: #efbf5d; color: #ffe4a7; }
.stand-panel .question-card {
  padding: 19px;
  border: 1px solid rgba(196,149,255,.66);
  border-radius: 19px;
  background: linear-gradient(145deg, #302047, #281e38);
  box-shadow: 0 10px 25px rgba(0,0,0,.19), 0 0 20px rgba(168,85,247,.1);
}
.stand-panel .question-card .panel-head b { color: #f3dfff; font-size: 18px; }
.stand-panel .question-card .option-row {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(180,143,226,.3);
  border-radius: 14px;
  background: rgba(19,14,30,.44);
}
.stand-panel .question-card .option-row>* { min-width: 0; }
.stand-panel .question-card .opt-correct { color: #d9b6ff; }
.stand-panel .check-grid label {
  border-color: rgba(177,127,241,.46);
  background: #2c213c;
  color: #f2eaff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.stand-panel .task-card,
.stand-panel .data-card,
.stand-panel .reward-card,
.stand-panel .leader-list li {
  position: relative;
  border: 1px solid rgba(172,117,241,.55);
  border-radius: 19px;
  background: linear-gradient(145deg, #2a1e3b, #21192f 68%, #2e1d3c);
  color: #f7f0ff;
  box-shadow: 0 12px 28px rgba(0,0,0,.17), inset 3px 0 0 var(--section-accent), 0 0 15px rgba(157,80,241,.08);
}
.stand-panel .task-card { align-items: flex-start; padding: 19px; }
.stand-panel .task-card::after { background: rgba(233,98,195,.10); }
.stand-panel .task-card-copy h3,
.stand-panel .reward-card>b,
.stand-panel .data-card>b { color: #fff; font-size: 17px; }
.stand-panel .task-card p,
.stand-panel .data-card p,
.stand-panel .reward-card p,
.stand-panel .leader-list small { color: #d4c6e4; }
.stand-panel .data-card small { color: #b9a9d2; }
.stand-panel .tag {
  border: 1px solid rgba(192,151,255,.56);
  background: rgba(138,69,228,.25);
  color: #eddcff;
  letter-spacing: .02em;
}
.stand-panel .task-neon-icon { border-color: #cb9bff; background: #42236b; }
.stand-panel .metric-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stand-panel .metric {
  min-height: 106px;
  padding: 18px;
  border: 1px solid rgba(175,124,239,.53);
  border-radius: 18px;
  background: linear-gradient(145deg, #392155, #2a1c3c 68%, #38204a);
  color: #e8dafa;
  box-shadow: 0 10px 25px rgba(0,0,0,.18), 0 0 20px rgba(174,91,247,.10);
}
.stand-panel .metric b { margin-bottom: 4px; color: #fff; font-size: clamp(27px, 3vw, 36px); line-height: 1.2; }
.stand-panel .leader-list { counter-reset: rank; }
.stand-panel .leader-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.stand-panel .leader-list li:first-child { border-color: #e9bd64; background: linear-gradient(120deg, #48351e, #2a2231); }
.stand-panel .leader-list li:nth-child(2) { border-color: #b8bdd3; }
.stand-panel .leader-list li:nth-child(3) { border-color: #c58f78; }
.stand-panel .leader-list li b { color: #fff; }
.stand-panel .task-filter-chips button {
  border-color: rgba(178,124,247,.54);
  background: #29203c;
  color: #e8d9ff;
}
.stand-panel .task-filter-chips button.active { border-color: #d5acff; background: linear-gradient(120deg,#6332cb,#ae4adb); color: white; }
.stand-panel .inline-form { margin-top: 15px; }
.stand-panel .stand-message { color: #ff9ea7; }
.stand-panel .stand-message.success { color: #8cf0bd; }
.stand-panel code { display: inline-block; padding: 5px 8px; border-radius: 8px; background: #171126; color: #ffe29b; }
.stand-panel .stand-mode-help,
.stand-panel .stand-question-help {
  margin: 4px 0 8px;
  padding: 11px 14px;
  border: 1px solid rgba(181,139,248,.46);
  border-radius: 13px;
  background: rgba(116,65,174,.16);
  color: #e5d5fb;
  line-height: 1.45;
}
.stand-panel .stand-question-help:empty { display: none; }
.stand-panel .stand-penalty { display: block; margin-top: 5px; color: #ff899f; font-weight: 700; }
.stand-panel .stand-edit-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255,207,114,.64);
  border-radius: 14px;
  background: rgba(104,70,25,.27);
  color: #ffe3ad;
}
.stand-panel .stand-edit-notice.hidden { display: none; }
.stand-panel .stand-detail-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0; }
.stand-panel .stand-detail-chips span {
  padding: 6px 9px;
  border: 1px solid rgba(190,154,245,.42);
  border-radius: 999px;
  background: rgba(103,67,155,.23);
  color: #eedfff;
  font-size: 12px;
  line-height: 1.25;
}
.stand-panel .stand-reward-detail { display: grid; grid-template-columns: minmax(0,100px) minmax(0,1fr); gap: 16px; align-items: start; }
.stand-panel .stand-reward-detail:not(:has(.stand-reward-image)) { grid-template-columns: minmax(0,1fr); }
.stand-panel .stand-reward-detail>div { min-width: 0; }
.stand-panel .stand-reward-detail h3 { margin: 9px 0 4px; color: white; }
.stand-panel .stand-reward-image { width: 100px; height: 100px; border: 1px solid rgba(209,174,255,.62); border-radius: 16px; object-fit: cover; background: #171326; }
.stand-panel .stand-code-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stand-panel .stand-code-row code { overflow-wrap: anywhere; }
.stand-panel .stand-code-row button { min-height: 35px; padding: 6px 12px; }
.stand-panel .stand-document-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(275px,.85fr); gap: 19px; align-items: start; }
.stand-panel .stand-document-layout>* { min-width: 0; }
.stand-panel .stand-document-preview-wrap {
  position: sticky;
  top: 18px;
  padding: 16px;
  border: 1px solid rgba(192,145,255,.49);
  border-radius: 20px;
  background: linear-gradient(145deg,#281c3b,#21192e);
  box-shadow: 0 12px 27px rgba(0,0,0,.2);
}
.stand-panel .stand-document-preview-wrap h3 { margin: 0 0 12px; color: #f4e9ff; }
.stand-panel .stand-document-preview-wrap>p { margin: 10px 0 0; color: #c8badb; font-size: 13px; }
.stand-panel .stand-document-preview {
  --doc-accent: #8449e6;
  --doc-bg: #fbf9ff;
  --doc-ink: #282238;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  padding: 25px 18px 15px;
  border: 3px solid var(--doc-accent);
  border-radius: 15px;
  background: var(--doc-bg);
  color: var(--doc-ink);
  text-align: center;
  box-shadow: 0 0 22px color-mix(in srgb,var(--doc-accent) 23%,transparent),inset 0 0 0 6px var(--doc-bg),inset 0 0 0 7px var(--doc-accent);
}
.stand-panel .stand-document-preview[data-theme="cyber-blue"] { --doc-accent:#1b92e5; --doc-bg:#f1faff; --doc-ink:#143251; }
.stand-panel .stand-document-preview[data-theme="emerald"] { --doc-accent:#28b47a; --doc-bg:#f1fff7; --doc-ink:#174433; }
.stand-panel .stand-document-preview[data-theme="royal-gold"] { --doc-accent:#c29130; --doc-bg:#fffaf0; --doc-ink:#493315; }
.stand-panel .stand-document-preview[data-theme="coral"] { --doc-accent:#ec6b72; --doc-bg:#fff6f5; --doc-ink:#4b2830; }
.stand-panel .stand-document-preview[data-theme="midnight"] { --doc-accent:#9d8ef0; --doc-bg:#171831; --doc-ink:#f6f4ff; }
.stand-panel .stand-document-preview[data-theme="minimal"] { --doc-accent:#586174; --doc-bg:#fff; --doc-ink:#252b38; }
.stand-panel .stand-document-preview[data-theme="academic"] { --doc-accent:#315c9c; --doc-bg:#f9f8f3; --doc-ink:#253b5a; }
.stand-panel .stand-document-preview[data-theme="festival"] { --doc-accent:#ef4f9e; --doc-bg:#fff9ee; --doc-ink:#52264b; }
.stand-panel .stand-document-preview[data-theme="monochrome"] { --doc-accent:#2b2b2b; --doc-bg:#fff; --doc-ink:#1f1f1f; }
.stand-panel .stand-document-company { order: 0; color: var(--doc-accent); font-weight: 900; letter-spacing: .2em; overflow-wrap: anywhere; }
.stand-panel .stand-document-preview h4 { order: 1; margin: 22px 0 14px; color: var(--doc-ink); font-size: clamp(20px,2.2vw,28px); line-height: 1.16; overflow-wrap: anywhere; }
.stand-panel .stand-document-preview strong { order: 2; color: var(--doc-accent); font-size: 19px; letter-spacing: .07em; overflow-wrap: anywhere; }
.stand-panel .stand-document-preview[data-name-position="top"] strong { order: -1; margin-bottom: 13px; }
.stand-panel .stand-document-preview[data-name-position="bottom"] strong { order: 4; margin-top: 10px; }
.stand-panel .stand-document-preview p { order: 3; margin: 12px 0 18px; color: var(--doc-ink); overflow-wrap: anywhere; }
.stand-panel .stand-document-footer { order: 5; display: flex; align-items: end; justify-content: space-between; align-self: stretch; gap: 8px; margin-top: auto; color: var(--doc-ink); }
.stand-panel .stand-document-footer img { width: 50px; height: 50px; object-fit: contain; }

/* Match the main task editor's light cards and purple outlined controls. */
#tab-tasks #taskForm>h2 { margin: 0 0 2px; font-size: 22px; font-weight: 900; }
#tab-tasks .stand-completion-help { display: block; margin-top: 7px; color: #696271; font-size: 12px; font-weight: 400; line-height: 1.45; }
#tab-tasks { background: #faf9ff; border-color: #d6bcff; color: #24212c; }
#tab-tasks h2,#tab-tasks h3,#tab-tasks .panel-head b { color: #23202c; }
#tab-tasks p { color: #4c4558; }
#tab-tasks label>span { color: #443b52; }
#tab-tasks input:not([type="checkbox"]):not([type="radio"]),
#tab-tasks select,#tab-tasks textarea {
  border: 1.5px solid #9c65ff;
  background: #fff;
  color: #25212d;
  border-radius: 16px;
  min-height: 52px;
}
#tab-tasks input:focus,#tab-tasks select:focus,#tab-tasks textarea:focus { border-color: #7c3aed; outline: 3px solid #b897ff55; }
#tab-tasks fieldset { background: #fff; border: 1.5px solid #a778ff; box-shadow: 0 5px 18px #8b5cf620; }
#tab-tasks fieldset legend { background: #f3ecff; border-color: #b78aff; color: #6832c7; }
#tab-tasks .task-info-settings { background: #f2f7ff!important; border-color: #71adf8!important; }
#tab-tasks .task-info-settings legend { background: #e9f1ff; color: #245ea1; }
#tab-tasks .company-card-field { background: #fff9ec!important; border-color: #f1bf5c!important; }
#tab-tasks .company-card-field legend { background: #fff1ce; color: #815218; }
#tab-tasks .question-card { background: #fff; border: 1.5px solid #9760ff; box-shadow: 0 6px 21px #9c65ff28; }
#tab-tasks .question-card .option-row { background: #f8f4ff; border-color: #ddcaff; }
#tab-tasks .question-card .opt-correct { color: #5e2eb5; }
#tab-tasks .task-card { background: #fff; border-color: #a677ff; color: #27212f; }
#tab-tasks .task-card h3 { color: #25202c; }
#tab-tasks .task-card p { color: #5c5368; }
#tab-tasks .stand-task-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
#tab-tasks .stand-task-meta span { padding: 6px 9px; border: 1px solid #dcc8ff; border-radius: 999px; background: #f7f1ff; color: #4e3471; font-size: 12px; font-weight: 750; }
#tab-tasks .stand-task-status { position: relative; z-index: 1; flex: 0 0 auto; padding: 7px 11px; border: 1px solid #9fd6b0; border-radius: 999px; background: #e8f8ed; color: #167744; font-size: 12px; font-weight: 800; }
#tab-tasks .stand-task-status.paused { border-color: #f1d18b; background: #fff5d9; color: #9a6207; }
#tab-tasks .stand-task-status.closed { border-color: #ddc2c7; background: #fff0f2; color: #a3384b; }
#tab-tasks .tag { background: #efe6ff; color: #5c2aaf; }
#tab-tasks .stand-mode-help,#tab-tasks .stand-question-help { background: #f4edff; color: #49366f; border-color: #c4a7f4; }
#tab-tasks .stand-collect-card { min-width: 0; padding: 13px 15px; border: 1.5px solid #ac83ef; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px #7845c119; }
#tab-tasks .stand-collect-main { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
#tab-tasks .stand-collect-main input { flex: 0 0 auto; width: 20px; height: 20px; accent-color: #7c3aed; }
#tab-tasks .stand-collect-main span { display: block; min-width: 0; margin: 0; }
#tab-tasks .stand-collect-main b { display: block; color: #292332; }
#tab-tasks .stand-collect-main small { display: block; overflow: hidden; color: #71677c; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
#tab-tasks .stand-collect-extra { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #ede1ff; }
#tab-tasks .stand-collect-extra.hidden { display: none; }
#tab-tasks .stand-collect-extra label { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; box-shadow: none; color: #473854; }
#tab-tasks .stand-collect-extra input { width: 18px; height: 18px; accent-color: #7c3aed; }
#tab-tasks .stand-option-editor { margin-top: 10px; }
#tab-tasks .stand-option-editor small { display: block; margin-bottom: 5px; color: #655b70; }
#tab-tasks .stand-option-editor textarea { min-height: 110px; }
#tab-tasks label:has([name$="_en"]),#rewardForm label:has([name$="_en"]) { display: none!important; }
.stand-panel .stand-document-footer img { width: 32px; height: 32px; }
.stand-panel .stand-document-footer small { font-size: 9px; }
.stand-hero { background: linear-gradient(120deg,#7134de,#bf3aa4 75%,#da5685); border-color: #d59bff; }
.stand-panel { background: #faf9ff; border-color: #cbaaff; color: #26212f; }
.stand-panel h2,.stand-panel h3 { color: #24202d; }
.stand-panel>p,.stand-panel .data-card p,.stand-panel .reward-card p { color: #5c526a; }
.stand-panel label>span { color: #493f57; }
.stand-panel input:not([type="checkbox"]):not([type="radio"]),.stand-panel select,.stand-panel textarea { border-color: #aa7ce8; background: #fff; color: #2a2134; }
.stand-panel .data-card,.stand-panel .reward-card,.stand-panel .leader-list li { border-color: #b891ec; background: #fff; color: #26212f; box-shadow: 0 8px 22px #7845c119; }
.stand-panel .data-card>b,.stand-panel .reward-card h3,.stand-panel .leader-list li b { color: #2b2234; }
.stand-panel .data-card small,.stand-panel .leader-list small { color: #6c607a; }
.stand-panel .metric { border-color: #bb98eb; background: linear-gradient(145deg,#fff,#f2e9ff); color: #4c3a68; }
.stand-panel .metric b { color: #332149; }
.stand-panel .stand-detail-chips span { border-color: #d1b9f4; background: #f4ecff; color: #58318f; }
.stand-panel .tag { border-color: #cfb1fc; background: #f1e7ff; color: #5e30aa; }
.stand-panel .stand-document-preview-wrap { background: #fff; border-color: #bb8ef9; }
.stand-panel .stand-document-preview-wrap h3 { color: #2d2340; }
.stand-panel .stand-document-preview-wrap>p { color: #6b5b7d; }
.stand-panel .stand-review-image { display: block; width: min(100%,220px); height: 135px; margin: 10px 0; border: 1px solid #ba95ec; border-radius: 14px; object-fit: cover; }

.stand-login .login-card {
  border: 1px solid rgba(184,127,255,.62);
  background: linear-gradient(145deg, #21172f, #17121f 68%, #271737);
  color: #fff;
  box-shadow: 0 20px 55px rgba(0,0,0,.3), 0 0 30px rgba(139,92,246,.13);
}
.stand-login .login-card h1 { letter-spacing: -.03em; line-height: 1.12; }
.stand-login .login-card p:not(.eyebrow):not(.stand-message) { color: #d5c9e3; }
.stand-login label>span { color: #f2e8ff; }
.stand-login input:not([type=checkbox]) { border-color: rgba(186,147,236,.55); background: #2d213d; color: white; }
.stand-login .legal-check { border: 1px solid rgba(194,157,239,.38); border-radius: 14px; padding: 13px; background: #2a2039; }
.stand-login .legal-banner { border-color: rgba(255,200,87,.55); background: linear-gradient(115deg,#3a2a18,#261e26); color: #fff0cc; }
.stand-login .legal-banner p { color: #e9d9c2; }
.stand-login .legal-banner .text-button { color: #ffd486; }
.stand-login .stand-btn.primary { min-height: 52px; }

@media(max-width:760px) {
  .stand-panel .stand-document-layout { grid-template-columns: minmax(0,1fr); }
  .stand-panel .stand-document-preview-wrap { position: static; }
  .stand-panel .stand-reward-detail { grid-template-columns: minmax(0,76px) minmax(0,1fr); gap: 11px; }
  .stand-panel .stand-reward-image { width: 76px; height: 76px; }
  .stand-shell { width: calc(100% - 20px); margin-top: 16px; margin-bottom: 55px; }
  .stand-hero { min-height: 0; padding: 23px 20px; border-radius: 23px; }
  .stand-hero h1 { font-size: 32px; }
  .stand-hero #eventName { font-size: 15px; }
  .limit-badge { padding: 9px 12px; font-size: 13px; }
  .stand-privacy-card { padding: 13px; border-radius: 17px; }
  .stand-privacy-card p { font-size: 13px; }
  .stand-tabs { margin-top: 15px; }
  .stand-tabs button { min-height: 44px; padding: 9px 13px; font-size: 13px; }
  .stand-panel { padding: 19px 15px 23px; border-radius: 22px; }
  .stand-panel .panel-head { align-items: flex-start; flex-wrap: wrap; }
  .stand-panel .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stand-panel .metric { min-height: 97px; padding: 14px; }
  .stand-panel .metric b { font-size: 28px; }
  .stand-panel .task-card { padding: 15px; }
  .stand-panel .task-card .stand-task-status { grid-column: 2; justify-self: start; }
  .stand-panel .check-grid { grid-template-columns: 1fr; }
  .stand-panel .option-row { grid-template-columns: 32px minmax(0, 1fr); }
  .stand-panel .option-row .opt-en,
  .stand-panel .option-row .opt-points,
  .stand-panel .option-row .opt-feedback { grid-column: 2; }
  .stand-panel .question-card { padding: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .stand-btn,.stand-tabs button { transition: none; }
  .stand-btn:hover,.stand-tabs button:hover { transform: none; }
}
