/* 1ACME Mutual (Simulated) — deliberately looks like a generic carrier portal, not like Quote Desk */
:root { --brand: #b4410f; --brand-2: #8f330b; --ink: #1f2937; --muted: #5b6472; --line: #d9dde3; --bg: #f3f4f6; --card: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: var(--ink); background: var(--bg); }
.sim-banner { background: repeating-linear-gradient(45deg, #fde68a, #fde68a 12px, #fcd34d 12px, #fcd34d 24px); color: #78350f; text-align: center; font-weight: bold; padding: 6px; font-size: 12px; letter-spacing: .04em; }
.hdr { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px; background: #fff; border-bottom: 4px solid var(--brand); flex-wrap: wrap; gap: 10px; }
.logo { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.logo .mark { background: var(--brand); color: #fff; font-weight: 900; border-radius: 6px; padding: 6px 8px; font-size: 16px; }
.logo b { display: block; font-size: 17px; } .logo small { color: var(--muted); }
nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } nav a { color: var(--brand-2); }
.who { color: var(--muted); font-size: 12px; }
main { max-width: 1100px; margin: 20px auto; padding: 0 16px; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; margin-bottom: 16px; }
.card.narrow { max-width: 460px; margin: 30px auto; }
h1 { font-size: 22px; margin: 0 0 12px; } h2 { font-size: 17px; } h3 { font-size: 15px; text-transform: capitalize; }
.row { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.grid1 { display: grid; gap: 10px; }
label, .field { display: flex; flex-direction: column; gap: 4px; font-weight: bold; font-size: 12.5px; color: #374151; }
fieldset.field { border: 1px solid var(--line); border-radius: 4px; grid-column: 1 / -1; }
.chk { flex-direction: row; align-items: center; font-weight: normal; gap: 6px; }
input, select { font: inherit; padding: 7px 8px; border: 1px solid #9ca3af; border-radius: 3px; background: #fff; font-weight: normal; }
input:focus, select:focus { outline: 2px solid var(--brand); }
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 3px; padding: 8px 18px; font: inherit; font-weight: bold; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-2); } .btn.ghost { background: #e5e7eb; color: var(--ink); } .btn.sm { padding: 4px 10px; }
.actions { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; flex-wrap: wrap; }
.steps li { padding: 4px 10px; border-radius: 12px; background: #e5e7eb; color: var(--muted); font-size: 12px; }
.steps li.on { background: var(--brand); color: #fff; } .steps li.done { background: #fde4d6; color: var(--brand-2); }
.error { color: #b91c1c; font-weight: bold; }
.alert { background: #eef2ff; border: 1px solid #c7d2fe; padding: 10px 14px; border-radius: 4px; margin: 10px 0; }
.alert.err { background: #fee2e2; border-color: #fca5a5; max-width: 1100px; margin: 10px auto; }
.alert.warn { background: #fef3c7; border-color: #fcd34d; } .alert.ok { background: #dcfce7; border-color: #86efac; }
.muted { color: var(--muted); }
table.list, table.kv { width: 100%; border-collapse: collapse; } .list th, .list td, .kv th, .kv td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 40%; color: var(--muted); font-weight: normal; }
.st { padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: bold; background: #e5e7eb; }
.st.QUOTED { background: #dcfce7; color: #166534; } .st.DECLINED { background: #fee2e2; color: #991b1b; } .st.REFERRED, .st.PARTIAL { background: #fef3c7; color: #92400e; }
.big { font-size: 20px; } code { background: #f3f4f6; padding: 1px 5px; border-radius: 3px; word-break: break-all; }
#qr { margin: 10px 0; } details { margin: 8px 0; } pre { background: #111827; color: #e5e7eb; padding: 12px; border-radius: 4px; overflow: auto; font-size: 12px; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }
