/* The Acme "Revenue" screen renders (VDR) — shared by the homepage drafts demo and /platform/visual-drafts. Extracted from home.css so the library has one definition. */
.rxw{position:relative;overflow:hidden;background:#f6f7f9}
.rx{position:absolute;left:0;top:0;transform-origin:0 0;width:1200px;height:760px;background:#f6f7f9;font-family:"Plus Jakarta Sans",sans-serif;color:#0f172a;overflow:hidden;text-align:left}
.rx.ph{width:390px;height:800px}
.rx .tb{height:58px;background:#fff;border-bottom:1px solid #e6e8ec;display:flex;align-items:center;gap:26px;padding:0 28px;font-size:14px;color:#64748b}
.rx .lg{display:flex;gap:10px;align-items:center;font-weight:700;color:#0f172a;font-size:16px;margin-right:14px}
.rx .lg i{width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#6366f1,#22c55e)}
.rx .tb .on{color:#0f172a;font-weight:650;box-shadow:inset 0 -2px 0 #6366f1;padding:19px 0}
.rx .av{margin-left:auto;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#c7d2fe,#fbcfe8)}
.rx .hd{padding:26px 32px 0;display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.rx h1{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.rx .sub{font-size:13.5px;color:#64748b;margin-top:6px}
.rx .sg{display:flex;background:#eceef2;border-radius:10px;padding:3px;gap:2px}
.rx .sg span{padding:7px 12px;font-size:12.5px;font-weight:600;border-radius:8px;color:#475569}
.rx .sg .on{background:#fff;color:#0f172a;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.rx .bt{font-size:13px;font-weight:600;padding:9px 14px;border-radius:9px;border:1px solid #d6dae1;background:#fff;color:#0f172a}
.rx .bd{padding:20px 32px 0;display:grid;gap:16px}
.rx .cd{background:#fff;border:1px solid #e6e8ec;border-radius:14px;padding:18px 20px;position:relative}
.rx .ct{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:650;margin-bottom:12px}
.rx .ct span{font-size:12px;font-weight:500;color:#94a3b8}
.rx .kp{display:flex;flex-direction:column;gap:6px}
.rx .kp small{font-size:13px;color:#64748b;font-weight:500}
.rx .kp b{font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1}
.rx .kp .dl{font-size:12.5px;font-weight:650}
.rx .up{color:#16a34a}.rx .dn{color:#dc2626}
.rx .kp svg{margin-top:4px}
.rx table{width:100%;border-collapse:collapse;font-size:13px}
.rx td{padding:9px 0;border-top:1px solid #f1f3f6}
.rx tr:first-child td{border-top:0}
.rx td.r{text-align:right;font-weight:650}
.rx .who{display:flex;gap:10px;align-items:center}
.rx .ini{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff}
.rx .pl{font-size:12px;color:#64748b}
.rx .ins{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:12px 0;border-top:1px solid #f1f3f6}
.rx .ins:first-of-type{border-top:0}
.rx .ins i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-size:15px}
.rx .ins b{display:block;font-size:14px;line-height:1.35}
.rx .ins p{font-size:12.5px;color:#64748b;margin-top:3px;line-height:1.45}
.rx .bar{display:grid;grid-template-columns:90px 1fr 54px;gap:10px;align-items:center;font-size:12.5px;padding:5px 0}
.rx .bar em{display:block;height:10px;border-radius:5px;background:#e0e7ff;overflow:hidden}
.rx .bar em i{display:block;height:100%;border-radius:5px;background:#6366f1}
.rx .bar span:last-child{text-align:right;font-weight:650}
.rx .hm{display:grid;grid-template-columns:70px repeat(8,1fr);gap:3px;font-size:11px;color:#64748b;align-items:center}
.rx .hm i{height:18px;border-radius:4px}
.rx .legend{display:flex;gap:16px;font-size:12px;color:#64748b}
.rx .legend span{display:flex;gap:6px;align-items:center}
.rx .legend i{width:10px;height:10px;border-radius:3px}
.rx .note{position:absolute;background:#0f172a;color:#fff;font-size:12px;font-weight:600;padding:7px 10px;border-radius:8px;white-space:nowrap}
.rx .note::after{content:"";position:absolute;left:18px;bottom:-5px;width:10px;height:10px;background:#0f172a;transform:rotate(45deg)}
.rx .fold{position:absolute;left:0;right:0;border-top:2px dashed #f59e0b;font-size:12px;font-weight:700;color:#b45309}
.rx .fold span{position:absolute;right:24px;top:-26px;background:#fff7e6;border:1px solid #f3d9a8;border-radius:7px;padding:4px 8px}
/* phone */
.rx.ph .tb{height:56px;padding:0 18px;gap:0}
.rx.ph .tb .mn{margin-left:auto;width:22px;height:14px;border-top:2px solid #0f172a;border-bottom:2px solid #0f172a;position:relative}
.rx.ph .tb .mn::after{content:"";position:absolute;left:0;right:0;top:4px;border-top:2px solid #0f172a}
.rx.ph .hd{padding:20px 18px 0;flex-direction:column;align-items:flex-start}
.rx.ph h1{font-size:23px}
.rx.ph .bd{padding:16px 18px 0;gap:12px}
.rx.ph .cd{padding:14px 16px}
.rx.ph .kp b{font-size:26px}
/* edit pins */
.rx .pin{position:absolute;width:30px;height:30px;border-radius:50%;background:#2563eb;color:#fff;font-size:14px;font-weight:700;display:grid;place-items:center;box-shadow:0 0 0 6px rgba(37,99,235,.2);z-index:5}
.rx .chg{outline:3px solid #22c55e;outline-offset:4px;border-radius:14px;animation:rxGlow 1.6s ease 1}
@keyframes rxGlow{0%{outline-color:rgba(34,197,94,0)}30%{outline-color:#22c55e}100%{outline-color:rgba(34,197,94,.6)}}
