/* KWN Flow | components | fonte arquitetural; não adicionar correções de página fora deste arquivo. */

input:hover {
  border-color: #b8c7bb;
}
input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(79, 127, 82, 0.11);
}
label {
  display: grid;
  gap: 7px;
  color: #56655c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
label small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  background: var(--lime);
  color: var(--forest);
  font: 800 25px var(--ui-font-sans);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 13px;
}
.alert > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  font-weight: 700;
}
.alert > div {
  display: grid;
  gap: 2px;
}
.alert-success {
  border: 1px solid #cee5ca;
  background: #f0f8ed;
  color: #315a35;
}
.alert-success > span {
  background: #cee5ca;
}
.alert-error {
  border: 1px solid #f0c9c1;
  background: #fdf1ee;
  color: #853427;
}
.alert-error > span {
  background: #f0c9c1;
}
.panel-card {
  min-width: 0;
  margin-bottom: 18px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.panel-heading {
  display: grid;
  border-bottom: 1px solid #e7ebe6;
}
.panel-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf1e4;
  color: var(--forest);
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(21, 72, 49, 0.05);
}
.panel-heading span:not(.panel-count) {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.panel-heading h2 {
  margin: 0;
  font: 800 28px/1.1 var(--ui-font-sans);
}
.panel-heading p {
  margin-top: 2px;
  color: var(--muted);
}
.panel-count {
  padding: 6px 9px;
  border-radius: 100px;
  background: #eef2e8;
  color: #647068;
  font-weight: 700;
  font-size: 13px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.primary-button,
.secondary-button,
.ghost-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 18px;
  border-radius: 9px;
  transition: 0.2s;
}
.primary-button {
  border: 0;
  background: var(--forest);
  color: #fff;
}
.primary-button:hover {
  background: #215238;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23, 60, 42, 0.16);
}
.secondary-button {
  border: 1px solid var(--forest);
  background: #fff;
  color: var(--forest);
}
.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--forest);
  font-size: 13px;
}
.ghost-button:hover {
  border-color: var(--leaf);
  background: #f7faf5;
}
.switch-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.switch-field input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch-field > span {
  position: relative;
  width: 37px;
  height: 21px;
  flex: none;
  border-radius: 20px;
  background: #c9d1ca;
  transition: 0.2s;
}
.switch-field > span:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}
.switch-field input:checked + span {
  background: var(--leaf);
}
.switch-field input:checked + span:after {
  transform: translateX(16px);
}
.linked-count {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
}
.admin-photo {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 10px;
  background: #f3eddf;
}
.admin-photo img,
.admin-photo span {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.admin-photo span {
  background-image: url("../images/products-sprite.png");
  background-size: 400% 400%;
  background-position: var(--sprite-x) var(--sprite-y);
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--paper);
}
.login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  overflow: hidden;
  background: var(--forest-deep);
  color: #fff;
}
.login-visual:before,
.login-visual:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.1;
}
.login-visual:before {
  width: 480px;
  height: 480px;
  right: -190px;
  top: -150px;
}
.login-visual:after {
  width: 330px;
  height: 330px;
  left: -120px;
  bottom: -140px;
}
.login-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-brand > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--lime);
  color: var(--forest);
  font: 800 27px var(--ui-font-sans);
}
.login-brand strong {
  font-size: 16px;
}
.login-visual > div {
  position: relative;
  z-index: 1;
  max-width: 530px;
  padding-bottom: 45px;
}
.login-visual p {
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.login-visual h2 {
  margin: 15px 0 20px;
  font: clamp(44px, 5vw, 70px)/0.96 var(--ui-font-sans);
}
.login-visual > div > span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}
.login-card {
  width: min(430px, calc(100% - 50px));
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 14px;
  padding: 35px;
}
.login-card h1 {
  margin: 0;
  font: 800 48px/1 var(--ui-font-sans);
}
.login-card > p:not(.eyebrow) {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}
.login-card .primary-button {
  width: 100%;
  margin-top: 4px;
}
.back-link {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 1100px) {
  .linked-count {
    display: none;
  }
}
@media (max-width: 820px) {
  .brand-symbol {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 21px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-visual {
    display: none;
  }
  .panel-card {
    padding: 18px;
  }
  .panel-heading {
    margin-bottom: 18px;
    padding-bottom: 17px;
  }
  .plan-overview-grid {
    grid-template-columns: 1fr;
  }
  .plan-request-card {
    min-height: 230px;
  }
  .plan-feature-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .panel-heading {
    grid-template-columns: 40px 1fr;
  }
  .panel-heading-action {
    grid-template-columns: 40px 1fr;
  }
  .panel-icon {
    width: 40px;
    height: 40px;
  }
  .panel-count {
    display: none;
  }
  .form-actions .primary-button {
    width: 100%;
  }
  .login-card {
    padding: 24px 5px;
  }
  .login-card h1 {
    font-size: 42px;
  }
}
.add-option-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 7px 0;
  border: 1px dashed #aac0a9;
  border-radius: 10px;
  background: #f7faf5;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}
select:hover,
textarea:hover {
  border-color: #b8c7bb;
}
select:focus,
textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(79, 127, 82, 0.11);
}
.outside-hours-config {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.outside-hours-config > span {
  color: #56655c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.outside-hours-config > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.outside-hours-config label {
  position: relative;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
}
.outside-hours-config input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.outside-hours-config label > span {
  min-height: 65px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbf8;
  transition: 0.2s;
}
.outside-hours-config label strong {
  color: var(--ink);
  font-size: 13px;
}
.outside-hours-config label small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.outside-hours-config input:checked + span {
  border-color: var(--forest);
  background: #f1f7ec;
  box-shadow: 0 0 0 2px rgba(23, 60, 42, 0.07);
}
@media (max-width: 700px) {
  .outside-hours-config > div {
    grid-template-columns: 1fr;
  }
  .field-description {
    grid-column: auto;
  }
  .daily-status {
    grid-column: 1/-1;
    grid-row: 3;
  }
  .daily-status > span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
  }
  .panel-heading,
  .panel-heading-action {
    gap: 9px;
  }
  .panel-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 14px;
  }
  .panel-heading p {
    margin-top: 1px;
  }
  .panel-heading .panel-count {
    display: none;
  }
}
@media print {
  @page {
    margin: 3mm;
    size: auto;
  }
}
.permission-dependency-alert {
  grid-column: 1/-1;
  margin: 2px 0 0;
  padding: 9px 10px;
  border: 1px solid #edc59b;
  border-radius: 8px;
  background: #fff6e9;
  color: #8c5b28;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}
.permission-dependency-alert[hidden] {
  display: none !important;
}
img,
canvas {
  max-width: 100%;
}
@media (max-width: 1180px) {
  .panel-card {
    padding: 23px;
  }
}
@media (max-width: 620px) {
  .panel-card {
    padding: 14px;
    border-radius: 13px;
  }
  .panel-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }
  .panel-heading-action {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .panel-icon {
    width: 38px;
    height: 38px;
  }
  .panel-heading h2 {
    font-size: 24px;
  }
  .panel-heading p {
    line-height: 1.35;
  }
  .form-actions,
  .form-actions .primary-button {
    width: 100%;
  }
  .primary-button,
  .secondary-button,
  .ghost-button {
    min-height: 44px;
  }
  .outside-hours-config > div {
    grid-template-columns: 1fr;
  }
}
@keyframes admin-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 390px) {
  .panel-heading h2 {
    font-size: 22px;
  }
  .admin-photo {
    width: 46px;
    height: 46px;
  }
}
@media (hover: none) {
  .primary-button:hover {
    transform: none;
    box-shadow: none;
  }
}
.admin-photo img {
  object-fit: contain;
  object-position: center;
  padding: 3px;
  background: #f3eddf;
}
.add-option-button:hover {
  border-style: solid;
  background: #edf5e8;
}
.login-help-link {
  margin-top: 13px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.login-help-link:hover {
  text-decoration: underline;
}
.plan-billing-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 99px;
  background: #eef2eb;
  color: #66736b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.plan-billing-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #87928b;
}
.plan-billing-status.is-active {
  background: #e7f4e5;
  color: #3f794a;
}
.plan-billing-status.is-active i {
  background: #57a363;
}
.plan-billing-status.is-trial,
.plan-billing-status.is-pending {
  background: #fff1dc;
  color: #936526;
}
.plan-billing-status.is-trial i,
.plan-billing-status.is-pending i {
  background: #dfa04b;
}
.plan-billing-status.is-overdue,
.plan-billing-status.is-attention,
.plan-billing-status.is-error,
.plan-billing-status.is-suspended {
  background: #fae9e5;
  color: #9a4f41;
}
.plan-billing-status.is-overdue i,
.plan-billing-status.is-attention i,
.plan-billing-status.is-error i,
.plan-billing-status.is-suspended i {
  background: #cc6956;
}
.plan-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 12px;
}
.plan-main-card,
.plan-request-card {
  border: 1px solid #dce4d9;
  border-radius: 16px;
  background: #fffefa;
  box-shadow: 0 10px 35px rgba(20, 55, 37, 0.04);
}
.plan-main-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.plan-main-card > header > div:first-child {
  display: grid;
  gap: 3px;
}
.plan-main-card > header > div:first-child span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-main-card h2 {
  margin: 0;
  font: 800 29px var(--ui-font-sans);
}
.plan-price {
  display: flex;
  align-items: baseline;
  color: var(--forest);
}
.plan-price small {
  font-size: 13px;
  font-weight: 800;
}
.plan-price strong {
  font-size: 28px;
}
.plan-price span {
  color: var(--muted);
  font-size: 13px;
}
.plan-main-card > footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 20px;
  padding: 15px 0 19px;
  border-top: 1px solid var(--line);
}
.plan-main-card > footer > div {
  display: grid;
  gap: 3px;
}
.plan-main-card > footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}
.plan-main-card > footer strong {
  font-size: 13px;
}
.plan-request-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  background: linear-gradient(145deg, #173f2c, #24593e);
  color: #fff;
}
.plan-request-card > span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}
.plan-request-card h2 {
  margin: 13px 0 7px;
  font: 800 25px/1.06 var(--ui-font-sans);
}
.plan-request-card p {
  margin: 0 0 19px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}
.plan-request-card a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  padding: 11px;
  border-radius: 9px;
  background: #fff;
  color: #17422d;
  font-size: 13px;
  font-weight: 800;
}
.plan-request-card > small {
  align-self: center;
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.6;
}
.plan-features-card {
  margin-top: 12px;
}
.plan-features-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.plan-features-card > header > span {
  padding: 6px 9px;
  border-radius: 99px;
  background: #edf3e9;
  color: #52705d;
  font-size: 13px;
  font-weight: 800;
}
.plan-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 18px 18px;
}
.plan-feature-list article {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e1e8df;
  border-radius: 10px;
  background: #fafcf8;
}
.plan-feature-list i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 7px;
  background: #e6f2e3;
  color: #41804e;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.plan-feature-list article > span {
  display: grid;
  gap: 2px;
}
.plan-feature-list strong {
  font-size: 13px;
}
.plan-feature-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.plan-empty {
  max-width: 700px;
  padding: 22px;
}
.plan-empty p {
  color: var(--muted);
}
@media (max-width: 520px) {
  .plan-main-card > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .plan-main-card > footer,
  .plan-feature-list {
    grid-template-columns: 1fr;
  }
  .plan-main-card > footer {
    margin: 0 14px;
  }
  .plan-request-card {
    min-height: 250px;
  }
  .plan-features-card > header {
    align-items: flex-start;
  }
  .plan-features-card > header > span {
    flex: none;
  }
}
@keyframes master-toast-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}
.is-submitting {
  opacity: 0.62;
  pointer-events: none;
}
@keyframes master-section-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.field-description {
  grid-column: span 2;
}
.choices-panel .panel-heading {
  margin-bottom: 16px;
}
@keyframes choice-editor-in {
  from {
    transform: translateX(28px);
    opacity: 0.7;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
body.has-choice-dialog {
  overflow: hidden;
}
.daily-check {
  display: grid;
  grid-template-columns: 30px;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  text-align: center;
}
.daily-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.daily-check > span {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 50px;
  background: #dce2dc;
  transition: 0.2s;
}
.daily-check > span:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: 0.2s;
}
.daily-check input:checked + span {
  background: var(--leaf);
}
.daily-check input:checked + span:after {
  transform: translateX(12px);
}
.daily-check em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}
.daily-check.is-fixed input:checked + span {
  background: #d79a48;
}
.daily-status {
  display: grid;
  gap: 3px;
}
.daily-status > span {
  display: none;
}
.daily-status select {
  height: 36px;
  padding: 0 8px;
  border: 1px solid #dce3da;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 600 13px var(--ui-font-sans);
}
.daily-status select:disabled {
  opacity: 0.45;
}
.browser-notification-toggle {
  height: 31px;
  padding: 0 10px;
  border: 1px solid #dce4da;
  border-radius: 8px;
  background: #fff;
  color: #53665a;
  font: 750 13px var(--ui-font-sans);
  cursor: pointer;
}
.browser-notification-toggle[hidden] {
  display: none;
}
.browser-notification-toggle span {
  margin-right: 3px;
  color: #b5753f;
}
.browser-notification-toggle b {
  font: inherit;
}
.browser-notification-toggle.is-active {
  border-color: #b9d2b9;
  background: #eff7ec;
  color: #376a42;
}
.browser-notification-toggle.is-active span {
  color: #3f844c;
}
.browser-notification-toggle.is-blocked {
  background: #f5f5f4;
  color: #929994;
}
.top-products-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 15px;
}
.top-products-list article {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.top-products-list article > b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf3e9;
  color: #315b3e;
  font-size: 13px;
}
.top-products-list article > div {
  display: grid;
  gap: 5px;
}
.top-products-list article span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.top-products-list article span strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-products-list article span small {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.top-products-list article i {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf1eb;
}
.top-products-list article em {
  width: var(--product-width);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #4e8457;
}
.top-products-list > p {
  grid-column: 1/-1;
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 650px) {
  .top-products-list {
    grid-template-columns: 1fr;
  }
  .top-products-list article span {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }
  .top-products-list article span small {
    white-space: normal;
  }
  .catalog-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-theme-grid label > span {
    min-height: 108px;
  }
}
@keyframes whatsapp-pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(45, 183, 104, 0);
  }
}
.catalog-theme-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  text-transform: none;
}
.catalog-theme-picker > legend {
  padding: 0;
  color: #44564b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}
.catalog-theme-picker > p {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}
.catalog-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
}
.catalog-theme-grid > label {
  position: relative;
  min-width: 0;
  cursor: pointer;
  text-transform: none;
}
.catalog-theme-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.catalog-theme-grid label > span {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-content: start;
  gap: 2px 6px;
  padding: 9px;
  border: 1px solid #dce3de;
  border-radius: 11px;
  background: #fff;
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.catalog-theme-grid label:hover > span {
  border-color: #b8c7bd;
  transform: translateY(-1px);
}
.catalog-theme-preview {
  grid-column: 1/-1;
  height: 42px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 4px;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 8px;
  background: var(--theme-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-primary) 12%, transparent);
}
.catalog-theme-preview b {
  display: block;
  border-radius: 5px;
  background: var(--theme-primary);
}
.catalog-theme-preview b:nth-child(2) {
  background: var(--theme-strong);
}
.catalog-theme-preview b:nth-child(3) {
  background: var(--theme-soft);
}
.catalog-theme-grid strong {
  min-width: 0;
  overflow: hidden;
  color: #26372e;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-theme-grid small {
  grid-column: 1/-1;
  color: #68766d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.catalog-theme-grid em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #d4ddd6;
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: 13px;
  font-style: normal;
}
.catalog-theme-grid input:checked + span {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-primary) 15%, transparent);
}
.catalog-theme-grid input:checked + span em {
  border-color: var(--theme-primary);
  background: var(--theme-primary);
  color: #fff;
}
@media (max-width: 370px) {
  .catalog-theme-grid {
    grid-template-columns: 1fr;
  }
  .catalog-theme-grid label > span {
    min-height: 96px;
  }
}
body.admin-body .login-card {
  border-radius: 16px;
  box-shadow: 0 22px 65px rgba(20, 37, 29, 0.14);
}
body.admin-body .login-card h1 {
  font-size: 31px;
}

