:root {
  font-family: Inter, system-ui, sans-serif;
  color: #202723;
  background: #f6f7f3;
  --accent: #c9ec92;
  --line: #dce1d7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button,
.upload {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 15px;
  color: inherit;
}
button:hover {
  background: #edf1e7;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 650;
}
.primary:hover {
  background: #b9dd7f;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4vw;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.06em;
}
.brand span {
  font-size: 14px;
  color: #788075;
  font-weight: 450;
  letter-spacing: 0;
}
h1 {
  font-weight: 500;
  letter-spacing: -0.055em;
  font-size: clamp(40px, 5vw, 64px);
  margin: 12px 0;
}
p {
  color: #727a6d;
  line-height: 1.6;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 64px 4vw 40px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
}
#sites {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  margin: 0 4vw;
}
.site-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.site-art {
  height: 160px;
  background: #e9eedf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 55px;
  font-family: Georgia, serif;
  color: #4a6040;
}
.site-card:nth-child(2) .site-art {
  background: #292e2a;
  color: #c9ec92;
}
.site-card:nth-child(3) .site-art {
  background: #f1dfdc;
  color: #9b6863;
}
.site-info {
  padding: 24px;
}
.site-info h2 {
  font-size: 20px;
  margin: 0;
}
.site-info p {
  font-size: 13px;
}
.site-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-actions a {
  font-size: 12px;
  color: #4a6040;
}
#login {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
#login form {
  max-width: 440px;
  width: 90%;
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
label {
  display: block;
  font-size: 12px;
  color: #5d6659;
}
input {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  margin: 8px 0 18px;
}
#login button {
  width: 100%;
}
#login-error,
#publish-error,
#dashboard-error {
  color: #a32e2e;
}
.toolbar {
  height: 66px;
  padding: 10px 16px;
  gap: 10px;
  background: #fff;
}
.toolbar strong {
  margin-right: auto;
  font-size: 14px;
}
.toolbar #status {
  font-size: 11px;
  color: #727a6d;
  max-width: 240px;
}
.toolbar button,
.toolbar select {
  padding: 8px 10px;
  font-size: 12px;
}
.editor-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 270px;
  height: calc(100vh - 66px);
}
aside {
  background: #fff;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}
aside.right {
  border-left: 1px solid var(--line);
  border-right: 0;
  padding: 14px;
}
#canvas {
  min-width: 0;
  overflow: hidden;
}
.tabs {
  display: flex;
  padding: 12px;
  gap: 6px;
}
.tabs button {
  font-size: 12px;
  flex: 1;
  padding: 8px;
}
.tabs .active {
  background: var(--accent);
}
.help {
  font-size: 11px;
  padding: 12px;
  color: #7c8575;
  line-height: 1.6;
}
h3 {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a7561;
  margin: 20px 0 12px;
}
.title-field input {
  font-size: 12px;
}
.gjs-one-bg {
  background: #fff;
}
.gjs-two-color {
  color: #46523d;
}
.gjs-three-bg {
  background: #c9ec92;
}
.gjs-four-color,
.gjs-four-color-h:hover {
  color: #5b812d;
}
.gjs-block {
  width: calc(50% - 12px);
  min-height: 65px;
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
}
.gjs-block-label {
  font-size: 11px;
}
.gjs-category-title,
.gjs-sm-sector-title {
  background: #f5f7f0 !important;
  border-bottom: 1px solid var(--line) !important;
}
.gjs-sm-sector .gjs-sm-field,
.gjs-field {
  background: #f1f4ec;
  color: #394431;
}
.gjs-editor {
  font-family: inherit;
}
.gjs-cv-canvas {
  width: 100%;
  height: 100%;
  top: 0;
}
.gjs-sm-sector {
  border-color: var(--line);
}
.gjs-trt-trait {
  padding: 8px 0;
}
#images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 12px;
}
#images button {
  padding: 0;
  height: 66px;
  overflow: hidden;
}
#images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload {
  display: block;
  text-align: center;
  font-size: 12px;
}
dialog {
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
dialog::backdrop {
  background: #17231488;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 24px;
  background: #253322;
  color: white;
  border-radius: 10px;
  z-index: 10000;
  max-width: 90vw;
}
a {
  color: #446532;
}
@media (max-width: 900px) {
  .editor-layout {
    grid-template-columns: 150px minmax(0, 1fr) 220px;
  }
  .toolbar {
    flex-wrap: wrap;
    height: auto;
  }
  .editor-layout {
    height: calc(100vh - 110px);
  }
  .toolbar #status {
    display: none;
  }
}
@media (max-width: 650px) {
  .editor-layout {
    grid-template-columns: 125px minmax(0, 1fr);
  }
  aside.right {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 220px;
    max-height: 40vh;
    z-index: 20;
    border: 1px solid var(--line);
  }
  .intro {
    margin-top: 30px;
    gap: 20px;
  }
  .toolbar strong {
    max-width: 130px;
  }
}
:root {
  color: #f2f5ed;
  background: #101713;
  --accent: #c9ed91;
  --line: #354334;
}
body {
  background:
    radial-gradient(ellipse at 50% 30%, #25302055, transparent 65%), #101713;
}
button,
.upload,
input,
select {
  background: #1d2820;
  color: #f2f5ed;
  border-color: #354334;
}
button:hover {
  background: #2c3b29;
}
.primary {
  background: var(--accent);
  color: #101713;
}
.primary:hover {
  background: #d6f5aa;
}
.brand span,
p,
label,
.eyebrow,
.help {
  color: #b9c6ba;
}
.site-card,
#login form,
aside,
.toolbar,
dialog {
  background: #162019;
  color: #f2f5ed;
}
.site-art {
  background: #283724;
  color: #c9ed91;
}
.site-card:nth-child(2) .site-art {
  background: #3d4a2e;
  color: #d1ed9c;
}
.site-card:nth-child(3) .site-art {
  background: #536140;
  color: #f2f5ed;
}
.site-actions a,
a {
  color: #c9ed91;
}
.tabs .active {
  color: #101713;
}
.gjs-one-bg {
  background: #162019;
}
.gjs-two-color {
  color: #d4dfce;
}
.gjs-three-bg {
  background: #c9ed91;
}
.gjs-four-color,
.gjs-four-color-h:hover {
  color: #c9ed91;
}
.gjs-category-title,
.gjs-sm-sector-title {
  background: #1d2820 !important;
  border-color: #354334 !important;
}
.gjs-sm-sector .gjs-sm-field,
.gjs-field {
  background: #263326;
  color: #f2f5ed;
}
.gjs-block {
  border-color: #354334;
  background: #1d2820;
}
.gjs-block:hover {
  border-color: #c9ed91;
}
h3 {
  color: #b9c6ba;
}
#login-error,
#publish-error,
#dashboard-error {
  color: #ffb4a5;
}
#toast {
  background: #c9ed91;
  color: #101713;
}
.brand {
  letter-spacing: -0.06em;
}
.brand::after {
  content: ".";
  color: #c9ed91;
}
#login form {
  box-shadow: 0 30px 100px #0004;
}
dialog::backdrop {
  background: #080e0bd9;
}
