/* Public implementation guides and the app request page. Loaded after eye.css: the same tokens, type
   and spacing as the staff application and the customer portal, in light and dark. No colours are
   defined here. */

.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-180%); padding: var(--eye-s2); background: var(--eye-surface); z-index: 10; }
.skip:focus { transform: none; }

.header { background: var(--eye-brand-strong); color: #fff; }
.header-inner { max-width: 72rem; display: flex; align-items: center; gap: var(--eye-s5); flex-wrap: wrap; padding: var(--eye-s3) clamp(1rem, 4vw, 3rem); margin: auto; }
.header a { color: #fff; opacity: .85; text-decoration: none; padding: var(--eye-s1) 0; }
.header a:hover { opacity: 1; text-decoration: underline; }
.header .brand { font-weight: 700; opacity: 1; font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.header nav { display: flex; flex-wrap: wrap; gap: var(--eye-s1) var(--eye-s4); }
.header nav [aria-current] { opacity: 1; border-bottom: 2px solid currentColor; font-weight: 600; }
.triage { margin-left: auto; }

.shell { max-width: 72rem; margin: 0 auto; padding: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3rem) 4rem; }
.shell h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.4rem); }
.shell h2 { margin: var(--eye-s5) 0 var(--eye-s2); }
.shell h3 { margin: 0 0 var(--eye-s2); }
.shell p { margin: var(--eye-s2) 0 var(--eye-s4); }

.hero { background: var(--eye-selected); border: 1px solid var(--eye-line); border-radius: var(--eye-radius-lg); padding: clamp(1.25rem, 4vw, 2.75rem); }
.hero p { color: var(--eye-muted); max-width: 37rem; margin: var(--eye-s3) 0 var(--eye-s5); font-size: 1.1rem; }
.section { margin-top: var(--eye-s6); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--eye-s4); }
.cards article, .form { background: var(--eye-surface); border: 1px solid var(--eye-line); border-radius: var(--eye-radius-lg); padding: var(--eye-s4) var(--eye-s5); }
.cards p { margin-bottom: 0; color: var(--eye-muted); }
.guide, .request { max-width: 49rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--eye-s3) var(--eye-s5); }

.button, .secondary { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--eye-brand); border-radius: var(--eye-radius); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; }
.button { background: var(--eye-brand); color: var(--eye-on-brand); }
.secondary { background: var(--eye-surface); color: var(--eye-brand); }
button:disabled { opacity: .6; cursor: wait; }

pre { font-family: var(--eye-mono); font-size: .88rem; background: var(--eye-surface-2); color: var(--eye-text); border: 1px solid var(--eye-line-soft);
  border-radius: var(--eye-radius); padding: var(--eye-s3) var(--eye-s4); overflow: auto; }
code { font-family: var(--eye-mono); font-size: .9em; }
p code, dd code { overflow-wrap: anywhere; }
.checklist { padding-left: 1.35rem; }
.checklist h2 { font-size: 1.1rem; }
.troubleshooting dt { font-weight: 650; }
.troubleshooting dd { margin: 0 0 var(--eye-s3); }

.form { margin: var(--eye-s4) 0 0; }
.form label { display: block; font-weight: 600; margin-bottom: var(--eye-s4); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--eye-s4); }
.form input, .form select, .form textarea { display: block; width: 100%; font: inherit; font-weight: 400; color: inherit; background: var(--eye-surface);
  border: 1px solid var(--eye-line); border-radius: var(--eye-radius); padding: .45rem .6rem; margin-top: var(--eye-s1); }
.form textarea { resize: vertical; }
.hint, .optional { color: var(--eye-muted); font-weight: 400; font-size: .86rem; }
.hint { display: block; margin-top: var(--eye-s1); }
.notice, #form-message { color: var(--eye-bad); }
.new-request { margin-bottom: 0; }

@media (max-width: 650px) {
  .cards, .fields { grid-template-columns: 1fr; }
  .header-inner { gap: var(--eye-s1) var(--eye-s4); }
  .header nav { order: 2; width: 100%; }
}
