/* Tender conditions: match the technical-specification canvas and remove the shared tray. */
html body:not(.light-theme) #app .tender-conditions-page{
  background-color:#003f3d!important;
  background-image:none!important;
}
html body #app .tender-conditions-page>.tender-create-shell,
html body #app .tender-conditions-page .tender-create-form{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
html body.light-theme #app .tender-conditions-page{
  background-color:#f3f7f5!important;
  background-image:none!important;
}

/* Tender conditions: remove the large turquoise tray beneath the individual cards. */
html body #app .tender-conditions-page>.tender-create-shell,
html body #app .tender-conditions-page .tender-create-form{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
html body:not(.light-theme) #app .tender-conditions-page{
  background-color:#003f3d!important;
  background-image:none!important;
}
html body.light-theme #app .tender-conditions-page{
  background-color:#f3f7f5!important;
  background-image:none!important;
}


/* Tender conditions: use the same card treatment as the technical-specification step. */
html body:not(.light-theme) #app .tender-conditions-page :is(.create-card,.create-summary,.tz-template-progress){
  border:1px solid #35ded4!important;
  background-color:#104b48!important;
  background-image:linear-gradient(145deg,#17615b 0%,#104b48 100%)!important;
  box-shadow:0 10px 28px rgba(0,18,18,.22),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
html body.light-theme #app .tender-conditions-page :is(.create-card,.create-summary,.tz-template-progress){
  border-color:#35bdb6!important;
  background-color:#e1f5f1!important;
  background-image:linear-gradient(105deg,#e1f5f1 0%,#f7fbf9 52%,#eef7f4 100%)!important;
  box-shadow:0 9px 26px rgba(20,65,49,.08)!important;
}

/* These panels are form sections, not clickable cards. Keep their appearance static. */
html body #app .tender-conditions-page :is(.create-card,.create-summary,.tz-template-progress),
html body #app .tender-conditions-page :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within){
  transform:none!important;
  filter:none!important;
  transition:none!important;
}
html body:not(.light-theme) #app .tender-conditions-page :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within){
  border-color:#35ded4!important;
  background-color:#104b48!important;
  background-image:linear-gradient(145deg,#17615b 0%,#104b48 100%)!important;
  box-shadow:0 10px 28px rgba(0,18,18,.22),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
html body.light-theme #app .tender-conditions-page :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within){
  border-color:#35bdb6!important;
  background-color:#e1f5f1!important;
  background-image:linear-gradient(105deg,#e1f5f1 0%,#f7fbf9 52%,#eef7f4 100%)!important;
  box-shadow:0 9px 26px rgba(20,65,49,.08)!important;
}

/* Technical-specification and category panels are form sections, not buttons. */
html body #app .tender-create-page:has(.tulle-tz-form) :is(.create-card,.create-summary,.tz-template-progress),
html body #app .tender-create-page:has(.tulle-tz-form) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within),
html body #app .tender-create-page:has(.category-create-heading) :is(.category-step-card,.tz-template-progress),
html body #app .tender-create-page:has(.category-create-heading) :is(.category-step-card,.tz-template-progress):is(:hover,:focus,:focus-within){transform:none!important;filter:none!important;transition:none!important}
html body:not(.light-theme) #app .tender-create-page:has(.tulle-tz-form) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within),
html body:not(.light-theme) #app .tender-create-page:has(.category-create-heading) :is(.category-step-card,.tz-template-progress):is(:hover,:focus,:focus-within){border-color:#35ded4!important;background-color:#104b48!important;background-image:linear-gradient(145deg,#17615b 0%,#104b48 100%)!important;box-shadow:0 10px 28px rgba(0,18,18,.22),inset 0 1px 0 rgba(255,255,255,.05)!important}
html body.light-theme #app .tender-create-page:has(.tulle-tz-form) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within),
html body.light-theme #app .tender-create-page:has(.category-create-heading) :is(.category-step-card,.tz-template-progress):is(:hover,:focus,:focus-within){border-color:#35bdb6!important;background-color:#e1f5f1!important;background-image:linear-gradient(105deg,#e1f5f1 0%,#f7fbf9 52%,#eef7f4 100%)!important;box-shadow:0 9px 26px rgba(20,65,49,.08)!important}

/* Technical-specification panels are static surfaces, not clickable cards. */
html body #app .tender-create-page:has([data-tulle-tz-form]) :is(.create-card,.create-summary,.tz-template-progress),
html body #app .tender-create-page:has([data-standard-tz-form]) :is(.create-card,.create-summary,.tz-template-progress),
html body #app .tender-create-page:has([data-tulle-tz-form]) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within),
html body #app .tender-create-page:has([data-standard-tz-form]) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within){
  border-color:#35ded4!important;
  background-color:#104b48!important;
  background-image:linear-gradient(145deg,#17615b 0%,#104b48 100%)!important;
  box-shadow:0 10px 28px rgba(0,18,18,.22),inset 0 1px 0 rgba(255,255,255,.05)!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
}
html body.light-theme #app .tender-create-page:has([data-tulle-tz-form]) :is(.create-card,.create-summary,.tz-template-progress),
html body.light-theme #app .tender-create-page:has([data-standard-tz-form]) :is(.create-card,.create-summary,.tz-template-progress),
html body.light-theme #app .tender-create-page:has([data-tulle-tz-form]) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within),
html body.light-theme #app .tender-create-page:has([data-standard-tz-form]) :is(.create-card,.create-summary,.tz-template-progress):is(:hover,:focus,:focus-within){
  border-color:#35bdb6!important;
  background-color:#e1f5f1!important;
  background-image:linear-gradient(105deg,#e1f5f1 0%,#f7fbf9 52%,#eef7f4 100%)!important;
  box-shadow:0 9px 26px rgba(20,65,49,.08)!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
}
