:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #151515; background: #f5f6f8; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f6f8; }
a { color: inherit; }
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #fff; border-bottom: 1px solid #e7e7e7; }
.topbar-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { text-decoration: none; font-weight: 800; }
.user-name { color: #666; font-size: .9rem; }
main { padding: 32px 0 64px; }
.card { background: #fff; border: 1px solid #e3e5e8; border-radius: 16px; padding: 24px; margin-bottom: 24px; box-shadow: 0 6px 20px rgba(0,0,0,.035); }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero { padding: 48px; }
.hero h1 { max-width: 760px; font-size: clamp(2rem, 6vw, 4rem); line-height: 1.02; margin: 8px 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; color: #666; }
label { display: grid; gap: 8px; margin: 16px 0; font-weight: 650; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid #cfd3d8; border-radius: 10px; font: inherit; background: #fff; }
textarea { resize: vertical; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 16px; background: #111; color: #fff; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; }
.button.secondary, button.button.secondary { background: #fff; color: #111; border: 1px solid #d4d6d9; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline { display: inline; margin: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-head h1 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.alert { border-radius: 10px; padding: 12px 14px; margin: 14px 0; }
.alert.success { background: #eefaf0; border: 1px solid #bde8c4; }
.alert.error { background: #fff0f0; border: 1px solid #efb8b8; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid #eee; vertical-align: top; }
th { font-size: .8rem; color: #666; text-transform: uppercase; letter-spacing: .04em; }
.muted { color: #777; font-size: .9rem; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eee; font-size: .82rem; font-weight: 750; }
.status-new { background: #fff4cc; }
.status-contacted { background: #e8f1ff; }
.status-quoted { background: #f0eaff; }
.status-won { background: #e8f8ec; }
.status-lost { background: #f3f3f3; }
.company-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #eee; }
dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
dt { color: #666; }
dd { margin: 0; }
.message { white-space: normal; overflow-wrap: anywhere; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.consent input { width: auto; margin-top: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } .page-head { align-items: flex-start; flex-direction: column; } .hero { padding: 28px; } }
