:root { --navy: #0a2350; --navy-2: #13306a; --teal: #12c4a6; --ink: #14213d; --muted: #66748b; --line: #e3e8ef; --bg: #f5f7fa; --card: #fff; --red: #d64545; --amber: #c98a12; --green: #1f9d6b; --radius: 12px; }
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.5 Lato, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--navy-2); }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px 22px; background: var(--navy); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 16px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; background: #fff; }
#nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
#nav a { color: #c9d4e8; text-decoration: none; padding: 7px 12px; border-radius: 8px; font-weight: 700; white-space: nowrap; }
#nav a.on, #nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c9d4e8; white-space: nowrap; }
.who button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: 4px 10px; cursor: pointer; font: inherit; }
main { max-width: 1180px; margin: 0 auto; padding: 22px; }
.dev-banner { background: #fff6dd; color: #6b4e00; text-align: center; font-size: 12px; padding: 4px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 8px; } .wrap { flex-wrap: wrap; } .spread { justify-content: space-between; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 2px rgba(10,35,80,.04); }
.card h2 { font-size: 16px; margin: 0 0 12px; }
.grid { display: grid; gap: 16px; margin-top: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi .label { font-size: 12px; color: var(--muted); } .kpi .value { font-size: 26px; font-weight: 900; letter-spacing: -.02em; } .kpi .sub { font-size: 12px; color: var(--muted); }
.kpi.goal { border-left: 4px solid var(--teal); }
.bar { height: 8px; border-radius: 99px; background: #edf1f6; overflow: hidden; margin-top: 8px; } .bar > i { display: block; height: 100%; background: var(--teal); }
.funnel .step { display: grid; grid-template-columns: minmax(90px, 170px) minmax(60px, 1fr) auto; gap: 10px; align-items: center; padding: 5px 0; }
.funnel .track { height: 22px; background: #f0f3f8; border-radius: 6px; overflow: hidden; }
.funnel .track > i { display: block; height: 100%; min-width: 2px; background: linear-gradient(90deg, var(--navy), var(--navy-2)); }
.funnel .num { text-align: right; font-weight: 700; white-space: nowrap; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.chart .col i { width: 100%; max-width: 30px; background: var(--teal); border-radius: 4px 4px 0 0; min-height: 2px; }
.chart .col span { font-size: 11px; color: var(--muted); } .chart .col b { font-size: 11px; color: var(--green); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; } th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: #eef2f7; color: var(--ink); white-space: nowrap; }
.pill.navy { background: #e6ecf7; color: var(--navy); } .pill.green { background: #e3f6ee; color: var(--green); } .pill.amber { background: #fdf3dc; color: var(--amber); } .pill.red { background: #fbe7e7; color: var(--red); } .pill.teal { background: #e2f8f4; color: #0b8a75; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: #c7d0dd; } .btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; } .btn.sm { padding: 4px 10px; font-size: 12px; } .btn.google { background: #fff; padding: 11px 18px; font-size: 15px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.seg a { padding: 6px 11px; font-size: 12px; font-weight: 700; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); white-space: nowrap; } .seg a:last-child { border-right: 0; } .seg a.on { background: var(--navy); color: #fff; }
.field { margin-top: 12px; } .field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
input, select, textarea { width: 100%; font: inherit; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
textarea { min-height: 140px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice { background: #f2f6fc; border: 1px solid #dbe4f1; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 26px; }
.modal-bg { position: fixed; inset: 0; background: rgba(10,25,50,.45); display: grid; place-items: center; z-index: 20; padding: 16px; }
.modal { background: #fff; border-radius: 14px; padding: 22px; width: min(640px, 100%); max-height: 90vh; overflow: auto; }
.modal h2 { margin: 0 0 6px; }
pre.mail { white-space: pre-wrap; font: inherit; background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 30; }
.toast.err { background: var(--red); }
.login { max-width: 420px; margin: 70px auto; text-align: center; }
.login h1 { margin: 10px 0 4px; }
@media (max-width: 640px) { main { padding: 14px; } .top { padding: 10px 14px; gap: 10px; } .who span { display: none; } .cols2 { grid-template-columns: 1fr; } }
