/* Arc Grove Design Flow — brand tokens from design-system/colors_and_type.css:
   green-black #242B26, sage #465849, bg #f9fafb, hairline rgba(70,88,73,0.1).
   Playfair (H1) / Alata (labels, uppercase, tracked) / Inter Tight (body).
   Square corners; pills are the only radius exception. */

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 15px;
  color: #242B26;
  background: #f9fafb;
  line-height: 1.55;
}
a { color: #242B26; }
a:hover { color: #465849; }

/* ---------- staff shell ---------- */
.topbar { background: #fff; border-bottom: 1px solid rgba(70,88,73,0.12); }
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand {
  font-family: 'Alata', sans-serif; font-size: 15px; letter-spacing: 1px;
  text-decoration: none; color: #242B26;
}
.brand span { color: #465849; margin-left: 6px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a, .linklike {
  font-family: 'Alata', sans-serif; font-size: 12px; letter-spacing: 0.9px;
  text-decoration: none; color: #242B26;
}
.linklike { background: none; border: none; cursor: pointer; padding: 0; }
.nav a:hover, .linklike:hover { color: #465849; }
.inline-form { display: inline; }

.page { max-width: 1180px; margin: 0 auto; padding: 28px 24px 64px; }
.page-head { margin-bottom: 22px; }
.page-head h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 30px; color: #242B26; margin: 4px 0 6px; letter-spacing: -0.2px;
}
.backlink {
  font-family: 'Alata', sans-serif; font-size: 11px; letter-spacing: 0.8px;
  text-decoration: none; display: inline-block; margin-bottom: 12px;
}
.eyebrow {
  font-family: 'Alata', sans-serif; font-size: 11px; color: #7B7B7B;
  text-transform: uppercase; letter-spacing: 0.8px; display: block;
}
.muted { color: #7B7B7B; }
.small { font-size: 13px; }
.mono { font-family: 'Alata', sans-serif; font-size: 12.5px; letter-spacing: 0.4px; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; }

/* ---------- cards + layout ---------- */
.card {
  background: #fff; border: 1px solid rgba(70,88,73,0.12);
  padding: 22px 24px; margin-bottom: 20px;
}
.card-alert { border-color: #A04B3B; }
.card-title {
  font-family: 'Alata', sans-serif; font-size: 12px; letter-spacing: 1px;
  color: #465849; margin: 0 0 16px; font-weight: 400;
}
.cols { display: flex; gap: 20px; align-items: flex-start; }
.col-main { flex: 1.7; min-width: 0; }
.col-side { flex: 1; min-width: 280px; position: sticky; top: 20px; }
@media (max-width: 900px) { .cols { flex-direction: column; } .col-side { position: static; width: 100%; } }

/* ---------- facts ---------- */
.facts > div {
  display: flex; gap: 16px; padding: 7px 0;
  border-bottom: 1px solid rgba(70,88,73,0.07);
}
.facts > div:last-child { border-bottom: none; }
.fl {
  font-family: 'Alata', sans-serif; font-size: 10.5px; color: #7B7B7B;
  text-transform: uppercase; letter-spacing: 0.7px;
  min-width: 170px; flex-shrink: 0; padding-top: 2px;
}
.fvv { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.subblock { margin-top: 14px; }
.divider { border-top: 1px solid rgba(70,88,73,0.12); margin: 16px 0; }
.callout { border-left: 2px solid #465849; padding: 4px 0 4px 14px; margin-bottom: 16px; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th {
  font-family: 'Alata', sans-serif; font-size: 10.5px; color: #7B7B7B;
  text-transform: uppercase; letter-spacing: 0.7px; text-align: left;
  padding: 10px 12px; border-bottom: 1px solid rgba(70,88,73,0.15); font-weight: 400;
}
.table td { padding: 10px 12px; border-bottom: 1px solid rgba(70,88,73,0.07); font-size: 13.5px; }
.table-compact td { padding: 6px 10px; font-size: 12.5px; }
.rowlink { cursor: pointer; }
.rowlink:hover { background: rgba(70,88,73,0.04); }
.row-breach { background: rgba(160,75,59,0.05); }
.age-hot { color: #A04B3B; font-weight: 600; }
.detail-cell { overflow-wrap: anywhere; max-width: 480px; }

/* ---------- stage badges + pills ---------- */
.stage {
  font-family: 'Alata', sans-serif; font-size: 10px; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
  background: rgba(70,88,73,0.1); color: #465849;
}
.stage-queued { background: rgba(70,88,73,0.14); }
.stage-in-design { background: #465849; color: #fff; }
.stage-sent-to-client { background: rgba(70,88,73,0.08); border: 1px solid rgba(70,88,73,0.3); }
.stage-revision-requested { background: rgba(160,75,59,0.12); color: #A04B3B; }
.stage-info-needed { background: rgba(160,75,59,0.12); color: #A04B3B; }
.stage-approved { background: rgba(70,88,73,0.9); color: #fff; }
.pill {
  font-family: 'Alata', sans-serif; font-size: 10px; letter-spacing: 0.7px;
  padding: 2px 9px; border-radius: 100px; background: rgba(70,88,73,0.1); color: #465849;
}
.pill-warn { background: rgba(160,75,59,0.12); color: #A04B3B; }

/* ---------- forms ---------- */
.stack { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-family: 'Alata', sans-serif; font-size: 10.5px; color: #7B7B7B;
  text-transform: uppercase; letter-spacing: 0.7px; margin-top: 8px;
}
.hint { text-transform: none; letter-spacing: 0; }
input, select, textarea {
  font-family: 'Inter Tight', sans-serif; font-size: 14px; color: #242B26;
  padding: 9px 12px; border: 1px solid rgba(70,88,73,0.25); background: #fff;
  border-radius: 0; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #465849; }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.intake-form { max-width: 860px; }

.btn {
  display: inline-block; font-family: 'Alata', sans-serif; font-size: 12px;
  letter-spacing: 0.9px; text-transform: uppercase; text-decoration: none;
  padding: 11px 26px; border: 1px solid #242B26; background: #fff; color: #242B26;
  cursor: pointer; border-radius: 0; margin-top: 10px; text-align: center;
}
.btn:hover { background: rgba(70,88,73,0.06); }
.btn-primary { background: #4B544C; border-color: #4B544C; color: #fff; }
.btn-primary:hover { background: #465849; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 14px 38px; font-size: 13px; }

/* ---------- banners ---------- */
.banner { padding: 12px 16px; margin-bottom: 18px; font-size: 13.5px; }
.banner-ok { background: rgba(70,88,73,0.08); border: 1px solid rgba(70,88,73,0.25); }
.banner-err { background: rgba(160,75,59,0.08); border: 1px solid rgba(160,75,59,0.35); color: #A04B3B; }
.statusline {
  font-size: 13.5px; color: #465849; border-left: 2px solid #465849;
  padding: 4px 0 4px 14px; margin: 18px 0;
}

/* ---------- login ---------- */
.login-card {
  max-width: 380px; margin: 8vh auto 0; background: #fff;
  border: 1px solid rgba(70,88,73,0.12); padding: 34px 36px 38px;
}
.login-card h1 { font-family: 'Playfair Display', serif; font-size: 26px; margin: 4px 0 8px; color: #242B26; }

/* ---------- revisions + events ---------- */
.rev { border: 1px solid rgba(70,88,73,0.1); padding: 14px 16px; margin-bottom: 12px; }
.rev-current { border-color: #465849; }
.rev-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.rev-meta { font-size: 12px; color: #7B7B7B; margin-top: 6px; }
.rev-notes { font-size: 13.5px; margin: 8px 0; }
.filelist { list-style: none; padding: 0; margin: 8px 0 0; }
.filelist li { padding: 4px 0; font-size: 13px; border-bottom: 1px solid rgba(70,88,73,0.06); }
.result-card { max-width: 620px; }

/* ---------- my work: task groups ---------- */
.taskgroup { padding: 0; overflow: hidden; }
.taskgroup-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px 18px; flex-wrap: wrap; padding: 14px 20px;
  border-bottom: 1px solid rgba(70,88,73,0.14); background: rgba(70,88,73,0.03);
}
.taskgroup-id { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.taskgroup-client { font-size: 15px; font-weight: 600; }
.taskgroup-design { font-size: 13px; }
.taskgroup-meta { display: flex; gap: 12px; align-items: baseline; flex-shrink: 0; }
.taskrow {
  display: flex; align-items: baseline; gap: 8px 20px; flex-wrap: wrap;
  padding: 11px 20px; border-bottom: 1px solid rgba(70,88,73,0.07);
}
.taskrow:last-child { border-bottom: none; }
.taskrow-title { flex: 0 0 220px; }
.taskrow-owner { flex: 0 0 60px; }
.taskrow-due { flex: 0 0 175px; font-size: 13px; white-space: nowrap; }
.taskrow-context { flex: 1 1 240px; font-size: 13px; min-width: 0; }

/* ---------- job detail: features + finishes ---------- */
.feature-list { list-style: none; padding: 0; margin: 2px 0 0; }
.feature-list li { padding: 8px 0; border-bottom: 1px solid rgba(70,88,73,0.06); }
.feature-list li:last-child { border-bottom: none; }
.feature-name { font-size: 14px; }
.feature-sku { margin-left: 8px; }
.thumbrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.thumb {
  width: 56px; height: 56px; object-fit: cover; display: block;
  border: 1px solid rgba(70,88,73,0.15); background: #fff;
}
a.thumblink:hover .thumb { border-color: #465849; }
.finish-list { list-style: none; padding: 0; margin: 2px 0 0; }
.finish-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid rgba(70,88,73,0.06);
}
.finish-list li:last-child { border-bottom: none; }
.finish-swatch {
  width: 36px; height: 36px; object-fit: cover; display: block;
  border: 1px solid rgba(70,88,73,0.15); background: #fff; flex-shrink: 0;
}
.finish-role {
  font-family: 'Alata', sans-serif; font-size: 10px; letter-spacing: 0.7px;
  text-transform: uppercase; color: #465849; flex: 0 0 66px;
}
.finish-name { font-size: 14px; }
.finish-code { margin-left: 6px; }

/* ---------- verification badges ---------- */
.pill-verified { background: rgba(70,88,73,0.9); color: #fff; }
.pill-neutral { background: rgba(36,43,38,0.06); color: #7B7B7B; }

/* ---------- client review page ---------- */
.review-body { background: #f9fafb; }
.review-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }
.review-header {
  text-align: center; padding: 30px 0 24px;
  border-bottom: 1px solid rgba(70,88,73,0.1); margin-bottom: 34px; background: transparent;
}
.review-logo { max-width: 190px; height: auto; }
.review-main h1 {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 34px;
  color: #242B26; margin: 6px 0 14px; letter-spacing: -0.3px; line-height: 1.2;
}
.review-intro { font-size: 15.5px; max-width: 620px; }
.drawings { margin: 28px 0; }
.drawing { margin: 0 0 22px; }
.drawing img {
  max-width: 100%; display: block; border: 1px solid rgba(70,88,73,0.15); background: #fff;
}
.drawing figcaption {
  font-family: 'Alata', sans-serif; font-size: 10.5px; color: #7B7B7B;
  letter-spacing: 0.7px; text-transform: uppercase; margin-top: 8px;
}
.drawing-file {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: #fff; border: 1px solid rgba(70,88,73,0.15);
  padding: 18px 22px; margin-bottom: 14px;
}
.drawing-file:hover { border-color: #465849; }
.drawing-file-name { flex: 1; font-size: 14.5px; font-weight: 500; overflow-wrap: anywhere; }
.drawing-file-cta {
  font-family: 'Alata', sans-serif; font-size: 11px; letter-spacing: 0.9px; color: #465849;
}
.review-actions { margin: 34px 0 10px; padding-top: 26px; border-top: 1px solid rgba(70,88,73,0.12); }
.approve-form { margin-bottom: 18px; }
.revision-details summary, .prev-versions summary {
  font-family: 'Alata', sans-serif; font-size: 12px; letter-spacing: 0.9px;
  color: #465849; cursor: pointer; padding: 8px 0;
}
.comment-block { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(70,88,73,0.12); max-width: 560px; }
.prev-versions { margin-top: 36px; }
.prev-version { border: 1px solid rgba(70,88,73,0.1); padding: 14px 16px; margin: 10px 0; background: #fff; }
.review-footer {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(70,88,73,0.1);
  font-family: 'Alata', sans-serif; font-size: 10.5px; color: #7B7B7B;
  text-align: center; letter-spacing: 0.4px; line-height: 1.9;
}
.review-footer a { color: #465849; text-decoration: none; }

/* ---------- comment thread ---------- */
.thread { margin: 10px 0 22px; }
.thread-msg {
  border-left: 2px solid rgba(70,88,73,0.25);
  padding: 6px 0 6px 14px; margin: 12px 0;
}
.thread-msg.thread-staff { border-left-color: #465849; background: rgba(70,88,73,0.04); }
.thread-msg p { margin: 4px 0 0; font-size: 14px; }
.fl-inline {
  font-family: 'Alata', sans-serif; font-size: 11.5px; letter-spacing: 0.6px;
  text-transform: uppercase; color: #242B26;
}
