/* Greenhouse Clipboard Desk — orders (CityTribe)
   Wire-hung greenhouse clipboards · binder-clip dates · status tape · print slip.
   Not Lot Stake / Invoice Fan / Strikebook / Shuffle / Chrono / Season Log. */
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@500;600;700;800&display=swap");

.page-a103-clipdesk {
  --gc-ink: #12241C;
  --gc-mute: #3D5348;
  --gc-teal: #0D8A7A;
  --gc-teal-deep: #0A6A5E;
  --gc-hot: #FF4F7B;
  --gc-hot-deep: #D01848;
  --gc-lemon: #FFE14A;
  --gc-lemon-ink: #3A3200;
  --gc-sky: #2B9FFF;
  --gc-sky-deep: #1578D4;
  --gc-fern: #3DCC6A;
  --gc-cancel: #8A9A94;
  --gc-soil: #1A2E26;
  --gc-kraft: #FFFDF5;
  --gc-field: #E8FFF6;
  --gc-field-warm: #FFF4E8;
  --gc-surface: #FFFFFF;
  --gc-radius: 14px;
  --gc-font-display: "Lilita One", Impact, sans-serif;
  --gc-font-body: "Nunito", system-ui, sans-serif;
  font-family: var(--gc-font-body);
  color: var(--gc-ink);
  background:
    radial-gradient(ellipse 46% 32% at 6% 0%, rgba(13, 138, 122, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 28% at 96% 4%, rgba(255, 79, 123, 0.12), transparent 50%),
    linear-gradient(168deg, var(--gc-field) 0%, #D4F8EE 48%, var(--gc-field-warm) 100%);
}

.gc-stage { padding-bottom: 64px; }

.gc-mast {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 20px;
  align-items: end;
  padding: 28px 0 14px;
}
.gc-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gc-teal-deep);
}
.gc-mast h1 {
  margin: 0;
  font-family: var(--gc-font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 0.95;
}
.gc-mast-copy p:last-child {
  margin: 10px 0 0;
  max-width: 52ch;
  font-weight: 600;
  color: var(--gc-mute);
}
.gc-meter {
  min-width: 100px;
  padding: 14px 16px;
  text-align: center;
  background: var(--gc-soil);
  color: #F5FFF8;
  border: 3px solid var(--gc-ink);
  border-radius: 12px 12px 28px 28px;
  box-shadow: 4px 4px 0 rgba(18, 36, 28, 0.18);
}
.gc-meter strong {
  display: block;
  font-family: var(--gc-font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gc-lemon);
}
.gc-meter span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gc-body { padding-top: 8px; }

.gc-loading {
  padding: 28px;
  text-align: center;
  font-weight: 700;
  color: var(--gc-mute);
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed var(--gc-teal);
  border-radius: var(--gc-radius);
}

.gc-gate {
  padding: 48px 24px;
  text-align: center;
  background: var(--gc-kraft);
  border: 3px solid var(--gc-ink);
  border-radius: var(--gc-radius);
  box-shadow: 4px 4px 0 rgba(18, 36, 28, 0.12);
}
.gc-gate h2 {
  margin: 0 0 8px;
  font-family: var(--gc-font-display);
  font-size: 1.8rem;
  font-weight: 400;
}
.gc-gate p {
  margin: 0 auto 18px;
  max-width: 42ch;
  color: var(--gc-mute);
  font-weight: 600;
}
.gc-gate-clip {
  width: 64px;
  height: 28px;
  margin: 0 auto 16px;
  background: var(--gc-teal);
  border: 3px solid var(--gc-ink);
  border-radius: 6px;
  position: relative;
}
.gc-gate-clip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 18px;
  margin-left: -5px;
  background: #C0C8C4;
  border: 2px solid var(--gc-ink);
  border-top: 0;
}
.gc-empty-board {
  width: 72px;
  height: 88px;
  margin: 0 auto 16px;
  background: var(--gc-surface);
  border: 3px solid var(--gc-ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--gc-hot);
  position: relative;
}
.gc-empty-board::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 28px;
  height: 14px;
  margin-left: -14px;
  background: var(--gc-teal);
  border: 2px solid var(--gc-ink);
  border-radius: 3px;
}
.gc-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.gc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--gc-font-body);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  border: 3px solid var(--gc-ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gc-btn--hot {
  background: var(--gc-hot);
  color: #fff;
  box-shadow: 3px 3px 0 var(--gc-ink);
}
.gc-btn--hot:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--gc-ink);
  color: #fff;
}
.gc-btn--track {
  background: var(--gc-lemon);
  color: var(--gc-lemon-ink);
  box-shadow: 2px 2px 0 var(--gc-ink);
}
.gc-btn--track:hover {
  transform: translate(-1px, -1px);
  color: var(--gc-lemon-ink);
}
.gc-text-exit {
  font-weight: 800;
  color: var(--gc-teal-deep);
}

