:root {
  color-scheme: dark;
  --bg: #05070d;
  --panel: rgba(10, 16, 30, 0.82);
  --panel-strong: #0b1222;
  --line: rgba(102, 146, 255, 0.24);
  --text: #edf4ff;
  --muted: #9baccc;
  --blue: #2f6bff;
  --blue-soft: #58b7ff;
  --gold: #f4c74b;
  --gold-2: #b9891e;
  --danger: #ff5e6c;
  --ok: #52e0a4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.7) 0%, rgba(5, 7, 13, 0.28) 48%, rgba(5, 7, 13, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.08) 0%, #05070d 760px),
    url("/assets/megaserver-web-hero.png") top center / min(100vw, 1920px) auto no-repeat,
    radial-gradient(circle at 20% 10%, rgba(47, 107, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(244, 199, 75, 0.16), transparent 28rem),
    linear-gradient(135deg, #02040a 0%, #07101f 52%, #03040a 100%);
  transition: background 220ms ease, color 220ms ease;
}

body.wow-mode {
  --panel: rgba(15, 11, 4, 0.87);
  --panel-strong: #130d05;
  --line: rgba(244, 199, 75, 0.34);
  --muted: #d2bd83;
  --blue: #1f66d1;
  --blue-soft: #4fa9ff;
  --gold: #f7c949;
  --gold-2: #d18f23;
  background:
    linear-gradient(90deg, rgba(5, 4, 2, 0.76) 0%, rgba(5, 4, 2, 0.22) 48%, rgba(5, 4, 2, 0.86) 100%),
    linear-gradient(180deg, rgba(5, 4, 2, 0.02) 0%, #05070d 790px),
    url("/assets/wow-planning-bg.png") top center / min(100vw, 1920px) auto no-repeat,
    radial-gradient(circle at 72% 12%, rgba(247, 201, 73, 0.28), transparent 30rem),
    radial-gradient(circle at 18% 18%, rgba(47, 107, 255, 0.14), transparent 26rem),
    linear-gradient(135deg, #050302 0%, #100b04 48%, #03040a 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 1px solid rgba(244, 199, 75, 0.38);
  color: #07101f;
  background: linear-gradient(135deg, var(--gold), #ffd978);
  border-radius: 8px;
  padding: 0.76rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.06);
}

button.secondary,
.interest-actions button,
.time-chip,
.final-option,
.icon-button {
  color: var(--text);
  background: rgba(47, 107, 255, 0.13);
  border-color: rgba(88, 183, 255, 0.32);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(102, 146, 255, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 7, 14, 0.72);
  padding: 0.78rem 0.86rem;
  outline: none;
}

body.wow-mode input,
body.wow-mode textarea,
body.wow-mode select {
  border-color: rgba(247, 201, 73, 0.32);
  background: rgba(6, 4, 2, 0.78);
}

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

label {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.shell {
  width: min(1880px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  min-height: 520px;
  padding: 26px 0 44px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
}

.brand {
  display: flex;
  gap: 0.82rem;
  align-items: center;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: var(--muted);
  font-size: 0.84rem;
}

.mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 199, 75, 0.62);
  border-radius: 8px;
  color: var(--gold);
  background: linear-gradient(145deg, #0f1b35, #02050c);
  box-shadow: 0 0 34px rgba(47, 107, 255, 0.25);
  font-weight: 900;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(680px, 0.54fr) minmax(820px, 1fr);
  gap: clamp(36px, 4vw, 74px);
  align-items: start;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  max-width: 610px;
  margin: 28px 0 0;
  color: #c9d7f8;
  font-size: 1.16rem;
  line-height: 1.7;
}

body.wow-mode .hero-copy p {
  color: #ead7a4;
}

.proposal-panel,
.event-card,
.toolbar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 20, 38, 0.94), rgba(6, 10, 19, 0.92)),
    url("/assets/megaserver-event-panel.png") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

body.wow-mode .proposal-panel,
body.wow-mode .event-card,
body.wow-mode .toolbar {
  background:
    linear-gradient(180deg, rgba(20, 14, 6, 0.95), rgba(7, 6, 4, 0.94)),
    url("/assets/megaserver-event-panel.png") center / cover no-repeat;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.44),
    0 0 48px rgba(247, 201, 73, 0.08);
}

.proposal-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 22px;
  align-items: start;
}

.plan-type,
.wow-create-fields,
.form-actions {
  grid-column: 1 / -1;
}

.proposal-core,
.proposal-details,
.proposal-art {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.proposal-details textarea {
  min-height: 148px;
}

.plan-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 0;
  border: 1px solid rgba(244, 199, 75, 0.28);
  border-radius: 8px;
  padding: 0.85rem;
  background: rgba(3, 7, 14, 0.42);
}

.plan-type legend {
  padding: 0 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.plan-type label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.58rem;
  border: 1px solid rgba(102, 146, 255, 0.22);
  border-radius: 8px;
  padding: 0.72rem;
  background: rgba(47, 107, 255, 0.08);
  cursor: pointer;
}

.plan-type input {
  width: auto;
  margin-top: 0.22rem;
}

.plan-type strong,
.plan-type small {
  display: block;
}

.plan-type strong {
  color: var(--text);
}

.plan-type small {
  margin-top: 0.18rem;
  color: var(--muted);
  line-height: 1.35;
}

.plan-type label:has(input:checked) {
  border-color: rgba(244, 199, 75, 0.58);
  background: rgba(244, 199, 75, 0.1);
}

body.wow-mode .plan-type {
  border-color: rgba(247, 201, 73, 0.44);
  background: rgba(8, 5, 1, 0.58);
}

body.wow-mode .plan-type label {
  border-color: rgba(247, 201, 73, 0.22);
  background: rgba(247, 201, 73, 0.06);
}

body.wow-mode .plan-type label:has(input:checked) {
  border-color: rgba(247, 201, 73, 0.76);
  background:
    linear-gradient(135deg, rgba(247, 201, 73, 0.2), rgba(47, 107, 255, 0.08));
}

.wow-create-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid rgba(244, 199, 75, 0.24);
  border-radius: 8px;
  padding: 0.85rem;
  background: rgba(244, 199, 75, 0.06);
}

.wow-create-fields > .form-row,
.wow-target-fields {
  grid-column: span 1;
}

.wow-primary-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.wow-run-fields,
.wow-bonus-fields {
  grid-column: span 1;
}

.wow-specific-fields {
  grid-column: 1 / -1;
}

body.wow-mode .wow-create-fields,
body.wow-mode .wow-target-fields,
body.wow-mode .wow-run-fields,
body.wow-mode .wow-bonus-fields,
body.wow-mode .wow-specific-fields {
  border-color: rgba(247, 201, 73, 0.34);
  background:
    linear-gradient(180deg, rgba(247, 201, 73, 0.1), rgba(9, 6, 2, 0.44));
}

.wow-target-fields {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  border: 1px solid rgba(102, 146, 255, 0.22);
  border-radius: 8px;
  padding: 0.82rem;
  background: rgba(3, 7, 14, 0.28);
}

.wow-specific-fields,
.wow-bonus-fields,
.wow-run-fields {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  border: 1px solid rgba(102, 146, 255, 0.22);
  border-radius: 8px;
  padding: 0.82rem;
  background: rgba(3, 7, 14, 0.28);
}

.wow-target-fields legend {
  padding: 0 0.35rem;
  color: #dfe9ff;
  font-size: 0.8rem;
  font-weight: 900;
}

.wow-specific-fields legend,
.wow-bonus-fields legend,
.wow-run-fields legend {
  padding: 0 0.35rem;
  color: #dfe9ff;
  font-size: 0.8rem;
  font-weight: 900;
}

.wow-target-fields small {
  color: var(--muted);
  line-height: 1.4;
}

.wow-specific-fields small,
.wow-bonus-fields small,
.wow-run-fields small,
.wow-run-empty {
  color: var(--muted);
  line-height: 1.4;
}

.wow-run-builder,
.wow-run-list,
.wow-need-list {
  display: grid;
  gap: 0.58rem;
}

.wow-need-builder {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(86px, 0.45fr) auto;
  gap: 0.58rem;
  align-items: end;
}

.wow-run-row,
.wow-need-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(102, 146, 255, 0.18);
  border-radius: 8px;
  padding: 0.58rem;
  background: rgba(47, 107, 255, 0.08);
}

body.wow-mode .wow-run-row,
body.wow-mode .wow-need-row {
  border-color: rgba(247, 201, 73, 0.28);
  background: rgba(247, 201, 73, 0.08);
}

.wow-run-row strong,
.wow-run-row span,
.wow-need-row strong,
.wow-need-row span {
  display: block;
}

.wow-run-row strong,
.wow-need-row strong {
  color: var(--gold);
}

.wow-run-row span,
.wow-need-row span {
  color: #dfe9ff;
}

.wow-need-row button {
  width: auto;
  padding: 0.48rem 0.68rem;
}

.wow-run-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.wow-run-actions button {
  padding: 0.48rem 0.58rem;
  color: var(--text);
  background: rgba(47, 107, 255, 0.13);
  border-color: rgba(88, 183, 255, 0.32);
}

body.wow-mode .wow-run-actions button,
body.wow-mode button.secondary,
body.wow-mode .interest-actions button,
body.wow-mode .time-chip,
body.wow-mode .final-option,
body.wow-mode .icon-button {
  color: #fff4d4;
  background: rgba(247, 201, 73, 0.13);
  border-color: rgba(247, 201, 73, 0.36);
}

.wow-run-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.wow-target-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.wow-target-grid input {
  padding: 0.62rem;
}

.art-preview {
  border: 1px solid rgba(102, 146, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(3, 7, 14, 0.58);
}

.art-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.upload-field {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-field small {
  color: #c8d5f2;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.secondary,
.file-button {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(88, 183, 255, 0.32);
  border-radius: 8px;
  padding: 0.76rem 1rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--text);
  background: rgba(47, 107, 255, 0.13);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.86rem;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  margin-bottom: 20px;
}

.toolbar h2 {
  margin: 0;
  font-size: 1.6rem;
}

.toolbar p {
  margin: 0.36rem 0 0;
  color: var(--muted);
}

.name-box {
  width: min(320px, 100%);
}

.events {
  display: grid;
  gap: 18px;
  padding-bottom: 56px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding: 20px;
}

.event-art {
  border: 1px solid rgba(102, 146, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(3, 7, 14, 0.6);
}

.event-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.event-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.event-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.details {
  margin: 0.58rem 0 0;
  color: #c8d5f2;
  line-height: 1.55;
  white-space: pre-line;
}

.status {
  border: 1px solid rgba(244, 199, 75, 0.32);
  border-radius: 999px;
  color: var(--gold);
  padding: 0.34rem 0.62rem;
  background: rgba(244, 199, 75, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 18px 0;
}

.stats span {
  border: 1px solid rgba(102, 146, 255, 0.2);
  border-radius: 8px;
  padding: 0.58rem 0.76rem;
  color: var(--muted);
  background: rgba(3, 7, 14, 0.35);
}

.stats strong {
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.hidden {
  display: none;
}

.time-area {
  margin-top: 22px;
}

h4 {
  margin: 0 0 0.72rem;
  color: #dfe9ff;
}

.time-list,
.final-list {
  display: grid;
  gap: 0.55rem;
}

.time-chip,
.final-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.time-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.time-meta {
  display: grid;
  justify-items: end;
  gap: 0.18rem;
  min-width: min(260px, 45%);
}

.time-meta small {
  max-width: 280px;
  color: #aebce0;
  font-size: 0.76rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: right;
}

.planned-event .event-side {
  align-content: start;
}

.wow-raid-panel {
  display: grid;
  gap: 0.9rem;
  margin: 18px 0;
  border: 1px solid rgba(244, 199, 75, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(3, 7, 14, 0.42);
}

.wow-raid-head,
.wow-raid-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.66rem;
}

.wow-raid-head span,
.wow-raid-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.wow-raid-head strong {
  display: block;
  color: var(--gold);
  font-size: 1.15rem;
}

.wow-raid-head b {
  color: #06101d;
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  background: linear-gradient(135deg, var(--gold), #ffe083);
}

.wow-meter {
  display: grid;
  gap: 0.48rem;
}

.wow-meter-row {
  display: grid;
  grid-template-columns: 74px minmax(80px, 1fr) 54px;
  align-items: center;
  gap: 0.62rem;
  color: #dfe9ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.wow-meter-row.no-target .wow-bar {
  opacity: 0.58;
}

.wow-bar {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(88, 183, 255, 0.26);
  border-radius: 999px;
  background: rgba(6, 12, 24, 0.8);
}

.wow-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.wow-warnings {
  color: #ffe08a;
  font-weight: 800;
}

.wow-class-mix {
  display: grid;
  gap: 0.55rem;
}

.wow-specific-needs {
  display: grid;
  gap: 0.55rem;
}

.wow-bonus-runs,
.wow-bonus-form {
  display: grid;
  gap: 0.55rem;
}

.wow-class-mix h5,
.wow-specific-needs h5,
.wow-bonus-runs h5,
.wow-bonus-form h5,
.wow-signup-form h5 {
  margin: 0;
  color: var(--gold);
  font-size: 0.86rem;
}

.wow-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  gap: 0.48rem;
}

.wow-class-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid rgba(102, 146, 255, 0.18);
  border-radius: 8px;
  padding: 0.48rem 0.55rem;
  color: var(--muted);
  background: rgba(3, 7, 14, 0.36);
  font-size: 0.78rem;
  font-weight: 800;
}

.wow-class-grid span.active {
  color: #edf4ff;
  border-color: rgba(244, 199, 75, 0.34);
  background: rgba(244, 199, 75, 0.08);
}

.wow-class-grid strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  height: 1.55rem;
  border-radius: 999px;
  color: #07101f;
  background: linear-gradient(135deg, var(--gold), #ffe083);
}

.wow-need-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.55rem;
}

.wow-bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.wow-bonus-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.62rem;
  border: 1px solid rgba(88, 183, 255, 0.24);
  border-radius: 8px;
  padding: 0.62rem;
  background: rgba(47, 107, 255, 0.09);
}

.wow-bonus-chip strong,
.wow-bonus-chip span,
.wow-bonus-chip small {
  display: block;
}

.wow-bonus-chip strong {
  color: #fff2c2;
}

.wow-bonus-chip b {
  color: var(--gold);
}

.wow-bonus-chip span,
.wow-bonus-chip small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.wow-bonus-chip small {
  grid-column: 1 / -1;
}

.wow-bonus-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.wow-bonus-checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(244, 199, 75, 0.22);
  border-radius: 8px;
  padding: 0.58rem;
  background: rgba(244, 199, 75, 0.07);
}

.wow-bonus-checks input {
  width: auto;
}

.wow-need-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.38rem 0.62rem;
  border: 1px solid rgba(244, 199, 75, 0.28);
  border-radius: 8px;
  padding: 0.62rem;
  background: rgba(244, 199, 75, 0.08);
}

