/* /guia: the setup guide. Only page.css tokens; the shared form pieces
   (.fld, .in, .chipb, .panel__actions, .scr--add) live in page.css. */

body.guia { padding-top: var(--chrome); }

.g-hero { padding-block: clamp(2.5rem, 7vh, 4.5rem) clamp(1.5rem, 4vh, 2.5rem); }
.g-hero .wrap > * + * { margin-top: 1rem; }
.g-back { font-size: .95rem; font-weight: 700; }
.g-back a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--sc-ink-soft); }
.g-back a:hover { color: var(--sc-ink); }
.g-h1 { max-width: 20ch; }
.g-h3 { margin-top: 1.4rem; }
.wrap--sec .status { grid-row: auto; }
.status .nochk, .g-checks .nochk { fill: none; stroke: var(--night-soft); }

.gsteps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gsteps--one { grid-template-columns: 1fr; gap: .7rem; margin-top: 1.2rem; }
.gstep { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--e1); padding: 1rem 1.1rem 1.1rem; }
.gstep > * + * { margin-top: .4rem; }
.gstep__n { font-size: .78rem; font-weight: 700; color: var(--sc-accent); letter-spacing: .02em; }
.gstep__h { font-family: var(--sc-font-display); font-weight: 700; font-stretch: 88%; font-size: 1.15rem; line-height: 1.2; }
.gstep p { font-size: .96rem; line-height: 1.5; }

.gimp { margin-top: 1.4rem; border-left: 4px solid var(--sc-accent); background: #fff; border-radius: 0 var(--r) var(--r) 0; padding: .9rem 1.1rem; box-shadow: var(--e1); max-width: 48rem; }

.g-work { margin-top: 1.4rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.g-notice { font-size: .88rem; color: #14532d; background: var(--ok-bg); border-radius: 10px; padding: .55rem .7rem; }
.g-result .panel__head { flex-wrap: wrap; }
.g-mode { font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: #fef3c7; color: #78350f; border-radius: 6px; padding: .12rem .45rem; }
.g-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.g-checks li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-size: .95rem; line-height: 1.45; }
.g-checks svg { width: 20px; height: 20px; margin-top: .1rem; fill: rgba(134, 239, 172, .18); stroke: #86efac; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g-checks li.is-no { color: var(--night-soft); }
.g-yesno { margin-top: 2rem; padding-inline: 0; }

.gtable { margin-top: 1.4rem; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--e1); }
.gtable table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.45; }
.gtable th, .gtable td { text-align: left; vertical-align: top; padding: .75rem .9rem; }
.gtable thead th { font-size: .8rem; color: var(--sc-ink-soft); border-bottom: 1px solid var(--line); }
.gtable tbody tr + tr > * { border-top: 1px solid var(--line); }
.gtable tbody th { font-weight: 700; width: 22%; }
.g-after { margin-top: 1.6rem; max-width: 48rem; }
.g-close .wrap > * + * { margin-top: 1rem; }
.g-close .sec__line { max-width: 40rem; }
.g-close .sec__line a { color: var(--sc-accent); }
.g-foot { margin-top: 1.6rem; }
.g-foot a { font-weight: 700; }

@media (max-width: 860px) {
  .g-work { grid-template-columns: 1fr; }
  .gtable table, .gtable tbody, .gtable tr, .gtable th, .gtable td { display: block; width: auto; }
  .gtable thead { display: none; }
  .gtable tbody tr { padding: .7rem .9rem; }
  .gtable tbody th, .gtable td { padding: .15rem 0; width: auto; }
  .gtable tbody tr + tr > * { border-top: 0; }
  .gtable tbody tr + tr { border-top: 1px solid var(--line); }
  .gtable td:last-child { color: var(--sc-ink-soft); }
}
@media (max-width: 560px) { .g-work .row2 { grid-template-columns: 1fr; gap: 0; } }
