/* Specialised page styles; shared foundations are in design-system.css. */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&display=swap");
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
button {
  border-radius: 0;
}
input::placeholder,
textarea::placeholder {
  color: #92a195;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e5bc82;
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
p {
  margin: 0;
}
p {
  color: var(--muted);
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.wordmark {
  font-family: Georgia, serif;
  letter-spacing: 0.16em;
  font-size: 27px;
  white-space: nowrap;
  font-weight: 500;
}
.wordmark span {
  color: var(--copper);
}
.location {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #c4c8bc;
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.location .icon {
  width: 16px;
}
.hero-index {
  position: absolute;
  bottom: 60px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  font:
    12px/1.4 Georgia,
    serif;
  letter-spacing: 0.17em;
  color: #c7b791;
}
.hero-index .rule {
  width: 90px;
  height: 1px;
  background: var(--copper);
}
.portrait {
  display: block;
  background-image: url("./assets/portraits.png");
  background-size: 200% 200%;
  background-position: var(--portrait-position, 0% 0%);
  background-repeat: no-repeat;
}
.rating {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #b6c0ae;
}
.empty-star {
  font-size: 24px;
  line-height: 1;
  color: #d6b677;
}
.food-photo {
  display: block;
  aspect-ratio: 1;
  background-image: url("./assets/food.png");
  background-size: 300% 200%;
  background-position: var(--food-position, 0% 0%);
  background-repeat: no-repeat;
  background-color: #122018;
}
.brand-stamp {
  margin-left: auto;
  border: 1px solid #b090577a;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #d5b27d;
  box-shadow:
    inset 0 0 0 9px #0d1711,
    inset 0 0 0 10px #b0905740;
}
.brand-stamp span {
  font:
    13px Georgia,
    serif;
  letter-spacing: 0.18em;
}
.brand-stamp strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  margin: 4px 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 12px 18px;
  background: var(--copper);
  color: #10180f;
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translate(-50%, 12px);
  padding: 12px 22px;
  max-width: calc(100% - 32px);
  background: #e1c293;
  color: #142016;
  z-index: 100;
  font-size: 14px;
  box-shadow: 0 8px 40px #0006;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  color: var(--text);
  background: #112019;
  border: 1px solid #a68b5877;
  padding: 32px;
  width: min(520px, calc(100% - 32px));
  max-height: 85svh;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(6px);
}
dialog .dialog-close {
  float: right;
  margin: -15px -15px 0 10px;
}
dialog h2 {
  font-size: 27px;
  margin-bottom: 20px;
}
dialog p {
  margin-bottom: 24px;
}
dialog label {
  display: block;
  margin: 16px 0 6px;
}
dialog input {
  width: 100%;
}
.portrait {
  position: relative;
  overflow: hidden;
  background-image: none;
  aspect-ratio: 4/5;
}
.portrait:before {
  content: "";
  position: absolute;
  height: 100%;
  aspect-ratio: 3/2;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("./assets/portraits.png");
  background-size: 200% 200%;
  background-position: var(--portrait-position, 0% 0%);
  background-repeat: no-repeat;
}
@media (max-width: 1150px) {
  .location {
    display: none;
  }
}
@media (max-width: 850px) {
  .wordmark {
    font-size: 23px;
  }
  .header-search {
    display: none;
  }
  .brand-stamp {
    width: 125px;
    height: 125px;
  }
}
@media (max-width: 600px) {
  .wordmark {
    font-size: 22px;
    letter-spacing: 0.12em;
  }
  .hero-index {
    display: none;
  }
  .rating {
    font-size: 10px;
    gap: 4px;
  }
  .empty-star {
    font-size: 21px;
  }
  .brand-stamp {
    display: none;
  }
  #toast {
    bottom: 86px;
  }
  dialog {
    padding: 25px;
  }
  dialog h2 {
    font-size: 25px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.small-text {
  font-size: 14px;
}
.list-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 60px;
  color: #86977e;
  font:
    11px Georgia,
    serif;
  letter-spacing: 0.2em;
}
.list-end:before,
.list-end:after {
  content: "";
  height: 1px;
  background: var(--line);
  width: 80px;
}
.breadcrumb {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: #90a18e;
  padding-bottom: 32px;
}
.breadcrumb a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #c9d0bf;
}
.breadcrumb .icon {
  width: 16px;
}
.artisan-detail-top {
  padding: 30px 0 55px;
  background: radial-gradient(ellipse at 20% 60%, #25482e66, transparent 60%);
}
.profile-facts {
  border-block: 1px solid var(--line);
  display: flex;
  gap: 50px;
  margin-top: 28px;
  padding-block: 18px;
}
.profile-facts > span {
  font-size: 12px;
  color: #94a38c;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.profile-facts strong {
  font-size: 14px;
  color: #d0d7c4;
  font-weight: 400;
}
.profile-facts .rating {
  font-size: 13px;
}
.profile-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.is-saved {
  color: #efc693;
  background: #203026;
}
.is-saved .icon {
  fill: #c99a6130;
}
.profile-content {
  padding-bottom: 80px;
}
.tab-bar {
  display: flex;
  gap: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.tab-bar button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 20px 2px;
  color: #adb8a6;
  font-size: 15px;
}
.tab-bar button[aria-selected="true"] {
  color: #e4bd88;
  border-bottom-color: var(--copper);
}
.tab-bar button > span {
  display: inline-block;
  margin-left: 9px;
  font-size: 12px;
  padding: 0 6px;
  background: #273827;
}
.story-panel {
  max-width: 780px;
  padding: 20px 0 40px;
}
.story-panel h2 {
  margin: 18px 0;
}
.story-panel p {
  font-size: 17px;
  line-height: 2;
}
.review-empty,
.message-empty {
  text-align: center;
  padding: 70px 20px 100px;
}
.review-empty .large-star {
  display: block;
  font-size: 72px;
  color: var(--copper);
  line-height: 1.3;
  margin-bottom: 20px;
}
.review-empty h2,
.message-empty h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.message-empty > .icon {
  width: 46px;
  height: 46px;
  color: #ab976d;
  margin-bottom: 22px;
}
.dish-intro {
  font-size: 16px;
  line-height: 1.9;
}
.food-facts {
  margin: 25px 0;
}
.food-facts > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 15px;
  margin: 15px 0;
  font-size: 14px;
}
.food-facts dt {
  color: #96a590;
}
.food-facts dd {
  margin: 0;
  color: #c9d0bf;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid #79826477;
  height: 51px;
  flex-shrink: 0;
}
.quantity button {
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  width: 40px;
  height: 100%;
}
.quantity button .icon {
  width: 17px;
}
.quantity output {
  min-width: 30px;
  text-align: center;
  font-size: 15px;
}
.quantity button:hover:not(:disabled) {
  background: #223322;
}
.purchase-note {
  font-size: 13px;
  line-height: 1.8;
  color: #9cab93;
  margin-top: 19px;
}
.related-section {
  margin-top: 75px;
  border-top: 1px solid var(--line);
  padding-top: 45px;
}
.cart-group {
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
}
.cart-group > h2 {
  font-size: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-group h2 a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-group h2 .icon {
  width: 16px;
  color: #b3ab87;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.cart-item > a {
  width: 105px;
  flex-shrink: 0;
}
.cart-item-copy {
  flex: 1;
}
.cart-item-copy h3 {
  font-size: 18px;
}
.cart-item-copy p {
  font-size: 13px;
  margin-top: 7px;
}
.remove-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #708164;
  color: #a5b497;
  padding: 0;
  margin-top: 10px;
  font-size: 12px;
}
.cart-item-end {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}
.cart-item .quantity {
  height: 36px;
}
.cart-item .quantity button {
  width: 28px;
}
.cart-item .quantity output {
  font-size: 13px;
  min-width: 24px;
}
.info-note {
  border-left: 2px solid #ad925f;
  background: #c99a610a;
  padding: 15px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #bfc5ae;
  margin: 15px 0 25px;
}
.outline-word {
  font:
    240px/0.9 Georgia,
    serif;
  color: #c3b07412;
  position: absolute;
  right: 30px;
  bottom: 0;
  z-index: -1;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.studio-dishes {
  display: flex;
  flex-direction: column;
}
.studio-dish {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.studio-dish > .food-photo {
  width: 115px;
  flex-shrink: 0;
}
.studio-dish h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.studio-dish p {
  font-size: 14px;
}
.status-label {
  display: inline-flex;
  padding: 3px 9px;
  border: 1px solid #6f775e75;
  color: #bfc4ab;
  font-size: 11px;
  margin-top: 10px;
  white-space: nowrap;
}
.status-label.listed {
  background: #31523b33;
  border-color: #64896a77;
  color: #bad6b7;
}
.studio-dish-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
  align-items: center;
  flex-shrink: 0;
}
.text-button {
  border: 0;
  background: none;
  font-size: 12px;
  color: #c6b58f;
  padding: 8px;
}
.mini-menu > a {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.mini-menu .food-photo {
  width: 70px;
}
.mini-menu strong {
  font-weight: 400;
  font-size: 16px;
  display: block;
}
.mini-menu small {
  color: #c7ac7e;
  display: block;
  margin-top: 5px;
}
.mini-menu .icon {
  margin-left: auto;
  color: #9aac93;
  width: 18px;
}
.relationship-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.relationship-profile p {
  font-size: 14px;
  margin-top: 6px;
}
.dish-form {
  max-width: 870px;
}
.dish-form label {
  display: block;
  font-size: 14px;
  color: #cbd1bd;
  margin-bottom: 9px;
  margin-top: 20px;
}
.dish-form label > span {
  color: #d0a972;
}
.dish-form input:not([type="file"]),
.dish-form textarea {
  width: 100%;
}
.upload-area {
  height: 290px;
  position: relative;
  background: #14241a;
  border: 1px dashed #7f8b65 !important;
  cursor: pointer;
  overflow: hidden;
  margin: 0 !important;
}
.upload-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-area > .food-photo {
  height: 100%;
  width: 100%;
}
.upload-area > span:not(.food-photo) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  color: #aabb99;
}
.upload-area strong {
  font-weight: 400;
  font-size: 15px;
}
.upload-area .icon {
  width: 30px;
  height: 30px;
}
.upload-area small {
  font-size: 12px;
}
.file-input {
  max-width: 100%;
  font-size: 12px;
  border: 0;
  padding: 10px 0;
  background: none;
}
.file-input::file-selector-button {
  background: #293c29;
  color: #d9d6bb;
  border: 1px solid #72846355;
  padding: 6px 10px;
  margin-right: 7px;
}
.uploaded-food {
  background-image: none;
  overflow: hidden;
  position: relative;
}
.uploaded-food img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.admin-list article {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.admin-list article > .food-photo {
  width: 65px;
  flex-shrink: 0;
}
.admin-list article h3 {
  font-size: 18px;
}
.admin-list article p {
  font-size: 13px;
  margin-top: 4px;
}
.admin-list article > .status-label {
  margin-left: auto;
  margin-top: 0;
}
@media (max-width: 1150px) {
  .upload-area {
    height: 240px;
  }
}
@media (max-width: 850px) {
  .profile-facts {
    gap: 20px;
    margin-top: 20px;
  }
  .profile-actions {
    gap: 10px;
    margin-top: 20px;
  }
  .profile-facts strong {
    font-size: 12px;
  }
  .food-facts > div {
    grid-template-columns: 90px 1fr;
    font-size: 13px;
  }
  .upload-area {
    height: 260px;
  }
}
@media (max-width: 600px) {
  .list-end {
    padding-top: 40px;
    font-size: 9px;
    gap: 15px;
  }
  .list-end:before,
  .list-end:after {
    width: 28px;
  }
  .breadcrumb {
    font-size: 12px;
    gap: 12px;
    padding-bottom: 24px;
  }
  .artisan-detail-top {
    padding: 24px 0 30px;
  }
  .profile-facts {
    gap: 40px;
  }
  .profile-facts strong {
    font-size: 14px;
  }
  .tab-bar {
    gap: 28px;
    margin-bottom: 28px;
  }
  .tab-bar button {
    font-size: 14px;
    padding: 17px 0;
  }
  .profile-content {
    padding-bottom: 50px;
  }
  .profile-content .small-text {
    font-size: 12px;
  }
  .story-panel h2 {
    font-size: 25px;
  }
  .story-panel p {
    font-size: 15px;
  }
  .info-note {
    font-size: 13px;
    padding: 13px 16px;
  }
  .review-empty,
  .message-empty {
    padding: 40px 10px 65px;
  }
  .review-empty h2,
  .message-empty h2 {
    font-size: 26px;
  }
  .review-empty p,
  .message-empty p {
    font-size: 14px;
  }
  .dish-intro {
    font-size: 15px;
  }
  .food-facts > div {
    grid-template-columns: 95px 1fr;
    font-size: 14px;
  }
  .quantity button {
    width: 35px;
  }
  .quantity output {
    min-width: 26px;
  }
  .purchase-note {
    font-size: 12px;
  }
  .related-section {
    margin-top: 45px;
    padding-top: 30px;
  }
  .cart-group > h2 {
    font-size: 20px;
  }
  .cart-item {
    gap: 12px;
    padding-block: 20px;
    align-items: start;
  }
  .cart-item > a {
    width: 72px;
  }
  .cart-item-copy h3 {
    font-size: 16px;
  }
  .cart-item-copy p {
    font-size: 12px;
  }
  .cart-item .quantity button {
    width: 25px;
  }
  .cart-item .quantity output {
    min-width: 22px;
  }
  .cart-item .quantity {
    height: 32px;
  }
  .studio-dish {
    gap: 15px;
    flex-wrap: wrap;
    padding-block: 22px;
  }
  .studio-dish > .food-photo {
    width: 85px;
  }
  .studio-dish h2 {
    font-size: 21px;
  }
  .studio-dish-actions {
    flex-direction: row;
    gap: 20px;
    margin-left: 100px;
  }
  .studio-dish-actions .text-button {
    font-size: 12px;
  }
  .status-label {
    font-size: 11px;
  }
  .relationship-profile {
    flex-wrap: wrap;
    gap: 16px;
  }
  .upload-area {
    height: auto;
    aspect-ratio: 1;
    width: min(100%, 340px);
  }
  .dish-form label {
    font-size: 14px;
    margin-top: 18px;
  }
  .dish-form input,
  .dish-form textarea {
    font-size: 16px;
  }
  .admin-list article {
    flex-wrap: wrap;
    gap: 12px;
  }
  .admin-list article h3 {
    font-size: 17px;
  }
  .admin-list article > .status-label {
    font-size: 10px;
  }
  .admin-list article > .food-photo {
    width: 52px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.comic-portrait:before {
  background-image: url("./assets/comic-avatars-v1.png");
  aspect-ratio: 561/701;
  min-width: 100%;
}
.uploaded-portrait:before {
  display: none;
}
.uploaded-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-editor-intro {
  margin: -10px 0 28px;
  max-width: 720px;
  font-size: 16px;
}
.profile-fields {
  min-width: 0;
}
.profile-field {
  margin-bottom: 17px;
}
.profile-field label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.profile-field label span {
  color: var(--copper);
}
.profile-field input,
.profile-field textarea,
.profile-field select {
  width: 100%;
  font-size: 16px;
}
.profile-field textarea {
  min-height: 135px;
}
.profile-field input[aria-invalid="true"] {
  border-color: #e89778;
}
.field-error {
  color: #f0ae96;
  display: block;
  font-size: 13px;
  margin-top: 5px;
}
.field-error:empty {
  display: none;
}
.field-hint {
  font-size: 13px;
  color: #a2b397;
  line-height: 1.8;
  margin: 8px 0 19px;
}
.avatar-type {
  border: 0;
  padding: 0;
  margin: 24px 0 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.avatar-type legend {
  font-size: 14px;
  padding: 0;
  margin-bottom: 10px;
}
.avatar-type label {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
}
.avatar-type label:has(input:checked) {
  border-color: var(--copper);
  color: #e3c08c;
  background: #c99a6114;
}
.avatar-type input {
  accent-color: var(--copper);
  width: 17px;
  height: 17px;
}
.profile-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed #80917288;
  padding: 16px;
  cursor: pointer;
  font-size: 14px;
}
.profile-upload-label:hover {
  background: #23402d55;
}
.profile-upload-label .icon {
  color: var(--copper);
}
.profile-form .file-input {
  max-width: 100%;
  width: 100%;
}
.profile-form .text-button {
  padding-left: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}
.portrait-focus label {
  display: block;
  font-size: 14px;
  margin-top: 20px;
}
.portrait-focus input {
  width: 100%;
  padding: 0;
  accent-color: var(--copper);
}
.hidden {
  display: none;
}
.relationship-profile h3 {
  overflow-wrap: anywhere;
}
.story-panel p {
  white-space: pre-line;
}
.story-panel h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .profile-editor-intro {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .profile-fields {
    width: 100%;
  }
  .profile-field label {
    font-size: 14px;
  }
  .profile-upload-label {
    font-size: 14px;
  }
  .profile-editor-intro {
    font-size: 15px;
  }
}
.auth-intro {
  max-width: 800px;
  min-height: 55vh;
}
.auth-intro p {
  margin: 24px 0;
  line-height: 1.9;
  color: var(--muted);
}
.own-card-preview {
  max-width: 330px;
}
.connection-banner {
  padding: 14px;
  text-align: center;
  background: #503421;
  color: #fff;
}
.placeholder-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #41614f, #10261e);
}
.placeholder-portrait > .icon {
  width: 40%;
  height: 40%;
  color: #c6ae84;
}
.save-confirmation {
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid #8b8057;
  border-radius: 10px;
  background: #20362b;
}
.save-confirmation p {
  margin: 8px 0;
}
.version-update {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 16px 22px;
  background: #244032;
  color: #f7f4e9;
  border: 1px solid #a69367;
  box-shadow: 0 8px 30px #0008;
  border-radius: 12px;
}
@media (max-width: 640px) {
  .version-update {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: calc(100% - 32px);
  }
}
.category-editor {
  border: 1px solid #c99a6150;
  padding: 20px;
  margin: 24px 0;
  min-width: 0;
}
.category-editor legend {
  color: #d7ad78;
}
.category-editor details {
  padding: 12px 0;
  border-bottom: 1px solid #c99a6125;
}
.category-editor summary {
  cursor: pointer;
  min-height: 32px;
}
.category-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px 0;
}
.category-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 44px;
}
.category-options input {
  width: 18px !important;
  min-height: 18px !important;
  height: 18px;
  accent-color: #c99a61;
}
.category-editor p {
  font-size: 14px;
  color: #b5c0b7;
}
.auth-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.auth-options input {
  max-width: 100%;
  box-sizing: border-box;
}
.auth-options .check-field {
  flex-wrap: wrap;
  font-size: 14px;
}
.auth-options .form-error:not(:empty) {
  padding: 12px;
  border: 1px solid #c99a61;
  color: #f0c38b;
}
.auth-options button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 720px) {
  .auth-options {
    grid-template-columns: 1fr;
  }
}
.auth-recovery {
  max-width: 620px;
  margin-inline: auto;
}
.auth-recovery a {
  display: inline-block;
  padding-block: 12px;
}
.auth-options input,
.auth-recovery input {
  font-size: 16px;
  min-height: 44px;
}
.auth-options a:focus-visible,
.auth-recovery a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .auth-recovery {
    padding: 20px 16px;
  }
  .auth-options h2 {
    font-size: 24px;
  }
  .auth-options .check-field {
    line-height: 1.8;
  }
}
.social-signin {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.social-button {
  flex: 1;
  min-width: 240px;
  min-height: 48px;
  justify-content: center;
}
.social-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.auth-card-heading {
  text-align: center;
  margin-bottom: 28px;
}
.auth-card-heading h1 {
  font-size: 34px;
  line-height: 1.3;
  margin: 14px 0 10px;
  letter-spacing: 0;
}
.auth-card-heading p {
  font-size: 14px;
  line-height: 1.7;
  color: #b6c0b9;
  margin: 0;
}
.auth-forgot {
  text-align: right;
  margin-top: -4px;
  font-size: 13px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #9ea9a2;
  font-size: 12px;
  margin: 24px 0 18px;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #35423a;
}
.auth-providers {
  display: grid;
  gap: 12px;
}
.auth-provider {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 8px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
}
.auth-provider img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.auth-provider span {
  flex: 1;
  text-align: center;
  padding-right: 32px;
}
.auth-provider small {
  position: absolute;
  right: 10px;
  font-size: 10px;
  color: #5d625f;
  background: #edf0ed;
  padding: 3px 5px;
  border-radius: 4px;
}
.auth-provider:disabled {
  cursor: not-allowed;
  opacity: 1;
}
.auth-provider:not(:disabled):hover {
  background: #f2f2f2;
}
.auth-provider-status {
  font-size: 11px;
  color: #a3afa7;
  text-align: center;
  margin: 12px 0 0;
}
.auth-switch {
  font-size: 14px;
  text-align: center;
  margin: 24px 0 18px;
  color: #bdc6bf;
}
.auth-switch a {
  font-weight: 600;
  margin-left: 6px;
}
.auth-legal {
  font-size: 11px;
  text-align: center;
  line-height: 1.8;
  color: #98a59b;
  margin: 0;
}
.auth-tagline {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #8f9e92;
  margin: 22px 0 0;
}
@media (max-width: 600px) {
  .auth-card-heading h1 {
    font-size: 30px;
  }
  .auth-card-heading {
    margin-bottom: 24px;
  }
  .auth-provider span {
    padding-right: 22px;
  }
  .auth-provider small {
    right: 6px;
    font-size: 9px;
  }
}
.location-picker-button {
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.location-picker-button span {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-dialog {
  width: min(440px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 30px;
  background: #101b17;
  color: #eee9dd;
  border: 1px solid #c99a6166;
  border-radius: 16px;
}
.location-dialog::backdrop {
  background: #000a;
}
.location-dialog h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
.location-dialog p {
  line-height: 1.7;
}
.location-dialog .small-text {
  font-size: 12px;
  color: #aab8ad;
}
.location-dialog input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin: 10px 0 16px;
  background: #09130e;
  border: 1px solid #66776b;
  color: #fff;
  padding: 12px;
  font-size: 16px;
}
.location-close {
  float: right;
  background: none;
  border: 0;
  color: #eee;
  font-size: 26px;
  cursor: pointer;
}
.location-dialog [role="status"] {
  color: #e2b77e;
  font-size: 14px;
}
.admin-console h1 {
  font-family: inherit;
  font-size: 32px;
  letter-spacing: 0;
  margin: 12px 0;
}
.admin-console h2 {
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0;
}
.admin-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 24px;
}
.admin-toolbar label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.admin-toolbar input,
.admin-toolbar select,
.admin-invite-link {
  padding: 12px;
  background: #0d1813;
  color: #eee9dd;
  border: 1px solid #526356;
  border-radius: 6px;
  min-height: 44px;
  font: inherit;
  max-width: 100%;
}
.admin-invite-link {
  width: 100%;
  box-sizing: border-box;
}
.admin-trend {
  max-height: 360px;
  overflow: auto;
}
.admin-trend-row {
  display: grid;
  grid-template-columns: 85px 1fr 90px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin: 14px 0;
}
.admin-trend-row > div {
  height: 12px;
  background: #233729;
  border-radius: 3px;
}
.admin-trend-row i {
  display: block;
  height: 100%;
  background: #c99a61;
  border-radius: 3px;
}
.admin-trend-row strong {
  text-align: right;
  font-weight: 500;
}
@media (max-width: 900px) {
  .admin-console h1 {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .admin-toolbar {
    align-items: stretch;
  }
  .admin-toolbar > label {
    width: 100%;
  }
}
.dispatch-console {
  max-width: 1400px;
  margin: auto;
}
.dispatch-console form,
.dispatch-console label {
  display: grid;
  gap: 10px;
}
.dispatch-console form {
  gap: 18px;
}
.dispatch-console input,
.dispatch-console select,
.dispatch-console textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  background: #0b1712;
  color: #eee8dd;
  border: 1px solid #526356;
}
.dispatch-console button {
  min-height: 44px;
  cursor: pointer;
}
.dispatch-error,
.dispatch-notice {
  color: #e5ba80;
}
.dispatch-notice {
  padding: 16px;
  border-left: 3px solid #c79b62;
}
.dispatch-console li {
  margin: 12px 0;
}
[data-schedule-form] {
  display: grid;
  gap: 18px;
}
[data-schedule-form] label {
  display: grid;
  gap: 8px;
}
[data-schedule-form] fieldset {
  min-width: 0;
  border: 1px solid #526356;
  padding: 16px;
  display: grid;
  gap: 14px;
}
[data-schedule-form] .schedule-error {
  color: #e5ba80;
}