.wow-need-chip strong,
.wow-need-chip span,
.wow-need-chip small {
  display: block;
}

.wow-need-chip strong {
  color: #fff2c2;
}

.wow-need-chip span,
.wow-need-chip small,
.empty-need {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.wow-need-chip b {
  color: var(--gold);
}

.wow-need-chip .wow-bar {
  grid-column: 1 / -1;
}

.wow-need-chip.filled {
  border-color: rgba(82, 224, 164, 0.34);
  background: rgba(82, 224, 164, 0.08);
}

.wow-notes {
  margin: 0;
  color: #c8d5f2;
  white-space: pre-line;
}

.wow-roster {
  display: grid;
  gap: 0.72rem;
}

.wow-roster-group h5 {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.86rem;
}

.wow-roster-class {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.48rem;
}

.wow-roster-class > strong {
  color: #fff2c2;
  font-size: 0.8rem;
}

.wow-signup {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(120px, 1fr) minmax(140px, 1.2fr);
  gap: 0.58rem;
  align-items: center;
  border: 1px solid rgba(102, 146, 255, 0.18);
  border-radius: 8px;
  padding: 0.48rem 0.58rem;
  color: #dfe9ff;
  background: rgba(47, 107, 255, 0.1);
  overflow-wrap: anywhere;
}

.wow-signup strong {
  color: #edf4ff;
}

.wow-signup span {
  color: #d8e4ff;
}

.wow-signup small {
  color: var(--muted);
  font-weight: 700;
}

.wow-signup.tentative,
.wow-signup.bench {
  color: #cbd6f2;
  background: rgba(244, 199, 75, 0.08);
}

.wow-signup.absent {
  color: #ffd6dc;
  background: rgba(255, 94, 108, 0.1);
}

.wow-signup-form {
  display: grid;
  gap: 0.76rem;
  border-top: 1px solid rgba(102, 146, 255, 0.2);
  padding-top: 0.9rem;
}

.wow-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.time-chip.active,
.final-option.active {
  color: #06101d;
  background: linear-gradient(135deg, var(--blue-soft), #9bd6ff);
  border-color: rgba(88, 183, 255, 0.8);
}

.add-times,
.approve-form {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.85rem;
}

.event-side {
  border-left: 1px solid rgba(102, 146, 255, 0.18);
  padding-left: 20px;
}

.side-block {
  margin-bottom: 18px;
}

.cancel-button {
  width: 100%;
  margin-top: 0.82rem;
  color: #fff4f5;
  background: rgba(255, 94, 108, 0.12);
  border-color: rgba(255, 94, 108, 0.42);
}

.empty {
  border: 1px dashed rgba(102, 146, 255, 0.28);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

/* Visual weight pass: turn the creator into a substantial command surface. */
body {
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: screen;
  opacity: 0.24;
}

button {
  min-height: 46px;
  border: 2px solid rgba(255, 221, 117, 0.55);
  border-radius: 7px;
  padding: 10px 14px;
  background:
    linear-gradient(180deg, rgba(255, 238, 159, 0.94), rgba(244, 199, 75, 0.98) 46%, rgba(179, 124, 27, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -2px 0 rgba(81, 50, 5, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.32);
  text-transform: none;
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

button:hover {
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(81, 50, 5, 0.5),
    0 0 0 1px rgba(247, 201, 73, 0.2),
    0 14px 28px rgba(0, 0, 0, 0.38);
}

button:active {
  transform: translateY(1px);
}

button.secondary,
.interest-actions button,
.time-chip,
.final-option,
.icon-button,
.file-button {
  min-height: 46px;
  border: 2px solid rgba(88, 183, 255, 0.34);
  color: #f4f8ff;
  background:
    linear-gradient(180deg, rgba(21, 45, 84, 0.92), rgba(7, 16, 32, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(134, 189, 255, 0.26),
    0 10px 22px rgba(0, 0, 0, 0.28);
}

body.wow-mode button.secondary,
body.wow-mode .interest-actions button,
body.wow-mode .time-chip,
body.wow-mode .final-option,
body.wow-mode .icon-button,
body.wow-mode .file-button {
  border-color: rgba(247, 201, 73, 0.42);
  background:
    linear-gradient(180deg, rgba(72, 51, 14, 0.94), rgba(13, 9, 3, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 221, 117, 0.22),
    0 10px 22px rgba(0, 0, 0, 0.3);
}

input,
textarea,
select {
  min-height: 44px;
  border: 1px solid rgba(153, 112, 33, 0.68);
  border-radius: 6px;
  padding: 10px 12px;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.92), rgba(12, 8, 3, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 155, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.66);
  transition: border-color 130ms ease, box-shadow 130ms ease, background 130ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(247, 201, 73, 0.95) 50%),
    linear-gradient(135deg, rgba(247, 201, 73, 0.95) 50%, transparent 50%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.92), rgba(12, 8, 3, 0.9));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 221, 117, 0.98);
  box-shadow:
    0 0 0 2px rgba(247, 201, 73, 0.26),
    0 0 24px rgba(247, 201, 73, 0.12),
    inset 0 1px 0 rgba(255, 232, 155, 0.16);
}

label {
  gap: 7px;
  color: #e6c875;
  font-size: 12px;
  font-weight: 900;
}

.proposal-panel {
  position: relative;
  border: 2px solid rgba(156, 105, 28, 0.86);
  border-radius: 6px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(5, 4, 2, 0.94), rgba(2, 2, 1, 0.92)),
    linear-gradient(90deg, rgba(247, 201, 73, 0.08), transparent 28%, rgba(47, 107, 255, 0.06) 72%, transparent),
    url("/assets/megaserver-event-panel.png") center / cover no-repeat;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 221, 117, 0.12),
    inset 0 1px 0 rgba(255, 232, 155, 0.16),
    inset 0 0 52px rgba(247, 201, 73, 0.04);
  overflow: hidden;
}

.proposal-panel::before,
.proposal-panel::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border-color: rgba(247, 201, 73, 0.72);
}

.proposal-panel::before {
  top: 10px;
  left: 10px;
  border-top: 3px solid rgba(247, 201, 73, 0.72);
  border-left: 3px solid rgba(247, 201, 73, 0.72);
}

.proposal-panel::after {
  right: 10px;
  bottom: 10px;
  border-right: 3px solid rgba(247, 201, 73, 0.72);
  border-bottom: 3px solid rgba(247, 201, 73, 0.72);
}

.plan-type,
.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art {
  position: relative;
  border: 0;
  border-radius: 5px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(25, 18, 7, 0.86), rgba(8, 6, 3, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 221, 117, 0.12),
    inset 0 0 0 1px rgba(151, 104, 28, 0.38);
}

.plan-type::before,
.wow-create-fields::before,
.proposal-core::before,
.proposal-details::before,
.proposal-art::before {
  content: attr(data-section);
  position: absolute;
  top: -10px;
  left: 16px;
  min-height: 18px;
  padding: 0 9px 0 12px;
  border-left: 3px solid var(--gold);
  color: #ffe48b;
  background: #070502;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-transform: uppercase;
}

.plan-type::before {
  content: "Mode Select";
}

.plan-type > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wow-target-fields,
.wow-specific-fields,
.wow-bonus-fields,
.wow-run-fields {
  border: 0;
  border-top: 3px solid rgba(247, 201, 73, 0.66);
  border-radius: 5px;
  padding: 18px 14px 14px;
  background:
    linear-gradient(180deg, rgba(31, 22, 7, 0.9), rgba(9, 7, 3, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 221, 117, 0.13),
    inset 0 0 0 1px rgba(151, 104, 28, 0.32);
}

.wow-target-fields legend,
.wow-specific-fields legend,
.wow-bonus-fields legend,
.wow-run-fields legend,
.plan-type legend {
  padding: 0 8px;
  color: #ffe48b;
  background: #070502;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-type label {
  min-height: 72px;
  border: 1px solid rgba(153, 112, 33, 0.54);
  border-left: 4px solid rgba(88, 183, 255, 0.36);
  border-radius: 5px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.92), rgba(8, 8, 8, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.plan-type label:has(input:checked),
body.wow-mode .plan-type label:has(input:checked) {
  border-color: rgba(247, 201, 73, 0.76);
  border-left-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(54, 39, 10, 0.94), rgba(14, 10, 4, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 221, 117, 0.18),
    0 0 28px rgba(247, 201, 73, 0.08);
}

.wow-target-grid input,
.wow-need-builder input {
  min-height: 42px;
}

.wow-run-row,
.wow-need-row,
.wow-need-chip,
.wow-bonus-chip,
.stats span {
  border: 1px solid rgba(153, 112, 33, 0.54);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(30, 22, 8, 0.9), rgba(8, 7, 4, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 221, 117, 0.1);
}

.wow-need-row {
  border-left: 4px solid var(--gold);
}

.wow-need-row strong {
  color: #ffdf6e;
  font-size: 0.94rem;
}

.wow-need-row span {
  color: #f4e5b0;
}

.art-preview {
  border: 3px solid rgba(247, 201, 73, 0.68);
  border-radius: 5px;
  box-shadow:
    0 0 0 1px rgba(88, 183, 255, 0.36),
    0 18px 42px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(0, 0, 0, 0.8);
}

.form-actions button:first-child {
  min-height: 54px;
  font-size: 1.02rem;
}

.hero-copy h1 {
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.22),
    0 18px 54px rgba(0, 0, 0, 0.46);
}

/* Premium MegaServer dashboard pass: softer product UI, less terminal wireframe. */
:root {
  --premium-bg: rgba(5, 7, 12, 0.88);
  --premium-panel: rgba(11, 14, 22, 0.82);
  --premium-panel-strong: rgba(16, 18, 25, 0.94);
  --premium-ink: #f7f9ff;
  --premium-muted: #b9c4d6;
  --premium-border: rgba(255, 218, 120, 0.18);
  --premium-border-strong: rgba(255, 218, 120, 0.36);
}

body {
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(4, 5, 10, 0.88) 0%, rgba(4, 5, 10, 0.3) 47%, rgba(4, 5, 10, 0.88) 100%),
    linear-gradient(180deg, rgba(4, 5, 10, 0.05) 0%, #04060b 760px),
    url("/assets/megaserver-web-hero.png") top center / min(100vw, 1920px) auto no-repeat,
    radial-gradient(circle at 70% 8%, rgba(244, 199, 75, 0.2), transparent 34rem),
    radial-gradient(circle at 18% 14%, rgba(47, 107, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, #04060b 0%, #09111d 56%, #03040a 100%);
}

body.wow-mode {
  background:
    linear-gradient(90deg, rgba(5, 4, 2, 0.88) 0%, rgba(5, 4, 2, 0.28) 48%, rgba(5, 4, 2, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 4, 2, 0.04) 0%, #04060b 790px),
    url("/assets/wow-planning-bg.png") top center / min(100vw, 1920px) auto no-repeat,
    radial-gradient(circle at 76% 12%, rgba(247, 201, 73, 0.24), transparent 34rem),
    radial-gradient(circle at 20% 18%, rgba(47, 107, 255, 0.12), transparent 26rem),
    linear-gradient(135deg, #050302 0%, #100b04 48%, #03040a 100%);
}

body::before {
  opacity: 0.08;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
}

.hero-copy h1 {
  font-weight: 900;
  letter-spacing: 0;
  color: #f4f7ff;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

.hero-copy p {
  color: #e5cf8b;
  font-weight: 650;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}

.proposal-panel {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--premium-border-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(14, 16, 23, 0.92), rgba(6, 7, 11, 0.91)),
    radial-gradient(circle at 78% 12%, rgba(247, 201, 73, 0.1), transparent 22rem),
    url("/assets/megaserver-event-panel.png") center / cover no-repeat;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.proposal-panel::before,
.proposal-panel::after {
  display: none;
}

.plan-type,
.wow-create-fields,
.form-actions {
  grid-column: 1 / -1;
}

.proposal-core {
  grid-column: span 4;
}

.proposal-details {
  grid-column: span 4;
}

.proposal-art {
  grid-column: span 4;
  align-self: start;
}

.plan-type,
.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art,
.wow-target-fields,
.wow-specific-fields,
.wow-bonus-fields,
.wow-run-fields {
  border: 1px solid var(--premium-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 22, 30, 0.86), rgba(9, 10, 15, 0.82));
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.plan-type,
.proposal-core,
.proposal-details,
.proposal-art {
  padding: 18px;
}

.wow-create-fields {
  padding: 18px;
}

.plan-type::before,
.wow-create-fields::before,
.proposal-core::before,
.proposal-details::before,
.proposal-art::before {
  top: 14px;
  left: 18px;
  height: auto;
  min-height: 0;
  padding: 0;
  border-left: 0;
  color: #f7d46a;
  background: transparent;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.11em;
  opacity: 0.92;
}

.plan-type {
  padding-top: 36px;
}

.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art {
  padding-top: 38px;
}

.plan-type label {
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-left: 0;
  border-radius: 8px;
  padding: 15px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.plan-type label:has(input:checked),
body.wow-mode .plan-type label:has(input:checked) {
  border-color: rgba(247, 201, 73, 0.58);
  background:
    linear-gradient(180deg, rgba(247, 201, 73, 0.16), rgba(247, 201, 73, 0.04));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plan-type input[type="radio"] {
  accent-color: var(--gold);
}

.wow-target-fields,
.wow-specific-fields,
.wow-bonus-fields,
.wow-run-fields {
  border-top: 1px solid var(--premium-border);
  padding: 16px;
}

.wow-target-fields legend,
.wow-specific-fields legend,
.wow-bonus-fields legend,
.wow-run-fields legend {
  padding: 0 8px;
  color: #f7d46a;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
}

label {
  color: #dfc985;
  font-size: 12px;
  letter-spacing: 0;
}

input,
textarea,
select {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--premium-ink);
  background:
    linear-gradient(180deg, rgba(2, 4, 9, 0.86), rgba(2, 3, 7, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

body.wow-mode input,
body.wow-mode textarea,
body.wow-mode select {
  border-color: rgba(247, 201, 73, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 6, 3, 0.88), rgba(3, 3, 4, 0.76));
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(94, 164, 255, 0.8);
  box-shadow:
    0 0 0 3px rgba(94, 164, 255, 0.16),
    0 14px 32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.wow-mode input:focus,
body.wow-mode textarea:focus,
body.wow-mode select:focus {
  border-color: rgba(247, 201, 73, 0.8);
  box-shadow:
    0 0 0 3px rgba(247, 201, 73, 0.16),
    0 14px 32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

button,
.file-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffe384, #f2be39);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

button.secondary,
.interest-actions button,
.time-chip,
.final-option,
.icon-button,
.file-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(48, 61, 88, 0.62), rgba(16, 22, 34, 0.74));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.wow-mode button.secondary,
body.wow-mode .interest-actions button,
body.wow-mode .time-chip,
body.wow-mode .final-option,
body.wow-mode .icon-button,
body.wow-mode .file-button {
  border-color: rgba(247, 201, 73, 0.18);
  background:
    linear-gradient(180deg, rgba(86, 66, 24, 0.62), rgba(21, 17, 10, 0.78));
}

.wow-run-row,
.wow-need-row,
.wow-need-chip,
.wow-bonus-chip,
.stats span {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wow-need-row {
  grid-template-columns: minmax(0, 1fr) auto;
  border-left: 0;
  padding: 12px 12px 12px 14px;
}

.wow-need-row strong {
  color: #ffe078;
}

.wow-need-row span {
  color: #f2dfaa;
}

.art-preview {
  border: 1px solid rgba(247, 201, 73, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(94, 164, 255, 0.16);
}

.art-preview img {
  aspect-ratio: 16 / 10;
}

.form-actions button:first-child {
  min-height: 52px;
}

.toolbar,
.event-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16, 20, 30, 0.84), rgba(7, 9, 14, 0.82)),
    url("/assets/megaserver-event-panel.png") center / cover no-repeat;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1280px) {
  .proposal-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-core,
  .proposal-details,
  .proposal-art {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .proposal-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .proposal-core,
  .proposal-details,
  .proposal-art {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1280px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 860px;
  }

  .proposal-panel,
  .wow-create-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wow-primary-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wow-specific-fields {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-side {
    border-left: 0;
    border-top: 1px solid rgba(102, 146, 255, 0.18);
    padding: 20px 0 0;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .proposal-panel,
  .wow-create-fields {
    grid-template-columns: 1fr;
  }

  .proposal-core,
  .proposal-details,
  .proposal-art,
  .wow-primary-fields,
  .wow-create-fields > .form-row,
  .wow-target-fields,
  .wow-specific-fields,
  .wow-run-fields,
  .wow-bonus-fields {
    grid-column: auto;
  }

  .wow-primary-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy h1 {
    font-size: 3.25rem;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .plan-type {
    grid-template-columns: 1fr;
  }

  .wow-target-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wow-run-row {
    grid-template-columns: 1fr;
  }

  .wow-need-builder,
  .wow-need-row {
    grid-template-columns: 1fr;
  }

  .wow-signup,
  .wow-signup-grid {
    grid-template-columns: 1fr;
  }
}

/* Nook-inspired MegaServer polish: warmer, softer dashboard surfaces. */
:root {
  --nook-ink: #f7f2e2;
  --nook-muted: #c7b98c;
  --nook-line: rgba(255, 213, 96, 0.12);
  --nook-line-strong: rgba(255, 213, 96, 0.28);
  --nook-panel: rgba(13, 12, 9, 0.78);
  --nook-panel-solid: rgba(20, 17, 10, 0.94);
  --nook-soft: rgba(255, 216, 112, 0.055);
  --nook-blue: #5c9dff;
  --nook-gold: #ffd45f;
}

body {
  color: var(--nook-ink);
  background:
    radial-gradient(circle at 67% 14%, rgba(255, 204, 74, 0.18), transparent 26rem),
    radial-gradient(circle at 30% 28%, rgba(53, 125, 255, 0.14), transparent 30rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(6, 7, 10, 0.42) 42%, rgba(0, 0, 0, 0.82)),
    var(--hero-image) center top / cover fixed no-repeat,
    #030406;
}

html,
body {
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 28%, rgba(0, 0, 0, 0.66)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 96px);
  opacity: 0.72;
}

.shell {
  width: min(1840px, calc(100% - 56px));
}

.hero-grid {
  grid-template-columns: minmax(560px, 0.82fr) minmax(860px, 1.18fr);
  gap: clamp(42px, 5vw, 96px);
}

.hero-copy {
  padding-top: clamp(34px, 7vh, 120px);
}

.hero-copy h1 {
  max-width: 760px;
  color: #f5f7ff;
  line-height: 0.91;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 74px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(74, 128, 255, 0.16);
}

.hero-copy p {
  max-width: 660px;
  color: #f6df93;
  font-size: 1.12rem;
  line-height: 1.75;
}

.proposal-panel {
  isolation: isolate;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 218, 109, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 80px),
    radial-gradient(circle at 88% 12%, rgba(255, 205, 70, 0.12), transparent 18rem),
    radial-gradient(circle at 28% 74%, rgba(60, 128, 255, 0.1), transparent 22rem),
    rgba(5, 6, 9, 0.78);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.62),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px) saturate(122%);
}

.proposal-panel::before {
  display: block;
  inset: 8px;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 213, 96, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.proposal-panel::after {
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent) 0 0 / 220px 100% no-repeat;
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: screen;
}

.plan-type,
.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art,
.form-actions {
  position: relative;
  z-index: 1;
}

.plan-type {
  gap: 12px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 10, 14, 0.72);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plan-type::before {
  content: "Mode";
  top: -8px;
  left: 18px;
  padding: 0 8px;
  background: #12100b;
  color: var(--nook-gold);
  letter-spacing: 0.11em;
}

.plan-type legend {
  display: none;
}

.plan-type label {
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(10, 13, 19, 0.72);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.plan-type label:has(input:checked) {
  border-color: rgba(255, 213, 96, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 213, 96, 0.2), rgba(255, 213, 96, 0.065)),
    rgba(22, 18, 10, 0.88);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 213, 96, 0.18) inset,
    0 0 34px rgba(255, 201, 54, 0.09);
}

.plan-type strong {
  font-size: 0.95rem;
}

.plan-type small {
  max-width: 38ch;
  color: #d6c897;
  line-height: 1.3;
}

.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 17, 0.78);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.wow-mode .wow-create-fields,
body.wow-mode .proposal-core,
body.wow-mode .proposal-details,
body.wow-mode .proposal-art {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 213, 96, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 213, 96, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(12, 10, 8, 0.84);
}

.wow-create-fields::before,
.proposal-core::before,
.proposal-details::before,
.proposal-art::before {
  top: 16px;
  left: 18px;
  height: 22px;
  padding: 0 0 0 12px;
  border-left: 3px solid var(--nook-gold);
  background: transparent;
  color: #ffdf7a;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art {
  padding: 52px 18px 18px;
}

.wow-primary-fields {
  gap: 12px;
}

.wow-target-fields,
.wow-specific-fields,
.wow-run-fields,
.wow-bonus-fields {
  border: 0;
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 213, 96, 0.06), rgba(255, 213, 96, 0.018)),
    rgba(5, 5, 5, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 213, 96, 0.09);
}

.wow-target-fields legend,
.wow-specific-fields legend,
.wow-run-fields legend,
.wow-bonus-fields legend {
  padding: 0 8px;
  color: #ffe895;
  background: transparent;
  font-size: 0.75rem;
}

label {
  gap: 8px;
  color: #efd78b;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

input,
textarea,
select {
  min-height: 44px;
  border: 1px solid rgba(255, 216, 112, 0.13);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff8df;
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.9), rgba(4, 4, 5, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 9px 20px rgba(0, 0, 0, 0.18);
}

textarea {
  min-height: 134px;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(255, 216, 112, 0.25);
}

input:focus,
textarea:focus,
select:focus,
body.wow-mode input:focus,
body.wow-mode textarea:focus,
body.wow-mode select:focus {
  border-color: rgba(255, 216, 112, 0.88);
  box-shadow:
    0 0 0 3px rgba(255, 216, 112, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wow-target-grid {
  gap: 10px;
}

.wow-target-grid input {
  min-height: 42px;
}

.wow-need-builder {
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(90px, 0.45fr) auto;
  gap: 12px;
  align-items: end;
}

.wow-need-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wow-need-row {
  min-height: 70px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 213, 96, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 213, 96, 0.09), rgba(255, 213, 96, 0.025)),
    rgba(12, 10, 5, 0.66);
}

.wow-need-row strong {
  color: #ffdc66;
  font-size: 1rem;
}

.wow-need-row span {
  color: #f5e6b5;
}

.wow-need-row button,
.wow-run-row button {
  min-height: 38px;
  padding: 8px 12px;
}

button,
.file-button {
  min-height: 46px;
  border-radius: 8px;
  color: #120d03;
  background:
    linear-gradient(180deg, #fff0a8 0%, #ffd45f 42%, #eeb33e 100%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(88, 50, 0, 0.32) inset;
}

button:hover,
.file-button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

button:active,
.file-button:active {
  transform: translateY(1px);
}

button.secondary,
.interest-actions button,
.time-chip,
.final-option,
.icon-button,
.file-button {
  color: #fff6d4;
  border: 1px solid rgba(255, 213, 96, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 213, 96, 0.14), rgba(255, 213, 96, 0.045)),
    rgba(10, 10, 12, 0.76);
}

.form-actions button:first-child {
  min-height: 54px;
  font-size: 1rem;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.36),
    0 0 36px rgba(255, 200, 46, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.proposal-art {
  overflow: hidden;
}

.art-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 216, 112, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #020307;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(94, 164, 255, 0.1);
}

.art-preview img {
  border: 0;
  border-radius: 6px;
}

.toolbar,
.event-card,
.active-plans {
  border: 1px solid rgba(255, 216, 112, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 9, 14, 0.82);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

@media (max-width: 1400px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    padding-top: 20px;
  }

  .proposal-panel {
    max-width: 1080px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .proposal-panel {
    padding: 14px;
  }

  .plan-type {
    padding: 10px;
  }

  .wow-need-list,
  .wow-need-builder {
    grid-template-columns: 1fr;
  }
}

/* WoW tab alignment: same premium shell as regular events, with WoW accents. */
body.wow-mode {
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 204, 74, 0.14), transparent 25rem),
    radial-gradient(circle at 34% 28%, rgba(53, 125, 255, 0.13), transparent 30rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(5, 7, 11, 0.48) 42%, rgba(0, 0, 0, 0.82)),
    var(--hero-image) center top / cover fixed no-repeat,
    #030406;
}

body.wow-mode .plan-type label,
body.wow-mode .wow-create-fields,
body.wow-mode .proposal-core,
body.wow-mode .proposal-details,
body.wow-mode .proposal-art,
body.wow-mode .toolbar,
body.wow-mode .event-card,
body.wow-mode .active-plans {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 17, 0.78);
}

body.wow-mode .plan-type label:has(input:checked) {
  border-color: rgba(255, 213, 96, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 213, 96, 0.2), rgba(255, 213, 96, 0.067)),
    rgba(20, 18, 12, 0.82);
}

body.wow-mode .plan-type label input[type="radio"] {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  min-height: 13px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  accent-color: var(--nook-gold);
  box-shadow: none;
}

body.wow-mode .plan-type label:has(input:checked)::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 233, 153, 0.9), rgba(255, 190, 46, 0.2));
  opacity: 0.72;
}

body.wow-mode .wow-create-fields {
  border-color: rgba(255, 216, 112, 0.16);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 213, 96, 0.07), transparent 19rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 17, 0.82);
}

body.wow-mode .wow-target-fields,
body.wow-mode .wow-specific-fields,
body.wow-mode .wow-run-fields,
body.wow-mode .wow-bonus-fields {
  border: 1px solid rgba(255, 255, 255, 0.055);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01)),
    rgba(7, 9, 14, 0.58);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.wow-mode .wow-target-fields legend,
body.wow-mode .wow-specific-fields legend,
body.wow-mode .wow-run-fields legend,
body.wow-mode .wow-bonus-fields legend {
  color: #ffdf7a;
}

body.wow-mode .wow-need-row,
body.wow-mode .wow-run-row,
body.wow-mode .wow-need-chip,
body.wow-mode .wow-bonus-chip {
  border-color: rgba(255, 216, 112, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 17, 0.72);
}

body.wow-mode .proposal-core,
body.wow-mode .proposal-details,
body.wow-mode .proposal-art {
  border-color: rgba(255, 255, 255, 0.055);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 17, 0.78);
}

body.wow-mode button.secondary,
body.wow-mode .file-button {
  border-color: rgba(255, 216, 112, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 213, 96, 0.12), rgba(255, 213, 96, 0.035)),
    rgba(10, 12, 17, 0.78);
}

/* Professional command-center pass: balanced flow, readable text, consistent surfaces. */
:root {
  --cmd-bg: #05070b;
  --cmd-surface: rgba(11, 14, 20, 0.9);
  --cmd-surface-soft: rgba(15, 18, 26, 0.76);
  --cmd-surface-muted: rgba(8, 10, 15, 0.64);
  --cmd-border: rgba(151, 177, 224, 0.14);
  --cmd-border-strong: rgba(241, 195, 66, 0.34);
  --cmd-text: #f2f5fb;
  --cmd-body: #d5deee;
  --cmd-muted: #9faeca;
  --cmd-gold: #f2c64b;
  --cmd-gold-soft: rgba(242, 198, 75, 0.12);
  --cmd-blue: #6fa7ff;
}

html {
  color-scheme: dark;
}

body,
button,
input,
textarea,
select {
  font-family: "Segoe UI Variable", Aptos, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

body {
  color: var(--cmd-body);
  background:
    radial-gradient(circle at 72% 12%, rgba(242, 198, 75, 0.12), transparent 25rem),
    radial-gradient(circle at 34% 28%, rgba(72, 126, 216, 0.12), transparent 32rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(6, 8, 12, 0.62) 42%, rgba(0, 0, 0, 0.84)),
    var(--hero-image) center top / cover fixed no-repeat,
    var(--cmd-bg);
}

body::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 30%, rgba(0, 0, 0, 0.66)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 104px);
  opacity: 0.62;
}

.shell {
  width: min(1680px, calc(100% - 56px));
}

.nav {
  padding-top: 18px;
}

.brand strong {
  color: var(--cmd-text);
  font-size: 16px;
  font-weight: 750;
}

.brand span {
  color: #dbc36d;
  font-size: 12px;
  font-weight: 500;
}

.mark {
  border-color: rgba(242, 198, 75, 0.55);
  color: var(--cmd-gold);
  background: rgba(8, 11, 18, 0.84);
}

