:root { --blue: #2c82be; --ink: #2b3a4d; --muted: #6a798c; --bg: #eef4fa; --line: #dfe6ee; --ok: #2e9e6a; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--blue); }
main { width: 100%; max-width: 46rem; margin: 1.5rem auto; padding: 0 1rem; flex: 1; }
.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 1rem; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(43,58,77,.07); padding: 1.25rem; margin-bottom: 1rem; }
h1 { font-size: 1.3rem; margin: 0 0 .5rem; }
h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
.muted { color: var(--muted); }
label { display: block; font-weight: 600; margin: .75rem 0 .35rem; }
input { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px; }
input:focus { outline: 2px solid rgba(44,130,190,.35); border-color: var(--blue); }
input.code { letter-spacing: .4rem; font-size: 1.4rem; text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: .7rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; margin-top: 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--blue); cursor: pointer; font: inherit; padding: 0; }
.msg { margin-top: .75rem; padding: .6rem .8rem; border-radius: 8px; background: #fff4e5; color: #8a5a00; }
.msg.ok { background: #e8f6ee; color: #1f6e49; }
.space { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .9rem 1rem; margin-bottom: .6rem; cursor: pointer; font: inherit; color: inherit; }
.space:hover { border-color: var(--blue); }
.chip { display: inline-block; font-size: .78rem; padding: .15rem .55rem; border-radius: 999px; background: #e3eef8; color: var(--blue); }
.chip.ok { background: #e8f6ee; color: var(--ok); }
.row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .5rem; margin-top: .75rem; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #dfe6ee; }
.price { font-size: 1.2rem; font-weight: 700; }
.doc { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.doc:last-child { border-bottom: 0; }
.back { margin-bottom: 1rem; }
