/* Surrender Point Engine — proof sheet */

:root {
  --paper: #EDE9E2;
  --ink: #221E1A;
  --oxblood: #6E2B2B;
  --ash: #7C7468;
  --rule: #D8D2C7;
  --field: #F6F3EE;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
}

.sheet { max-width: 780px; margin: 0 auto; padding: 28px 20px 80px; }

/* Masthead */
.masthead { border-top: 6px solid var(--ink); padding-top: 10px; margin-bottom: 6px; }
.masthead h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.masthead h1 a { color: var(--ink); text-decoration: none; }
.masthead h1 span { color: var(--oxblood); }
.masthead .strap {
  border-bottom: 1px solid var(--ink);
  padding: 2px 0 8px;
  font-style: italic; color: var(--ash); font-size: 15px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.masthead .strap a { color: var(--ash); }

main { padding-top: 22px; }

h2 { font-size: 21px; font-weight: 600; margin: 34px 0 10px; }
h2:first-child { margin-top: 0; }
h3 { font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--oxblood); }

/* Ledger rows */
.row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.row .main { flex: 1 1 260px; }
.row .side { font-style: italic; color: var(--ash); font-size: 15px; text-align: right; }
.row a.t { font-weight: 600; text-decoration: none; color: var(--ink); font-size: 18px; }
.row a.t:hover { color: var(--oxblood); }

.meta { font-style: italic; color: var(--ash); font-size: 15px; }

/* Angles */
.angle { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.angle .head { font-weight: 600; font-size: 18px; }
.angle .urgency { font-style: italic; font-size: 15px; }
.angle .urgency.now { color: var(--oxblood); font-weight: 600; }
.angle .urgency.this_month { color: var(--ink); }
.angle .urgency.watch { color: var(--ash); }
.angle ul { margin: 8px 0 10px; padding-left: 20px; }

/* Asset kit */
.kit-block { border-left: 3px solid var(--rule); padding: 4px 0 4px 16px; margin: 14px 0 20px; }
.kit-block.copy { white-space: pre-wrap; }
.tags span {
  display: inline-block; border: 1px solid var(--rule); background: var(--field);
  padding: 2px 9px; margin: 0 6px 6px 0; font-size: 15px; border-radius: 2px;
}

/* Forms */
label { display: block; font-style: italic; color: var(--ash); font-size: 15px; margin: 14px 0 4px; }
input[type=text], input[type=password], textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1px solid var(--rule); border-radius: 2px; padding: 9px 10px;
}
textarea { min-height: 140px; }
textarea.tall { min-height: 320px; }
input:focus, textarea:focus, select:focus, button:focus, a:focus {
  outline: 2px solid var(--oxblood); outline-offset: 1px;
}

button, .btn {
  font: inherit; font-size: 16px; cursor: pointer; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  border-radius: 2px; padding: 8px 18px; margin-top: 14px; display: inline-block;
}
button.primary { background: var(--oxblood); border-color: var(--oxblood); }
button.quiet { background: transparent; color: var(--ink); }
button.small { font-size: 15px; padding: 5px 12px; margin-top: 8px; }
button:hover, .btn:hover { opacity: .88; }

.notice { border-left: 3px solid var(--oxblood); background: var(--field); padding: 10px 14px; margin: 0 0 18px; }
.working { font-style: italic; color: var(--ash); }

details { border-bottom: 1px solid var(--rule); padding: 10px 0; }
summary { cursor: pointer; font-weight: 600; }

.footer { margin-top: 60px; border-top: 1px solid var(--ink); padding-top: 8px; font-style: italic; color: var(--ash); font-size: 14px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .row .side { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