.hero {
  min-height: auto;
}

.hero-grid {
  grid-template-columns: minmax(390px, 0.72fr) minmax(760px, 1fr);
  gap: clamp(48px, 5.2vw, 96px);
  align-items: start;
  padding-top: clamp(36px, 8vh, 108px);
}

.hero-copy {
  padding-top: clamp(48px, 8vh, 118px);
}

.hero-copy h1 {
  max-width: 700px;
  color: var(--cmd-text);
  font-size: clamp(4rem, 5.2vw, 5.65rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    0 22px 68px rgba(0, 0, 0, 0.72),
    0 0 34px rgba(74, 128, 255, 0.12);
}

.hero-copy h1 span {
  white-space: nowrap;
}

.hero-copy p {
  max-width: 640px;
  margin-top: 24px;
  color: #efe1b5;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.65;
}

.proposal-panel {
  width: 100%;
  max-width: 1040px;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(242, 198, 75, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(5, 7, 11, 0.86);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(118%);
}

.proposal-panel::before,
.proposal-panel::after {
  display: none;
}

.plan-type,
.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art,
.toolbar,
.event-card {
  border: 1px solid var(--cmd-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--cmd-surface-soft);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.plan-type {
  gap: 12px;
  padding: 14px;
}

.plan-type::before,
.wow-create-fields::before,
.proposal-core::before,
.proposal-details::before,
.proposal-art::before {
  top: 18px;
  left: 18px;
  height: auto;
  padding: 0 0 0 12px;
  border-left: 3px solid var(--cmd-gold);
  background: transparent;
  color: #f3d46d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-type label {
  min-height: 76px;
  padding: 17px 18px;
  border: 1px solid rgba(151, 177, 224, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(8, 11, 17, 0.76);
  box-shadow: none;
}

.plan-type label:has(input:checked),
body.wow-mode .plan-type label:has(input:checked) {
  border-color: rgba(242, 198, 75, 0.62);
  background:
    linear-gradient(180deg, rgba(242, 198, 75, 0.16), rgba(242, 198, 75, 0.045)),
    rgba(13, 14, 17, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(0, 0, 0, 0.18);
}

.plan-type label:has(input:checked)::before,
body.wow-mode .plan-type label:has(input:checked)::before {
  content: none;
}

.plan-type input[type="radio"],
body.wow-mode .plan-type label input[type="radio"] {
  width: 14px;
  height: 14px;
  min-height: 14px;
  margin-top: 4px;
  accent-color: var(--cmd-gold);
}

.plan-type strong {
  color: var(--cmd-text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.25;
}

.plan-type small {
  max-width: 44ch;
  margin-top: 4px;
  color: #b9c5da;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.35;
}

.wow-create-fields,
.proposal-core,
.proposal-details,
.proposal-art {
  padding: 54px 18px 18px;
}

.wow-create-fields,
body.wow-mode .wow-create-fields {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  border-color: var(--cmd-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--cmd-surface-soft);
}

.wow-primary-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wow-run-fields {
  grid-column: span 4;
}

.wow-bonus-fields {
  grid-column: span 4;
}

.wow-target-fields {
  grid-column: span 4;
}

.wow-specific-fields {
  grid-column: 1 / -1;
}

.wow-target-fields,
.wow-specific-fields,
.wow-run-fields,
.wow-bonus-fields,
body.wow-mode .wow-target-fields,
body.wow-mode .wow-specific-fields,
body.wow-mode .wow-run-fields,
body.wow-mode .wow-bonus-fields {
  border: 0;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
    rgba(7, 10, 15, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 0 0 1px rgba(151, 177, 224, 0.08);
}

.wow-target-fields legend,
.wow-specific-fields legend,
.wow-run-fields legend,
.wow-bonus-fields legend,
body.wow-mode .wow-target-fields legend,
body.wow-mode .wow-specific-fields legend,
body.wow-mode .wow-run-fields legend,
body.wow-mode .wow-bonus-fields legend {
  padding: 0;
  color: #f3d46d;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

label {
  gap: 8px;
  color: #d8c67f;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: 0;
}

small,
.custom-art-name,
#customArtName {
  color: var(--cmd-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

input,
textarea,
select {
  min-height: 44px;
  border: 1px solid rgba(151, 177, 224, 0.16);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--cmd-text);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.3;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.96), rgba(4, 5, 8, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

select option,
select optgroup {
  color: #f2f5fb;
  background-color: #070a0f;
}

select option:checked {
  color: #101014;
  background-color: #f2c64b;
}

input:not([type="file"]),
select {
  height: 44px;
  box-sizing: border-box;
}

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

input::placeholder,
textarea::placeholder {
  color: rgba(190, 199, 215, 0.68);
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(242, 198, 75, 0.28);
}

input:focus,
textarea:focus,
select:focus,
body.wow-mode input:focus,
body.wow-mode textarea:focus,
body.wow-mode select:focus {
  outline: none;
  border-color: rgba(111, 167, 255, 0.72);
  box-shadow:
    0 0 0 3px rgba(111, 167, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wow-target-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wow-need-builder {
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) minmax(80px, 0.38fr) auto;
  gap: 12px;
}

.wow-need-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.wow-need-row,
body.wow-mode .wow-need-row,
.wow-run-row,
body.wow-mode .wow-run-row {
  min-height: 66px;
  padding: 14px;
  border: 1px solid rgba(151, 177, 224, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
    rgba(8, 11, 17, 0.7);
}

.wow-need-row strong {
  color: #f4d770;
  font-size: 15px;
  font-weight: 720;
}

.wow-need-row span {
  color: #d7deea;
  font-size: 14px;
  line-height: 1.35;
}

button,
.file-button {
  min-height: 44px;
  border: 1px solid rgba(242, 198, 75, 0.5);
  border-radius: 8px;
  padding: 10px 16px;
  color: #151006;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  background:
    linear-gradient(180deg, #ffe58a 0%, #f2c64b 48%, #d79d2b 100%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

button.secondary,
.file-button,
body.wow-mode button.secondary,
body.wow-mode .file-button {
  color: #edf4ff;
  border-color: rgba(151, 177, 224, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012)),
    rgba(11, 14, 20, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

.wow-run-builder > button.secondary {
  min-height: 42px;
}

.form-actions button:first-child {
  min-height: 52px;
  font-size: 15px;
  font-weight: 780;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(242, 198, 75, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.proposal-core,
.proposal-details,
.proposal-art {
  grid-column: span 4;
}

.art-preview {
  border: 1px solid rgba(151, 177, 224, 0.14);
  border-radius: 8px;
  background: rgba(3, 5, 9, 0.72);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.art-preview img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.toolbar {
  margin-top: 42px;
  padding: 22px 24px;
}

.toolbar h2 {
  color: var(--cmd-text);
  font-size: 24px;
  font-weight: 760;
}

.toolbar p {
  color: #afbdd5;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 1500px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .proposal-panel {
    max-width: 1080px;
  }
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 24px, 1080px);
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, 15vw, 4.8rem);
  }

  .proposal-panel,
  .wow-create-fields {
    grid-template-columns: 1fr;
  }

  .wow-primary-fields,
  .wow-target-grid,
  .wow-need-builder,
  .wow-need-list {
    grid-template-columns: 1fr;
  }

  .wow-run-fields,
  .wow-bonus-fields,
  .wow-target-fields,
  .wow-specific-fields,
  .proposal-core,
  .proposal-details,
  .proposal-art {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1080px);
  }

  .nav {
    align-items: center;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 3.9rem);
  }

  .hero-copy p {
    font-size: 15px;
  }

  .proposal-panel {
    padding: 12px;
  }

  .plan-type,
  .wow-create-fields,
  .proposal-core,
  .proposal-details,
  .proposal-art {
    padding-inline: 14px;
  }

  .wow-target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wow-target-grid label:last-child {
    grid-column: 1 / -1;
  }

  .wow-target-fields,
  .wow-specific-fields,
  .wow-run-fields,
  .wow-bonus-fields {
    padding: 14px;
  }

  .wow-run-fields small,
  .wow-bonus-fields small,
  .wow-target-fields small,
  .wow-specific-fields small {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Flow pass: run, schedule, roster, details, review. */
.hero-grid {
  grid-template-columns: minmax(360px, 0.58fr) minmax(900px, 1.06fr);
  gap: clamp(42px, 4.6vw, 82px);
}

.proposal-panel {
  max-width: 1160px;
}

.wow-create-fields,
.wow-extra-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: 54px 18px 18px;
  border: 1px solid var(--cmd-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--cmd-surface-soft);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.wow-extra-fields::before {
  content: attr(data-section);
  position: absolute;
  top: 18px;
  left: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--cmd-gold);
  color: #f3d46d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wow-extra-fields {
  position: relative;
}

.wow-extra-fields.hidden {
  display: none;
}

.wow-create-fields.hidden {
  display: none;
}

body.wow-mode .proposal-core {
  grid-column: 1 / -1;
}

body.wow-mode .proposal-core .form-row.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wow-mode .proposal-details {
  grid-column: span 7;
}

body.wow-mode .proposal-art {
  grid-column: span 5;
}

.wow-run-fields {
  grid-column: span 3;
}

.wow-bonus-fields {
  grid-column: span 4;
}

.wow-target-fields {
  grid-column: span 5;
}

.wow-specific-fields {
  grid-column: 1 / -1;
}

.wow-run-fields small,
.wow-bonus-fields small,
.wow-target-fields small,
.wow-specific-fields small {
  color: #c3cedf;
}

.proposal-review {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(151, 177, 224, 0.13);
  border-radius: 8px;
  color: #cbd6e8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(7, 10, 15, 0.66);
}

.proposal-review span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(151, 177, 224, 0.11);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.15;
  background: rgba(11, 14, 20, 0.78);
}

.proposal-review .review-label {
  color: #1a1204;
  border-color: rgba(242, 198, 75, 0.65);
  background: linear-gradient(180deg, #f5d975, #c99730);
}

.form-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.form-actions button:first-child {
  min-width: 170px;
}

@media (max-width: 1500px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .wow-create-fields,
  .wow-extra-fields {
    grid-template-columns: 1fr;
  }

  .wow-run-fields,
  .wow-bonus-fields,
  .wow-target-fields,
  .wow-specific-fields,
  body.wow-mode .proposal-details,
  body.wow-mode .proposal-art {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wow-create-fields,
  .wow-extra-fields {
    padding-inline: 14px;
  }

  body.wow-mode .proposal-core .form-row.split {
    grid-template-columns: 1fr;
  }

  .proposal-review {
    gap: 6px;
  }

  .proposal-review span {
    max-width: 100%;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .form-actions button:first-child {
    min-width: 0;
    width: 100%;
  }
}

/* Product UI polish pass */
:root {
  --product-page: #070a11;
  --product-panel: rgba(18, 24, 34, 0.94);
  --product-panel-2: rgba(24, 31, 42, 0.92);
  --product-line: rgba(169, 184, 214, 0.16);
  --product-line-strong: rgba(246, 200, 87, 0.32);
  --product-text: #f7f1df;
  --product-muted: #aab5d7;
  --product-gold: #f2c94c;
  --product-green: #52df93;
  --product-blue: #79a8ff;
  --product-red: #ff6478;
  --product-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

body {
  color: var(--product-text);
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.78), rgba(5, 8, 14, 0.92)),
    linear-gradient(135deg, rgba(242, 201, 76, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(79, 217, 239, 0.07), transparent 42%),
    var(--product-page);
}

body.wow-mode {
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.7), rgba(5, 7, 12, 0.93)),
    linear-gradient(135deg, rgba(242, 201, 76, 0.11), transparent 36%),
    linear-gradient(225deg, rgba(82, 223, 147, 0.06), transparent 44%),
    var(--product-page);
}

.shell {
  width: min(1440px, calc(100% - 40px));
  padding-bottom: 64px;
}

.hero {
  min-height: auto;
  padding: 28px 0 22px;
}

.nav {
  margin-bottom: 24px;
  padding: 12px 14px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: rgba(9, 13, 21, 0.68);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  color: var(--product-text);
}

.mark,
.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242, 201, 76, 0.42);
  border-radius: 8px;
  color: #130f03;
  background: linear-gradient(135deg, #ffe48a, #d99d25);
  box-shadow: 0 10px 28px rgba(242, 201, 76, 0.18);
}

.hero-grid {
  align-items: start;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  gap: 24px;
}

.hero-copy {
  min-height: auto;
  padding: 30px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(242, 201, 76, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(19, 25, 35, 0.95), rgba(12, 17, 25, 0.95));
  box-shadow: var(--product-shadow);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(2.7rem, 4.3vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--product-text);
}

.hero-copy p {
  max-width: 620px;
  color: var(--product-muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.button,
button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--product-text);
  background: linear-gradient(180deg, rgba(43, 51, 68, 0.96), rgba(21, 27, 38, 0.98));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 201, 76, 0.36);
  background: linear-gradient(180deg, rgba(51, 61, 80, 0.98), rgba(24, 31, 43, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.button.primary,
button.primary,
.form-actions button[type="submit"] {
  color: #130f03;
  border-color: rgba(255, 230, 137, 0.45);
  background: linear-gradient(180deg, #ffe38a, #d89f27);
}

.button.secondary,
button.secondary {
  color: var(--product-text);
  background: linear-gradient(180deg, rgba(41, 51, 72, 0.98), rgba(22, 30, 45, 0.98));
}

.proposal-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--product-line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 30, 40, 0.97), rgba(13, 18, 27, 0.97));
  box-shadow: var(--product-shadow);
}

.proposal-panel [data-section]::before,
.proposal-panel fieldset::before {
  content: none;
}

.plan-type,
.proposal-core,
.wow-create-fields,
.proposal-details,
.proposal-art,
.form-actions {
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 35, 48, 0.86), rgba(13, 18, 27, 0.9));
}

.plan-type {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
}

.plan-type label,
.plan-option {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.48);
}

.plan-type label:has(input:checked),
.plan-option.active {
  border-color: rgba(242, 201, 76, 0.48);
  background: linear-gradient(180deg, rgba(242, 201, 76, 0.16), rgba(242, 201, 76, 0.05));
}

.proposal-core,
.proposal-details,
.wow-create-fields {
  grid-column: span 7;
  padding: 16px;
}

.proposal-art {
  grid-column: span 5;
  padding: 16px;
}

.form-actions {
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

label span {
  color: var(--product-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
textarea,
select {
  border: 1px solid rgba(169, 184, 214, 0.18);
  border-radius: 8px;
  color: var(--product-text);
  background: rgba(6, 10, 17, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(242, 201, 76, 0.62);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.12);
}

.art-preview,
.event-art {
  border: 1px solid rgba(242, 201, 76, 0.18);
  border-radius: 8px;
  background: rgba(5, 8, 14, 0.7);
}

.art-preview img,
.event-art img {
  filter: saturate(1.08) contrast(1.04);
}

.toolbar {
  margin: 20px 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: rgba(10, 15, 23, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.toolbar h2 {
  color: var(--product-text);
}

.toolbar p,
.empty-state,
.muted {
  color: var(--product-muted);
}

.event-list {
  gap: 18px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 31, 43, 0.96), rgba(12, 17, 25, 0.97));
  box-shadow: var(--product-shadow);
}

.event-main,
.event-side {
  min-width: 0;
}

.event-side {
  align-self: start;
  padding: 14px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.88), rgba(7, 11, 18, 0.92));
}

.event-title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--product-text);
}

.event-detail {
  color: var(--product-muted);
}

.event-status {
  border: 1px solid rgba(121, 168, 255, 0.32);
  border-radius: 999px;
  color: #dfe8ff;
  background: rgba(121, 168, 255, 0.12);
}

.event-status.approved {
  border-color: rgba(82, 223, 147, 0.34);
  color: #dfffe9;
  background: rgba(82, 223, 147, 0.12);
}

.event-status.cancelled {
  border-color: rgba(255, 100, 120, 0.34);
  color: #ffe4e9;
  background: rgba(255, 100, 120, 0.12);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.stat {
  min-height: 64px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.68);
}

.stat strong {
  color: var(--product-text);
  font-size: 1.2rem;
}

.interest-actions,
.time-area,
.side-block {
  padding: 12px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.58);
}

.final-vote label,
.interest-actions h4,
.time-area h4,
.side-block h4 {
  color: var(--product-text);
  letter-spacing: 0;
}

.suggested-time {
  border: 1px solid rgba(169, 184, 214, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 21, 0.72);
}

.suggested-time.approved {
  border-color: rgba(82, 223, 147, 0.42);
  background: rgba(82, 223, 147, 0.1);
}

.event-card.wow-event {
  grid-template-columns: minmax(0, 1fr);
}

.event-card.wow-event .event-main {
  padding: 0;
}

.event-card.wow-event .event-side {
  display: none;
}

.wow-raid-panel {
  margin-top: 12px;
  border: 1px solid rgba(242, 201, 76, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(242, 201, 76, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(15, 22, 31, 0.94), rgba(7, 11, 18, 0.96));
  box-shadow: inset 4px 0 0 rgba(242, 201, 76, 0.78);
}

.wow-raid-head {
  align-items: start;
}

.wow-raid-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 18px 10px 24px;
}

.wow-raid-copy {
  min-width: 0;
}

.wow-raid-copy > span {
  display: block;
  margin-bottom: 4px;
  color: var(--product-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wow-raid-title {
  display: block;
  color: var(--product-text);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.wow-raid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.wow-raid-meta span,
.wow-tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(169, 184, 214, 0.18);
  border-radius: 999px;
  color: var(--product-muted);
  background: rgba(7, 12, 19, 0.72);
}

.wow-fill-card {
  min-width: 170px;
  padding: 14px 16px;
  border: 1px solid rgba(169, 184, 214, 0.16);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.82);
  text-align: center;
}

.wow-fill-number {
  display: block;
  color: var(--product-text);
  font-size: 2.65rem;
  line-height: 1;
}

.wow-fill-label {
  color: var(--product-muted);
}

.wow-role-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 8px 18px 18px 24px;
}

.wow-role-pill,
.wow-roster-lane {
  border: 1px solid rgba(169, 184, 214, 0.14);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.74);
}

.wow-role-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
}

.wow-role-pill .wow-bar,
.wow-meter-row .wow-bar {
  grid-column: 1 / -1;
}

.wow-role-pill > span,
.wow-meter-row > span,
.wow-lane-head > span,
.wow-roster-class > strong,
.wow-signup > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wow-role-pill > b,
.wow-meter-row > b,
.wow-lane-head > b {
  color: var(--product-muted);
  font-size: 0.9rem;
}

.wow-role-pill strong,
.wow-lane-title,
.wow-lane-head strong,
.wow-player-name,
.wow-section-title {
  color: var(--product-text);
}

.wow-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px 24px;
}

.wow-roster-lane {
  min-height: 88px;
  padding: 12px;
  overflow: hidden;
}

.wow-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(169, 184, 214, 0.12);
}

.wow-lane-count,
.wow-roster-empty,
.wow-player-meta {
  color: var(--product-muted);
}

.wow-need-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(169, 184, 214, 0.16);
}

.wow-need-bar span {
  background: linear-gradient(90deg, var(--product-gold), var(--product-green));
}

.wow-need-bar i,
.wow-bar i {
  background: linear-gradient(90deg, var(--product-gold), var(--product-green));
}

.wow-roster-row {
  min-height: 38px;
  gap: 10px;
  padding: 6px 0;
}

.wow-class-icon,
.wow-role-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.26);
}

