:root{
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #0f0f10;
  --muted: rgba(15,15,16,0.78);
  --muted2: rgba(15,15,16,0.66);
  --rule: rgba(24,24,27,0.18);
  --rule-soft: rgba(24,24,27,0.12);
  --accent: #0f2f2a;
  --focus: rgba(15,47,42,0.20);
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 10px;
  --s1: 10px;
  --s2: 14px;
  --s3: 18px;
  --s4: 28px;
}

html, body{
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

*{ box-sizing: border-box; }

.page{
  padding: 56px 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.hero{ margin-bottom: 14px; }
.hero .kicker{
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15,15,16,0.72);
  margin-bottom: 10px;
}
.hero .h1{
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.55px;
  margin: 0 0 12px 0;
  line-height: 1.06;
  color: var(--ink);
}
.hero .subhead{
  font-size: 16px;
  line-height: 1.55;
  color: rgba(15,15,16,0.78);
  margin: 0 0 18px 0;
  max-width: 84ch;
}

/* Header strip at top */
.header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  padding: 0 0 14px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.brand{ font-weight:700; letter-spacing:.2px; }
.meta{ font-size:13px; color: rgba(15,15,16,0.78); line-height: 1.45; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.pill{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(24,24,27,0.26);
  color: rgba(15,15,16,0.72);
  font-size:12px;
  margin-left:8px;
}

/* Top layout */
.topGrid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
  align-items: start;
  margin-top: 10px;
}
@media (min-width: 980px){
  .topGrid{
    grid-template-columns: 640px 1fr;
    column-gap: var(--s4);
  }
}

/* Strip (no “card” look) */
.panel, .workflowCard{
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.panelCompact.panelStrip{
  padding: 16px 0 14px 0;
  border-top: 1px solid var(--rule);
}

.row{ display:flex; gap: var(--s1); align-items:center; flex-wrap:wrap; }
@media (min-width: 980px){
  .rowStrip{
    display:grid;
    grid-template-columns: 1fr auto;
    column-gap: var(--s1);
    align-items:center;
  }
}

.input{
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r);
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}
.input::placeholder{ color: rgba(15,15,16,0.46); }
.input:focus{
  border-color: rgba(15,47,42,0.40);
  box-shadow: 0 0 0 4px var(--focus);
}

.btnRow{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
@media (min-width: 980px){
  .btnRowStrip{ justify-content:flex-end; flex-wrap:nowrap; }
}

.btn{
  padding: 9px 11px;
  font-size: 12.5px;
  font-weight: 850;
  border-radius: 10px;
  border: 1px solid rgba(15,47,42,0.95);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn:disabled{ opacity: 0.42; cursor: not-allowed; }
.btnGhost{
  background: #fff;
  color: rgba(15,15,16,0.90);
  border: 1px solid rgba(24,24,27,0.26);
  font-weight: 800;
}
.btn:focus{ outline:none; box-shadow: 0 0 0 4px var(--focus); }

.status{
  margin-top: 10px;
  font-size: 12.75px;
  color: rgba(15,15,16,0.78);
}

.metaLine.small{ color: rgba(15,15,16,0.68); }

.sourceLine{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12.5px;
  color: rgba(15,15,16,0.72);
}

/* Workflow */
.workflowCard{
  padding: 16px 0 14px 0;
  border-top: 1px solid var(--rule);
}
.workflowCardTitle{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15,15,16,0.74);
  margin: 2px 0 12px 0;
  font-weight: 950;
}
.workflowList{
  list-style: none;
  padding: 0;
  margin: 0;
}
.workflowList li{
  margin: 0 0 10px 0;
  font-size: 14px;
  color: rgba(15,15,16,0.88);
  line-height: 1.35;
  position: relative;
  padding-left: 14px;
}
.workflowList li:before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(15,47,42,0.48);
}
.workflowNote{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12.5px;
  color: rgba(15,15,16,0.72);
  line-height: 1.45;
}

@media (max-width: 980px){
  .page{ padding-top: 34px; padding-bottom: 34px; padding-left: 18px; padding-right: 18px; }
  .hero .h1{ font-size: 36px; }
}






/* OAK_INPUT_EXACT_SIZE_V2 */
@media (min-width: 980px){
  .rowStrip{
    grid-template-columns: 520px auto;
  }
}

.input{
  font-size: 16px;
  padding: 14px 16px;
}
/* OAK_INPUT_WIDTH_FIX_V2 */
@media (min-width: 980px) {
  .rowStrip {
    grid-template-columns: 1fr auto;
  }

  .inputStrip {
    width: 100%;
    max-width: none;
  }
}
/* OAK_INPUT_FULL_WIDTH_V2 */
@media (min-width: 980px) {
  .rowStrip {
    grid-template-columns: 1fr auto;
  }

  .inputStrip {
    width: 100%;
    min-width: 0;
  }
}


/* OAK_GRID_MINWIDTH_FIX_V1 */
/* Prevent left column from overflowing into the right column (Grid min-width:auto issue) */
@media (min-width: 980px) {
  .topGrid > * {
    min-width: 0;
  }
  .panelStrip {
    min-width: 0;
    overflow: hidden;
  }
  .rowStrip, .btnRowStrip {
    min-width: 0;
  }
  .inputStrip {
    min-width: 0;
    width: 100%;
  }
}


/* OAK_INPUTSTRIP_TUNE_V3 */
/* Front door search bar: larger and clearer */
.inputStrip {
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
}


/* OAK_ROWSTRIP_STACK_DESKTOP_V1 */
/* Desktop: stack buttons under input for clearer hierarchy */
@media (min-width: 980px) {
  .rowStrip {
    display: block;
  }
  .btnRowStrip {
    margin-top: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
