html,
body {
  height: 100%;
}

body.room {
  margin: 0;
  overflow: hidden;
  background: #e7e1d8;
  color: #161616;
  font: 1rem/1.4 "Segoe UI", sans-serif;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.account-bar {
  position: fixed;
  z-index: 8;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
}

.privacy-link {
  position: fixed;
  z-index: 8;
  right: 0.9rem;
  bottom: 0.7rem;
  color: #333;
  font-size: 0.68rem;
  text-decoration: none;
}

.privacy-link:hover,
.privacy-link:focus {
  text-decoration: none;
}

.account-bar .sign-in,
.who-button {
  display: inline-block;
  max-width: min(22rem, calc(100vw - 11rem));
  padding: 0.55rem 1.05rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #161616;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  color: #fff;
  font: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.who {
  position: relative;
}

.who-button {
  background: #fff;
  color: #161616;
}

.who-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.35rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 40, 32, 0.18);
  transform: translateX(-50%);
}

.who-menu button {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: #161616;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.who-menu button:hover {
  background: #f6f6f6;
}

.who-menu button[hidden] {
  display: none !important;
}

.who[hidden],
.who-menu[hidden],
.sign-in[hidden],
body.signed-in .sign-in,
body.signed-out .corner-tools,
body.signed-out .side-toggle,
body.signed-out .side,
body.signed-out nav.lessons,
body.signed-out .avatar-card {
  display: none !important;
}

.launch-title {
  display: none;
}

body.signed-out.launch .launch-title {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: rgba(22, 28, 24, 0.35);
  color: #fff;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
  animation: launch-title 5.2s ease forwards;
}

@keyframes launch-title {
  0% { opacity: 0; transform: translateY(18px); }
  22% { opacity: 1; transform: translateY(0); }
  58% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-48px); }
}

@media (prefers-reduced-motion: reduce) {
  body.signed-out.launch .launch-title {
    animation: launch-title-still 2.4s ease forwards;
  }
}

@keyframes launch-title-still {
  0% { opacity: 0; }
  20% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; }
}

.corner-tools {
  position: fixed;
  z-index: 6;
  top: 0.9rem;
  left: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.corner-tools[hidden] {
  display: none;
}

.corner-tools button {
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  color: #161616;
  font: inherit;
  cursor: pointer;
}

.corner-tools button[aria-expanded="true"] {
  box-shadow: 0 0 0 2px #161616;
}

button.closer,
button.side-hide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f3f3f3;
  color: #161616;
  line-height: 0;
  cursor: pointer;
}

button.closer svg,
button.side-hide svg {
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

nav.lessons,
aside.settings-card {
  position: fixed;
  z-index: 12;
  box-sizing: border-box;
  margin: 0;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 40, 32, 0.22);
}

nav.lessons {
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(20rem, calc(100vw - 2.4rem));
  max-height: none;
  padding: 2.6rem 0.9rem 1rem;
  overflow: visible;
  border-radius: 0;
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease;
}

nav.lessons.rolled {
  transform: translateX(-100%);
}

body.lesson-open #lessons-roll,
body.lesson-open #shop-roll {
  visibility: hidden;
  pointer-events: none;
}

aside.settings-card {
  top: 4.4rem;
  left: 50%;
  width: min(22rem, calc(100vw - 1.8rem));
  max-height: min(70vh, 36rem);
  padding: 0.75rem 0.95rem 1.15rem;
  transform: translateX(-50%);
}

nav.lessons[hidden],
aside.settings-card[hidden] {
  display: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 2.75rem;
  margin-bottom: 0.35rem;
}

.drawer-title {
  flex: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.drawer-head .drawer-title {
  margin: 0;
}

nav.lessons p {
  margin: 0 0 0.8rem;
  color: #444;
  font-size: 0.92rem;
}

nav.lessons .rows a,
nav.lessons .rows button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.9rem 0.1rem;
  border: 0;
  border-top: 1px solid #eee;
  background: transparent;
  color: #161616;
  font: inherit;
  font-size: 1.05rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

nav.lessons .rows a:hover,
nav.lessons .rows button:hover {
  background: #fafafa;
}

nav.lessons ol {
  margin: 0;
  padding: 0;
  overflow: auto;
  flex: 1;
  min-height: 0;
  list-style: none;
  scrollbar-width: none;
}

nav.lessons li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  border-top: 1px solid #eee;
}

