/* Seven Sky site, the products page, the vote page and the fix pack page. Builds on site.css, offers.css, plain.css and (for the address box) check.css;
   only what is new is here. No rounded corners; gold kept to labels, rules and numerals, as on the other pages. */
/* Where a pay button would sit. Gold outline, no fill: it is a label, not a control. */
.state { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.2; }
.plain .offer-body .state { font-size: 16px; line-height: 1.2; color: var(--gold); align-self: flex-start; }
.offer-body ul a, .offers-intro .offer-line a, .goods-note a { text-decoration: underline; text-underline-offset: 4px; }
.offers-intro .offer-line { max-width: 68ch; }
.plain .offer-body ul { max-width: 68ch; }
.plain .offer-body ul li { overflow-wrap: anywhere; }
.plain .offer-body ul code, .plain .offer-body p code { font: 500 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--cream); overflow-wrap: anywhere; }
.goods-note { font-size: 14px; line-height: 1.5; color: var(--mist); max-width: 68ch; }
.plain .offer-body .goods-note { font-size: 14px; color: var(--mist); }
.goods-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.plain .offer-body a.btn { text-decoration: none; }

/* The vote: one row per good. The count and the button stay hidden until this site says voting is open (js/vote.js). */
.vote-list { list-style: none; margin: 0; padding: 0; max-width: 860px; display: flex; flex-direction: column; border-bottom: 1px solid var(--band-3); }
.plain .offer-body ul.vote-list { padding-left: 0; gap: 0; max-width: 860px; }
.vote-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 6px; align-items: center; padding: 24px 0; border-top: 1px solid var(--band-3); }
.vote-name { grid-column: 1; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--cream); }
.vote-name a { text-decoration: underline; text-underline-offset: 5px; }
.vote-sum { grid-column: 1; font-size: 17px; line-height: 1.5; color: var(--mist); }
.vote-side { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 150px; }
.vote-count { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--gold); white-space: nowrap; }
.vote-btn { cursor: pointer; }
.vote-btn[disabled] { opacity: 0.6; cursor: progress; }
.vote-count[hidden], .vote-btn[hidden], .vote-total[hidden], .vote-side[hidden] { display: none; }
.vote-status { min-height: 26px; font-size: 18px; line-height: 1.5; color: var(--gold); }
.plain .offer-body .vote-status { color: var(--gold); }
.vote-total { font-size: 16px; line-height: 1.5; color: var(--mist); }
.plain .offer-body .vote-total { font-size: 16px; color: var(--mist); }

/* The fix pack preview: one block per file, the first lines on a cream plate (text from the checked site is set as text, never as markup). */
.fp-result[hidden], .fp-deliver[hidden], .fp-not[hidden], .fp-not-head[hidden] { display: none; }
.fp-result { display: flex; flex-direction: column; gap: 18px; max-width: 860px; margin-top: 12px; }
.fp-result h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--cream); overflow-wrap: anywhere; }
.fp-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--band-3); }
.plain .offer-body ul.fp-files { padding-left: 0; gap: 0; max-width: 860px; }
.fp-file { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--band-3); min-width: 0; }
.fp-path { font: 700 19px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--cream); overflow-wrap: anywhere; }
.fp-meta { font-size: 14px; line-height: 1.5; color: var(--mist); }
.fp-where { font-size: 16px; line-height: 1.5; color: var(--cream); overflow-wrap: anywhere; }
.fp-lines { margin: 0; padding: 14px 16px; background: var(--cream); color: var(--ink); font: 400 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.plain .offer-body ul.fp-not { font-size: 16px; }
.fp-not b { font-weight: 700; color: var(--cream); }
.fp-deliver { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fp-deliver .btn { cursor: pointer; }
.fix-line[hidden] { display: none; }
.fix-line a { text-decoration: underline; text-underline-offset: 4px; }

/* Tablet: the body column of the plain frame is too narrow for a row with a button, so these sections run in one column. */
@media (max-width: 1129px) { .offer.plain.goods-wide { grid-template-columns: minmax(0, 1fr); } }
@media screen and (max-width: 700px) {
  .vote-item { grid-template-columns: minmax(0, 1fr); padding: 20px 0; }
  .vote-side { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; margin-top: 8px; }
  .vote-name { font-size: 21px; }
  .fp-path { font-size: 17px; }
  .fp-lines { font-size: 13px; padding: 12px; }
  .goods-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .goods-actions .btn { justify-content: center; text-align: center; min-height: 52px; }
}
@media (forced-colors: active) { .state, .fp-lines { border: 1px solid CanvasText; } }
@media print {
  .state, .plain .offer-body .state { color: var(--navy); border-color: var(--gold-deep); min-height: 0; padding: 6px 12px; }
  .vote-name, .fp-path, .fp-result h3, .fp-not b { color: var(--navy); }
  .vote-sum, .vote-total, .fp-meta, .goods-note { color: var(--espresso); }
  .vote-item, .fp-file, .vote-list, .fp-files { border-color: var(--gold-deep); }
  .vote-btn, .fp-deliver { display: none; }
  .fp-where { color: var(--ink); }
  .fp-lines { background: none; border: 1px solid var(--gold-deep); }
}
