/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}
html,
body,
#app {
  min-height: 100%;
  margin: 0;
  background: #f5f7fb;
}

.admin-app-shell {
  min-height: 100vh;
}

.admin-app-sider {
  min-height: 100vh;
  border-right: 1px solid #edf0f5;
  background: #ffffff !important;
}

.admin-app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  color: #172033;
  text-decoration: none;
}

.admin-app-brand__mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff7ed;
  object-fit: contain;
  padding: 4px;
}

.admin-app-brand strong,
.admin-app-brand small {
  display: block;
}

.admin-app-brand small {
  color: #7b8496;
  font-size: 12px;
}

.admin-app-menu {
  border-inline-end: 0 !important;
}

.ant-layout .admin-app-header {
  display: flex;
  height: 76px;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f5;
  padding: 14px 24px;
  background: #ffffff !important;
  color: #172033;
  line-height: 1.4;
}

.admin-app-header > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.admin-app-header .ant-typography,
.admin-app-header .ant-typography h3 {
  margin: 0 !important;
}

.admin-app-header .ant-typography-secondary {
  display: block;
  color: #7b8496 !important;
  font-size: 12px;
  line-height: 16px;
}

.admin-app-header h3.ant-typography {
  color: #172033;
  font-size: 22px;
  line-height: 28px !important;
}

.admin-account-button {
  display: inline-flex;
  max-width: 280px;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe7dd;
  border-radius: 999px;
  padding: 0 12px 0 14px;
  background: #f1ffdf;
  color: #1f6f50;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-account-button:hover {
  border-color: rgba(31, 111, 80, 0.34);
  box-shadow: 0 10px 22px rgba(31, 111, 80, 0.12);
  transform: translateY(-1px);
}

.admin-account-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-account-menu .ant-dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
}

.admin-app-header .ant-dropdown-trigger {
  flex: 0 0 auto;
}

.admin-app-content {
  padding: 24px;
}

.admin-page-stack {
  width: 100%;
}

.admin-table-subtext {
  margin-top: 4px;
  color: #8b93a5;
  font-size: 12px;
  line-height: 1.4;
}

.admin-message-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-message-list span {
  border: 1px solid #edf0f5;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
}

.admin-link-button {
  height: auto;
  padding: 0;
}

.admin-form-alert {
  margin-bottom: 18px;
}

.admin-settings-card {
  max-width: 960px;
}

.admin-login-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: flex-end;
  padding: 40px clamp(28px, 7vw, 112px);
  background: linear-gradient(90deg, rgba(255, 250, 244, 0.08) 0%, rgba(255, 250, 244, 0.4) 46%, rgba(255, 250, 244, 0.84) 100%), url("/admin-login-bg.webp") center/cover no-repeat, #fff7ed;
}

.admin-login-panel {
  display: flex;
  width: min(456px, 100%);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.admin-login-card {
  width: min(420px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(79, 55, 35, 0.18);
  backdrop-filter: blur(18px);
}

.admin-login-card .ant-card-body {
  padding: 32px;
}

.admin-login-card h3.ant-typography {
  margin: 22px 0 24px;
  color: #172033;
  font-weight: 750;
}

.admin-login-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-login-card__brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  background: #fff7ed;
  object-fit: contain;
  padding: 5px;
}

.admin-login-card__brand strong,
.admin-login-card__brand span {
  display: block;
}

.admin-login-card__brand strong {
  color: #172033;
  font-size: 16px;
}

.admin-login-card__brand span {
  margin-top: 2px;
  color: #7b8496;
  font-size: 12px;
}

.admin-config-error {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: #f5f7fb;
}

.admin-config-error section {
  max-width: 560px;
  border-radius: 12px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.admin-filter-bar {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-filter-bar__search {
  max-width: 420px;
  flex: 1 1 280px;
}

.admin-filter-bar__select {
  width: 180px;
  flex: 0 0 180px;
}

@media (max-width: 900px) {
  .admin-login-page {
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.32), rgba(255, 250, 244, 0.9)), url("/admin-login-bg.webp") 35% center/cover no-repeat, #fff7ed;
  }
  .admin-app-sider {
    display: none;
  }
  .admin-filter-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-filter-bar__search,
  .admin-filter-bar__select {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }
}