/* Umber OBO test sites — shared styles.
   Intentionally generic/realistic so the browser-agent treats these like real third-party pages. */
:root {
  --ink: #1a1d24;
  --muted: #5b6472;
  --line: #e3e7ee;
  --bg: #f6f7f9;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.brandbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; color: #fff; }
.brandbar .logo { font-weight: 800; font-size: 20px; letter-spacing: -0.3px; text-decoration: none; }
.brandbar nav a { color: #fff; text-decoration: none; margin-left: 18px; opacity: 0.92; font-size: 14px; }
.brandbar .acct { font-size: 13px; opacity: 0.92; }

.wrap { max-width: 980px; margin: 0 auto; padding: 26px 20px 64px; }
.narrow { max-width: 560px; }

h1 { font-size: 26px; margin: 6px 0 4px; letter-spacing: -0.4px; }
h2 { font-size: 19px; margin: 28px 0 10px; }
.sub { color: var(--muted); margin: 0 0 22px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], select, textarea {
  width: 100%; padding: 11px 12px; font-size: 15px; color: var(--ink);
  border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #6b8afd; box-shadow: 0 0 0 3px rgba(107, 138, 253, 0.18); }
textarea { min-height: 84px; resize: vertical; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > .col { flex: 1 1 200px; }

.btn { display: inline-block; border: none; border-radius: 8px; padding: 12px 20px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-primary { background: #1f6feb; color: #fff; }
.btn-primary:hover { background: #195bc5; }
.btn-block { width: 100%; text-align: center; }
.btn-ghost { background: #eef1f6; color: var(--ink); }

.field-check { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; }
.field-check input { width: auto; margin-top: 3px; }
.field-check label { margin: 0; font-weight: 400; }

.callout { background: #eef4ff; border: 1px solid #cfe0ff; color: #1c3d77; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.note { color: var(--muted); font-size: 12px; margin-top: 16px; }
.divider { height: 1px; background: var(--line); margin: 22px 0; }

.summary { font-size: 14px; }
.summary .line { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.summary .total { font-weight: 800; font-size: 16px; border-bottom: none; padding-top: 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile .body { padding: 14px; }
.tile .price { font-weight: 800; font-size: 17px; }
.swatch { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 44px; }

.success { background: #e9f8ef; border: 1px solid #abe5c2; color: #186a3b; padding: 16px; border-radius: 10px; font-size: 15px; }
footer { color: var(--muted); font-size: 12px; text-align: center; padding: 30px 0; }