nav.lessons a {
  display: block;
  flex: 1;
  padding: 0.9rem 0.2rem;
  color: #161616;
  font-size: 1.08rem;
  text-decoration: none;
}

.badges {
  display: flex;
  flex: none;
  gap: 0.35rem;
  align-items: center;
  padding-right: 0.15rem;
  perspective: 80px;
}

.badge {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 0.72rem;
  height: 0.72rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  vertical-align: middle;
}

.badge.bronze { border-color: #b87333; }
.badge.silver { border-color: #c0c0c0; }
.badge.gold { border-color: #d4af37; }

.badge.on.bronze { background: #b87333; }
.badge.on.silver { background: #c0c0c0; }
.badge.on.gold { background: #d4af37; }

.badge.on {
  animation-name: coin-spin;
  animation-duration: var(--coin-spin, 3.2s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--coin-delay, 0s);
}

@keyframes coin-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .badge.on { animation: none; }
}

.badge.shine::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: badge-gleam 0.42s ease;
}

@keyframes badge-gleam {
  from { transform: translateX(-140%); }
  to { transform: translateX(320%); }
}

.float-tip,
.overlay-tip {
  position: fixed;
  z-index: 20;
  max-width: 16rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.8rem;
  background: #161616;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.35;
  pointer-events: none;
}

.float-tip {
  transform: translate(-50%, calc(-100% - 0.45rem));
}

.overlay-tip[hidden],
.float-tip[hidden] {
  display: none;
}

nav.lessons a:hover {
  background: #fafafa;
}

nav.lessons small {
  display: block;
  margin-top: 0.1rem;
  color: #666;
  font-size: 0.85rem;
}

aside.settings-card .slider,
nav.lessons .slider {
  display: block;
  margin: 1.1rem 0.15rem 0;
  color: #161616;
  font-size: 0.95rem;
}

aside.settings-card .slider input,
nav.lessons .slider input {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  accent-color: #161616;
}

aside.settings-card .github-field {
  display: flex;
  align-items: center;
  margin: 1.1rem 0.15rem 0;
  border: 1px solid #ddd;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #f6f6f6;
}

aside.settings-card .github-prefix {
  flex: none;
  padding: 0.55rem 0 0.55rem 0.7rem;
  color: #666;
  font-size: 0.82rem;
  white-space: nowrap;
}

aside.settings-card .github-field input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.7rem 0.55rem 0;
  border: 0;
  background: #fff;
  color: #161616;
  font: inherit;
  font-size: 0.95rem;
}

.account {
  margin: 1.2rem 0.15rem 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eee;
}

.account p {
  margin: 0 0 0.7rem;
  color: #444;
  font-size: 0.92rem;
}

.account a,
.account button {
  display: inline-block;
  margin: 0 0.4rem 0.4rem 0;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}

.account button {
  background: #f3f3f3;
  color: #161616;
}

.account ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.account li {
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid #eee;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.account small {
  display: block;
  color: #666;
}

button.side-toggle {
  position: fixed;
  z-index: 4;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  color: #161616;
  font: inherit;
  cursor: pointer;
}

nav.lessons > button.drawer-head,
aside.side > button.side-head {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 1.7rem;
  height: 1.7rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #161616;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

nav.lessons > button.drawer-head {
  top: 0.55rem;
  left: 0.55rem;
}

aside.side > button.side-head {
  top: 0.55rem;
  right: 0.55rem;
}

select.shop-kind {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 0.75rem;
  height: 1.7rem;
  max-width: calc(100% - 3rem);
  margin: 0;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  color: #161616;
  font: inherit;
  cursor: pointer;
}

select.lesson-kind {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 2.55rem;
  height: 1.7rem;
  max-width: calc(100% - 3.2rem);
  margin: 0;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  color: #161616;
  font: inherit;
  cursor: pointer;
}

.roll-label {
  display: none;
}

.roll-arrow {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav.lessons > button.drawer-head:hover,
aside.side > button.side-head:hover {
  background: #f3f3f3;
}

nav.lessons.rolled > button.drawer-head,
aside.side.rolled > button.side-head {
  top: 0;
  width: max-content;
  height: auto;
  padding: 0.55rem 1.05rem;
  line-height: 1.4;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

nav.lessons.rolled > button.drawer-head {
  left: 100%;
  transform: translate(0.9rem, 0.9rem);
}

aside.side.rolled > button.side-head {
  right: 100%;
  transform: translate(-0.9rem, 0.9rem);
}

nav.lessons.rolled .roll-label,
aside.side.rolled .roll-label {
  display: inline;
}

nav.lessons.rolled .roll-arrow,
aside.side.rolled .roll-arrow {
  display: none;
}

nav.lessons.rolled > button.drawer-head:hover,
aside.side.rolled > button.side-head:hover {
  background: #f6f6f6;
}

aside.side,
aside.avatar-card {
  position: fixed;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(20rem, 92vw);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #fff;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.08);
}

aside.side {
  z-index: 12;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(20rem, calc(100vw - 2.4rem));
  padding-top: 2.6rem;
  overflow: visible;
  transition: transform 0.28s ease;
}

aside.side.rolled {
  transform: translateX(100%);
}

aside.avatar-card {
  z-index: 12;
  top: 50%;
  left: 50%;
  width: min(28rem, calc(100vw - 2.4rem));
  max-height: calc(100vh - 2.4rem);
  padding: 1.35rem 1.45rem 1.55rem;
  border-radius: 1.5rem;
  box-shadow: 0 28px 70px rgba(24, 40, 32, 0.2);
  transform: translate(-50%, -50%);
}

aside.side[hidden],
aside.avatar-card[hidden] {
  display: none;
}

.side-head {
  display: flex;
  align-items: center;
}

aside.avatar-card .side-hide {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
}

.tabs {
  display: flex;
  flex: none;
  border-bottom: 1px solid #eee;
}

.tabs button {
  flex: 1;
  margin: 0;
  padding: 0.9rem 0.4rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #444;
  font: inherit;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  border-bottom-color: #161616;
  color: #161616;
  font-weight: 650;
}

.tabs.sub button {
  font-size: 0.9rem;
}

.catalog[hidden],
.place-hint[hidden] {
  display: none;
}

.avatar-stage {
  height: 280px;
  margin: 0 0 0.35rem;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #e7f2ea;
  touch-action: none;
  cursor: grab;
}

.avatar-stage.dragging {
  cursor: grabbing;
}

.avatar-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.colour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.4rem 0.1rem 0;
}

.colour-row span {
  flex: none;
  width: 4.5rem;
  margin: 0;
  color: #5c6560;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.swatches input[type="color"] {
  width: 2.4rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  cursor: pointer;
}

.catalog {
  display: grid;
  flex: 1;
  min-height: 0;
  overflow: auto;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.45rem 0.15rem;
  padding: 0.35rem 0.45rem 0.7rem;
  scrollbar-width: none;
}

.catalog .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #161616;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

.catalog .card[aria-pressed="true"] span {
  font-weight: 650;
}

.catalog .price {
  color: #666;
  font-size: 0.68rem;
}

.gem {
  display: inline-block;
}

#username {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #ddd;
  border-radius: 0.7rem;
  font: inherit;
  box-sizing: border-box;
}

button.save-name {
  margin: 0.9rem 0.15rem 0.2rem;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

button.save-name:disabled.gig-state {
  background: transparent;
  color: #161616;
  cursor: default;
}

aside.admin-card {
  position: fixed;
  z-index: 12;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  width: min(40rem, calc(100vw - 2rem));
  max-height: min(82vh, 46rem);
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 40, 32, 0.22);
  transform: translate(-50%, -50%);
}

aside.admin-card[hidden] {
  display: none;
}

aside.house-paint {
  width: min(22rem, calc(100vw - 2rem));
}

aside.piece-menu {
  position: fixed;
  z-index: 14;
  top: 0;
  left: 0;
  width: max-content;
  max-width: min(16rem, calc(100vw - 1rem));
  margin: 0;
  padding: 0.35rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 12px 36px rgba(24, 40, 32, 0.18);
}

aside.piece-menu[hidden] {
  display: none;
}

.piece-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.1rem;
  margin: 0;
}

.piece-actions button {
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #161616;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.piece-actions button[aria-pressed="true"] {
  background: #161616;
  color: #fff;
}

aside.piece-paint,
aside.piece-remove,
aside.lesson-prompt {
  width: min(20rem, calc(100vw - 2rem));
}

aside.lesson-prompt {
  z-index: 13;
  width: min(28rem, calc(100vw - 2rem));
}

aside.lesson-prompt p {
  margin: 0.2rem 0 0.3rem;
}

#piece-ask-text {
  margin: 0.2rem 0 0.3rem;
}

.paint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.65rem 0;
}

.paint-row input[type="color"] {
  width: 2.6rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

aside.job-pitch {
  z-index: 13;
}

.admin-note {
  margin: 0 0 0.6rem;
  color: #444;
}

.learners {
  margin: 0;
  padding: 0;
  list-style: none;
}

.learner {
  margin: 0;
  padding: 0.85rem 0.1rem;
  border-top: 1px solid #eee;
}

.learner-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.learner-name,
.house-button,
.give-button {
  border: 0;
  background: transparent;
  color: #161616;
  font: inherit;
  cursor: pointer;
}

.learner-name {
  flex: 1;
  padding: 0.15rem 0;
  font-weight: 650;
  text-align: left;
}

.learner-gems {
  color: #333;
  white-space: nowrap;
}

.house-button,
.give-button {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #161616;
  color: #fff;
}

.learner-lessons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  margin-top: 0.45rem;
}

.learner-lesson {
  color: #333;
  font-size: 0.92rem;
}

.learner-detail {
  margin-top: 0.7rem;
}

.learner-detail p {
  margin: 0.2rem 0;
}

.learner-detail .muted {
  color: #666;
  font-size: 0.82rem;
}

.give {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.give input {
  width: 6rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 0.7rem;
  font: inherit;
}

.visit-bar {
  position: fixed;
  z-index: 8;
  top: 4.3rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.4rem 0.45rem 0.4rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
}

.visit-bar[hidden] {
  display: none;
}

.visit-bar button {
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

body.viewing-house .side-toggle,
body.viewing-house .side,
body.viewing-house .avatar-card {
  display: none;
}

button.linkish {
  border: 0;
  background: transparent;
  color: #161616;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button.linkish[aria-pressed="true"] {
  text-decoration: underline;
}

.job-lead,
.job-brief,
.job-status,
.review-block p {
  margin: 0.35rem 0;
}

.job-lead,
.job-status,
.review-block .muted {
  color: #444;
}

.job-title {
  margin: 0 0 0.35rem;
  font-weight: 650;
}

.job-stage {
  flex: none;
  width: 11rem;
  height: 9.5rem;
  touch-action: none;
  cursor: grab;
}

.job-stage.dragging {
  cursor: grabbing;
}

.job-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.job-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.job-actions .save-name {
  margin: 0;
}

button.job-next {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #161616;
  font: inherit;
  cursor: pointer;
}

.job-client {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.job-back {
  margin: 0 0 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #161616;
  font: inherit;
  cursor: pointer;
}

.job-form input,
.job-form textarea,
.review-block textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #ddd;
  border-radius: 0.7rem;
  font: inherit;
}

.job-form textarea,
.review-block textarea {
  min-height: 7rem;
  resize: vertical;
}

#offer-form textarea {
  min-height: 4.5rem;
}

#offer-form input[type="range"] {
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  accent-color: #161616;
}

.job-letter input {
  display: inline-block;
  width: min(18rem, 100%);
  margin: 0.35rem 0.2rem 0;
  vertical-align: middle;
}

.job-letter input.job-prompt {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0;
}

.job-count {
  margin: 0.25rem 0 0;
  color: #666;
  font-size: 0.82rem;
}

.review-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.review-block {
  margin: 0;
  padding: 0.9rem 0;
  border-top: 1px solid #eee;
}

.review-block a {
  color: #161616;
}

nav.lessons::-webkit-scrollbar,
aside.settings-card::-webkit-scrollbar,
aside.side::-webkit-scrollbar,
aside.avatar-card::-webkit-scrollbar,
aside.admin-card::-webkit-scrollbar,
article.sheet .sheet-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.catalog img {
  width: 100%;
  height: auto;
  background: transparent;
}

.place-hint {
  margin: 0 0.9rem 0.7rem;
  color: #444;
  font-size: 0.82rem;
}