.wow-warning-list,
.wow-warnings,
.wow-class-mix,
.wow-specific-needs,
.wow-bonus-runs,
.wow-notes,
.wow-signup-form,
.wow-bonus-form {
  margin: 0 18px 14px 24px;
  padding: 14px;
  border: 1px solid rgba(169, 184, 214, 0.14);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.62);
}

.wow-warning-list {
  border-color: rgba(255, 100, 120, 0.24);
  background: rgba(255, 100, 120, 0.07);
}

.wow-warnings {
  color: #ffdce2;
  border-color: rgba(255, 100, 120, 0.24);
  background: rgba(255, 100, 120, 0.07);
}

.wow-class-grid,
.wow-need-grid,
.wow-bonus-grid,
.wow-signup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wow-class-grid span,
.wow-need-chip,
.wow-bonus-chip {
  border: 1px solid rgba(169, 184, 214, 0.13);
  border-radius: 8px;
  background: rgba(8, 13, 21, 0.62);
}

.wow-roster-class {
  margin-top: 10px;
}

.wow-roster-class > strong {
  margin-bottom: 4px;
  color: var(--product-muted);
}

.wow-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  padding: 7px 0 7px 4px;
  border-bottom: 1px solid rgba(169, 184, 214, 0.08);
}

.wow-signup:last-child {
  border-bottom: 0;
}

.wow-signup > span,
.wow-signup > small {
  display: block;
  margin-left: 36px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.wow-signup > strong span,
.wow-roster-class > strong span {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: rgba(10, 15, 23, 0.72);
}

@media (max-width: 1180px) {
  .hero-grid,
  .event-card {
    grid-template-columns: 1fr;
  }

  .proposal-core,
  .proposal-details,
  .wow-create-fields,
  .proposal-art {
    grid-column: 1 / -1;
  }

  .wow-role-summary,
  .wow-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 22px);
  }

  .hero-copy,
  .proposal-panel,
  .event-card {
    padding: 12px;
  }

  .plan-type,
  .stats,
  .wow-role-summary,
  .wow-roster-grid,
  .wow-raid-top {
    grid-template-columns: 1fr;
  }

  .wow-raid-top {
    padding: 14px 14px 8px 18px;
  }

  .wow-role-summary,
  .wow-roster-grid {
    padding-left: 18px;
    padding-right: 14px;
  }

  .wow-warning-list,
  .wow-warnings,
  .wow-class-mix,
  .wow-specific-needs,
  .wow-bonus-runs,
  .wow-notes,
  .wow-signup-form,
  .wow-bonus-form {
    margin-left: 18px;
    margin-right: 14px;
  }

  .wow-class-grid,
  .wow-need-grid,
  .wow-bonus-grid,
  .wow-signup-grid {
    grid-template-columns: 1fr;
  }

  .wow-class-grid span,
  .wow-need-chip,
  .wow-bonus-chip {
    min-width: 0;
  }
}

.plan-type::before,
body.wow-mode .plan-type::before {
  content: none;
  display: none;
}

.plan-type,
body.wow-mode .plan-type {
  padding: 18px;
}

@media (max-width: 760px) {
  .plan-type,
  body.wow-mode .plan-type {
    padding: 18px 14px 14px;
  }
}

/* MegaBot guided builder */
.assistant-panel {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  padding-top: 50px;
  border-radius: 8px;
  background: #eaf5f7;
  box-shadow: inset 0 0 0 1px #cfe0dd, 0 14px 30px rgba(20, 28, 20, 0.06);
}

.assistant-panel::before {
  content: attr(data-section);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--sx-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assistant-copy {
  display: grid;
  gap: 5px;
}

.assistant-copy strong {
  color: var(--sx-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

.assistant-copy span,
.assistant-actions span {
  color: var(--sx-muted);
  font-weight: 650;
}

.assistant-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.assistant-prompts button {
  justify-content: flex-start;
  min-height: 38px;
  color: var(--sx-green);
  background: var(--sx-card);
}

.assistant-input {
  grid-column: 1 / -1;
}

.assistant-input textarea {
  min-height: 94px;
  resize: vertical;
}

.assistant-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

#assistantBuildButton {
  color: #fff;
  background: var(--sx-green);
}

#assistantBuildButton:disabled {
  cursor: wait;
  opacity: 0.72;
}

#assistantStatus[data-tone="ok"] {
  color: #0e6c48;
}

#assistantStatus[data-tone="warn"] {
  color: #8a5f00;
}

#assistantStatus[data-tone="error"] {
  color: var(--sx-red);
}

.proposal-core {
  grid-row: 3;
}

.proposal-details {
  grid-row: 4;
}

.proposal-art {
  grid-row: 3;
}

.form-actions {
  grid-row: 4 / span 3;
}

body.wow-mode .wow-create-fields {
  grid-row: 3;
}

body.wow-mode .proposal-core {
  grid-row: 4;
}

body.wow-mode .wow-extra-fields {
  grid-row: 5;
}

body.wow-mode .proposal-details {
  grid-row: 6;
}

body.wow-mode .proposal-art {
  grid-row: 3 / span 2;
}

body.wow-mode .form-actions {
  grid-row: 5 / span 3;
}

@media (max-width: 1040px) {
  .assistant-panel,
  .proposal-core,
  .proposal-details,
  .proposal-art,
  .form-actions,
  body.wow-mode .wow-create-fields,
  body.wow-mode .proposal-core,
  body.wow-mode .wow-extra-fields,
  body.wow-mode .proposal-details,
  body.wow-mode .proposal-art,
  body.wow-mode .form-actions {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .assistant-panel {
    grid-template-columns: 1fr;
    padding: 16px;
    padding-top: 46px;
  }

  .assistant-prompts,
  .assistant-actions {
    grid-template-columns: 1fr;
  }
}

/* Keep WoW tab in the same product layout as the regular tab */
body.wow-mode .hero-copy,
body.wow-mode .proposal-panel,
body.wow-mode .plan-type,
body.wow-mode .proposal-core,
body.wow-mode .proposal-details,
body.wow-mode .proposal-art,
body.wow-mode .form-actions,
body.wow-mode .wow-create-fields,
body.wow-mode .wow-extra-fields {
  color: var(--sx-ink);
}

body.wow-mode .hero-copy {
  background: var(--sx-panel);
  box-shadow: none;
}

body.wow-mode .hero-copy h1 {
  color: var(--sx-ink);
  text-shadow: none;
}

body.wow-mode .hero-copy p {
  color: var(--sx-muted);
}

body.wow-mode .proposal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

body.wow-mode .plan-type {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

body.wow-mode .plan-type label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 98px;
  padding: 18px;
  color: var(--sx-ink);
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

body.wow-mode .plan-type label:has(input:checked) {
  background: #ecf8f2;
  box-shadow: inset 0 0 0 2px var(--sx-green-2);
}

body.wow-mode .plan-type strong {
  color: var(--sx-ink);
}

body.wow-mode .plan-type small {
  color: var(--sx-muted);
}

body.wow-mode .wow-create-fields,
body.wow-mode .proposal-core,
body.wow-mode .wow-extra-fields,
body.wow-mode .proposal-details {
  grid-column: 1;
  width: auto;
  min-width: 0;
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line), 0 10px 24px rgba(20, 28, 20, 0.04);
}

body.wow-mode .proposal-art,
body.wow-mode .form-actions {
  grid-column: 2;
  width: auto;
  min-width: 0;
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line), 0 10px 24px rgba(20, 28, 20, 0.04);
}

