/* Copyright 2024-2026 Hedy AI. All rights reserved. */
:root { color-scheme: dark; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f3f1ef; background: #1c1a19; font-size: 14px; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1500px; margin: 0 auto; padding: 40px 44px 60px; }
h1 { font-size: 30px; font-weight: 650; margin: 10px 0 0; letter-spacing: -.7px; }
h2 { font-size: 18px; font-weight: 600; margin: 0 0 20px; }
h3 { margin: 32px 0 14px; }
.eyebrow { color: #b1aaa6; font-size: 11px; letter-spacing: 1.8px; font-weight: 600; }
.page-header, .controls, .tile-heading, .detail-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-header { margin-bottom: 30px; }
.controls { font-size: 12px; color: #a39c98; }
button, a { font: inherit; }
button { border: 1px solid #48413d; background: #292522; color: #eae7e4; padding: 9px 14px; border-radius: 7px; cursor: pointer; }
button:hover { background: #39312d; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 2px solid #f08a4b; outline-offset: 3px; }
.primary { background: #e28142; border-color: #e28142; color: #1c1a19; font-weight: 600; }
.sign-in-panel { margin: 100px auto; padding: 40px; border: 1px solid #423a36; border-radius: 12px; max-width: 500px; text-align: center; }
.sign-in-panel p { color: #b1aaa6; margin-bottom: 26px; }
[hidden] { display: none !important; }
.muted, .empty { color: #a39c98; font-size: 12px; }
#status { color: #c8beb8; }
.warnings { list-style: none; padding: 14px 18px; background: #352920; color: #f5c5a1; border: 1px solid #66503e; border-radius: 8px; line-height: 1.7; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 16px 0 42px; }
.tile { background: #25211f; border: 1px solid #413934; border-radius: 9px; padding: 20px 22px 0; min-height: 201px; overflow: hidden; }
.tile-heading { margin-bottom: 18px; }
.tile-heading h2 { color: #d6ceca; font-size: 14px; margin: 0; }
.glyph { font-size: 18px; color: #b0a7a1; }
.tile-value { font-size: 36px; font-weight: 650; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.tile-subline { color: #a39c98; font-size: 12px; margin: 8px 0 12px; }
.tile svg { display: block; width: calc(100% + 44px); margin-left: -22px; height: 56px; }
.section { margin: 34px 0; }
.table-wrap { overflow-x: auto; border: 1px solid #413934; border-radius: 8px; background: #221e1c; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { font-weight: 500; color: #a39c98; white-space: nowrap; background: #27221f; }
th, td { padding: 13px 16px; border-bottom: 1px solid #39312d; }
td { max-width: 270px; overflow-wrap: anywhere; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #2d2723; }
.badge { display: inline-block; padding: 4px 8px; font-size: 11px; font-weight: 550; border-radius: 5px; white-space: nowrap; }
.violet { background: #373050; color: #c4adff; }
.green { background: #213b2c; color: #86dba1; }
.red { background: #49292b; color: #f09c9f; }
.grey { background: #393431; color: #c3bbb6; }
.orange { background: #473221; color: #f1b680; }
.customer-link { border: none; padding: 0; text-align: left; background: transparent; color: #e7ddd6; font-weight: 550; }
.customer-link:hover { background: transparent; color: #f5b084; }
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; padding: 14px 4px; border-bottom: 1px solid #39312d; }
.activity time { color: #a39c98; font-size: 12px; white-space: nowrap; }
.empty { padding: 15px; }
dialog { width: min(820px, 95vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 26px; border: none; border-left: 1px solid #51453e; background: #25211f; color: #f3f1ef; overflow-y: auto; }
dialog::backdrop { background: #0008; }
.detail-header { position: sticky; top: -26px; background: #25211f; padding: 10px 0 18px; z-index: 1; }
.detail-header h2 { margin: 0; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: 170px 1fr; font-size: 12px; line-height: 1.5; gap: 12px; margin: 28px 0; }
dt { color: #a39c98; }
dd { margin: 0; overflow-wrap: anywhere; }
.detail-links { display: flex; gap: 18px; font-size: 12px; }
a { color: #f3ac7d; text-decoration: none; }
a:hover { text-decoration: underline; }
@media (max-width: 900px) { main { padding: 24px; } .controls { gap: 8px; flex-wrap: wrap; } .tiles { gap: 12px; } .tile { padding: 16px 16px 0; } .tile-value { font-size: 29px; } }