.gc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--gc-ink);
  border-radius: 999px;
}
.gc-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gc-mute);
}
.gc-leg i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 2px solid var(--gc-ink);
}
.gc-leg--pending i { background: var(--gc-lemon); }
.gc-leg--packing i { background: var(--gc-fern); }
.gc-leg--shipped i { background: var(--gc-sky); }
.gc-leg--delivered i { background: var(--gc-teal); }
.gc-leg--cancel i { background: var(--gc-cancel); }

.gc-wire {
  position: relative;
  height: 28px;
  margin-bottom: 4px;
}
.gc-wire-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 4px;
  background: linear-gradient(90deg, #8A9A94, #C8D0CC, #8A9A94);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(18, 36, 28, 0.2);
}
.gc-wire-hook {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 18px;
  border: 3px solid #6A7870;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
}
.gc-wire-hook:nth-child(2) { left: 12%; }
.gc-wire-hook:nth-child(3) { left: 48%; }
.gc-wire-hook:nth-child(4) { left: 82%; }

.gc-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 20px;
  padding: 8px 0 24px;
  min-height: 40px;
}

.gc-board {
  position: relative;
  padding-top: 18px;
  animation: gcHangIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--gc-i, 0) * 70ms);
  transform: rotate(var(--gc-sway, 0deg));
  transform-origin: 50% 0;
  transition: transform 0.2s ease;
}
.gc-board:hover { transform: rotate(0deg) translateY(-4px); }
.gc-board.is-hanging { animation: gcSway 0.42s ease; }
.gc-board.is-tearing .gc-sheet {
  filter: brightness(1.08);
  box-shadow: 6px 6px 0 var(--gc-hot);
}

@keyframes gcHangIn {
  from { opacity: 0; transform: translateY(-24px) rotate(calc(var(--gc-sway, 0deg) - 4deg)); }
  to { opacity: 1; transform: translateY(0) rotate(var(--gc-sway, 0deg)); }
}
@keyframes gcSway {
  0%, 100% { transform: rotate(var(--gc-sway, 0deg)); }
  35% { transform: rotate(calc(var(--gc-sway, 0deg) + 3deg)); }
  70% { transform: rotate(calc(var(--gc-sway, 0deg) - 2deg)); }
}

.gc-binder {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 42px;
  height: 22px;
  margin-left: -21px;
  background: linear-gradient(180deg, var(--gc-teal) 0%, var(--gc-teal-deep) 100%);
  border: 3px solid var(--gc-ink);
  border-radius: 6px;
  box-shadow: 2px 2px 0 rgba(18, 36, 28, 0.2);
}
.gc-binder::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 14px;
  margin-left: -4px;
  background: #B8C0BC;
  border: 2px solid var(--gc-ink);
  border-top: 0;
}