body.wow-mode .wow-primary-fields,
body.wow-mode .proposal-core .form-row.split,
body.wow-mode .wow-target-grid,
body.wow-mode .wow-need-builder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.wow-mode .wow-extra-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wow-mode .wow-run-fields,
body.wow-mode .wow-bonus-fields,
body.wow-mode .wow-target-fields,
body.wow-mode .wow-specific-fields {
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

body.wow-mode input,
body.wow-mode textarea,
body.wow-mode select {
  color: var(--sx-ink);
  background: var(--sx-app);
  box-shadow: inset 0 0 0 1px var(--sx-line-strong);
}

body.wow-mode label,
body.wow-mode .upload-field span,
body.wow-mode .name-box {
  color: var(--sx-muted);
}

@media (max-width: 1040px) {
  body.wow-mode .proposal-panel {
    grid-template-columns: 1fr;
  }

  body.wow-mode .wow-create-fields,
  body.wow-mode .proposal-core,
  body.wow-mode .wow-extra-fields,
  body.wow-mode .proposal-details,
  body.wow-mode .proposal-art,
  body.wow-mode .form-actions {
    grid-column: 1;
    position: static;
  }
}

@media (max-width: 760px) {
  body.wow-mode .plan-type,
  body.wow-mode .wow-primary-fields,
  body.wow-mode .proposal-core .form-row.split,
  body.wow-mode .wow-extra-fields,
  body.wow-mode .wow-target-grid,
  body.wow-mode .wow-need-builder {
    grid-template-columns: 1fr;
  }
}

/* Solid product surface pass: reduce gradients and wireframe outlines */
:root {
  --solid-page: #080b10;
  --solid-shell: #0d1219;
  --solid-card: #141b24;
  --solid-card-2: #19222e;
  --solid-card-3: #0f151d;
  --solid-input: #0a1017;
  --solid-edge: #263242;
  --solid-edge-soft: rgba(38, 50, 66, 0.58);
  --solid-text: #f6f0df;
  --solid-muted: #b4bfda;
  --solid-accent: #f0bf43;
  --solid-accent-soft: #322812;
  --solid-green: #5ee093;
  --solid-red: #e95870;
  --solid-blue: #78a6ff;
  --solid-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

body,
body.wow-mode {
  color: var(--solid-text);
  background: var(--solid-page);
}

.nav,
.hero-copy,
.proposal-panel,
.toolbar,
.event-card {
  border: 0;
  background: var(--solid-card);
  box-shadow: var(--solid-shadow);
}

.nav {
  background: var(--solid-card-3);
}

.mark,
.brand-mark {
  border: 0;
  background: var(--solid-accent);
  color: #171007;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  background: var(--solid-card);
  box-shadow: var(--solid-shadow), inset 0 0 0 2px var(--solid-edge-soft);
}

.hero-copy::before {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--solid-accent);
}

.hero-copy h1 {
  text-wrap: balance;
}

.proposal-panel {
  background: var(--solid-card);
  box-shadow: var(--solid-shadow), inset 0 0 0 2px rgba(240, 191, 67, 0.28);
}

.plan-type,
.proposal-core,
.wow-create-fields,
.proposal-details,
.proposal-art,
.form-actions,
.event-side,
.interest-actions,
.time-area,
.side-block,
.empty-state {
  border: 0;
  background: var(--solid-card-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.plan-type label,
.plan-option {
  border: 0;
  background: var(--solid-card-3);
  box-shadow: inset 0 0 0 2px transparent;
}

.plan-type label:has(input:checked),
.plan-option.active {
  border: 0;
  background: var(--solid-accent-soft);
  box-shadow: inset 0 0 0 2px var(--solid-accent);
}

label span,
.toolbar p,
.empty-state,
.muted,
.event-detail,
.wow-fill-label,
.wow-lane-count,
.wow-roster-empty,
.wow-player-meta {
  color: var(--solid-muted);
}

input,
textarea,
select {
  border: 0;
  background: var(--solid-input);
  color: var(--solid-text);
  box-shadow: inset 0 0 0 2px var(--solid-edge);
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: inset 0 0 0 2px var(--solid-accent), 0 0 0 4px rgba(240, 191, 67, 0.16);
}

.button,
button {
  border: 0;
  background: #222d3d;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

.button:hover,
button:hover {
  background: #2a374a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.button.primary,
button.primary,
.form-actions button[type="submit"] {
  background: var(--solid-accent);
  color: #171007;
  box-shadow: 0 12px 26px rgba(240, 191, 67, 0.2);
}

.button.secondary,
button.secondary {
  background: #202a39;
}

.art-preview,
.event-art {
  border: 0;
  background: var(--solid-card-3);
  box-shadow: inset 0 0 0 2px var(--solid-edge-soft);
}

.event-card {
  background: var(--solid-card);
}

.event-side {
  background: var(--solid-card-3);
}

.event-status {
  border: 0;
  background: #1d2940;
  color: #dce7ff;
  box-shadow: inset 0 0 0 2px rgba(120, 166, 255, 0.22);
}

.event-status.approved {
  background: #143321;
  color: #e3ffec;
  box-shadow: inset 0 0 0 2px rgba(94, 224, 147, 0.24);
}

.event-status.cancelled {
  background: #3a1720;
  color: #ffe4e9;
  box-shadow: inset 0 0 0 2px rgba(233, 88, 112, 0.24);
}

.stat,
.suggested-time {
  border: 0;
  background: var(--solid-card-3);
  box-shadow: inset 0 0 0 2px var(--solid-edge-soft);
}

.wow-raid-panel {
  border: 0;
  background: var(--solid-card-3);
  box-shadow: inset 7px 0 0 var(--solid-accent), inset 0 0 0 2px rgba(240, 191, 67, 0.26);
}

.wow-raid-meta span,
.wow-tag-chip {
  border: 0;
  background: #182131;
  color: var(--solid-muted);
  box-shadow: inset 0 0 0 2px rgba(120, 166, 255, 0.12);
}

.wow-fill-card,
.wow-role-pill,
.wow-roster-lane,
.wow-warning-list,
.wow-warnings,
.wow-class-mix,
.wow-specific-needs,
.wow-bonus-runs,
.wow-notes,
.wow-signup-form,
.wow-bonus-form,
.wow-class-grid span,
.wow-need-chip,
.wow-bonus-chip {
  border: 0;
  background: #0b1119;
  box-shadow: inset 0 0 0 2px var(--solid-edge-soft);
}

.wow-role-pill,
.wow-roster-lane {
  background: #101721;
}

.wow-warnings,
.wow-warning-list {
  color: #ffe0e5;
  background: #2a151d;
  box-shadow: inset 0 0 0 2px rgba(233, 88, 112, 0.28);
}

.wow-lane-head {
  border-bottom: 0;
}

.wow-lane-head::after {
  content: "";
  display: block;
  grid-column: 1 / -1;
}

.wow-bar,
.wow-need-bar {
  background: #182534;
}

.wow-bar i,
.wow-need-bar i,
.wow-need-bar span {
  background: var(--solid-green);
}

.wow-roster-empty {
  border: 2px dashed #27374e;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.wow-signup {
  border-bottom: 0;
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #0f1d31;
  box-shadow: inset 0 0 0 2px rgba(120, 166, 255, 0.14);
}

.wow-signup.tentative,
.wow-signup.bench {
  background: #1d1e18;
  box-shadow: inset 0 0 0 2px rgba(240, 191, 67, 0.14);
}

.wow-signup.absent {
  background: #28151c;
  box-shadow: inset 0 0 0 2px rgba(233, 88, 112, 0.16);
}

.wow-class-grid span.active,
.wow-need-chip.filled {
  background: #221d10;
  box-shadow: inset 0 0 0 2px rgba(240, 191, 67, 0.36);
}

/* Savexa-inspired product shell */
:root {
  --sx-page: #dfe4df;
  --sx-app: #f8f9f7;
  --sx-card: #ffffff;
  --sx-card-soft: #f2f5f1;
  --sx-panel: #edf6fb;
  --sx-ink: #10130f;
  --sx-muted: #5f695f;
  --sx-soft: #879084;
  --sx-line: #d9dfd7;
  --sx-line-strong: #c8d1c5;
  --sx-green: #0f2414;
  --sx-green-2: #16a571;
  --sx-yellow: #f4c247;
  --sx-red: #d34a5f;
  --sx-blue: #2d7fc7;
  --sx-shadow: 0 22px 48px rgba(28, 34, 27, 0.13);
}

body,
body.wow-mode {
  color: var(--sx-ink);
  background: var(--sx-page);
}

.shell {
  width: min(1320px, calc(100% - 32px));
  margin: 22px auto 44px;
  padding: 0;
  border-radius: 8px;
  background: var(--sx-app);
  box-shadow: 0 28px 70px rgba(20, 28, 20, 0.18);
  overflow: hidden;
}

.hero {
  padding: 0;
}

.nav {
  margin: 0;
  padding: 18px 20px;
  border-radius: 0;
  border-bottom: 2px solid var(--sx-line);
  background: var(--sx-card);
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  color: var(--sx-ink);
}

.brand strong {
  color: var(--sx-ink);
}

.brand span {
  color: var(--sx-muted);
}

.mark,
.brand-mark {
  background: var(--sx-green);
  color: #ffffff;
  box-shadow: none;
}

.nav .icon-button,
#refreshButton {
  color: var(--sx-ink);
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.hero-grid {
  grid-template-columns: minmax(360px, 0.8fr) minmax(560px, 1.2fr);
  gap: 18px;
  padding: 18px;
}

.hero-copy {
  min-height: 210px;
  padding: 30px;
  color: var(--sx-ink);
  background: var(--sx-panel);
  box-shadow: none;
}

.hero-copy::before {
  width: 64px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--sx-green);
}

.hero-copy h1 {
  color: var(--sx-ink);
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  text-shadow: none;
}

.hero-copy p {
  color: var(--sx-muted);
}

.proposal-panel {
  gap: 12px;
  padding: 14px;
  background: var(--sx-card);
  box-shadow: none;
}

.plan-type,
.proposal-core,
.wow-create-fields,
.proposal-details,
.proposal-art,
.form-actions,
.toolbar,
.event-card,
.event-side,
.interest-actions,
.time-area,
.side-block,
.empty-state {
  color: var(--sx-ink);
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line), 0 10px 24px rgba(20, 28, 20, 0.04);
}

.plan-type {
  background: var(--sx-card-soft);
}

.plan-type label,
.plan-option {
  color: var(--sx-ink);
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.plan-type label:has(input:checked),
.plan-option.active {
  background: #ecf8f2;
  box-shadow: inset 0 0 0 2px var(--sx-green-2);
}

.plan-type strong,
.event-title,
.toolbar h2,
.stat strong,
.final-vote label,
.interest-actions h4,
.time-area h4,
.side-block h4 {
  color: var(--sx-ink);
}

.plan-type small,
label span,
.toolbar p,
.empty-state,
.muted,
.event-detail,
.wow-fill-label,
.wow-lane-count,
.wow-roster-empty,
.wow-player-meta {
  color: var(--sx-muted);
}

label,
.upload-field span,
.name-box {
  color: var(--sx-muted);
}

input,
textarea,
select {
  color: var(--sx-ink);
  background: var(--sx-app);
  box-shadow: inset 0 0 0 1px var(--sx-line-strong);
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: inset 0 0 0 2px var(--sx-green-2), 0 0 0 4px rgba(22, 165, 113, 0.11);
}

input::placeholder,
textarea::placeholder {
  color: #8c9689;
}

.button,
button {
  color: var(--sx-ink);
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line-strong);
}

.button:hover,
button:hover {
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-green-2), 0 8px 18px rgba(20, 28, 20, 0.1);
}

.button.primary,
button.primary,
.form-actions button[type="submit"] {
  color: #ffffff;
  background: var(--sx-green);
  box-shadow: none;
}

.button.secondary,
button.secondary {
  color: var(--sx-ink);
  background: var(--sx-card-soft);
}

.art-preview,
.event-art {
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

main {
  padding: 0 18px 22px;
}

.toolbar {
  margin: 0 0 18px;
  padding: 18px;
}

.event-card {
  background: var(--sx-card);
}

.event-side {
  background: var(--sx-card-soft);
}

.event-status {
  color: var(--sx-green);
  background: #eef7ee;
  box-shadow: inset 0 0 0 1px #bed9c1;
}

.event-status.approved {
  color: #0e6c48;
  background: #e7f7ef;
  box-shadow: inset 0 0 0 1px #a9dfc5;
}

.event-status.cancelled {
  color: var(--sx-red);
  background: #fff0f2;
  box-shadow: inset 0 0 0 1px #edc5cb;
}

.stat,
.suggested-time,
.proposal-review,
.proposal-review span {
  color: var(--sx-ink);
  background: var(--sx-app);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.proposal-review .review-label {
  color: #ffffff;
  background: var(--sx-green);
  box-shadow: none;
}

.wow-raid-panel {
  color: var(--sx-ink);
  background: var(--sx-card);
  box-shadow: inset 6px 0 0 var(--sx-green-2), inset 0 0 0 1px var(--sx-line);
}

.wow-raid-copy > span,
.wow-section-title,
.wow-class-mix h5,
.wow-specific-needs h5,
.wow-bonus-runs h5,
.wow-signup-form h5 {
  color: var(--sx-green);
}

.wow-raid-title,
.wow-role-pill strong,
.wow-lane-head strong,
.wow-player-name,
.wow-roster-class > strong,
.wow-signup > strong,
.wow-need-chip strong,
.wow-bonus-chip strong {
  color: var(--sx-ink);
}

.wow-raid-meta span,
.wow-tag-chip {
  color: var(--sx-muted);
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.wow-fill-card,
.wow-role-pill,
.wow-roster-lane,
.wow-class-mix,
.wow-specific-needs,
.wow-bonus-runs,
.wow-notes,
.wow-signup-form,
.wow-bonus-form {
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.wow-warning-list,
.wow-warnings {
  color: #6d1524;
  background: #fff0f2;
  box-shadow: inset 0 0 0 1px #edc5cb;
}

.wow-fill-number {
  color: var(--sx-green);
}

.wow-role-pill,
.wow-roster-lane {
  background: var(--sx-card);
}

.wow-bar,
.wow-need-bar {
  background: #dce5dc;
}

.wow-bar i,
.wow-need-bar i,
.wow-need-bar span {
  background: var(--sx-green-2);
}

.wow-roster-empty {
  border-color: #bfd3c3;
}

.wow-class-grid span,
.wow-need-chip,
.wow-bonus-chip {
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.wow-class-grid span.active,
.wow-need-chip.filled {
  background: #ecf8f2;
  box-shadow: inset 0 0 0 2px #9bd7bd;
}

.wow-signup {
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px #bfd0eb;
}

.wow-signup.tentative,
.wow-signup.bench {
  background: #fff8e7;
  box-shadow: inset 0 0 0 1px #ead49a;
}

.wow-signup.absent {
  background: #fff0f2;
  box-shadow: inset 0 0 0 1px #edc5cb;
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 18px);
    margin-top: 9px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .proposal-panel,
  .proposal-core,
  .proposal-details,
  .proposal-art,
  .wow-create-fields {
    min-width: 0;
  }
}

/* Interaction layout pass: make both tabs behave like a product builder */
.hero-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-copy {
  min-height: 0;
  position: relative;
  display: block;
  padding-right: min(390px, 36%);
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  display: block;
  position: absolute;
  right: 30px;
  top: 30px;
  width: min(310px, 30%);
  height: 150px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(15, 36, 20, 0.08), rgba(15, 36, 20, 0.08)),
    url("/event-art/mega-m-clean-default.png") center / cover no-repeat;
}

.hero-copy h1,
.hero-copy p {
  max-width: 720px;
}

.proposal-panel {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 14px;
  padding: 16px;
}

.plan-type {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proposal-core,
.proposal-details,
.wow-create-fields,
.wow-extra-fields {
  grid-column: 1;
}

.proposal-art,
.form-actions {
  grid-column: 2;
}

.proposal-core {
  grid-row: 2;
}

.proposal-details {
  grid-row: 3;
}

.proposal-art {
  grid-row: 2;
  position: sticky;
  top: 14px;
}

.form-actions {
  grid-row: 3 / span 3;
  position: sticky;
  top: 320px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.form-actions button {
  width: 100%;
}

.proposal-review {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
}

.proposal-review span {
  justify-content: flex-start;
  min-height: 30px;
}

.proposal-panel [data-section],
.proposal-panel fieldset {
  position: relative;
  padding-top: 44px;
}

.proposal-panel [data-section]::before,
.proposal-panel fieldset::before {
  content: attr(data-section);
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--sx-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proposal-panel fieldset legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.plan-type {
  padding-top: 14px;
}

.plan-type::before {
  content: "Choose Workflow";
  position: static;
  display: block;
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--sx-green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.plan-type label {
  min-height: 98px;
}

body.wow-mode .proposal-panel {
  grid-template-columns: minmax(0, 1fr) 340px;
}

body.wow-mode .wow-create-fields {
  grid-row: 2;
}

body.wow-mode .proposal-core {
  grid-row: 3;
}

body.wow-mode .wow-extra-fields {
  grid-row: 4;
}

body.wow-mode .proposal-details {
  grid-row: 5;
}

body.wow-mode .proposal-art {
  grid-row: 2 / span 2;
}

body.wow-mode .form-actions {
  grid-row: 4 / span 3;
}

.wow-create-fields,
.wow-extra-fields {
  padding: 16px;
  padding-top: 44px;
  background: var(--sx-card);
  box-shadow: inset 0 0 0 1px var(--sx-line), 0 10px 24px rgba(20, 28, 20, 0.04);
}

.wow-primary-fields,
.wow-extra-grid,
.wow-target-grid,
.wow-need-builder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wow-run-fields,
.wow-bonus-fields,
.wow-target-fields,
.wow-specific-fields {
  padding: 16px;
  padding-top: 44px;
  background: var(--sx-card-soft);
  box-shadow: inset 0 0 0 1px var(--sx-line);
}

.wow-run-fields::before,
.wow-bonus-fields::before,
.wow-target-fields::before,
.wow-specific-fields::before {
  color: var(--sx-muted);
}

.wow-extra-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wow-target-fields,
.wow-specific-fields {
  grid-column: 1 / -1;
}

@media (max-width: 1040px) {
  .hero-copy {
    padding-right: 30px;
  }

  .hero-copy::after {
    position: static;
    width: 100%;
    height: 170px;
    margin-top: 20px;
  }

  .proposal-panel,
  body.wow-mode .proposal-panel {
    grid-template-columns: 1fr;
  }

  .proposal-core,
  .proposal-details,
  .proposal-art,
  .form-actions,
  .wow-create-fields,
  .wow-extra-fields,
  body.wow-mode .wow-create-fields,
  body.wow-mode .proposal-core,
  body.wow-mode .wow-extra-fields,
  body.wow-mode .proposal-details,
  body.wow-mode .proposal-art,
  body.wow-mode .form-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .proposal-art,
  .form-actions,
  body.wow-mode .proposal-art,
  body.wow-mode .form-actions {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero-copy::after {
    min-height: 130px;
  }

  .plan-type,
  .wow-primary-fields,
  .wow-extra-fields,
  .wow-target-grid,
  .wow-need-builder {
    grid-template-columns: 1fr;
  }

  .proposal-panel [data-section],
  .proposal-panel fieldset {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Final builder ordering and assistant surface */
.assistant-panel {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 50px 18px 18px;
  border-radius: 8px;
  background: #eaf5f7;
  box-shadow: inset 0 0 0 1px #cfe0dd, 0 14px 30px rgba(20, 28, 20, 0.06);
}

.assistant-panel::before {
  content: attr(data-section);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--sx-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assistant-copy {
  display: grid;
  gap: 5px;
}

.assistant-copy strong {
  color: var(--sx-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

.assistant-copy span,
.assistant-actions span {
  color: var(--sx-muted);
  font-weight: 650;
}

.assistant-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.assistant-prompts button {
  justify-content: flex-start;
  min-height: 38px;
  color: var(--sx-green);
  background: var(--sx-card);
}

.assistant-input,
.assistant-actions {
  grid-column: 1 / -1;
}

.assistant-input textarea {
  min-height: 94px;
  resize: vertical;
}

.assistant-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

#assistantBuildButton {
  color: #fff;
  background: var(--sx-green);
}

#assistantBuildButton:disabled {
  cursor: wait;
  opacity: 0.72;
}

#assistantStatus[data-tone="ok"] {
  color: #0e6c48;
}

#assistantStatus[data-tone="warn"] {
  color: #8a5f00;
}

#assistantStatus[data-tone="error"] {
  color: var(--sx-red);
}

.proposal-core {
  grid-row: 3;
}

.proposal-details {
  grid-row: 4;
}

.proposal-art {
  grid-row: 3;
}

.form-actions {
  grid-row: 4 / span 3;
}

body.wow-mode .wow-create-fields {
  grid-row: 3;
}

body.wow-mode .proposal-core {
  grid-row: 4;
}

body.wow-mode .wow-extra-fields {
  grid-row: 5;
}

body.wow-mode .proposal-details {
  grid-row: 6;
}

body.wow-mode .proposal-art {
  grid-row: 3 / span 2;
}

body.wow-mode .form-actions {
  grid-row: 5 / span 3;
}

@media (max-width: 1040px) {
  .assistant-panel,
  .proposal-core,
  .proposal-details,
  .proposal-art,
  .form-actions,
  body.wow-mode .wow-create-fields,
  body.wow-mode .proposal-core,
  body.wow-mode .wow-extra-fields,
  body.wow-mode .proposal-details,
  body.wow-mode .proposal-art,
  body.wow-mode .form-actions {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .assistant-panel {
    grid-template-columns: 1fr;
    padding: 46px 16px 16px;
  }

  .assistant-prompts,
  .assistant-actions {
    grid-template-columns: 1fr;
  }
}

/* 2026 application workspace redesign: solid product UI, command-first builder. */
:root {
  --app-bg: #dfe5df;
  --app-shell: #f6f7f3;
  --app-panel: #ffffff;
  --app-panel-soft: #eef2ed;
  --app-ink: #101610;
  --app-muted: #667066;
  --app-line: #d1dad0;
  --app-green: #082814;
  --app-green-2: #155d35;
  --app-gold: #c79a2b;
  --app-blue: #315ed8;
  --app-red: #c93b3b;
  --app-shadow: 0 22px 70px rgba(18, 28, 20, 0.14);
  --app-shadow-soft: 0 12px 34px rgba(18, 28, 20, 0.09);
}

body,
body.wow-mode {
  color: var(--app-ink);
  background:
    linear-gradient(90deg, rgba(27, 36, 29, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(27, 36, 29, 0.05) 1px, transparent 1px),
    var(--app-bg);
  background-size: 44px 44px;
}

body::before,
body.wow-mode::before {
  display: none;
}

.shell {
  width: min(100% - 28px, 1540px);
}

.hero {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  padding: 18px 0 34px;
}

.nav {
  position: sticky;
  top: 18px;
  align-self: start;
  min-height: calc(100vh - 36px);
  margin: 0;
  padding: 18px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  border: 1px solid rgba(10, 40, 20, 0.1);
  border-radius: 8px;
  background: #eef1ec;
  box-shadow: var(--app-shadow-soft);
}

.brand {
  align-items: flex-start;
}

.brand strong {
  color: var(--app-ink);
  font-size: 1.05rem;
}

.brand span,
.hero-copy p,
label,
.assistant-copy span,
.assistant-actions span {
  color: var(--app-muted);
}

.mark {
  border: 0;
  color: #fff;
  background: var(--app-green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px rgba(8, 40, 20, 0.18);
}

.icon-button {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.hero-copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
  min-height: 190px;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid rgba(10, 40, 20, 0.09);
  border-radius: 8px;
  background:
    url("/assets/megaserver-web-hero.png") right center / auto 115% no-repeat,
    var(--app-shell);
  box-shadow: var(--app-shadow);
}

body.wow-mode .hero-copy {
  background:
    url("/assets/wow-planning-bg.png") right center / auto 120% no-repeat,
    var(--app-shell);
}

.hero-copy::before {
  content: "Build workspace";
  position: absolute;
  top: 20px;
  left: 32px;
  color: var(--app-green-2);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy::after {
  content: "AI draft -> review -> post";
  align-self: end;
  justify-self: end;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 10px 14px;
  border: 1px solid rgba(8, 40, 20, 0.14);
  border-radius: 8px;
  color: var(--app-green);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--app-shadow-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin-top: 30px;
  max-width: 640px;
  color: var(--app-ink);
  font-size: clamp(2.4rem, 4.8vw, 4.9rem);
  line-height: 0.94;
  text-shadow: none;
}

.hero-copy p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
  text-shadow: none;
}

.proposal-panel,
body.wow-mode .proposal-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(10, 40, 20, 0.1);
  border-radius: 8px;
  background: var(--app-shell);
  box-shadow: var(--app-shadow);
}

.proposal-panel::before,
.proposal-panel::after,
.proposal-panel [data-section]::before,
.proposal-panel fieldset::before {
  display: none;
}

.plan-type {
  grid-column: 1 / 9;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #e9eee8;
  box-shadow: inset 0 0 0 1px rgba(8, 40, 20, 0.08);
}

.plan-type legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.plan-type label,
body.wow-mode .plan-type label {
  min-height: 76px;
  margin: 0;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--app-ink);
  background: var(--app-panel);
  box-shadow: 0 8px 22px rgba(18, 28, 20, 0.05);
}

.plan-type label:has(input:checked),
body.wow-mode .plan-type label:has(input:checked) {
  border-color: rgba(21, 93, 53, 0.28);
  background: #ecf6ef;
  box-shadow: inset 0 0 0 1px rgba(21, 93, 53, 0.16), 0 12px 28px rgba(18, 28, 20, 0.09);
}

.plan-type strong {
  color: var(--app-ink);
  font-size: 1rem;
}

.plan-type small {
  color: var(--app-muted);
  line-height: 1.35;
}

.assistant-panel {
  grid-column: 1 / 9;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(320px, 1fr);
  gap: 16px;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background: #dfeff1;
  box-shadow: inset 0 0 0 1px #c5d9d8, var(--app-shadow-soft);
}

.assistant-copy strong {
  color: var(--app-ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.assistant-prompts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistant-prompts button,
button.secondary,
.interest-actions button,
.time-chip,
.final-option,
.icon-button,
.file-button,
body.wow-mode button.secondary,
body.wow-mode .interest-actions button,
body.wow-mode .time-chip,
body.wow-mode .final-option,
body.wow-mode .icon-button,
body.wow-mode .file-button {
  border: 1px solid rgba(8, 40, 20, 0.11);
  color: var(--app-ink);
  background: #fff;
  box-shadow: 0 9px 22px rgba(18, 28, 20, 0.08);
}

button,
.file-button,
#assistantBuildButton,
#submitProposalButton {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--app-green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 28px rgba(8, 40, 20, 0.18);
}

button:hover,
.file-button:hover {
  filter: none;
  transform: translateY(-1px);
}

input,
textarea,
select,
body.wow-mode input,
body.wow-mode textarea,
body.wow-mode select {
  min-height: 46px;
  border: 1px solid #cbd6ca;
  border-radius: 8px;
  color: var(--app-ink);
  background: #fbfcf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

input:focus,
textarea:focus,
select:focus,
body.wow-mode input:focus,
body.wow-mode textarea:focus,
body.wow-mode select:focus {
  border-color: rgba(49, 94, 216, 0.65);
  box-shadow: 0 0 0 3px rgba(49, 94, 216, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.proposal-core,
.proposal-details,
.proposal-art,
.wow-create-fields,
.wow-run-fields,
.wow-bonus-fields,
.wow-target-fields,
.wow-specific-fields,
body.wow-mode .wow-create-fields,
body.wow-mode .wow-target-fields,
body.wow-mode .wow-run-fields,
body.wow-mode .wow-bonus-fields,
body.wow-mode .wow-specific-fields {
  border: 0;
  border-radius: 8px;
  background: var(--app-panel);
  box-shadow: inset 0 0 0 1px rgba(8, 40, 20, 0.09), var(--app-shadow-soft);
}

.proposal-core,
.proposal-details,
.proposal-art,
.wow-create-fields {
  padding: 18px;
}

.proposal-core {
  grid-column: 1 / 5;
  grid-row: 3;
}

.proposal-details {
  grid-column: 5 / 9;
  grid-row: 3;
}

.proposal-art {
  grid-column: 1 / 9;
  grid-row: 4;
}

.form-actions,
body.wow-mode .form-actions {
  position: sticky;
  top: 18px;
  grid-column: 9 / -1;
  grid-row: 1 / span 4;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(8, 40, 20, 0.09), var(--app-shadow);
}

.proposal-review {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 0;
}

.review-heading {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--app-green);
}

.review-heading strong {
  font-size: 1.45rem;
  line-height: 1.08;
}

.review-heading small,
.review-label,
.review-block small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.review-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5db;
}

.review-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--app-gold);
}

.review-stack,
.review-block {
  display: grid;
  gap: 8px;
}

.review-stack > span,
.review-chips span {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(8, 40, 20, 0.1);
  border-radius: 8px;
  background: var(--app-panel-soft);
  color: var(--app-ink);
  font-weight: 760;
}

.review-stack b,
.review-chips b {
  color: var(--app-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.review-block small {
  color: var(--app-muted);
}

.review-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wow-create-fields,
body.wow-mode .wow-create-fields {
  grid-column: 1 / 9;
  grid-row: 3;
}

body.wow-mode .proposal-core {
  grid-column: 1 / 5;
  grid-row: 4;
}

body.wow-mode .proposal-art {
  grid-column: 5 / 9;
  grid-row: 4;
}

.wow-extra-fields,
body.wow-mode .wow-extra-fields {
  grid-column: 1 / -1;
  grid-row: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.wow-mode .proposal-details {
  grid-column: 1 / -1;
  grid-row: 6;
}

.wow-primary-fields,
.wow-target-grid,
.wow-need-builder {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wow-run-fields,
.wow-bonus-fields,
.wow-target-fields,
.wow-specific-fields {
  padding: 18px;
}

.wow-run-fields legend,
.wow-bonus-fields legend,
.wow-target-fields legend,
.wow-specific-fields legend {
  padding: 0;
  color: var(--app-green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wow-target-grid label {
  min-height: 92px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f7f1;
  box-shadow: inset 0 0 0 1px rgba(8, 40, 20, 0.08);
}

.wow-target-grid input {
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--app-green);
  font-size: 1.55rem;
  font-weight: 900;
}

.wow-run-row,
.wow-need-row,
.wow-need-chip,
.wow-bonus-chip,
.stats span,
body.wow-mode .wow-run-row,
body.wow-mode .wow-need-row {
  border: 1px solid rgba(8, 40, 20, 0.1);
  border-radius: 8px;
  background: #f7f8f4;
  box-shadow: 0 8px 20px rgba(18, 28, 20, 0.06);
}

.wow-need-row {
  padding: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.wow-need-row strong {
  color: var(--app-green);
}

.wow-need-row span,
.wow-run-empty,
.wow-specific-fields small,
.wow-bonus-fields small,
.wow-run-fields small,
.wow-target-fields small {
  color: var(--app-muted);
}

.art-preview {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #101610;
  box-shadow: 0 18px 40px rgba(18, 28, 20, 0.16);
}

.art-preview img {
  width: 100%;
  min-height: 210px;
  object-fit: cover;
}

.toolbar,
.event-card,
body.wow-mode .event-card,
body.wow-mode .toolbar {
  border: 1px solid rgba(8, 40, 20, 0.09);
  border-radius: 8px;
  background: var(--app-shell);
  box-shadow: var(--app-shadow-soft);
}

.events {
  display: grid;
  gap: 16px;
}

.event-card {
  grid-template-columns: minmax(0, 1fr) 300px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .nav {
    position: static;
    min-height: 0;
    flex-direction: row;
    align-items: center;
  }

  .icon-button {
    width: auto;
  }

  .plan-type,
  .assistant-panel,
  .proposal-core,
  .proposal-details,
  .proposal-art,
  .wow-create-fields,
  .wow-extra-fields,
  body.wow-mode .wow-create-fields,
  body.wow-mode .proposal-core,
  body.wow-mode .proposal-art,
  body.wow-mode .wow-extra-fields,
  body.wow-mode .proposal-details {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .form-actions,
  body.wow-mode .form-actions {
    position: static;
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 16px, 1540px);
  }

  .hero-copy {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-copy::after {
    justify-self: start;
  }

  .proposal-panel {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .plan-type,
  .assistant-panel,
  .wow-extra-fields,
  body.wow-mode .wow-extra-fields,
  .wow-primary-fields,
  .wow-target-grid,
  .wow-need-builder,
  .review-chips {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }
}

/* Guided event-builder pass: make setup feel like an app workflow, not a dumped form. */
:root {
  color-scheme: light;
  --app-bg: #e8ede8;
  --surface: #fbfcf9;
  --surface-2: #f2f5ef;
  --surface-3: #e8eee8;
  --ink: #111a15;
  --ink-soft: #5d685f;
  --ink-faint: #879289;
  --accent: #0f351c;
  --accent-2: #19a974;
  --gold: #d7a72f;
  --line-soft: #d3ddd3;
  --line-strong: #b9c7ba;
}

body,
body.wow-mode {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 26, 21, 0.05), transparent 24%, transparent 76%, rgba(17, 26, 21, 0.05)),
    var(--app-bg);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

body::before {
  display: none;
}

.shell {
  width: min(1560px, calc(100% - 40px));
}

.hero {
  min-height: 0;
  padding: 22px 0 36px;
}

.nav {
  width: min(1280px, 100%);
  margin: 0 auto 18px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(251, 252, 249, 0.9);
  box-shadow: 0 16px 40px rgba(17, 26, 21, 0.08);
}

.brand strong {
  color: var(--ink);
}

.brand span,
.hero-copy p,
label,
.plan-type small,
.assistant-copy span,
.wizard-intro p,
.wizard-help p,
.proposal-review span {
  color: var(--ink-soft);
}

.mark {
  border: 0;
  border-radius: 12px;
  color: #f9f4df;
  background: var(--accent);
  box-shadow: none;
}

.hero-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.hero-copy {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 26, 21, 0.08);
}

.hero-copy h1 {
  max-width: none;
  font-size: 2.15rem;
  line-height: 1.04;
}

.hero-copy h1 span {
  white-space: normal;
}

.hero-copy p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

button,
button.secondary,
.interest-actions button,
.time-chip,
.final-option,
.icon-button,
.file-button,
body.wow-mode button.secondary,
body.wow-mode .interest-actions button,
body.wow-mode .time-chip,
body.wow-mode .final-option,
body.wow-mode .icon-button,
body.wow-mode .file-button {
  min-height: 42px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(15, 53, 28, 0.12);
  text-transform: none;
}

button.secondary,
.icon-button,
.file-button,
.interest-actions button,
.time-chip,
.final-option {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: none;
}

button:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 53, 28, 0.16);
}

input,
textarea,
select,
body.wow-mode input,
body.wow-mode textarea,
body.wow-mode select {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(17, 26, 21, 0.04);
}

select {
  background-image: none;
  padding-right: 12px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(25, 169, 116, 0.16);
}

.proposal-panel,
body.wow-mode .proposal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(17, 26, 21, 0.11);
  overflow: visible;
}

.proposal-panel::before,
.proposal-panel::after,
.proposal-panel [data-section]::before,
.proposal-panel fieldset::before {
  display: none;
}

.wizard-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(25, 169, 116, 0.08), transparent 58%),
    #f7faf5;
}

.wizard-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: #e3f3e9;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wizard-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.wizard-intro p,
.wizard-help p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.wizard-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.wizard-rail button {
  min-height: 58px;
  justify-content: start;
  border-color: var(--line-soft);
  color: var(--ink-soft);
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.wizard-rail button.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.wizard-rail button.complete {
  color: var(--accent);
  border-color: #a7d8bd;
  background: #e7f5ed;
}

.plan-type,
.assistant-panel,
.proposal-core,
.proposal-details,
.proposal-art,
.wow-create-fields,
.wow-extra-fields,
.wizard-help,
.form-actions,
body.wow-mode .wow-create-fields,
body.wow-mode .proposal-core,
body.wow-mode .proposal-art,
body.wow-mode .wow-extra-fields,
body.wow-mode .proposal-details {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: none;
}

.plan-type {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px;
}

.plan-type label {
  min-height: 86px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
}

.plan-type label:has(input:checked),
body.wow-mode .plan-type label:has(input:checked) {
  border-color: var(--accent-2);
  background: #eefaf3;
  box-shadow: inset 0 0 0 1px rgba(25, 169, 116, 0.16);
}

.assistant-panel,
.proposal-core,
.proposal-details,
.proposal-art,
.wow-create-fields,
.wow-extra-fields,
body.wow-mode .wow-create-fields,
body.wow-mode .proposal-core,
body.wow-mode .proposal-art,
body.wow-mode .wow-extra-fields,
body.wow-mode .proposal-details {
  grid-column: 1 / 2;
  padding: 18px;
}

.assistant-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.assistant-copy strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
}

.assistant-prompts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.assistant-prompts button {
  min-height: 48px;
  color: var(--ink);
  border-color: var(--line-soft);
  background: #fff;
  box-shadow: none;
}

.assistant-input textarea {
  min-height: 150px;
  font-size: 1rem;
}

.assistant-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.wizard-help {
  grid-column: 2 / 3;
  grid-row: 3 / span 4;
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
}

.wizard-help strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wizard-actions button:disabled {
  cursor: default;
  opacity: 0.45;
  transform: none;
}

.wizard-hidden {
  display: none !important;
}

.wow-extra-fields,
body.wow-mode .wow-extra-fields {
  display: grid;
  gap: 14px;
}

.wow-target-fields,
.wow-specific-fields,
.wow-bonus-fields,
.wow-run-fields,
body.wow-mode .wow-target-fields,
body.wow-mode .wow-specific-fields,
body.wow-mode .wow-bonus-fields,
body.wow-mode .wow-run-fields {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
}

.wow-target-fields legend,
.wow-specific-fields legend,
.wow-bonus-fields legend,
.wow-run-fields legend,
.plan-type legend {
  color: var(--ink);
  background: transparent;
}

.wow-primary-fields,
.split,
.wow-target-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wow-need-builder {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wow-need-builder button {
  grid-column: 1 / -1;
}

.proposal-art .art-preview {
  border-color: var(--line-soft);
  background: #fff;
}

.form-actions,
body.wow-mode .form-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px auto;
  gap: 12px;
  align-items: stretch;
  padding: 0;
  background: transparent;
  border: 0;
}

.proposal-review {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.review-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
}

.review-heading strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.review-label {
  color: var(--accent);
  font-weight: 900;
}

.review-meter {
  height: 8px;
  border-radius: 999px;
  background: #e7ece8;
  overflow: hidden;
}

.review-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-2);
}

.review-stack,
.review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-stack span,
.review-chips span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink-soft);
  background: var(--surface-2);
}

.review-stack b,
.review-chips b {
  color: var(--ink);
}

.toolbar,
.event-card,
body.wow-mode .toolbar,
body.wow-mode .event-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 26, 21, 0.08);
}

.event-side {
  border-left-color: var(--line-soft);
}

.status,
.stats span {
  border-color: var(--line-soft);
  color: var(--accent);
  background: var(--surface-2);
}

.details,
.toolbar p,
.wow-notes,
.wow-signup small,
.time-meta small {
  color: var(--ink-soft);
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: static;
  }

  .proposal-panel,
  body.wow-mode .proposal-panel {
    grid-template-columns: 1fr;
  }

  .wizard-intro,
  .plan-type,
  .assistant-panel,
  .proposal-core,
  .proposal-details,
  .proposal-art,
  .wow-create-fields,
  .wow-extra-fields,
  .wizard-help,
  .form-actions,
  body.wow-mode .wizard-help {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .wizard-help {
    position: static;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 16px, 1540px);
  }

  .nav,
  .wizard-intro,
  .form-actions,
  body.wow-mode .form-actions {
    grid-template-columns: 1fr;
  }

  .wizard-rail,
  .plan-type,
  .assistant-prompts,
  .wow-primary-fields,
  .split,
  .wow-target-grid,
  .wow-need-builder {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 18px;
  }

  .proposal-panel,
  body.wow-mode .proposal-panel {
    padding: 10px;
    border-radius: 14px;
  }
}

/* Hard reset older layout experiments that turned the header into a side rail. */
.hero {
  display: block !important;
}

.nav {
  position: static !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.hero-copy::before,
.hero-copy::after {
  display: none !important;
}

.hero-copy,
body.wow-mode .hero-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  background: var(--surface) !important;
}

.hero-copy h1,
.hero-copy p,
body.wow-mode .hero-copy h1,
body.wow-mode .hero-copy p {
  position: static !important;
  transform: none !important;
}

.hero-copy h1 {
  order: 1 !important;
  margin: 0 !important;
}

.hero-copy p {
  order: 2 !important;
  margin: 0 !important;
}

.wizard-intro,
.plan-type,
.assistant-panel,
.proposal-core,
.wow-create-fields,
.proposal-details,
.wow-extra-fields,
.proposal-art,
.wizard-help,
.form-actions {
  grid-row: auto !important;
}

/* Audit correction: remove the awkward split workspace and normalize controls. */
.shell {
  width: min(1680px, calc(100% - 48px)) !important;
}

.nav {
  width: min(1480px, 100%) !important;
  gap: 18px !important;
  justify-content: space-between !important;
}

.nav .brand {
  flex: 0 0 auto !important;
}

.nav .icon-button,
.icon-button#refreshButton {
  width: auto !important;
  min-width: 132px !important;
  flex: 0 0 auto !important;
  padding-inline: 20px !important;
}

.hero-grid {
  width: min(1480px, 100%) !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.hero-copy,
body.wow-mode .hero-copy {
  position: static !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 0.55fr) minmax(360px, 1fr) !important;
  gap: 18px 44px !important;
  align-items: center !important;
  padding: 22px 28px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(25, 169, 116, 0.1), rgba(255, 255, 255, 0.66)),
    var(--surface) !important;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 3.1rem) !important;
}

.hero-copy p {
  max-width: 660px !important;
  font-size: 1rem !important;
}

.proposal-panel,
body.wow-mode .proposal-panel {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px) !important;
  max-width: none !important;
}

.wizard-intro {
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 22px !important;
}

.wizard-rail {
  align-self: center !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.wizard-rail button {
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
}

.plan-type label {
  grid-template-columns: auto minmax(0, 1fr) !important;
}

.assistant-prompts button {
  overflow-wrap: anywhere !important;
}

.wizard-help {
  min-width: 0 !important;
}

.wizard-intro,
.plan-type {
  flex: 1 1 100% !important;
}

.proposal-panel > [data-wizard-step]:not(.form-actions):not(.proposal-art),
.proposal-panel > .proposal-art {
  flex: 1 1 calc(100% - 412px) !important;
}

.wizard-help {
  flex: 0 0 380px !important;
}

.form-actions {
  flex: 1 1 100% !important;
}

.proposal-panel > .wizard-intro {
  order: 1 !important;
}

.proposal-panel > .plan-type {
  order: 2 !important;
}

.proposal-panel > [data-wizard-step] {
  order: 3 !important;
}

.proposal-panel > .wizard-help {
  order: 4 !important;
}

.proposal-panel > .form-actions {
  order: 5 !important;
}

body.wow-mode #wowRaidFields,
body.wow-mode #wowExtraFields {
  order: 3 !important;
}

body.wow-mode .proposal-core,
body.wow-mode .proposal-details {
  order: 4 !important;
}

body.wow-mode .wizard-help {
  order: 5 !important;
}

body.wow-mode .form-actions {
  order: 6 !important;
}

.wizard-readback {
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 14px !important;
  background: var(--surface-2) !important;
}

.wizard-readback span {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: baseline !important;
}

.wizard-readback b {
  color: var(--ink-faint) !important;
  font-size: 0.78rem !important;
}

.wizard-readback em {
  min-width: 0 !important;
  color: var(--ink) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  overflow-wrap: anywhere !important;
}

@media (min-width: 981px) {
  .wizard-intro {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .wizard-rail button {
    width: auto !important;
  }
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 20px, 1480px) !important;
  }

  .hero-copy,
  body.wow-mode .hero-copy,
  .wizard-intro,
  .proposal-panel,
  body.wow-mode .proposal-panel {
    grid-template-columns: 1fr !important;
  }

  .nav {
    align-items: stretch !important;
  }

  .nav .icon-button,
  .icon-button#refreshButton {
    min-width: 112px !important;
  }

  .proposal-panel,
  body.wow-mode .proposal-panel {
    display: grid !important;
  }

  .proposal-panel > [data-wizard-step]:not(.form-actions):not(.proposal-art),
  .proposal-panel > .proposal-art,
  .wizard-help,
  .form-actions {
    flex-basis: auto !important;
  }

  .wizard-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 12px, 1480px) !important;
  }

  .nav {
    padding: 10px !important;
  }

  .brand {
    min-width: 0 !important;
  }

  .brand strong,
  .brand span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .hero-copy,
  body.wow-mode .hero-copy,
  .wizard-intro,
  .assistant-panel,
  .proposal-core,
  .proposal-details,
  .proposal-art,
  .wow-create-fields,
  .wow-extra-fields,
  .wizard-help {
    padding: 16px !important;
  }

  .wizard-rail button {
    min-height: 50px !important;
  }

  .wizard-rail {
    grid-template-columns: 1fr !important;
  }
}
