.audit-shell{color:#1a1a1a;background:#f9f9f9;max-width:1100px;margin:0 auto;padding:2rem 1.5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}.audit-shell *,.audit-shell :before,.audit-shell :after{box-sizing:border-box;margin:0;padding:0}.audit-shell .header{border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:flex-end;margin-bottom:2rem;padding-bottom:1rem;display:flex}.audit-shell .header-title{font-size:20px;font-weight:600}.audit-shell .header-sub{color:#888;margin-top:3px;font-size:12px}.audit-shell .nav{flex-wrap:wrap;gap:6px;margin-bottom:2rem;display:flex}.audit-shell .nav-btn{cursor:pointer;color:#666;background:#fff;border:1px solid #ddd;border-radius:20px;padding:6px 14px;font-size:12px;font-weight:500}.audit-shell .nav-btn.active{color:#fff;background:#1a1a1a;border-color:#1a1a1a}.audit-shell .page{display:none}.audit-shell .page.active{display:block}.audit-shell .page-title{margin-bottom:4px;font-size:18px;font-weight:600}.audit-shell .page-sub{color:#888;margin-bottom:1.5rem;font-size:12px}.audit-shell .metric-grid{grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:1.5rem;display:grid}.audit-shell .metric-card{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:14px 16px}.audit-shell .metric-label{color:#999;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px;font-size:10px}.audit-shell .metric-value{font-size:24px;font-weight:600}.audit-shell .metric-flag{margin-top:4px;font-size:11px;font-weight:500}.audit-shell .ok{color:#2d7a2d}.audit-shell .warn{color:#a05f00}.audit-shell .bad{color:#c0392b}.audit-shell .trend-grid{grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:1rem;display:grid}.audit-shell .trend-card{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:14px 16px}.audit-shell .trend-month{color:#555;margin-bottom:10px;font-size:12px;font-weight:600}.audit-shell .trend-row{justify-content:space-between;margin-bottom:4px;font-size:12px;display:flex}.audit-shell .trend-label{color:#999}.audit-shell .trend-val{font-weight:500}.audit-shell table{border-collapse:collapse;background:#fff;border:1px solid #e8e8e8;border-radius:10px;width:100%;font-size:12px;overflow:hidden}.audit-shell thead th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:#555;background:#f5f5f5;border-bottom:1px solid #e8e8e8;padding:10px 12px;font-size:11px;font-weight:600}.audit-shell thead th.r{text-align:right}.audit-shell tbody tr{border-bottom:1px solid #f0f0f0}.audit-shell tbody tr:last-child{border-bottom:none}.audit-shell tbody tr:hover{background:#fafafa}.audit-shell td{vertical-align:middle;padding:10px 12px}.audit-shell td.r{text-align:right;font-variant-numeric:tabular-nums}.audit-shell .badge{border-radius:4px;padding:2px 7px;font-size:10px;font-weight:600;display:inline-block}.audit-shell .badge-green{color:#2d7a2d;background:#e6f4e6}.audit-shell .badge-amber{color:#a05f00;background:#fff3e0}.audit-shell .badge-red{color:#c0392b;background:#fdecea}.audit-shell .badge-blue{color:#1a56a0;background:#e8f0fe}.audit-shell .badge-gray{color:#666;background:#f0f0f0}.audit-shell .pill-auto{color:#5b21b6;background:#ede9fe;border-radius:4px;padding:2px 7px;font-size:10px;font-weight:600}.audit-shell .pill-manual{color:#1a56a0;background:#e8f0fe;border-radius:4px;padding:2px 7px;font-size:10px;font-weight:600}.audit-shell .auto-row{background:#6d28d905}.audit-shell .card{background:#fff;border:1px solid #e8e8e8;border-radius:10px;margin-bottom:14px;padding:1.2rem 1.5rem}.audit-shell .card-title{color:#888;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #f0f0f0;margin-bottom:12px;padding-bottom:8px;font-size:11px;font-weight:600}.audit-shell .email-row{border-bottom:1px solid #f5f5f5;grid-template-columns:1fr auto;align-items:start;gap:16px;padding:12px 0;display:grid}.audit-shell .email-row:last-child{border-bottom:none}.audit-shell .email-name{margin-bottom:4px;font-size:13px;font-weight:500}.audit-shell .email-meta{color:#888;font-size:11px}.audit-shell .email-stats{text-align:right;flex-shrink:0;gap:16px;display:flex}.audit-shell .stat-val{font-size:15px;font-weight:600}.audit-shell .stat-label{color:#aaa;font-size:10px}.audit-shell .watch-row{border-bottom:1px solid #f5f5f5;align-items:flex-start;gap:12px;padding:14px 0;display:flex}.audit-shell .watch-row:last-child{border-bottom:none}.audit-shell .watch-icon{flex-shrink:0;margin-top:1px;font-size:16px}.audit-shell .watch-text{font-size:13px;line-height:1.5}.audit-shell .watch-label{color:#aaa;margin-top:3px;font-size:11px}.audit-shell .note{color:#aaa;margin-top:10px;font-size:11px;font-style:italic}.audit-shell .two-col{grid-template-columns:1fr 1fr;gap:14px;display:grid}