@keyframes product-drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0.75;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Shared admin page structure, states and non-blocking alerts. */
body.admin-body .admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--ui-space-4);
  margin: 0 0 var(--ui-space-4);
}
body.admin-body .admin-page-header > div:first-child {
  min-width: 0;
}
body.admin-body .admin-page-header h1 {
  margin: 0;
  color: var(--bo-ink, var(--ink));
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
body.admin-body .admin-page-header p:not(.eyebrow) {
  max-width: 680px;
  margin: var(--ui-space-2) 0 0;
  color: var(--bo-muted, var(--muted));
  font-size: var(--ui-font-support);
  line-height: 1.45;
}
body.admin-body .admin-page-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: none;
}
body.admin-body .ui-state {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 104px;
  padding: 16px;
  border: 1px dashed var(--bo-border-strong, #cfd9d0);
  border-radius: var(--ui-radius-lg, 12px);
  background: var(--bo-surface-soft, #fafcf9);
  color: var(--bo-muted, var(--muted));
  text-align: center;
}
body.admin-body .ui-state > i {
  font-size: 24px;
  color: var(--bo-primary, var(--leaf));
}
body.admin-body .ui-state strong {
  color: var(--bo-ink, var(--forest));
  font-size: 15px;
}
body.admin-body .ui-state :is(span, small) {
  max-width: 440px;
  color: var(--bo-muted, var(--muted));
  font-size: 13px;
  line-height: 1.5;
}
body.admin-body .ui-state[hidden] {
  display: none;
}

/* Progressive disclosure shared by forms across the Admin. */
body.admin-body details.progressive-settings {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bo-border);
  border-radius: var(--ui-radius-md);
  background: var(--bo-surface);
}
body.admin-body details.progressive-settings > summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
body.admin-body details.progressive-settings > summary::-webkit-details-marker { display: none; }
body.admin-body details.progressive-settings > summary > span {
  min-width: 0;
  display: grid;
  flex: 1;
  gap: 2px;
}
body.admin-body details.progressive-settings > summary strong {
  color: var(--bo-ink);
  font-size: 13px;
  font-weight: 700;
}
body.admin-body details.progressive-settings > summary small {
  color: var(--bo-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
body.admin-body details.progressive-settings > summary > b {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: var(--ui-radius-pill);
  background: var(--bo-surface-soft);
  color: var(--bo-primary);
  font-size: 13px;
  font-weight: 800;
}
body.admin-body details.progressive-settings > summary > i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--bo-muted);
  border-bottom: 2px solid var(--bo-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--ui-transition);
}
body.admin-body details.progressive-settings[open] > summary {
  border-bottom: 1px solid var(--bo-border);
  background: var(--bo-surface-soft);
}
body.admin-body details.progressive-settings[open] > summary > i {
  transform: rotate(225deg) translate(-1px, -1px);
}
body.admin-body .progressive-settings-body { padding: 12px; }
body.admin-body .progressive-settings:not([open]) > .progressive-settings-body { display: none; }

/* Shared navigation for the configuration area. */
body.admin-body .settings-config-tabs {
  position: sticky;
  z-index: 20;
  top: 8px;
  width: min(680px, 100%);
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 10px;
  padding: 3px;
  overflow-x: auto;
  border: 1px solid var(--bo-border);
  border-radius: var(--ui-radius-md);
  background: color-mix(in srgb, var(--bo-surface) 94%, transparent);
  box-shadow: none;
  scrollbar-width: none;
}
body.admin-body .settings-config-tabs::-webkit-scrollbar { display: none; }
body.admin-body .settings-config-tabs a {
  position: relative;
  min-width: 0;
  min-height: 36px;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: var(--ui-radius-sm);
  color: var(--bo-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color var(--ui-transition),
    color var(--ui-transition),
    box-shadow var(--ui-transition);
}
body.admin-body .settings-config-tabs a > .bi {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 17px;
  line-height: 1;
}
body.admin-body .settings-config-tabs a:hover {
  background: var(--bo-surface);
  color: var(--bo-text);
}
body.admin-body .settings-config-tabs a.active {
  background: var(--bo-surface);
  color: var(--bo-primary);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--bo-primary) 11%, transparent);
}
body.admin-body .settings-config-tabs a.active::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
}
body.admin-body .admin-main {
  position: relative;
}
body.admin-body .admin-main::before {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--bo-primary, var(--leaf));
  opacity: 0;
  transition: opacity 0.15s;
}
body.admin-body .admin-main.is-changing-tab::before {
  width: 72%;
  opacity: 1;
  animation: admin-route-progress 0.85s ease-in-out infinite alternate;
}
@keyframes admin-route-progress {
  from { transform: translateX(-35%); }
  to { transform: translateX(105%); }
}
body.admin-body .admin-topbar-account,
body.admin-body .admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
body.admin-body .admin-topbar-account {
  min-width: 0;
  max-width: 230px;
  gap: 8px;
  padding-left: 3px;
}
body.admin-body .admin-topbar-account > i {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--ui-success-border);
  border-radius: 9px;
  background: var(--ui-success-soft);
  color: var(--bo-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
body.admin-body .admin-topbar-account > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}
body.admin-body .admin-topbar-account :is(small, strong) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.admin-body .admin-topbar-account small {
  color: var(--bo-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}
body.admin-body .admin-topbar-account strong {
  color: var(--bo-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
body.admin-body .admin-alert-toggle {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--bo-border, #dbe3db);
  border-radius: 9px;
  background: #fff;
  color: var(--bo-ink-soft, #536158);
  font: 750 13px var(--ui-font-sans);
  cursor: pointer;
}
body.admin-body .admin-alert-toggle:hover,
body.admin-body .admin-alert-toggle[aria-expanded="true"] {
  border-color: var(--bo-border-strong, #b8c7bd);
  color: var(--bo-primary, var(--leaf));
  background: var(--bo-surface-soft, #f7faf7);
}
body.admin-body [data-admin-alert-count] {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 9px;
  background: #b83b32;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
body.admin-body [data-admin-alert-count][hidden] {
  display: none;
}
body.admin-body .admin-alert-center {
  position: fixed;
  z-index: 150;
  top: 76px;
  right: 20px;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}
body.admin-body .admin-operation-alert {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--ui-border);
  border-left: 3px solid var(--ui-warning);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 40px rgba(20, 43, 30, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: auto;
}
body.admin-body .admin-operation-alert.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.admin-body .admin-operation-alert > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ui-warning-soft);
  color: var(--ui-warning);
  font-weight: 900;
}
body.admin-body .admin-operation-alert > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}
body.admin-body .admin-operation-alert strong,
body.admin-body .admin-operation-alert small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.admin-body .admin-operation-alert strong { font-size: 13px; }
body.admin-body .admin-operation-alert small { color: var(--bo-muted, var(--muted)); font-size: 12px; }
body.admin-body .admin-operation-alert > a {
  color: var(--bo-primary, var(--leaf));
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
}
body.admin-body .admin-operation-alert > button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--bo-muted, var(--muted));
  font-size: 20px;
  cursor: pointer;
}
body.admin-body .admin-operation-alert.is-order { border-left-color: var(--ui-success); }
body.admin-body .admin-operation-alert.is-error,
body.admin-body .admin-operation-alert.is-overdue { border-left-color: var(--ui-danger); }
body.admin-body .admin-alert-history {
  position: fixed;
  z-index: 160;
  top: 0;
  right: 0;
  width: min(390px, 100vw);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 1px solid var(--bo-border, #dbe3db);
  background: #fff;
  box-shadow: -18px 0 55px rgba(19, 39, 27, 0.17);
}
body.admin-body .admin-alert-history[hidden] { display: none; }
body.admin-body .admin-alert-history > header,
body.admin-body .admin-alert-history > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--bo-border, #e3e9e4);
}
body.admin-body .admin-alert-history > header > div { display: grid; gap: 2px; }
body.admin-body .admin-alert-history > header small { color: var(--bo-muted, var(--muted)); }
body.admin-body .admin-alert-history > header button,
body.admin-body .admin-alert-history > footer button {
  border: 0;
  background: transparent;
  color: var(--bo-primary, var(--leaf));
  font-weight: 800;
  cursor: pointer;
}
body.admin-body .admin-alert-history > div {
  overflow: auto;
  padding: 8px 14px;
}
body.admin-body .admin-alert-history-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid #edf1ed;
  color: inherit;
  text-decoration: none;
}
body.admin-body .admin-alert-history-item > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--bo-surface-soft, #f3f7f3);
  color: var(--bo-primary, var(--leaf));
  font-weight: 900;
}
body.admin-body .admin-alert-history-item > div { min-width: 0; display: grid; gap: 3px; }
body.admin-body .admin-alert-history-item small { color: var(--bo-muted, var(--muted)); line-height: 1.4; }
body.admin-body .admin-alert-history-item time { color: var(--bo-muted, var(--muted)); font-size: 11px; }
body.admin-body .admin-alert-history-empty { padding: 34px 8px; color: var(--bo-muted, var(--muted)); text-align: center; }
body.admin-body .mobile-admin-more-sheet nav button[data-admin-alert-toggle] {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 11px;
  padding: 11px;
  border: 1px solid var(--bo-border, #dbe3db);
  border-radius: 11px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
body.admin-body .mobile-admin-more-sheet nav button[data-admin-alert-toggle] > span { grid-row: 1 / 3; }
body.admin-body .mobile-admin-more-sheet nav button[data-admin-alert-toggle] small { grid-column: 2; }

/* Contextual actions shared by Admin and Master. */
:is(body.admin-body, body.master-body) .action-menu {
  position: relative;
  z-index: 12;
  flex: none;
}
:is(body.admin-body, body.master-body) .action-menu > summary {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ui-border-strong);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  color: var(--ui-icon-muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
:is(body.admin-body, body.master-body) .action-menu > summary::-webkit-details-marker { display: none; }
:is(body.admin-body, body.master-body) .action-menu > summary > b {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
:is(body.admin-body, body.master-body) .action-menu > summary:has(> b) {
  width: auto;
  min-width: 40px;
  gap: 7px;
  padding-inline: 10px;
}
:is(body.admin-body, body.master-body) .action-menu[open] > summary,
:is(body.admin-body, body.master-body) .action-menu > summary:hover {
  border-color: var(--ui-primary);
  background: var(--ui-surface-soft);
  color: var(--ui-primary);
}
:is(body.admin-body, body.master-body) .action-menu-popover {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  right: 0;
  width: max-content;
  min-width: 190px;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-md);
}
:is(body.admin-body, body.master-body) .action-menu-popover form { display: contents; }
:is(body.admin-body, body.master-body) .action-menu-popover button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 11px;
  border: 0;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  color: var(--ui-text);
  font: 750 13px var(--ui-font-sans);
  text-align: left;
  cursor: pointer;
}
:is(body.admin-body, body.master-body) .action-menu-popover .action-menu-secondary:hover {
  background: var(--ui-surface-soft);
  color: var(--ui-primary);
}
:is(body.admin-body, body.master-body) .action-menu-popover .action-menu-danger {
  color: var(--ui-danger);
}
:is(body.admin-body, body.master-body) .action-menu-popover .action-menu-danger:hover {
  background: var(--ui-danger-soft);
  color: var(--ui-danger);
}
:is(body.admin-body, body.master-body) .action-menu-popover button:disabled {
  color: var(--ui-icon-muted);
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 820px) {
  body.admin-body .settings-config-tabs {
    top: 5px;
    width: 100%;
    margin-bottom: 12px;
  }
  body.admin-body .settings-config-tabs a {
    min-width: max-content;
    min-height: 44px;
    padding-inline: 13px;
  }
  body.admin-body
    :is(.settings-form, .delivery-settings-form, .account-password-form, .whatsapp-settings-form) {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  body.admin-body
    :is(.settings-form, .delivery-settings-form, .account-password-form, .whatsapp-settings-form)
    > .mobile-primary-dock {
    position: fixed;
    z-index: 125;
    right: 8px;
    bottom: calc(79px + env(safe-area-inset-bottom));
    left: 8px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 7px;
    border: 1px solid var(--bo-border-strong);
    border-radius: 14px;
    background: color-mix(in srgb, var(--bo-surface) 97%, transparent);
    box-shadow: 0 9px 28px rgba(25, 45, 32, 0.16);
    backdrop-filter: blur(14px);
  }
  body.admin-body
    :is(.settings-form, .delivery-settings-form, .account-password-form, .whatsapp-settings-form)
    > .mobile-primary-dock
    > :is(small, span) {
    display: none;
  }
  body.admin-body
    :is(.settings-form, .delivery-settings-form, .account-password-form, .whatsapp-settings-form)
    > .mobile-primary-dock
    .primary-button {
    width: 100%;
    min-height: 42px;
  }
}

@media (max-width: 760px) {
  body.admin-body .admin-page-header { align-items: flex-start; flex-direction: column; gap: var(--ui-space-3); }
  body.admin-body .admin-page-header h1 { font-size: clamp(23px, 7vw, 28px); }
  body.admin-body .admin-page-header-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  body.admin-body .admin-topbar-account small { display: none; }
  body.admin-body .admin-alert-toggle span { display: none; }
  body.admin-body .admin-alert-center {
    top: auto;
    right: 12px;
    bottom: 78px;
    width: calc(100vw - 24px);
  }
  body.admin-body .admin-operation-alert {
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    padding: 9px 10px;
  }
  body.admin-body .admin-operation-alert > a {
    grid-column: 2;
    justify-self: start;
  }
  body.admin-body .admin-operation-alert > button { grid-column: 3; grid-row: 1 / 3; }
  body.admin-body .ui-state { min-height: 130px; padding: 22px 16px; }
  body.admin-body details.progressive-settings > summary { min-height: 52px; padding: 9px 11px; }
  body.admin-body details.progressive-settings > summary > b { display: none; }
  body.admin-body .progressive-settings-body { padding: 11px; }
  :is(body.admin-body, body.master-body) .action-menu > summary { width: 44px; height: 44px; }
  :is(body.admin-body, body.master-body) .action-menu > summary:has(> b) { width: 44px; padding: 0; }
  :is(body.admin-body, body.master-body) .action-menu > summary:has(> b) > b { display: none; }
  :is(body.admin-body, body.master-body) .action-menu-popover { min-width: 210px; }
}

@media (max-width: 1120px) and (min-width: 821px) {
  body.admin-body .admin-topbar-context p,
  body.admin-body .admin-topbar-account > span,
  body.admin-body .admin-catalog-shortcut span,
  body.admin-body .admin-alert-toggle span {
    display: none;
  }
  body.admin-body .admin-topbar-account {
    width: 34px;
  }
  body.admin-body .admin-catalog-shortcut,
  body.admin-body .admin-alert-toggle {
    width: 38px;
    justify-content: center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.admin-body details.progressive-settings > summary > i { transition: none; }
}
