/* Customer surfaces share a quiet ivory canvas and a dark teal navigation rail. */
:root {
  --studio-forest: #203e38;
  --studio-copper: #a44627;
  --studio-border: #dedad0;
  --studio-shadow: 0 12px 36px -25px #233d3660;
}
body {
  background: var(--bg, #f7f4ec);
  font-family: var(--theme-font, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
body .skip-to-content {
  position: fixed; z-index: 100; left: 1rem; top: .5rem;
  padding: .65rem 1rem; border-radius: 8px; background: white; color: var(--studio-forest);
  transform: translateY(-165%);
}
body .skip-to-content:focus { transform: none; }
body :is(a,button,summary,input,select,textarea):focus-visible {
  outline: 2px solid #26736c; outline-offset: 3px;
}
body .sidebar {
  background: linear-gradient(165deg, #193b36, #243630 74%);
  box-shadow: inset -1px 0 #ffffff12;
}
body .brand-icon {
  flex: 0 0 33px; height: 33px; padding: 0; letter-spacing: -.06em;
  border-radius: 11px 4px; background: #ca9768; color: #233c31;
  font: 700 23px/1 Georgia, serif; box-shadow: inset 0 0 0 1px #ffffff40;
}
body .sidebar .brand { border-bottom: 1px solid #ffffff22; padding-bottom: 19px; }
body .sidebar .nav a.active { background: #f1ecdc; color: #224039; box-shadow: inset 3px 0 #c88855; }
body .topbar, body .public-header { background: var(--theme-surface, #fffdf8); border-color: var(--studio-border); }
body .topbar h1, body .catalogue-intro h1, body .intro h1, body .login-type {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em;
}
body .topbar h1 { font-size: clamp(21px, 2vw, 29px); }
body .public-header .public-nav>a:not(.button) { background: transparent; border-color: transparent; box-shadow: none; }
body .public-header .public-nav>a:not(.button):hover { background: #e8ede2; color: var(--studio-forest); }
body .wallet-chip { background: #edf2e9; border-color: #cad8ca; color: #244c41; font-variant-numeric: tabular-nums; }
body :is(.panel,.table-wrap,.login-panel,.stat) {
  background-color: var(--theme-surface, #fffdfa); border-color: var(--studio-border);
  border-radius: var(--theme-radius, 14px); box-shadow: var(--studio-shadow);
}
body .public-main .login-panel {
  position: relative; overflow: hidden; max-width: 470px; margin: clamp(32px,7vh,86px) auto;
  padding: clamp(22px, 4vw, 46px); border: 1px solid var(--studio-border);
}
body .login-panel::before, body .order-panel::before {
  content: ''; display: block; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #a75131 0 20%, #cdb18a 20% 48%, #a1aa8e 48% 72%, #355d52 72%);
}
body .login-panel::before { position: absolute; inset: 0 0 auto; }
body .login-panel .login-type { font-size: clamp(28px,4vw,41px); }
body .order-panel::before { margin-bottom: 20px; }
body .order-panel .order-service-details { background: #f2f4eb; border: 1px solid #d5decf; border-inline-start: 3px solid #77917d; }
body .order-panel .service-summary { background: #f5f0e5; border-color: #e0d6c2; }
body #place-button, body .login-panel form button { background: var(--accent, var(--studio-copper)); color: white; border-radius: 9px; }
body .studio-empty { padding: 28px; border-inline-start: 4px solid #758a70; }
body .studio-empty h2 { margin: 0 0 .4rem; } body .studio-empty p { margin: 0; }
body .pill-tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; padding-block: 4px; }
body .pill-tabs a { flex: 0 0 auto; }
body .catalogue-table-shell { border-color: var(--studio-border); border-radius: 14px; box-shadow: var(--studio-shadow); }
body .catalogue-table .catalogue-category-row th { background: #edf0e7; color: #385343; font-weight: 650; }
body .catalogue-table .catalogue-name>span { color: #303d35; }
body .speed-card { border-color: var(--studio-border); box-shadow: var(--studio-shadow); }
body .speed-heading h2 { color: #304c40; }
@media (min-width: 850px) {
  body .order-panel { padding: 25px 32px; max-width: 920px; }
  body .catalogue-filters { padding: 16px 18px; background: var(--theme-surface,#fffdfa); border: 1px solid var(--studio-border); border-radius: 12px; }
}
@media (max-width: 700px) {
  body .topbar { gap: 8px; padding-inline: 12px; }
  body .topbar-right { min-width: 0; gap: 6px; }
  body .login-panel form input { font-size: 16px; }
  body .catalogue-table :is(.catalogue-eye,.catalogue-cart) { min-height: 40px; }
  body .public-main .login-panel { margin-block: 22px; }
  body .order-panel { padding: 17px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* A locally drawn landscape keeps the sign-in artwork independent of the domain. */
.studio-signin {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  width: min(100%, 920px);
  margin: clamp(20px, 5vh, 64px) auto;
  overflow: hidden;
  background: var(--theme-surface, #fffdf8);
  border: 1px solid var(--studio-border);
  border-radius: var(--theme-radius, 22px);
  box-shadow: 0 24px 70px -38px #233d3659;
}
.signin-print {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 40px;
  overflow: hidden;
  background-color: #203e38;
  background-image: repeating-linear-gradient(130deg, transparent 0 22px, #ffffff08 22px 23px);
}
.signin-window {
  isolation: isolate;
  position: relative;
  width: min(100%, 264px);
  aspect-ratio: .82;
  overflow: hidden;
  border-radius: 48% 48% 3px 3px;
  background: linear-gradient(157deg, #fbebcf 6%, #ead5aa 79%);
  outline: 1px solid #decda75c;
  outline-offset: 12px;
  box-shadow: 0 25px 55px -20px #0d2625;
}
.signin-sun {
  position: absolute;
  top: 18%;
  right: 20%;
  width: 27%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #be673f;
}
.signin-ridge { display: block; position: absolute; }
.signin-ridge.ridge-far {
  inset: 53% -42% -25% -26%;
  border-radius: 52% 49% 0 0;
  background: #99a783;
  transform: rotate(-23deg);
}
.signin-ridge.ridge-near {
  inset: 70% -34% -35% -43%;
  border-radius: 49% 52% 0 0;
  transform: rotate(18deg);
  background-color: #426b5e;
  background-image: repeating-radial-gradient(ellipse at 49% 80%,transparent 0 10px,#d1dfbf4d 11px 12px,transparent 13px 18px);
}
body .studio-signin .login-panel {
  align-self: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(25px, 4.6vw, 60px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body .studio-signin .login-panel::before { display: none; }
body .studio-signin .login-type { line-height: 1.15; margin: 0 0 1.6rem; }
.studio-signin .login-panel form p { margin: 0 0 1.1rem; }
.studio-signin .login-panel form input:not([type="hidden"]) { width: 100%; min-height: 44px; }
.studio-signin .login-panel .foot { color: #545c50; margin-block-start: 1.2rem; }
.studio-signin .login-panel .foot a { text-decoration: underline; text-underline-offset: 3px; }
body[data-page="new_order"] .order-panel { max-width: 960px; }
body[data-page="new_order"] .order-average { background: transparent; border: 0; border-block-end: 1px solid var(--studio-border); border-radius: 0; padding: 8px 2px 15px; }
body[data-page="new_order"] #order-charge { font-variant-numeric: tabular-nums; }
@media (min-width: 1060px) {
  body[data-page="new_order"] .order-panel #order-form {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0 20px;
  }
  body[data-page="new_order"] #order-form > * { min-width: 0; grid-area: auto / 1 / auto / -1; }
  body[data-page="new_order"] #order-form > p:has(#service-search),
  body[data-page="new_order"] #order-form > p:has(#id_link) { grid-column: 1; }
  body[data-page="new_order"] #order-form > p:has(#order-category),
  body[data-page="new_order"] #order-form > p:has(#id_quantity) { grid-column: 2; }
}
@media (max-width: 700px) {
  .studio-signin { max-width: 470px; grid-template-columns: minmax(0, 1fr); margin: 12px auto 25px; }
  .signin-print { min-height: 0; height: 80px; padding: 0; }
  .signin-window { position: absolute; width: 112px; height: 140px; top: 12px; right: 13%; transform: rotate(-8deg); }
  body .studio-signin .login-panel { padding: 25px clamp(16px, 5vw, 32px) 29px; }
  body .studio-signin .login-type { margin-bottom: 1.1rem; }
}