.gc-clip-date {
  position: absolute;
  top: 28px;
  left: 12px;
  z-index: 2;
  display: grid;
  gap: 0;
  min-width: 52px;
  padding: 6px 8px;
  text-align: center;
  background: var(--gc-lemon);
  color: var(--gc-lemon-ink);
  border: 3px solid var(--gc-ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 rgba(18, 36, 28, 0.15);
  line-height: 1.05;
}
.gc-clip-day {
  font-family: var(--gc-font-display);
  font-size: 1.35rem;
}
.gc-clip-mon,
.gc-clip-yr {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gc-tape {
  position: absolute;
  top: 36px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--gc-ink);
  border-radius: 999px;
}
.gc-tape-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 2px solid var(--gc-ink);
  background: #D8E0DC;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.gc-tape-mark.is-on {
  opacity: 1;
  transform: scale(1.08);
}
.gc-tape-mark--1.is-on { background: var(--gc-lemon); }
.gc-tape-mark--2.is-on { background: var(--gc-fern); }
.gc-tape-mark--3.is-on { background: var(--gc-sky); }
.gc-tape-mark--4.is-on { background: var(--gc-teal); }
.gc-board.is-hanging .gc-tape-mark.is-on {
  animation: gcTapePop 0.35s ease;
}
@keyframes gcTapePop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1.08); }
}

.gc-sheet {
  position: relative;
  padding: 42px 16px 16px 80px;
  background: var(--gc-kraft);
  border: 3px solid var(--gc-ink);
  border-radius: var(--gc-radius);
  box-shadow: 4px 4px 0 rgba(18, 36, 28, 0.14);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gc-sheet::before {
  content: "";
  position: absolute;
  inset: 10px 10px auto 10px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 8px,
    rgba(13, 138, 122, 0.35) 8px 16px
  );
  pointer-events: none;
}

.gc-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-right: 72px;
}
.gc-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--gc-ink);
  border-radius: 999px;
  background: var(--gc-lemon);
  color: var(--gc-lemon-ink);
}
.gc-board.tone-packed .gc-status,
.gc-board.gc-tape-packing .gc-status { background: var(--gc-fern); color: #063522; }
.gc-board.tone-shipped .gc-status,
.gc-board.gc-tape-shipped .gc-status { background: var(--gc-sky-deep); color: #fff; }
.gc-board.tone-delivered .gc-status,
.gc-board.gc-tape-delivered .gc-status { background: var(--gc-teal); color: #fff; }
.gc-board.tone-cancelled .gc-status,
.gc-board.gc-tape-cancel .gc-status { background: var(--gc-cancel); color: #fff; }
.gc-board.tone-packed .gc-clip-date { background: var(--gc-fern); color: #063522; }
.gc-board.tone-shipped .gc-clip-date { background: var(--gc-sky); color: #fff; }
.gc-board.tone-delivered .gc-clip-date { background: var(--gc-teal); color: #fff; }
.gc-board.tone-cancelled .gc-clip-date { background: var(--gc-cancel); color: #fff; }

.gc-sheet-head time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gc-mute);
}
.gc-id {
  margin: 0;
  font-family: var(--gc-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
  word-break: break-word;
}
.gc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}
.gc-meta div {
  padding: 8px;
  background: var(--gc-surface);
  border: 2px solid rgba(18, 36, 28, 0.12);
  border-radius: 8px;
}
.gc-meta dt {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gc-mute);
}
.gc-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
  font-size: 0.95rem;
}
.gc-items {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gc-mute);
  line-height: 1.35;
}
.gc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.gc-invoice {
  appearance: none;
  padding: 10px 14px;
  font-family: var(--gc-font-body);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gc-ink);
  background: var(--gc-surface);
  border: 3px solid var(--gc-ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.gc-invoice:hover { background: #E8FFF6; transform: translateY(-1px); }
.gc-invoice.is-stamping {
  background: var(--gc-hot);
  color: #fff;
  transform: scale(0.96);
}

.gc-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px dashed rgba(18, 36, 28, 0.2);
}
.gc-trail a {
  font-weight: 800;
  color: var(--gc-teal-deep);
  text-decoration: none;
}
.gc-trail a:hover { color: var(--gc-hot-deep); text-decoration: underline; }

@media (max-width: 720px) {
  .gc-mast { grid-template-columns: 1fr; }
  .gc-meter { justify-self: start; }
  .gc-legend { border-radius: 14px; }
  .gc-rail { grid-template-columns: 1fr; }
  .gc-sheet { padding-left: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .gc-board,
  .gc-board.is-hanging,
  .gc-board.is-hanging .gc-tape-mark.is-on {
    animation: none !important;
  }
}
