:root { --paper:#F7F0E4; --ink:#4A3A30; --rose:#B26E5A; --sage:#7F927A; --gold:#B8955A; --soft:#D9CBB6; --mute:#8C7B6E; }
@font-face { font-family: Lora; src: url(fonts/Lora-Regular.ttf); }
@font-face { font-family: Lora; font-style: italic; src: url(fonts/Lora-Italic.ttf); }
@font-face { font-family: Lora; font-weight: 600; src: url(fonts/Lora-SemiBold.ttf); }
@font-face { font-family: Playfair; src: url(fonts/Playfair-Regular.ttf); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 Lora, Georgia, serif; }
.top { text-align: center; padding: 40px 20px 10px; }
.kicker { letter-spacing: .25em; text-transform: uppercase; font-size: 12px; color: var(--rose); margin: 0; }
h1 { font-family: Playfair, Georgia, serif; font-weight: 400; font-size: 40px; margin: 6px 0; }
h2 { font-family: Playfair, Georgia, serif; font-weight: 400; font-size: 24px; margin: 0 0 14px; }
h3 { font-size: 15px; margin: 0 0 6px; color: var(--rose); letter-spacing: .04em; }
.sub { max-width: 620px; margin: 0 auto; color: var(--mute); font-style: italic; }
main { max-width: 960px; margin: 0 auto; padding: 10px 16px 60px; }
.card { background: #fffaf2; border: 1px solid var(--soft); border-radius: 10px; padding: 22px; margin: 18px 0; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: #fff; font: 600 14px Lora, serif; margin-right: 6px; vertical-align: 3px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row.tight { margin-top: 8px; }
input, textarea, select { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--soft); border-radius: 6px; padding: 9px 11px; width: 100%; }
textarea { resize: vertical; font-size: 14px; line-height: 1.45; }
#url { flex: 1 1 380px; width: auto; }
button { font: 600 15px Lora, serif; background: var(--rose); color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; cursor: pointer; }
button:hover { filter: brightness(.95); }
button:disabled { opacity: .6; cursor: progress; }
button.secondary { background: var(--sage); }
button.copy { background: transparent; color: var(--rose); border: 1px solid var(--soft); padding: 1px 8px; font-size: 12px; margin-left: 6px; }
select { width: auto; }
.status { min-height: 1.5em; margin: 10px 0 0; color: var(--mute); }
.status.err { color: #9b3b2b; }
.status.ok { color: #4f6b49; }
.hint { color: var(--mute); font-size: 14px; margin: 0 0 10px; }
small { color: var(--mute); font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid label { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 5px; }
.grid label.wide { grid-column: 1 / -1; }
.grid label.ing { grid-column: 1 / 2; }
.grid label.dir { grid-column: 2 / 4; }
.photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; font-size: 14px; }
label.inline { display: inline-flex; align-items: center; gap: 6px; }
label.inline input[type=radio] { width: auto; }
label.inline input[type=file] { width: 210px; padding: 3px; font-size: 12px; }
.thumb { height: 64px; border-radius: 4px; border: 1px solid var(--soft); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.choice { border: 1px dashed var(--soft); border-radius: 8px; padding: 14px; }
.alt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.alt-grid textarea, .alt-grid input { margin-bottom: 8px; }
details summary { cursor: pointer; color: var(--rose); margin-top: 8px; }
.bookmarklet { display: inline-block; background: var(--gold); color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 6px; font-weight: 600; cursor: grab; }
.fine { text-align: center; color: var(--mute); font-size: 13px; font-style: italic; max-width: 640px; margin: 20px auto; }
.hidden { display: none !important; }
@media (max-width: 760px) { .grid, .choices, .alt-grid { grid-template-columns: 1fr; } .grid label.ing, .grid label.dir { grid-column: 1 / -1; } }
.grid label button.copy { align-self: flex-start; margin-left: 0; }
.toplink { color: var(--rose); font-style: normal; font-weight: 600; } .choices { grid-template-columns: repeat(2, 1fr); }
.blist { list-style: none; padding: 0; margin: 0; }
.bitem { border: 1px solid var(--soft); border-radius: 8px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.bhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bnum { font: 600 13px Lora, serif; color: var(--gold); min-width: 22px; }
.btitle { flex: 1 1 260px; display: flex; flex-direction: column; min-width: 0; }
.btitle strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bsite { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.badge.ok { background: #e3ecdf; color: #4f6b49; }
.badge.failed { background: #f4dcd5; color: #9b3b2b; }
.badge.pending, .badge.loading { background: #f1e6cf; color: #7a5c2c; }
.bbtns { display: flex; gap: 4px; }
button.mini { padding: 3px 9px; font-size: 13px; background: transparent; color: var(--rose); border: 1px solid var(--soft); }
.berr { color: #9b3b2b; font-size: 13px; margin: 6px 0 0; }
.bphoto { font-size: 13px; margin-top: 6px; }
.bphoto input { width: auto; }
.bedit { margin-top: 10px; }
button.linkish { background: none; color: var(--mute); padding: 4px 0; font-weight: 400; text-decoration: underline; font-size: 13px; }
details.bm { margin-top: 14px; }
