:root{--blue: #2563eb;--blue-hover: #1d4ed8;--red: #ea4335;--amber: #fbbc04;--green: #16a34a;--navy: #0f172a;--gray: #64748b;--light: #f1f5f9;--border: #e2e8f0;--soft: #f8fafc;--white: #fff;--shadow-card: 0 10px 30px rgba(15, 23, 42, .06);--shadow-popover: 0 20px 50px rgba(15, 23, 42, .12)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f8fafc;color:var(--navy)}.app{min-height:100vh;display:grid;grid-template-columns:280px 1fr}.sidebar{background:#fff;border-right:1px solid var(--border);padding:28px 24px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:800}.brand img{width:42px;height:42px}.brand .word span{font-weight:500}nav{display:grid;gap:6px}nav a{padding:12px 14px;border-radius:12px;color:#475569;font-size:14px;font-weight:600;cursor:pointer}nav a.active{background:#eff6ff;color:var(--blue)}.upgrade-card{margin-top:auto;background:#f8fafc;border:1px solid var(--border);border-radius:20px;padding:18px}.upgrade-card strong{display:block;margin-bottom:6px}.upgrade-card p{color:var(--gray);font-size:13px;line-height:20px;margin:0 0 14px}button{border:0;border-radius:12px;padding:11px 15px;font-weight:700;cursor:pointer;font-family:inherit}.primary{background:var(--blue);color:#fff}.primary:hover{background:var(--blue-hover)}.secondary,.ghost{background:#fff;color:var(--navy);border:1px solid var(--border)}.upgrade-card button{background:var(--navy);color:#fff;width:100%}.content{padding:36px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.eyebrow{margin:0 0 8px;color:var(--blue);font-weight:800;font-size:12px;letter-spacing:.12em;text-transform:uppercase}h1{margin:0;font-size:36px;letter-spacing:-.04em;line-height:44px}.subtext{margin:8px 0 0;color:var(--gray)}.actions{display:flex;gap:10px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:18px}.metric-card,.panel{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow-card)}.metric-card{padding:22px}.metric-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:800;margin-bottom:14px}.metric-icon.green{background:var(--green)}.metric-icon.blue{background:var(--blue)}.metric-icon.amber{background:var(--amber)}.metric-icon.red{background:var(--red)}.metric-card p{color:var(--gray);margin:0 0 6px;font-size:13px;font-weight:600}.metric-card h2{margin:0;font-size:32px;letter-spacing:-.04em}.metric-card span{color:var(--gray);font-size:12px;font-weight:600}.metric-card .positive{color:var(--green)}.main-grid{display:grid;grid-template-columns:1.45fr .9fr;gap:18px}.panel{padding:22px}.panel.large{grid-row:span 2}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel-header h3{margin:0;font-size:18px;letter-spacing:-.02em}.panel-header p{margin:4px 0 0;color:var(--gray);font-size:13px}.email-list{display:grid;gap:10px}.email-row{display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center;padding:14px;border-radius:16px;border:1px solid transparent;cursor:pointer}.email-row:hover{background:#f8fafc}.email-row.selected{background:#f8fafc;border-color:var(--border)}.email-row img{width:42px;height:42px}.email-row strong{display:block;font-size:14px}.email-row p{margin:4px 0 0;color:var(--gray);font-size:13px}.pill{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap}.pill.opened,.pill.all{background:#dcfce7;color:#15803d}.pill.sent{background:#eff6ff;color:#1d4ed8}.pill.active{background:#f1f5f9;color:#475569}.timeline{list-style:none;padding:0;margin:0;display:grid;gap:18px}.timeline li{position:relative;padding-left:28px}.timeline li span{position:absolute;left:0;top:2px;width:14px;height:14px;background:var(--green);border-radius:999px;box-shadow:0 0 0 5px #dcfce7}.timeline strong{font-size:14px}.timeline p{margin:4px 0 0;color:var(--gray);font-size:13px}.link-list{display:grid;gap:12px}.link-list div{display:flex;justify-content:space-between;padding:12px;background:#f8fafc;border-radius:14px}.link-list span{color:var(--gray);font-size:13px}.toolbar{height:48px;border:1px solid var(--border);border-radius:999px;display:flex;align-items:center;gap:16px;padding:0 16px;width:max-content;background:#fff;margin-bottom:14px}.toolbar img{width:28px;height:28px}.extension-preview p{color:var(--gray);font-size:13px;line-height:20px;margin:0}.empty{color:var(--gray);font-size:13px;padding:8px 2px;margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px}.detail-stat{background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:12px 14px}.detail-stat span{display:block;color:var(--gray);font-size:12px;font-weight:600;margin-bottom:4px}.detail-stat strong{font-size:16px;letter-spacing:-.01em}.detail-stat strong.ok{color:var(--green)}.detail-h{font-size:13px;color:var(--gray);margin:18px 0 8px;text-transform:uppercase;letter-spacing:.06em}.detail-recips{display:grid;gap:8px}.detail-recip{display:flex;align-items:baseline;gap:8px;padding:10px 12px;background:#f8fafc;border-radius:12px}.detail-recip strong{font-size:14px}.detail-recip span{color:var(--gray);font-size:13px}.detail-recip em{margin-left:auto;font-style:normal;font-size:11px;font-weight:800;color:#475569;background:#eef2f7;padding:2px 8px;border-radius:999px}.banner-error{background:#fef2f2;color:#b42318;border:1px solid #fecaca;border-radius:12px;padding:12px 14px;font-size:13px;font-weight:600;margin-bottom:18px}.login-gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f8fafc}.login-card{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow-card);padding:40px;max-width:420px;text-align:center}.login-card img{height:40px;margin-bottom:20px}.login-card h2{margin:0 0 10px;font-size:22px;letter-spacing:-.02em}.login-card p{color:var(--gray);font-size:14px;line-height:22px;margin:0 0 20px}.login-card .primary{width:100%;padding:13px;font-size:15px}.login-card .warn{color:#b42318;font-size:13px}.login-card code{background:var(--light);padding:1px 5px;border-radius:4px}@media (max-width: 1050px){.app{grid-template-columns:1fr}.sidebar{display:none}.metric-grid,.main-grid{grid-template-columns:1fr}.topbar{flex-direction:column}}
