
/* /src/routes/business.css */
.business-studio {
  --biz-c-101013: #101013;
  --biz-c-111015: #111015;
  --biz-c-121215: #121215;
  --biz-c-15281e: #15281e;
  --biz-c-18181b: #18181b;
  --biz-c-19181d: #19181d;
  --biz-c-1c1920: #1c1920;
  --biz-c-1c1b21: #1c1b21;
  --biz-c-1e1b22: #1e1b22;
  --biz-c-201a27: #201a27;
  --biz-c-201d27: #201d27;
  --biz-c-211d25: #211d25;
  --biz-c-212723: #212723;
  --biz-c-222028: #222028;
  --biz-c-24192f: #24192f;
  --biz-c-24202b: #24202b;
  --biz-c-24202c: #24202c;
  --biz-c-26212f: #26212f;
  --biz-c-262626: #262626;
  --biz-c-27232e: #27232e;
  --biz-c-29272f: #29272f;
  --biz-c-293b30: #293b30;
  --biz-c-2c2a30: #2c2a30;
  --biz-c-33263e: #33263e;
  --biz-c-37303f: #37303f;
  --biz-c-38313f: #38313f;
  --biz-c-39333f: #39333f;
  --biz-c-514658: #514658;
  --biz-c-52615a: #52615a;
  --biz-c-55465f: #55465f;
  --biz-c-65596e: #65596e;
  --biz-c-68507955: #68507955;
  --biz-c-6a5b76: #6a5b76;
  --biz-c-6e6879: #6e6879;
  --biz-c-71717a: #71717a;
  --biz-c-739381: #739381;
  --biz-c-747d77: #747d77;
  --biz-c-77717f: #77717f;
  --biz-c-78747f: #78747f;
  --biz-c-7c5cbf: #7c5cbf;
  --biz-c-82738f: #82738f;
  --biz-c-827b8c: #827b8c;
  --biz-c-827d8b: #827d8b;
  --biz-c-85718f: #85718f;
  --biz-c-85808e: #85808e;
  --biz-c-898492: #898492;
  --biz-c-89ab95: #89ab95;
  --biz-c-8a7597: #8a7597;
  --biz-c-8c7d96: #8c7d96;
  --biz-c-8d7b99: #8d7b99;
  --biz-c-8d7f98: #8d7f98;
  --biz-c-8e7c9b: #8e7c9b;
  --biz-c-8e809b: #8e809b;
  --biz-c-8e8996: #8e8996;
  --biz-c-8e8a98: #8e8a98;
  --biz-c-8f8799: #8f8799;
  --biz-c-8f8899: #8f8899;
  --biz-c-91819a: #91819a;
  --biz-c-91bfc7: #91bfc7;
  --biz-c-92809e: #92809e;
  --biz-c-94809f: #94809f;
  --biz-c-9482a2: #9482a2;
  --biz-c-94849e: #94849e;
  --biz-c-95899e: #95899e;
  --biz-c-958c9f: #958c9f;
  --biz-c-98909e: #98909e;
  --biz-c-99909f: #99909f;
  --biz-c-9990a3: #9990a3;
  --biz-c-9a90a4: #9a90a4;
  --biz-c-9ad4b414: #9ad4b414;
  --biz-c-9c90a7: #9c90a7;
  --biz-c-9c97a5: #9c97a5;
  --biz-c-9f96a6: #9f96a6;
  --biz-c-a18aad: #a18aad;
  --biz-c-a199ae: #a199ae;
  --biz-c-a1a1aa: #a1a1aa;
  --biz-c-a28bb2: #a28bb2;
  --biz-c-a295ac: #a295ac;
  --biz-c-a497b2: #a497b2;
  --biz-c-a59cab: #a59cab;
  --biz-c-a5d6bb: #a5d6bb;
  --biz-c-a697b0: #a697b0;
  --biz-c-a69aad: #a69aad;
  --biz-c-a69cad: #a69cad;
  --biz-c-a784c840: #a784c840;
  --biz-c-a8a4b1: #a8a4b1;
  --biz-c-a8d9be: #a8d9be;
  --biz-c-a98ccc: #a98ccc;
  --biz-c-aaa6b5: #aaa6b5;
  --biz-c-aadbc0: #aadbc0;
  --biz-c-ac9fb7: #ac9fb7;
  --biz-c-b390cf: #b390cf;
  --biz-c-b491cb04: #b491cb04;
  --biz-c-b498c7: #b498c7;
  --biz-c-b4a1c0: #b4a1c0;
  --biz-c-b591d114: #b591d114;
  --biz-c-b591d129: #b591d129;
  --biz-c-b78bd014: #b78bd014;
  --biz-c-b78bd027: #b78bd027;
  --biz-c-b99cd033: #b99cd033;
  --biz-c-badbc8: #badbc8;
  --biz-c-bba7c8: #bba7c8;
  --biz-c-bc91d32b: #bc91d32b;
  --biz-c-bcb0c7: #bcb0c7;
  --biz-c-bd99d615: #bd99d615;
  --biz-c-c0a0df09: #c0a0df09;
  --biz-c-c2a0da66: #c2a0da66;
  --biz-c-c2b4d0: #c2b4d0;
  --biz-c-c3b6d5: #c3b6d5;
  --biz-c-c4a2df09: #c4a2df09;
  --biz-c-c4a2df13: #c4a2df13;
  --biz-c-c4a5e3: #c4a5e3;
  --biz-c-c4adcf: #c4adcf;
  --biz-c-c5a0e254: #c5a0e254;
  --biz-c-c5a0e51a: #c5a0e51a;
  --biz-c-c5a1e0: #c5a1e0;
  --biz-c-c5c3c9: #c5c3c9;
  --biz-c-c5efdb33: #c5efdb33;
  --biz-c-c6a0ec: #c6a0ec;
  --biz-c-c6afd6: #c6afd6;
  --biz-c-c8a9e5: #c8a9e5;
  --biz-c-c8b3dc: #c8b3dc;
  --biz-c-c9a8ee: #c9a8ee;
  --biz-c-cbb0e810: #cbb0e810;
  --biz-c-cbb5dd: #cbb5dd;
  --biz-c-ccb0e5: #ccb0e5;
  --biz-c-cce5d5: #cce5d5;
  --biz-c-ceb0ec: #ceb0ec;
  --biz-c-cfb8df: #cfb8df;
  --biz-c-cfc1d9: #cfc1d9;
  --biz-c-d0b4ed: #d0b4ed;
  --biz-c-d0b4ef: #d0b4ef;
  --biz-c-d2b8e810: #d2b8e810;
  --biz-c-d2bfdc: #d2bfdc;
  --biz-c-d3b5ee: #d3b5ee;
  --biz-c-d3b6eb0a: #d3b6eb0a;
  --biz-c-d3c5df: #d3c5df;
  --biz-c-d5b8ed0b: #d5b8ed0b;
  --biz-c-d5b8ed16: #d5b8ed16;
  --biz-c-d5b8ee26: #d5b8ee26;
  --biz-c-d5bcec: #d5bcec;
  --biz-c-d7c388: #d7c388;
  --biz-c-d8baf306: #d8baf306;
  --biz-c-d8baf308: #d8baf308;
  --biz-c-d8baf309: #d8baf309;
  --biz-c-d8baf314: #d8baf314;
  --biz-c-d8bcec: #d8bcec;
  --biz-c-d9b6f830: #d9b6f830;
  --biz-c-d9baf342: #d9baf342;
  --biz-c-d9bdee: #d9bdee;
  --biz-c-d9c395: #d9c395;
  --biz-c-d9cde6: #d9cde6;
  --biz-c-dac5ea: #dac5ea;
  --biz-c-dbd0e3: #dbd0e3;
  --biz-c-ddc5f6: #ddc5f6;
  --biz-c-e0d0ed: #e0d0ed;
  --biz-c-e3bf83: #e3bf83;
  --biz-c-e3cb90: #e3cb90;
  --biz-c-e4ceff24: #e4ceff24;
  --biz-c-e4d8ed: #e4d8ed;
  --biz-c-e4e4e7: #e4e4e7;
  --biz-c-e5e3e1: #e5e3e1;
  --biz-c-e6d7f4: #e6d7f4;
  --biz-c-e6d8f2: #e6d8f2;
  --biz-c-e7d7f2: #e7d7f2;
  --biz-c-e8d0ff18: #e8d0ff18;
  --biz-c-ead5ff55: #ead5ff55;
  --biz-c-ece3f4: #ece3f4;
  --biz-c-eee3f6: #eee3f6;
  --biz-c-eee7f4: #eee7f4;
  --biz-c-eee7f6: #eee7f6;
  --biz-c-f0fff74a: #f0fff74a;
  --biz-c-f1eff4: #f1eff4;
  --biz-c-f2f0f5: #f2f0f5;
  --biz-c-f4f4f5: #f4f4f5;
  --biz-c-f6f0fb: #f6f0fb;
  --biz-c-ffdf9d: #ffdf9d;
  --biz-c-ffffff: #ffffff;
  --biz-c-ffffff02: #ffffff02;
  --biz-c-ffffff03: #ffffff03;
  --biz-c-ffffff07: #ffffff07;
  --biz-c-ffffff08: #ffffff08;
  --biz-c-ffffff09: #ffffff09;
  --biz-c-ffffff0a: #ffffff0a;
  --biz-c-ffffff0b: #ffffff0b;
  --biz-c-ffffff0c: #ffffff0c;
  --biz-c-ffffff0d: #ffffff0d;
  --biz-c-ffffff12: #ffffff12;
  --biz-c-ffffff15: #ffffff15;
  --biz-c-ffffff18: #ffffff18;
  --biz-c-ffffff45: #ffffff45;
}
html:not(.dark) .business-studio {
  --biz-c-101013: #ededf0;
  --biz-c-111015: #ecebf0;
  --biz-c-121215: #ebebee;
  --biz-c-15281e: #cee5d9;
  --biz-c-18181b: #e6e6e9;
  --biz-c-19181d: #e5e4e9;
  --biz-c-1c1920: #e4e1e8;
  --biz-c-1c1b21: #e1e1e6;
  --biz-c-1e1b22: #e2e0e6;
  --biz-c-201a27: #d8d1e0;
  --biz-c-201d27: #dedbe4;
  --biz-c-211d25: #e1dde4;
  --biz-c-212723: #dbe1dd;
  --biz-c-222028: #dcdae2;
  --biz-c-24192f: #d6c9e2;
  --biz-c-24202b: #dbd8e2;
  --biz-c-24202c: #dad7e2;
  --biz-c-26212f: #d9d4e1;
  --biz-c-262626: #dcdcdc;
  --biz-c-27232e: #d9d5df;
  --biz-c-29272f: #d6d4dc;
  --biz-c-293b30: #cadad0;
  --biz-c-2c2a30: #d5d3d9;
  --biz-c-33263e: #cdbfd8;
  --biz-c-37303f: #ccc6d4;
  --biz-c-38313f: #ccc6d3;
  --biz-c-39333f: #ccc6d1;
  --biz-c-514658: #bab0c0;
  --biz-c-52615a: #a8b6af;
  --biz-c-55465f: #b7aac0;
  --biz-c-65596e: #a89db0;
  --biz-c-68507955: #aa95b955;
  --biz-c-6a5b76: #a396ae;
  --biz-c-6e6879: #9893a2;
  --biz-c-71717a: #92929a;
  --biz-c-739381: #7b9989;
  --biz-c-747d77: #909892;
  --biz-c-77717f: #938e9a;
  --biz-c-78747f: #918e98;
  --biz-c-7c5cbf: #7857bd;
  --biz-c-82738f: #8d7f99;
  --biz-c-827b8c: #898292;
  --biz-c-827d8b: #888390;
  --biz-c-85718f: #92809b;
  --biz-c-85808e: #85808e;
  --biz-c-898492: #817c8b;
  --biz-c-89ab95: #628a70;
  --biz-c-8a7597: #8c7799;
  --biz-c-8c7d96: #877892;
  --biz-c-8d7b99: #877594;
  --biz-c-8d7f98: #857690;
  --biz-c-8e7c9b: #867294;
  --biz-c-8e809b: #827290;
  --biz-c-8e8996: #7e7887;
  --biz-c-8e8a98: #7b7686;
  --biz-c-8f8799: #7e7589;
  --biz-c-8f8899: #7d7588;
  --biz-c-91819a: #85738f;
  --biz-c-91bfc7: #4e8e9a;
  --biz-c-92809e: #836f91;
  --biz-c-94809f: #856e91;
  --biz-c-9482a2: #806b90;
  --biz-c-94849e: #826f8d;
  --biz-c-95899e: #7e7088;
  --biz-c-958c9f: #7a6f85;
  --biz-c-98909e: #7a7181;
  --biz-c-99909f: #7a7081;
  --biz-c-9990a3: #766c82;
  --biz-c-9a90a4: #766b82;
  --biz-c-9ad4b414: #40976714;
  --biz-c-9c90a7: #756782;
  --biz-c-9c97a5: #706a7b;
  --biz-c-9f96a6: #74697c;
  --biz-c-a18aad: #7b6089;
  --biz-c-a199ae: #6b617a;
  --biz-c-a1a1aa: #676772;
  --biz-c-a28bb2: #826497;
  --biz-c-a295ac: #72637e;
  --biz-c-a497b2: #6c5d7d;
  --biz-c-a59cab: #706577;
  --biz-c-a5d6bb: #418e63;
  --biz-c-a697b0: #715f7d;
  --biz-c-a69aad: #716279;
  --biz-c-a69cad: #6f6377;
  --biz-c-a784c840: #7a4aa640;
  --biz-c-a8a4b1: #656070;
  --biz-c-a8d9be: #3d8d61;
  --biz-c-a98ccc: #7047a1;
  --biz-c-aaa6b5: #615c6e;
  --biz-c-aadbc0: #3b8c60;
  --biz-c-ac9fb7: #685876;
  --biz-c-b390cf: #76449e;
  --biz-c-b491cb04: #7b499b04;
  --biz-c-b498c7: #785093;
  --biz-c-b4a1c0: #674f76;
  --biz-c-b591d114: #76429e14;
  --biz-c-b591d129: #76429e29;
  --biz-c-b78bd014: #8042a314;
  --biz-c-b78bd027: #8042a327;
  --biz-c-b99cd033: #71469333;
  --biz-c-badbc8: #407b59;
  --biz-c-bba7c8: #715384;
  --biz-c-bc91d32b: #7e409f2b;
  --biz-c-bcb0c7: #594a68;
  --biz-c-bd99d615: #743e9915;
  --biz-c-c0a0df09: #67339809;
  --biz-c-c2a0da66: #6f3a9566;
  --biz-c-c2b4d0: #644d7b;
  --biz-c-c3b6d5: #5d477c;
  --biz-c-c4a2df09: #6b349609;
  --biz-c-c4a2df13: #6b349613;
  --biz-c-c4a5e3: #632f96;
  --biz-c-c4adcf: #704c82;
  --biz-c-c5a0e254: #6b2f9a54;
  --biz-c-c5a0e51a: #682d9a1a;
  --biz-c-c5a1e0: #6c3298;
  --biz-c-c5c3c9: #4e4b54;
  --biz-c-c5efdb33: #25805533;
  --biz-c-c6a0ec: #612c97;
  --biz-c-c6afd6: #694484;
  --biz-c-c8a9e5: #622d94;
  --biz-c-c8b3dc: #613d84;
  --biz-c-c9a8ee: #5b2a91;
  --biz-c-cbb0e810: #5b2a9010;
  --biz-c-cbb5dd: #623c82;
  --biz-c-ccb0e5: #612f8d;
  --biz-c-cce5d5: #396f4c;
  --biz-c-ceb0ec: #5b298e;
  --biz-c-cfb8df: #643a80;
  --biz-c-cfc1d9: #604672;
  --biz-c-d0b4ed: #59288b;
  --biz-c-d0b4ef: #56288a;
  --biz-c-d2b8e810: #5e2c8810;
  --biz-c-d2bfdc: #644177;
  --biz-c-d3b5ee: #5b288a;
  --biz-c-d3b6eb0a: #5e288b0a;
  --biz-c-d3c5df: #5a3f72;
  --biz-c-d5b8ed0b: #5d28890b;
  --biz-c-d5b8ed16: #5d288916;
  --biz-c-d5b8ee26: #5b288826;
  --biz-c-d5bcec: #592787;
  --biz-c-d7c388: #aa8d39;
  --biz-c-d8baf306: #58268406;
  --biz-c-d8baf308: #58268408;
  --biz-c-d8baf309: #58268409;
  --biz-c-d8baf314: #58268414;
  --biz-c-d8bcec: #5f2787;
  --biz-c-d9b6f830: #58268430;
  --biz-c-d9baf342: #59268442;
  --biz-c-d9bdee: #5d2785;
  --biz-c-d9c395: #9f7e39;
  --biz-c-d9cde6: #52376f;
  --biz-c-dac5ea: #5a2d7c;
  --biz-c-dbd0e3: #563e68;
  --biz-c-ddc5f6: #4f247c;
  --biz-c-e0d0ed: #532c73;
  --biz-c-e3bf83: #ac7e32;
  --biz-c-e3cb90: #a58330;
  --biz-c-e4ceff24: #46217224;
  --biz-c-e4d8ed: #513069;
  --biz-c-e4e4e7: #313137;
  --biz-c-e5e3e1: #3a3632;
  --biz-c-e6d7f4: #4c2273;
  --biz-c-e6d8f2: #4e2570;
  --biz-c-e7d7f2: #522571;
  --biz-c-e8d0ff18: #4a217118;
  --biz-c-ead5ff55: #47206e55;
  --biz-c-ece3f4: #482865;
  --biz-c-eee3f6: #4b2269;
  --biz-c-eee7f4: #472b5e;
  --biz-c-eee7f6: #422563;
  --biz-c-f0fff74a: #1c5f3b4a;
  --biz-c-f1eff4: #282231;
  --biz-c-f2f0f5: #3e344e;
  --biz-c-f4f4f5: #252528;
  --biz-c-f6f0fb: #421c62;
  --biz-c-ffdf9d: #8e6d29;
  --biz-c-ffffff: #1f1f1f;
  --biz-c-ffffff02: #1f1f1f02;
  --biz-c-ffffff03: #1f1f1f03;
  --biz-c-ffffff07: #1f1f1f07;
  --biz-c-ffffff08: #1f1f1f08;
  --biz-c-ffffff09: #1f1f1f09;
  --biz-c-ffffff0a: #1f1f1f0a;
  --biz-c-ffffff0b: #1f1f1f0b;
  --biz-c-ffffff0c: #1f1f1f0c;
  --biz-c-ffffff0d: #1f1f1f0d;
  --biz-c-ffffff12: #1f1f1f12;
  --biz-c-ffffff15: #1f1f1f15;
  --biz-c-ffffff18: #1f1f1f18;
  --biz-c-ffffff45: #1f1f1f45;
}
.business-studio {
  --biz-ink: var(--op-ink);
  --biz-muted: var(--op-muted);
  --biz-lilac: var(--op-accent);
  max-width: 1260px;
  margin: 0 auto;
  color: var(--biz-ink);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
.business-studio button {
  cursor: pointer;
}
.business-studio button:focus-visible {
  outline: 2px solid var(--biz-c-ddc5f6);
  outline-offset: 4px;
}
.biz-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0 26px;
}
.biz-overline {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.19em;
  color: var(--biz-c-aaa6b5);
}
.biz-heading h1 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 1.2;
  margin-top: 9px;
}
.biz-heading h1 > span {
  color: var(--biz-c-c9a8ee);
}
.biz-context {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--biz-c-8e8a98);
  font-size: 11px;
}
.biz-demo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid var(--biz-c-38313f);
  color: var(--biz-c-c8b3dc);
  font-size: 10px;
}
.biz-demo > span {
  width: 5px;
  height: 5px;
  background: var(--biz-c-c6a0ec);
  border-radius: 50%;
}
.biz-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 25px;
}
.biz-tabs {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: var(--biz-c-19181d);
  border: 1px solid var(--biz-c-29272f);
  border-radius: 25px;
  gap: 2px;
}
.biz-tabs button {
  border: 0;
  background: transparent;
  color: var(--biz-c-a8a4b1);
  font-size: 11px;
  padding: 8px 23px;
  border-radius: 22px;
  transition:
    background 0.2s,
    color 0.2s;
}
.biz-tabs button:hover {
  color: white;
}
.biz-tabs button[aria-selected="true"] {
  background: var(--biz-c-f1eff4);
  color: var(--biz-c-1c1920);
  box-shadow: 0 2px 5px #0003;
}
.biz-currency {
  color: var(--biz-c-827d8b);
  font-size: 10px;
}
.biz-content {
  animation: biz-enter 0.35s ease both;
}
.biz-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 16px;
}
.biz-card {
  min-width: 0;
  border: 1px solid var(--biz-c-ffffff0d);
  border-radius: 19px;
  background: var(--biz-c-18181b);
  padding: 23px;
}
.biz-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
}
.biz-card-heading h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.biz-card-heading > svg {
  color: var(--biz-c-77717f);
}
.biz-small-tag {
  font-size: 9px;
  color: var(--biz-c-9c97a5);
  white-space: nowrap;
}
.biz-bank {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  border: 1px solid var(--biz-c-a784c840);
  background:
    radial-gradient(ellipse at 100% 0%, var(--biz-c-68507955), transparent 64%),
    linear-gradient(130deg, var(--biz-c-37303f), var(--biz-c-201d27) 65%);
  min-height: 365px;
  display: flex;
  flex-direction: column;
  padding: 24px 27px 0;
}
.biz-bank::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -190px;
  top: 35px;
  border: 1px solid var(--biz-c-d8baf314);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px var(--biz-c-d8baf309),
    0 0 0 48px var(--biz-c-d8baf308),
    0 0 0 72px var(--biz-c-d8baf306);
  pointer-events: none;
}
.biz-bank-top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.biz-bank-logo {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--biz-c-d9baf342);
  border-radius: 11px;
  background: linear-gradient(140deg, var(--biz-c-b99cd033), var(--biz-c-d3b6eb0a));
  box-shadow: inset 0 1px 0 var(--biz-c-e4ceff24);
  color: var(--biz-c-e6d7f4);
}
.biz-bank h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.biz-bank-code {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--biz-c-d2bfdc);
  padding: 4px 6px;
  background: var(--biz-c-ffffff07);
  border: 1px solid var(--biz-c-ffffff12);
  border-radius: 5px;
}
.biz-bank-caption {
  margin-top: 28px;
  font-size: 11px;
  color: var(--biz-c-bcb0c7);
}
.biz-bank-number {
  margin-top: 4px;
  font-size: clamp(35px, 3.8vw, 57px);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  color: var(--biz-c-f6f0fb);
}
.biz-bank-delta {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--biz-c-badbc8);
  font-size: 10px;
  margin-top: 11px;
}
.biz-bank-delta > span {
  color: var(--biz-c-ac9fb7);
  margin-left: 5px;
}
.biz-bank-art {
  height: 98px;
  margin: 10px -27px 0;
  flex: 1;
  display: flex;
  align-items: end;
  opacity: 0.9;
}
.biz-bank-art svg {
  width: 100%;
  height: 85px;
}
.biz-bank-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--biz-c-e8d0ff18);
  padding: 17px 0;
  width: 100%;
  font-size: 10px;
  color: var(--biz-c-d3c5df);
  background: transparent;
  transition: color 0.2s;
}
.biz-bank-footer:hover {
  color: #fff;
}
.biz-bank-footer > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.biz-account-dots {
  display: flex;
  padding-right: 3px;
}
.biz-account-dots i {
  border: 2px solid var(--biz-c-26212f);
  display: inline-block;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: var(--biz-c-c8a9e5);
  margin-right: -5px;
}
.biz-account-dots i:nth-child(2) {
  background: var(--biz-c-91bfc7);
}
.biz-account-dots i:nth-child(3) {
  background: var(--biz-c-a5d6bb);
}
.biz-revenue {
  padding: 21px 23px 0;
  overflow: hidden;
}
.biz-revenue-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.biz-range {
  display: flex;
  align-items: center;
  gap: 1px;
  background: var(--biz-c-121215);
  border: 1px solid var(--biz-c-2c2a30);
  padding: 3px;
  border-radius: 20px;
}
.biz-range button {
  color: var(--biz-c-898492);
  background: transparent;
  border: 0;
  padding: 4px 10px;
  border-radius: 17px;
  font-size: 9px;
  line-height: 1.5;
}
.biz-range button[aria-pressed="true"] {
  background: var(--biz-c-e6d8f2);
  color: var(--biz-c-33263e);
}
.biz-range button:hover:not([aria-pressed="true"]) {
  color: var(--biz-c-ece3f4);
}
.biz-icon-button {
  color: var(--biz-c-a59cab);
  background: transparent;
  padding: 4px;
}
.biz-income-heading {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-top: 7px;
  min-height: 45px;
}
.biz-income-heading > strong {
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.biz-income-heading > span {
  font-size: 10px;
  color: var(--biz-c-8f8899);
}
.biz-revenue-chart {
  display: flex;
  height: 156px;
  margin-top: 10px;
  gap: 13px;
}
.biz-chart-guide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: var(--biz-c-6e6879);
  padding: 0 0 25px;
  width: 36px;
  flex-shrink: 0;
}
.biz-chart-bars {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex: 1;
  gap: 12px;
  position: relative;
  min-width: 0;
}
.biz-chart-bars::before {
  position: absolute;
  content: "";
  inset: 0 0 25px;
  background: repeating-linear-gradient(
    to top,
    var(--biz-c-ffffff08) 0,
    var(--biz-c-ffffff08) 1px,
    transparent 1px,
    transparent 50%
  );
  pointer-events: none;
}
.biz-month {
  display: flex;
  position: relative;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--biz-c-85808e);
}
.biz-bar-track {
  position: relative;
  display: flex;
  align-items: end;
  height: 131px;
  width: 100%;
  max-width: 35px;
  background: var(--biz-c-ffffff03);
  border-radius: 6px;
}
.biz-bar-fill {
  width: 100%;
  border: 1px solid var(--biz-c-d9b6f830);
  background: linear-gradient(to bottom, var(--biz-c-d0b4ed), var(--biz-c-a98ccc));
  border-radius: 5px 5px 3px 3px;
  box-shadow: inset 0 1px 0 var(--biz-c-ead5ff55);
  position: relative;
  overflow: hidden;
  transition:
    height 0.4s ease,
    filter 0.2s;
}
.biz-bar-fill > span {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0,
    transparent 3px,
    var(--biz-c-ffffff18) 3px,
    var(--biz-c-ffffff18) 4px
  );
  opacity: 0.4;
}
.biz-month:hover .biz-bar-fill,
.biz-month.is-selected .biz-bar-fill {
  filter: brightness(1.2);
}
.biz-month.is-partial .biz-bar-fill {
  background: var(--biz-c-55465f);
  border: 1px dashed var(--biz-c-b498c7);
  box-shadow: none;
}
.biz-month-label {
  font-size: 9px;
  line-height: 16px;
}
.biz-chart-caption {
  margin: 3px 0 15px 49px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  color: var(--biz-c-827b8c);
}
.biz-chart-caption > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.biz-chart-caption i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--biz-c-c4a5e3);
}
.biz-revenue-stats {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr;
  border-top: 1px solid var(--biz-c-ffffff0b);
  padding: 14px 0 18px;
}
.biz-revenue-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-revenue-stats > div:not(:first-child) {
  padding-left: 15px;
  border-left: 1px solid var(--biz-c-ffffff0b);
}
.biz-revenue-stats span {
  font-size: 9px;
  color: var(--biz-c-8f8799);
}
.biz-revenue-stats strong {
  font-size: 17px;
  letter-spacing: -0.025em;
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 3px;
}
.biz-mint {
  color: var(--biz-c-a8d9be);
}
.biz-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.biz-bottom-grid > section {
  padding: 20px;
}
.biz-instrument {
  position: relative;
  max-width: 225px;
  width: 100%;
  margin: 5px auto 0;
}
.biz-instrument svg {
  width: 100%;
}
.biz-scale-zero,
.biz-scale-max {
  font-size: 8px;
  color: var(--biz-c-747d77);
  position: absolute;
  bottom: 7%;
}
.biz-scale-zero {
  left: 12%;
}
.biz-scale-max {
  right: 10%;
}
.biz-runway-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--biz-c-ffffff0a);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 8px;
  color: var(--biz-c-8e8996);
}
.biz-runway-foot strong {
  font-size: 10px;
  font-weight: 450;
  color: var(--biz-c-c5c3c9);
}
.biz-focus-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 161px;
}
.biz-goal-ring {
  position: relative;
  width: 126px;
  max-width: 49%;
  flex-shrink: 0;
}
.biz-goal-ring svg {
  width: 100%;
}
.biz-goal-ring > span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 37px;
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.biz-goal-ring small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--biz-c-99909f);
  margin-top: 5px;
}
.biz-focus-main h3 {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 450;
}
.biz-focus-main p {
  font-size: 9px;
  color: var(--biz-c-958c9f);
  margin-top: 7px;
}
.biz-deadline {
  font-size: 9px;
  color: var(--biz-c-d7c388);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
}
.biz-deadline > span {
  width: 4px;
  height: 4px;
  background: var(--biz-c-d7c388);
  border-radius: 50%;
}
.biz-inline-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--biz-c-c2b4d0);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 9px;
  border-top: 1px solid var(--biz-c-ffffff0a);
  background: transparent;
}
.biz-inline-link:hover {
  color: white;
}
.biz-owed-number {
  font-size: 35px;
  letter-spacing: -0.05em;
  font-weight: 450;
  margin-top: 17px;
  line-height: 1.1;
}
.biz-owed > p {
  font-size: 9px;
  color: var(--biz-c-98909e);
  margin-top: 7px;
}
.biz-invoice-bar {
  display: flex;
  gap: 4px;
  height: 5px;
  margin: 25px 0 14px;
}
.biz-invoice-bar span {
  background: var(--biz-c-d0b4ef);
  border-radius: 3px;
}
.biz-invoice-bar span:last-child {
  flex: 1;
  background: var(--biz-c-e3bf83);
}
.biz-overdue {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  color: var(--biz-c-d9c395);
  font-size: 9px;
  background: transparent;
  padding: 0;
}
.biz-overdue > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.biz-overdue i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--biz-c-e3bf83);
}
.biz-overdue:hover {
  color: var(--biz-c-ffdf9d);
}
.biz-owed-foot {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--biz-c-ffffff0a);
  font-size: 8px;
  color: var(--biz-c-8f8799);
}
.biz-bottom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: var(--biz-c-78747f);
  padding: 19px 3px 0;
}
.biz-bottom-note > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.biz-positive-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--biz-c-a5d6bb);
}
.biz-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 39px;
  padding: 17px 0 0;
  border-top: 1px solid var(--biz-c-ffffff09);
  color: var(--biz-c-77717f);
  font-size: 8px;
}
.biz-footer > span:first-child {
  letter-spacing: 0.14em;
}
.biz-footer > span:last-child > span {
  margin: 0 6px;
}
.biz-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
}
.biz-section-heading h2 {
  font-weight: 450;
  font-size: 23px;
  letter-spacing: -0.04em;
}
.biz-section-heading p {
  color: var(--biz-c-8f8899);
  font-size: 11px;
  margin-top: 6px;
}
.biz-accounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.biz-account-amount {
  font-size: 31px;
  letter-spacing: -0.04em;
  margin-top: 12px;
}
.biz-accounts p {
  color: var(--biz-c-9990a3);
  font-size: 10px;
  margin-top: 10px;
}
.biz-account-track {
  height: 4px;
  width: 100%;
  background: var(--biz-c-ffffff0a);
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
}
.biz-account-track > span {
  height: 100%;
  display: block;
  border-radius: inherit;
}
.biz-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
}
.biz-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  margin: 16px 0;
}
.biz-growth-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.biz-priority-note {
  color: var(--biz-c-a199ae);
  font-size: 12px;
  max-width: 550px;
  line-height: 1.7;
  margin: 12px 0 20px;
}
.biz-content > .biz-card + .biz-card {
  margin-top: 16px;
}
.biz-income-table {
  height: 166px;
  overflow: auto;
  margin-top: 10px;
}
.biz-income-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}
.biz-income-table th {
  font-weight: 400;
  color: var(--biz-c-a497b2);
}
.biz-income-table td,
.biz-income-table th {
  text-align: right;
  padding: 8px 4px;
  border-bottom: 1px solid var(--biz-c-ffffff0b);
}
.biz-income-table td:first-child,
.biz-income-table th:first-child {
  text-align: left;
}
.biz-income-table thead {
  position: sticky;
  top: 0;
  background: var(--biz-c-18181b);
}
@keyframes biz-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .biz-bank {
    min-height: 400px;
  }
  .biz-bank-caption {
    margin-top: 39px;
  }
  .biz-revenue-chart {
    height: 191px;
  }
  .biz-bar-track {
    height: 166px;
  }
  .biz-income-table {
    height: 201px;
  }
  .biz-bottom-grid > section {
    padding: 24px;
  }
  .biz-focus-main {
    min-height: 180px;
  }
  .biz-instrument {
    max-width: 250px;
  }
  .biz-owed-foot {
    margin-top: 43px;
  }
}
@media (max-width: 1150px) {
  body:has(.business-studio) main {
    padding: 24px;
  }
  .biz-bank {
    padding: 22px 22px 0;
  }
  .biz-bank-art {
    margin-left: -22px;
    margin-right: -22px;
  }
  .biz-bottom-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .biz-owed {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .biz-owed .biz-card-heading {
    grid-column: 1;
  }
  .biz-owed-number {
    grid-column: 1;
  }
  .biz-owed > p {
    grid-column: 1;
  }
  .biz-invoice-bar {
    grid-column: 2;
    grid-row: 1;
    margin: 9px 0;
    align-self: center;
  }
  .biz-overdue {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .biz-owed-foot {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .biz-chart-bars {
    gap: 7px;
  }
  .biz-bottom-note > span:last-child {
    display: none;
  }
}
@media (max-width: 900px) {
  .biz-top-grid {
    grid-template-columns: 1fr;
  }
  .biz-bank {
    min-height: 340px;
  }
  .biz-bank-number {
    font-size: 52px;
  }
  .biz-context {
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
  }
  .biz-detail-grid {
    grid-template-columns: 1fr;
  }
  .biz-growth-metrics {
    gap: 0;
  }
  .biz-growth-metrics > div {
    min-width: 0;
  }
  .biz-growth-metrics > div > div {
    max-width: 100%;
  }
  .biz-accounts {
    grid-template-columns: 1fr;
  }
  .biz-bank-art svg {
    height: 100px;
  }
}
@media (max-width: 540px) {
  body:has(.business-studio) main {
    padding: 22px 16px;
  }
  .biz-heading {
    gap: 8px;
    padding-bottom: 22px;
  }
  .biz-heading h1 {
    font-size: 32px;
  }
  .biz-overline {
    font-size: 7px;
  }
  .biz-context {
    font-size: 8px;
  }
  .biz-demo {
    font-size: 8px;
    padding: 5px 7px;
  }
  .biz-toolbar {
    margin-bottom: 20px;
  }
  .biz-tabs button {
    padding: 7px 17px;
    font-size: 10px;
  }
  .biz-currency {
    font-size: 8px;
    max-width: 54px;
    text-align: right;
  }
  .biz-bank {
    min-height: 330px;
  }
  .biz-bank-number {
    font-size: 51px;
  }
  .biz-bottom-grid {
    grid-template-columns: 1fr;
  }
  .biz-bottom-grid .biz-owed {
    grid-column: auto;
    display: block;
  }
  .biz-owed-foot {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--biz-c-ffffff0a);
  }
  .biz-invoice-bar {
    margin-top: 24px;
    margin-bottom: 16px;
  }
  .biz-card {
    padding: 20px;
  }
  .biz-revenue {
    padding-bottom: 0;
  }
  .biz-income-heading > strong {
    font-size: 28px;
  }
  .biz-income-heading > span {
    font-size: 9px;
  }
  .biz-chart-bars {
    gap: 6px;
  }
  .biz-chart-guide {
    width: 27px;
  }
  .biz-chart-caption {
    margin-left: 40px;
    font-size: 7px;
  }
  .biz-revenue-stats {
    grid-template-columns: 1.15fr 1.15fr 1fr;
  }
  .biz-revenue-stats > div:not(:first-child) {
    padding-left: 10px;
  }
  .biz-revenue-stats strong {
    font-size: 16px;
  }
  .biz-revenue-stats span {
    font-size: 8px;
  }
  .biz-month-label {
    font-size: 8px;
  }
  .biz-footer {
    font-size: 7px;
    margin-top: 26px;
  }
  .biz-footer > span:last-child {
    text-align: right;
  }
  .biz-growth-metrics {
    grid-template-columns: 1fr;
  }
  .biz-content .grid-cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .biz-content table {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .business-studio *,
  .business-studio *::before {
    animation: none !important;
    transition: none !important;
  }
}

/* Refinement pass: instrument details, practical growth tools and quiet chat. */

.biz-instrument-mark {
  --mark-color: var(--biz-c-d3b5ee);
  position: relative;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--mark-color);
}
.biz-instrument-mark.tone-mint {
  --mark-color: var(--biz-c-a5d6bb);
}
.biz-instrument-mark.tone-amber {
  --mark-color: var(--biz-c-e3cb90);
}
.biz-instrument-mark.is-small {
  width: 28px;
  height: 28px;
}
.biz-instrument-mark > svg:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.biz-instrument-mark > svg:last-child {
  position: relative;
}
.biz-title-with-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.biz-title-with-mark h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.biz-title-with-mark p {
  font-size: 10px;
  color: var(--biz-c-9a90a4);
  margin-top: 4px;
}
.biz-soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--biz-c-d5b8ee26);
  border-radius: 9px;
  background: var(--biz-c-b78bd014);
  padding: 8px 12px;
  font-size: 10px;
  color: var(--biz-c-dac5ea);
  white-space: nowrap;
}
.biz-soft-button:hover {
  background: var(--biz-c-b78bd027);
}
.biz-soft-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.biz-text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--biz-c-cbb5dd);
  font-size: 10px;
}
.biz-publishing-heading,
.biz-pipeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.biz-publishing-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}
.biz-publishing-summary > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.biz-publishing-summary strong {
  font-size: 44px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.05em;
}
.biz-publishing-summary > div:first-child > span {
  color: var(--biz-c-a295ac);
  font-size: 10px;
}
.biz-quarter-checks > span {
  display: block;
  text-align: right;
  color: var(--biz-c-9f96a6);
  font-size: 10px;
  margin-bottom: 8px;
}
.biz-quarter-checks b {
  color: var(--biz-c-cce5d5);
  font-weight: 500;
}
.biz-quarter-checks > div {
  display: flex;
  gap: 4px;
}
.biz-quarter-checks > div > span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 23px;
  border-radius: 5px;
  background: var(--biz-c-212723);
  color: var(--biz-c-739381);
  border: 1px solid var(--biz-c-9ad4b414);
}
.biz-quarter-checks .is-done {
  background: var(--biz-c-a5d6bb) !important;
  color: var(--biz-c-293b30);
  border-color: var(--biz-c-c5efdb33);
  box-shadow: inset 0 1px var(--biz-c-f0fff74a);
}
.biz-quarter-checks i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--biz-c-52615a);
}
.biz-publishing-filter {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--biz-c-ffffff0c);
}
.biz-publishing-filter button {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 9px 0 12px;
  border-bottom: 1px solid transparent;
  color: var(--biz-c-95899e);
}
.biz-publishing-filter button[aria-pressed="true"] {
  color: var(--biz-c-e0d0ed);
  border-color: var(--biz-c-ccb0e5);
}
.biz-publishing-filter button > span {
  color: var(--biz-c-92809e);
  font-size: 9px;
  background: var(--biz-c-cbb0e810);
  padding: 1px 5px;
  border-radius: 4px;
}
.biz-video-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--biz-c-ffffff08);
}
.biz-video-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.biz-video-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.biz-video-check > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--biz-c-65596e);
  color: var(--biz-c-15281e);
  background: var(--biz-c-211d25);
  border-radius: 8px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.biz-video-check input:checked + span {
  background: var(--biz-c-aadbc0);
  border-color: var(--biz-c-aadbc0);
}
.biz-video-check input:focus-visible + span {
  outline: 2px solid var(--biz-c-d9bdee);
  outline-offset: 4px;
}
.biz-video-check input:hover + span {
  transform: scale(1.06);
}
.biz-video-name {
  flex: 1;
  min-width: 0;
}
.biz-video-name input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 1px 3px;
  margin-left: -3px;
  color: var(--biz-c-eee7f4);
  background: transparent;
  font-size: 12px;
  font-weight: 450;
  text-overflow: ellipsis;
}
.biz-video-name input:hover {
  border-color: var(--biz-c-ffffff15);
}
.biz-video-name input:focus {
  outline: none;
  border-color: var(--biz-c-c2a0da66);
  background: var(--biz-c-201a27);
}
.biz-video-name > span {
  display: block;
  font-size: 9px;
  color: var(--biz-c-91819a);
  margin-top: 3px;
}
.biz-video-row.is-published .biz-video-name > span {
  color: var(--biz-c-89ab95);
}
.biz-video-date {
  background: transparent;
  border: 0;
  color: var(--biz-c-9c90a7);
  font-size: 10px;
  color-scheme: dark;
  max-width: 115px;
}
.biz-video-date::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: pointer;
}
.biz-tracker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
}
.biz-tracker-footer > span {
  font-size: 9px;
  color: var(--biz-c-82738f);
}
.biz-add-video {
  display: flex;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--biz-c-ffffff09);
}
.biz-add-video input {
  min-width: 0;
  border: 1px solid var(--biz-c-bc91d32b);
  border-radius: 8px;
  background: var(--biz-c-111015);
  color: var(--biz-c-e4d8ed);
  padding: 9px 10px;
  font-size: 11px;
  color-scheme: dark;
}
.biz-add-video input:first-of-type {
  flex: 1;
}
.biz-add-video input[type="date"] {
  width: 127px;
}
.biz-add-video input:focus {
  outline: 1px solid var(--biz-c-c5a1e0);
}
.biz-empty-state {
  padding: 32px 12px;
  color: var(--biz-c-a69aad);
  font-size: 12px;
  text-align: center;
}
.biz-pipeline-totals {
  display: flex;
  gap: 22px;
}
.biz-pipeline-totals > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-pipeline-totals strong {
  font-size: 23px;
  line-height: 1;
  font-weight: 450;
  letter-spacing: -0.04em;
}
.biz-pipeline-totals > div:first-child strong {
  color: var(--biz-c-d5bcec);
}
.biz-pipeline-totals span {
  font-size: 9px;
  color: var(--biz-c-94849e);
}
.biz-pipeline-stages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  margin: 27px 0 22px;
}
.biz-pipeline-stages button {
  min-width: 0;
  text-align: left;
  background: var(--biz-c-ffffff02);
  border: 1px solid var(--biz-c-ffffff0a);
  border-radius: 10px;
  padding: 12px 10px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.biz-pipeline-stages button:hover {
  background: var(--biz-c-c0a0df09);
}
.biz-pipeline-stages button[aria-pressed="true"] {
  background: var(--biz-c-bd99d615);
  border-color: var(--biz-c-c5a0e254);
}
.biz-stage-name {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--biz-c-a69cad);
  font-size: 9px;
}
.biz-stage-name > i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--stage-color);
}
.biz-stage-name > svg {
  margin-left: auto;
  color: var(--biz-c-514658);
}
.biz-stage-value {
  display: block;
  color: var(--biz-c-dbd0e3);
  font-size: 18px;
  font-weight: 450;
  letter-spacing: -0.03em;
  margin-top: 10px;
}
.biz-stage-count {
  display: block;
  color: var(--biz-c-8c7d96);
  font-size: 9px;
  margin-top: 2px;
}
.biz-pipeline-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.biz-pipeline-list-heading > div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.biz-pipeline-list-heading button {
  font-size: 10px;
  background: transparent;
  color: var(--biz-c-8e7c9b);
}
.biz-pipeline-list-heading button[aria-pressed="true"] {
  color: var(--biz-c-e7d7f2);
}
.biz-pipeline-list-heading button > span {
  margin-left: 4px;
  color: var(--biz-c-8d7b99);
}
.biz-pipeline-list-heading > span {
  font-size: 9px;
  color: var(--biz-c-8d7f98);
}
.biz-active-stage {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--biz-c-c5a0e51a);
  color: var(--biz-c-cfb8df);
  font-size: 9px;
}
.biz-deal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.biz-deal-card {
  background: linear-gradient(140deg, var(--biz-c-24202b), var(--biz-c-1e1b22));
  border: 1px solid var(--biz-c-d2b8e810);
  border-radius: 12px;
  padding: 16px;
}
.biz-deal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.biz-partner-monogram {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: var(--biz-c-d5b8ed0b);
  border: 1px solid var(--biz-c-d5b8ed16);
  border-radius: 8px;
  color: var(--biz-c-c4adcf);
  font-size: 9px;
  letter-spacing: 0.02em;
}
.biz-deal-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
}
.biz-deal-status i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.biz-deal-card h3 {
  font-size: 12px;
  font-weight: 450;
  color: var(--biz-c-eee3f6);
  margin-top: 17px;
}
.biz-deal-card > strong {
  display: block;
  font-size: 26px;
  font-weight: 450;
  letter-spacing: -0.04em;
  margin-top: 4px;
}
.biz-deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 17px;
  border-top: 1px solid var(--biz-c-ffffff08);
  color: var(--biz-c-a18aad);
  font-size: 9px;
}
.biz-deal-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Composer backdrop informed by 21st.dev, framed as a compact light surface. */
.biz-composer-panel {
  --background: var(--biz-c-ffffff);
  --foreground: var(--biz-c-18181b);
  --card: var(--biz-c-ffffff);
  --card-foreground: var(--biz-c-18181b);
  --popover: var(--biz-c-ffffff);
  --popover-foreground: var(--biz-c-18181b);
  --primary: var(--biz-c-18181b);
  --primary-foreground: var(--biz-c-ffffff);
  --secondary: var(--biz-c-f4f4f5);
  --secondary-foreground: var(--biz-c-18181b);
  --muted: var(--biz-c-f4f4f5);
  --muted-foreground: var(--biz-c-71717a);
  --accent: var(--biz-c-f4f4f5);
  --accent-foreground: var(--biz-c-18181b);
  --border: var(--biz-c-e4e4e7);
  --input: var(--biz-c-e4e4e7);
  --ring: var(--biz-c-a1a1aa);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(240px, 22vw, 280px);
  padding: 64px 28px;
  margin-top: 28px;
  border-radius: 28px;
  color: var(--foreground);
  color-scheme: light;
  box-shadow: 0 14px 44px -22px #0008;
}
.biz-composer-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  background: var(--biz-c-c3b6d5);
  pointer-events: none;
}
.biz-composer-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    125% 125% at 50% 101%,
    rgba(245, 87, 2, 1) 10.5%,
    rgba(245, 120, 2, 1) 16%,
    rgba(245, 140, 2, 1) 17.5%,
    rgba(245, 170, 100, 1) 25%,
    rgba(238, 174, 202, 1) 40%,
    rgba(202, 179, 214, 1) 65%,
    rgba(148, 201, 233, 1) 100%
  );
  /* Keep the supplied gradient stops and framing exact. */
}
.biz-composer-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--biz-c-ffffff45);
  border-radius: inherit;

}
.biz-composer-panel .dark\:invert {
  filter: none;
}
.biz-composer-panel button:focus-visible {
  outline-color: var(--biz-c-262626);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .biz-composer-panel {
    min-height: 230px;
    padding: 58px 16px;
    border-radius: 22px;
    margin-top: 22px;
  }
}

.biz-composer-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.biz-advisor-heading {text-align:center;margin-bottom:10px;color:#28232f}
.biz-advisor-heading h2 {font-size:clamp(26px,2.5vw,36px);font-weight:500;letter-spacing:-1.2px;line-height:1.2}
.biz-composer-panel {scroll-margin-top:90px}

.biz-connections-count {
  color: var(--biz-c-b4a1c0);
  font-size: 10px;
  border: 1px solid var(--biz-c-b591d129);
  border-radius: 20px;
  padding: 6px 10px;
  white-space: nowrap;
}
.biz-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.biz-source {
  padding: 24px;
}
.biz-source-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}
.biz-source-top img {
  object-fit: contain;
  border-radius: 11px;
  width: 44px;
  height: 44px;
}
.source-mercury .biz-source-top img {
  background: var(--biz-c-e5e3e1);
  padding: 7px;
}
.biz-source-status {
  color: var(--biz-c-8e809b);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
}
.biz-source-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--biz-c-6a5b76);
}
.biz-source-category {
  color: var(--biz-c-a28bb2);
  font-size: 9px;
}
.biz-source h3 {
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.04em;
  margin: 5px 0 10px;
}
.biz-source > p {
  color: var(--biz-c-a697b0);
  font-size: 11px;
  line-height: 1.7;
  max-width: 210px;
  min-height: 38px;
}
.biz-source-feeds {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 23px 0;
}
.biz-source-feeds span {
  font-size: 8px;
  color: var(--biz-c-bba7c8);
  background: var(--biz-c-c4a2df09);
  border: 1px solid var(--biz-c-c4a2df13);
  border-radius: 5px;
  padding: 5px 7px;
}
.biz-source details {
  border-top: 1px solid var(--biz-c-ffffff0b);
  padding-top: 14px;
}
.biz-source summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: var(--biz-c-c6afd6);
  font-size: 10px;
}
.biz-source summary::-webkit-details-marker {
  display: none;
}
.biz-source details[open] summary svg {
  transform: rotate(180deg);
}
.biz-source-details {
  margin-top: 13px;
}
.biz-source-details p {
  color: var(--biz-c-94809f);
  font-size: 10px;
  line-height: 1.8;
}
.biz-source-details a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--biz-c-d8bcec);
  font-size: 10px;
  margin-top: 12px;
}
.biz-source-current {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--biz-c-b591d114);
  border-radius: 13px;
  padding: 18px;
  margin-top: 18px;
  background: var(--biz-c-b491cb04);
}
.biz-source-current-icon {
  color: var(--biz-c-9482a2);
}
.biz-source-current strong {
  font-size: 11px;
  font-weight: 450;
  color: var(--biz-c-cfc1d9);
}
.biz-source-current p {
  font-size: 9px;
  color: var(--biz-c-85718f);
  margin-top: 4px;
}
.biz-source-current-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--biz-c-8a7597);
  margin-left: auto;
}
@media (max-width: 1100px) {
  .biz-source-grid {
    grid-template-columns: 1fr;
  }
  .biz-source-top {
    margin-bottom: 20px;
  }
  .biz-source > p {
    max-width: none;
    min-height: 0;
  }
  .biz-pipeline-heading {
    align-items: flex-start;
  }
  .biz-pipeline-totals {
    gap: 14px;
  }
  .biz-pipeline-totals strong {
    font-size: 20px;
  }
  .biz-deal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .biz-pipeline-stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .biz-publishing-summary {
    flex-wrap: wrap;
    gap: 18px;
  }
  .biz-quarter-checks > span {
    text-align: left;
  }
  .biz-tabs button {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 600px) {
  .biz-pipeline-heading {
    flex-direction: column;
    gap: 22px;
  }
  .biz-pipeline-totals {
    gap: 30px;
  }
  .biz-publishing-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .biz-publishing-heading .biz-title-with-mark {
    gap: 7px;
  }
  .biz-title-with-mark h2 {
    font-size: 13px;
  }
  .biz-title-with-mark p {
    font-size: 9px;
    line-height: 1.5;
  }
  .biz-publishing-heading .biz-soft-button {
    padding: 7px 8px;
    font-size: 9px;
  }
  .biz-publishing-heading .biz-instrument-mark {
    width: 31px;
    height: 31px;
  }
  .biz-publishing-summary > div:first-child {
    flex-wrap: wrap;
  }
  .biz-quarter-checks > div {
    gap: 3px;
  }
  .biz-quarter-checks > div > span {
    width: 18px;
    height: 22px;
  }
  .biz-deal-cards {
    grid-template-columns: 1fr;
  }
  .biz-deal-top {
    margin-bottom: 10px;
  }
  .biz-add-video {
    flex-wrap: wrap;
  }
  .biz-add-video input:first-of-type {
    flex-basis: 100%;
  }
  .biz-add-video .biz-soft-button {
    flex: 1;
  }
  .biz-source-current {
    flex-wrap: wrap;
  }
  .biz-source-current-label {
    margin-left: 30px;
  }
  .biz-toolbar {
    flex-wrap: wrap;
  }
  .biz-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .biz-tabs button {
    flex: 1;
    padding: 8px 9px;
    font-size: 10px;
  }
  .biz-currency {
    max-width: none;
    margin-left: auto;
    font-size: 9px;
  }
  .biz-connections-count {
    font-size: 8px;
    padding: 5px 7px;
  }
  .biz-section-heading h2 {
    font-size: 21px;
  }
  .biz-video-date {
    max-width: 105px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-composer-panel *,
  .biz-composer-panel *::before,
  .biz-composer-panel *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Phones: the tab pill scrolls instead of pushing the page sideways. */
@media (max-width: 540px) {
  .business-studio {
    overflow-x: clip;
  }
  .biz-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .biz-tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .biz-tabs::-webkit-scrollbar {
    display: none;
  }
  .biz-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .biz-bank {
    overflow: hidden;
  }
}

/* One expandable account summary, with recorded balances kept in their original currency. */
.biz-finance-balance {
  min-height: 365px;
  align-self: start;
}
.biz-balance-provider {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f7f4f8;
  border: 1px solid #ffffff22;
  flex-shrink: 0;
}
.biz-balance-provider .biz-connect-logo {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}
.biz-balance-provider.is-small {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.biz-balance-provider.is-small .biz-connect-logo {
  width: 19px;
  height: 19px;
}
.biz-finance-balance .biz-bank-number.is-unavailable {
  font-size: clamp(27px, 2.8vw, 39px);
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin-top: 8px;
}
.biz-balance-availability {
  font-size: 11px;
  line-height: 1.65;
  color: var(--biz-c-bcb0c7);
  max-width: 330px;
  margin: 12px 0 0;
}
.biz-balance-chart-label {
  margin-top: 22px;
  font-size: 9px;
  letter-spacing: 0.035em;
  color: var(--biz-c-ac9fb7);
}
.biz-finance-balance .biz-bank-art {
  margin-top: 0;
  min-height: 70px;
  height: 70px;
  flex: 0;
}
.biz-finance-balance .biz-bank-art svg {
  height: 68px;
}
.biz-finance-balance .biz-bank-footer {
  font-size: 11px;
  margin-top: auto;
}
.biz-finance-balance .biz-bank-footer svg {
  transition: transform 0.2s;
}
.biz-finance-balance.is-expanded .biz-bank-footer > span:last-child > svg {
  transform: rotate(180deg);
}
.biz-balance-breakdown {
  padding: 0 0 22px;
  animation: biz-answer-in 0.22s ease;
}
.biz-balance-breakdown > p {
  font-size: 10px;
  color: var(--biz-c-bcb0c7);
  padding: 0 0 12px;
}
.biz-balance-account {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--biz-c-e8d0ff18);
}
.biz-balance-account > span {
  min-width: 0;
}
.biz-balance-account strong {
  font-size: 12px;
  font-weight: 450;
  display: block;
  line-height: 1.5;
}
.biz-balance-account small {
  display: block;
  color: var(--biz-c-bcb0c7);
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.5;
}
.biz-balance-account b {
  font-size: 16px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  font-weight: 450;
}
.biz-balance-footnote {
  display: block;
  font-size: 9px;
  color: var(--biz-c-bcb0c7);
  line-height: 1.6;
  margin-top: 10px;
}
.biz-setup-link-row {
  display: flex;
  justify-content: flex-end;
  margin: 28px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--op-border);
}
.biz-setup-link-row button {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--op-muted);
  font-size: 12px;
  padding: 8px 0 8px 12px;
}
.biz-setup-link-row button:hover {
  color: var(--op-ink);
}
@media (max-width: 540px) {
  .biz-finance-balance {
    min-height: 340px;
  }
  .biz-balance-account {
    flex-wrap: wrap;
    gap: 7px;
  }
  .biz-balance-account b {
    margin-left: auto;
  }
  .biz-setup-link-row {
    justify-content: flex-start;
  }
  .biz-setup-link-row button {
    padding-left: 0;
  }
}

/* Setup stays near the first decision, then disappears when completed. */

.biz-balance-numbers { display:grid; gap:16px; width:100%; margin:8px 0; }
.biz-balance-numbers > div { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.biz-balance-numbers > div > span { font-size:12px; line-height:1.5; font-weight:400; color:#d2c6de; letter-spacing:0; }
.biz-balance-numbers small { display:block; color:#b2a1c3; font-size:10px; }
.biz-balance-numbers strong { font-size:clamp(22px,2.5vw,36px); letter-spacing:-.04em; font-weight:450; font-variant-numeric:tabular-nums; }
@media(max-width:560px) { .biz-balance-numbers > div { gap:10px; } .biz-balance-numbers strong { font-size:23px; } }

html:not(.dark) .biz-balance-numbers > div > span { color:#493657; }
html:not(.dark) .biz-balance-numbers small { color:#594766; }
html:not(.dark) .biz-finance-balance :is(.biz-bank-caption,.biz-balance-availability,.biz-balance-chart-label) { color:#594766; }


/* /src/components/jev/jev-chat.css */
/* Jev in Chat: the runtime tile mark and the "Jev routed this chat" strip. */
.jev-runtime-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #d45bb6, #f386a1);
  box-shadow: 0 8px 20px -10px #d45bb6;
}
.jev-runtime-mark.is-small { width: 26px; height: 26px; border-radius: 8px; }
.jev-chat-pick {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 4px 8px;
  font-size: 12px;
  color: var(--op-muted);
}


/* /src/components/operator/workspace-settings.css */
.op-nav-link.ws-nav-design > svg {
  color: #c5a3eb;
}
.op-nav-link.ws-nav-websites > svg {
  color: #d4bf7b;
}
.op-nav-link.ws-nav-hermes > img {
  box-shadow: 0 0 0 3px #77b8a51b;
}
.op-nav-link.ws-nav-design:hover {
  background: #be92e91a;
}
.op-nav-link.ws-nav-websites:hover {
  background: #dfc66e12;
}
.op-nav-link.ws-nav-hermes:hover {
  background: #7cb9a815;
}
.op-nav-link.ws-nav-motion > svg {
  color: #e8906f;
}
.op-nav-link.ws-nav-motion:hover {
  background: #e8906f14;
}
.ws-settings {
  max-width: 1100px;
  margin: 20px auto 60px;
}
.ws-settings-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.ws-settings-heading h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.7px;
  line-height: 1.1;
  margin: 0 0 12px;
}
.ws-settings-heading h1 > span {
  color: #c4a8ec;
}
.ws-settings-heading p {
  color: #a5a0ae;
  font-size: 13px;
}
.ws-settings-setup {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #b49bda35;
  border-radius: 10px;
  background: #b49bda0b;
  color: #d3bdea;
  font-size: 12px;
}
.ws-settings-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #ffffff15;
  margin-bottom: 27px;
}
.ws-settings-tabs > button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  font-size: 12px;
  color: #a9a0b7;
  border-bottom: 2px solid transparent;
}
.ws-settings-tabs > button[aria-current="page"] {
  border-color: #c5a4ec;
  color: #ead9fe;
}
.ws-settings-panel {
  border: 1px solid #ffffff15;
  background: #17171c;
  border-radius: 17px;
  padding: 30px;
  max-width: 950px;
}
.ws-settings-panel > header {
  margin-bottom: 25px;
}
.ws-settings-panel > header h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin: 0 0 8px;
}
.ws-settings-panel > header p {
  font-size: 12px;
  color: #aaa2b8;
  line-height: 1.7;
  max-width: 610px;
  margin: 0;
}
.ws-settings-panel .ws-profile-fields {
  max-width: 760px;
}
.ws-settings-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  border-top: 1px solid #ffffff14;
  padding-top: 22px;
}
.ws-settings-save > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #b3a3c4;
}
.ws-settings-memory-link {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 19px;
  border: 1px solid #b49bda26;
  border-radius: 12px;
  background: #b49bda09;
}
.ws-settings-memory-link > svg {
  color: #bd9ee8;
  flex-shrink: 0;
}
.ws-settings-memory-link > div {
  flex: 1;
}
.ws-settings-memory-link strong {
  font-size: 13px;
  font-weight: 500;
}
.ws-settings-memory-link p {
  font-size: 11px;
  line-height: 1.6;
  color: #a9a1b5;
  margin-top: 3px;
}
.ws-settings-memory-link a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #d1b6f4;
}
.ws-settings-panel .op-settings-grid {
  grid-template-columns: 1fr;
}
.ws-settings-panel .op-page {
  margin-bottom: 0 !important;
}
.ws-settings-panel .ws-tools {
  grid-template-columns: repeat(3, 1fr);
}
:root:not(.dark) .ws-settings-panel {
  background: #fbfaff;
  border-color: #22142e20;
}
:root:not(.dark) .ws-settings-panel input,
:root:not(.dark) .ws-settings-panel textarea,
:root:not(.dark) .ws-settings-panel select,
:root:not(.dark) .ws-settings-panel .ws-tool {
  background: #fff;
  color: #302439;
  border-color: #22142e25;
}
:root:not(.dark) .ws-settings-panel .ws-field-grid > label > span {
  color: #493e54;
}
:root:not(.dark) .ws-settings-tabs > button[aria-current="page"] {
  color: #694389;
}
@media (max-width: 850px) {
  .ws-settings-panel .ws-tools {
    grid-template-columns: 1fr 1fr;
  }
  .ws-settings-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .ws-settings-tabs > button {
    padding: 11px;
    font-size: 11px;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  .ws-settings {
    margin-top: 5px;
  }
  .ws-settings-heading h1 {
    font-size: 32px;
  }
  .ws-settings-tabs {
    overflow: auto;
    white-space: nowrap;
  }
  .ws-settings-tabs > button {
    flex-direction: column;
    flex-shrink: 0;
    padding: 10px 11px;
  }
  .ws-settings-panel {
    padding: 20px 15px;
  }
  .ws-settings-panel .ws-tools {
    grid-template-columns: 1fr;
  }
  .ws-settings-memory-link {
    flex-wrap: wrap;
  }
  .ws-settings-memory-link a {
    margin-left: 34px;
  }
  .ws-settings-heading p {
    font-size: 12px;
  }
}

/* Opening choice: guided setup, or straight to one section. */
.ws-settings-choice { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; max-width: 950px; }
.ws-choice-card { border: 1px solid #ffffff15; background: #17171c; border-radius: 17px; overflow: hidden; color: inherit; text-decoration: none; }
.ws-choice-setup { display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.ws-choice-setup:hover { border-color: #c5a4ec80; transform: translateY(-2px); }
.ws-choice-setup img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ws-choice-setup > div, .ws-choice-edit > div { padding: 22px 24px 24px; display: grid; gap: 8px; }
.ws-choice-card strong { font-size: 20px; font-weight: 500; letter-spacing: -0.4px; }
.ws-choice-card p { margin: 0; font-size: 12px; line-height: 1.6; color: #aaa2b8; }
.ws-choice-setup em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 8px; padding: 9px 16px; border-radius: 11px; background: #f0edf6; color: #121017; font-size: 13px; font-weight: 600; }
.ws-choice-edit nav { display: grid; gap: 6px; padding: 0 14px 16px; }
.ws-choice-edit nav button { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; padding: 12px 12px; border: 1px solid #ffffff12; border-radius: 12px; background: transparent; color: #f0edf6; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.ws-choice-edit nav button:hover { background: #ffffff08; border-color: #c5a4ec60; }
.ws-choice-edit nav button > svg:first-child { color: #c5a4ec; }
.ws-choice-edit nav button > svg:last-child { color: #aaa2b8; }
.ws-choice-edit nav span { display: grid; gap: 2px; font-size: 13px; font-weight: 550; }
.ws-choice-edit nav small { font-size: 11px; font-weight: 400; color: #aaa2b8; }
html:not(.dark) .ws-choice-card { background: #fff; border-color: #0000001a; }
html:not(.dark) .ws-choice-edit nav button { color: #292334; border-color: #0000001a; }
html:not(.dark) .ws-choice-setup em { background: #292334; color: #fff; }
@media (max-width: 760px) { .ws-settings-choice { grid-template-columns: 1fr; } }


/* /src/components/business/ai-spend-panel.css */
.biz-finance-ai {
  color: var(--op-ink);
  padding: 4px 5px;
}
.biz-finance-ai-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.biz-finance-ai-heading h2 {
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -0.035em;
  margin: 10px 0 8px;
}
.biz-finance-ai-heading p {
  font-size: 11px;
  color: var(--op-muted);
  line-height: 1.7;
}
.biz-finance-ai-total {
  flex-shrink: 0;
  text-align: right;
}
.biz-finance-ai-total strong {
  font-size: 41px;
  letter-spacing: -0.045em;
  font-weight: 450;
}
.biz-finance-ai-total span {
  font-size: 11px;
  color: var(--op-muted);
  margin-left: 7px;
}
.biz-finance-ai-total small {
  display: block;
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 5px;
}
.biz-finance-ai-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  margin-top: 22px;
}
.biz-finance-token-card {
  border: 1px solid var(--op-border);
  border-radius: 15px;
  padding: 23px;
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--op-accent) 8%, transparent),
    transparent
  );
}
.biz-finance-token-card > span {
  font-size: 11px;
}
.biz-finance-token-card > strong {
  display: block;
  font-size: 35px;
  letter-spacing: -0.04em;
  font-weight: 450;
  margin: 15px 0 4px;
}
.biz-finance-token-card > small {
  font-size: 10px;
  color: var(--op-muted);
}
.biz-finance-token-card > p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--op-muted);
  margin-top: 15px;
}
.biz-finance-ai .biz-plan-list {
  margin: 0;
}
.biz-finance-ai .biz-cost-note {
  max-width: none;
  margin-top: 22px;
}
@media (max-width: 700px) {
  .biz-finance-ai-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .biz-finance-ai-total {
    text-align: left;
  }
  .biz-finance-ai-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .biz-finance-ai-heading h2 {
    font-size: 22px;
  }
}

.biz-finance-ai .biz-plan-logo {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--op-border);
  border-radius: 11px;
  background: #f6f3f9;
  flex-shrink: 0;
  overflow: hidden;
}
.biz-finance-ai .biz-plan-logo img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.biz-finance-ai .biz-plan-logo.is-claude {
  background: #d97c57;
  border-color: #d97c57;
}
.biz-finance-ai .biz-plan-logo.is-claude img {
  width: 37px;
  height: 37px;
  border-radius: 10px;
}
.biz-finance-ai .biz-plan-logo.is-openclaw {
  background: var(--op-inset);
}
.biz-finance-ai .biz-plan-list > div {
  padding: 16px 0;
  font-size: 14px;
}
.biz-finance-ai .biz-plan-list > div > span {
  gap: 13px;
}


/* /src/components/operator/chat-refinements.css */
/* Calm, full-height conversation workspace. The shared PromptInput keeps its own controls. */
#argentic-chat-host.ar-chat-workspace-host {
  width: 100%;
  max-width: none;
  height: calc(100dvh - 105px);
  min-height: 480px;
}
.ar-saved-chat {
  border: 1px solid var(--op-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--op-bg);
}
.ar-saved-chat .ar-chat-header {
  background: var(--op-panel);
  min-height: 64px;
  flex-shrink: 0;
  padding: 12px 22px;
  gap: 11px;
  border-bottom: 1px solid var(--op-border);
}
.ar-saved-chat .ar-chat-header > .ar-chat-model-host {
  flex: 1;
  min-width: 0;
}
.ar-saved-chat .ar-chat-mark {
  width: 29px;
  height: 29px;
  background: none;
  overflow: visible;
  border-radius: 0;
  color: var(--op-accent);
}
.agentic-mark {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--op-accent);
}
.ar-saved-chat-identity {
  flex: 1;
  min-width: 0;
}
.ar-saved-chat-identity strong {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.3px;
}
.ar-saved-chat-identity small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--op-muted);
}
.ar-saved-chat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ar-chat-new,
.ar-chat-sources-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--op-muted);
  white-space: nowrap;
}
.ar-chat-new:hover,
.ar-chat-sources-toggle:hover,
.ar-chat-sources-toggle[aria-expanded="true"] {
  background: var(--op-panel);
  color: var(--op-ink);
}
.ar-saved-chat button:disabled {
  opacity: 0.4;
  cursor: default;
}
.ar-saved-chat button:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 2px;
}
.ar-context-logos {
  display: flex;
  align-items: center;
  padding-left: 3px;
}
.ar-context-logos > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 2px solid var(--op-bg);
  background: var(--op-panel);
  border-radius: 50%;
  margin-left: -3px;
}
.ar-context-logos img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.ar-context-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.ar-context-brands > span {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--op-border);
  border-radius: 8px;
  font-size: 11px;
}
.ar-context-brands img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.ar-saved-chat-body {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  min-width: 0;
}
.ar-saved-chat-main {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.ar-chat-history {
  width: 238px;
  flex: 0 0 238px;
  display: flex;
  flex-direction: column;
  background: var(--op-inset);
  border-right: 1px solid var(--op-border);
  min-height: 0;
  padding-top: 6px;
}
.ar-chat-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px 12px;
  gap: 10px;
}
.ar-chat-history h2 {
  font-size: 12px;
  font-weight: 500;
  color: var(--op-muted);
}
.ar-history-new {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  margin: 0 12px 12px;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12px;
  background: var(--op-panel);
}
.ar-history-new:hover {
  border-color: var(--op-accent);
}
.ar-history-search {
  border: 1px solid var(--op-border);
  border-radius: 8px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 24px;
  color: var(--op-muted);
}
.ar-history-search input {
  background: transparent;
  min-width: 0;
  width: 100%;
  outline: 0;
  font-size: 11px;
  color: var(--op-ink);
}
.ar-chat-history nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 10px;
}
.ar-chat-history nav > button {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 11px 10px;
  border-radius: 8px;
  margin-bottom: 3px;
  color: var(--op-muted);
}
.ar-chat-history nav > button.active,
.ar-chat-history nav > button:hover {
  color: var(--op-ink);
  background: var(--op-panel);
}
.ar-chat-history nav > button > span {
  min-width: 0;
}
.ar-chat-history strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.ar-chat-history small {
  display: block;
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 5px;
}
.ar-chat-history nav > p {
  padding: 12px 9px;
  font-size: 11px;
  color: var(--op-muted);
  line-height: 1.7;
}
.ar-chat-history .ar-history-note {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 18px 16px;
  margin: 0;
  font-size: 9px;
}
.ar-history-note svg {
  color: var(--op-mint);
  flex: none;
}
.ar-chat-context-panel {
  flex-shrink: 0;
  max-height: 55%;
  overflow: auto;
  border-bottom: 1px solid var(--op-border);
  padding: 20px 28px;
  background: var(--op-inset);
}
.ar-chat-context-panel > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ar-chat-context-panel strong {
  font-size: 13px;
  font-weight: 500;
}
.ar-chat-context-panel p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--op-muted);
  margin: 9px 0 12px;
}
.ar-saved-chat .ar-chat-transcript {
  padding: 30px max(28px, calc((100% - 760px) / 2));
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--op-border) transparent;
}
.ar-saved-chat .ar-chat-transcript.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ar-saved-chat .ar-chat-welcome {
  max-width: 680px;
  margin: 0 auto 30px;
  width: 100%;
  text-align: center;
}
.ar-saved-chat .ar-chat-welcome-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid var(--op-border);
  border-radius: 17px;
  background: var(--op-panel);
}
.ar-chat-welcome-avatar .agentic-model-logo {
  width: 33px;
  height: 33px;
  object-fit: contain;
  padding: 3px;
  border-radius: 8px;
  background: #f6f3ed;
  color: #202622;
}
.ar-saved-chat .ar-chat-welcome h1 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 0;
}
.ar-saved-chat .ar-chat-welcome > p {
  margin: 14px auto 0;
  font-size: 13px;
  color: var(--op-muted);
  max-width: 380px;
  line-height: 1.8;
}
.ar-saved-chat .ar-chat-prompts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: none;
  gap: 8px;
  margin: 26px auto 0;
}
.ar-saved-chat .ar-chat-prompts button {
  font-size: 11px;
  padding: 9px 12px;
  border: 1px solid var(--op-border);
  background: transparent;
  border-radius: 8px;
  color: var(--op-muted);
  text-align: center;
}
.ar-saved-chat .ar-chat-prompts button:hover {
  color: var(--op-ink);
  background: var(--op-panel);
}
.ar-saved-chat .ar-chat-turn {
  font-size: 14px;
  line-height: 1.8;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 34px;
  white-space: normal;
}
.ar-saved-chat .ar-chat-turn.you {
  width: fit-content;
  max-width: 85%;
  margin-left: auto;
  margin-right: 0;
  border: 0;
  background: var(--op-panel);
  border-radius: 15px;
  padding: 12px 17px;
}
.ar-chat-turn.you .ar-message-text {
  white-space: pre-wrap;
}
.ar-saved-chat .ar-chat-turn > .ar-answer-identity {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
  text-transform: none;
  letter-spacing: 0;
  color: var(--op-ink);
  margin-bottom: 12px;
}
.ar-answer-identity .agentic-mark {
  width: 23px;
  height: 23px;
}
.ar-message-text {
  overflow-wrap: anywhere;
  min-width: 0;
}
.ar-message-text > div {
  color: var(--op-ink) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
}
.ar-message-text strong,
.ar-message-text em {
  color: inherit !important;
}
.ar-message-text a {
  color: var(--op-accent) !important;
  text-decoration-color: var(--op-accent) !important;
}
.ar-message-text code {
  color: var(--op-ink) !important;
  background: var(--op-panel) !important;
  font-family: ui-monospace, monospace !important;
}
.ar-message-text [style*="Courier Prime"] {
  font-family: ui-monospace, monospace !important;
  color: var(--op-ink) !important;
}
.ar-message-text [style*="255,230,203"],
.ar-message-text [style*="FFE6CB"],
.ar-message-text [style*="243,233,218"] {
  color: var(--op-ink) !important;
  border-color: var(--op-border) !important;
}
.ar-message-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 13px;
  color: var(--op-muted);
}
.ar-message-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  opacity: 0.8;
}
.ar-message-actions button:hover {
  color: var(--op-accent);
  opacity: 1;
}
.ar-thinking {
  display: flex;
  gap: 5px;
  padding: 9px 0;
}
.ar-thinking i {
  height: 5px;
  width: 5px;
  background: var(--op-muted);
  border-radius: 100%;
  animation: ar-think 1.4s infinite;
}
.ar-thinking i:nth-child(2) {
  animation-delay: 0.2s;
}
.ar-thinking i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes ar-think {
  0%,
  80%,
  100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}
.ar-message-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ar-message-files details {
  max-width: 100%;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  background: var(--op-inset);
  padding: 10px 12px;
  font-size: 11px;
}
.ar-message-files summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.ar-message-files summary small {
  display: block;
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 3px;
}
.ar-message-files pre {
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  font:
    11px/1.7 ui-monospace,
    monospace;
  padding-top: 12px;
}
.ar-saved-chat .ar-chat-composer {
  position: relative;
  flex-shrink: 0;
  width: calc(100% - 56px);
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ar-agentic-prompt {
  --card: var(--op-panel);
  --foreground: var(--op-ink);
  --muted-foreground: var(--op-muted);
  --border: var(--op-border);
  --primary: var(--op-accent);
  --primary-foreground: var(--op-bg);
  --accent: var(--op-inset);
  --ring: var(--op-accent);
  --muted: var(--op-inset);
  --background: var(--op-bg);
}
.ar-agentic-prompt textarea {
  font-family: inherit;
  font-size: 14px;
  resize: none;
}
.ar-agentic-prompt .agentic-model-logo,
.ar-answer-identity .agentic-model-logo {
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 6px;
  background: #f6f3ed;
  color: #202622;
  object-fit: contain;
  flex: none;
}
.ar-calendar-review {
  max-height: min(540px, 65dvh);
  overflow-y: auto;
}
.ar-calendar-review h3 {
  margin-bottom: 12px;
}
.ar-calendar-review form {
  display: grid;
  gap: 10px;
}
.ar-calendar-review label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  color: var(--op-muted);
}
.ar-calendar-review input,
.ar-calendar-review select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--op-border);
  border-radius: 7px;
  padding: 8px;
  background: var(--op-bg);
  color: var(--op-ink);
  font: inherit;
}
.ar-calendar-review-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ar-calendar-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.ar-calendar-review p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ar-calendar-review a {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .ar-calendar-review-times {
    grid-template-columns: 1fr;
  }
}
.agentic-model-picker {
  overflow: hidden;
  background: var(--op-panel, var(--card));
  color: var(--op-ink, var(--foreground));
  border: 1px solid var(--op-border, var(--border));
}
.agentic-model-picker input,
.agentic-model-picker .agentic-model-groups,
.agentic-model-picker .ar-prompt-provider {
  flex-shrink: 0;
}
.agentic-model-picker input {
  min-width: 0;
  width: calc(100% - 8px);
}
.agentic-model-options small {
  margin-top: 3px;
  font-size: 10px;
}
.agentic-model-options button[aria-pressed="true"] {
  background: var(--op-inset, var(--accent));
}
.agentic-model-groups img,
.ar-prompt-provider img {
  background: #f6f3ed;
  padding: 2px;
  border-radius: 4px;
}
.ar-page-chat {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--op-border);
  border-radius: 16px;
  background: var(--op-panel);
}
.ar-page-chat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}
.ar-page-chat-label small {
  color: var(--op-muted);
  font-size: 11px;
}
.ar-history-row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  border-radius: 8px;
  margin-bottom: 4px;
  color: var(--op-muted);
}
.ar-history-row.active,
.ar-history-row:hover {
  background: var(--op-panel);
  color: var(--op-ink);
}
.ar-history-select {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  text-align: left;
}
.ar-history-select > span {
  display: block;
  min-width: 0;
}
.ar-history-menu-trigger {
  align-self: center;
  margin: 0 5px 0 0;
  padding: 5px;
  border-radius: 5px;
}
.ar-history-menu-trigger:focus-visible,
.ar-history-select:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: -2px;
}
.ar-history-menu {
  width: 100%;
  padding: 5px;
  border-top: 1px solid var(--op-border);
  background: var(--op-panel);
}
.ar-history-menu button {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 9px;
  font-size: 12px;
  border-radius: 5px;
}
.ar-history-menu button:hover,
.ar-history-menu button:focus-visible {
  background: var(--op-inset);
}
.ar-history-rename {
  padding: 10px;
  width: 100%;
  font-size: 11px;
}
.ar-history-rename input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--op-border);
  background: var(--op-bg);
  color: var(--op-ink);
  padding: 8px;
  border-radius: 5px;
  margin: 5px 0 8px;
}
.ar-history-rename > div {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.ar-agentic-prompt button > span.text-xs {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agentic-model-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
}
.agentic-model-groups button {
  padding: 6px 8px;
  font-size: 10px;
  border-radius: 6px;
  color: var(--op-muted);
}
.agentic-model-groups button[aria-pressed="true"] {
  background: var(--op-accent-soft);
  color: var(--op-ink);
}
.ar-prompt-provider {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 8px 8px;
  border-top: 1px solid var(--op-border);
  margin-top: 6px;
  font-size: 10px;
  color: var(--op-muted);
}
.ar-prompt-provider img,
.ar-prompt-provider > svg {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.ar-prompt-provider button {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
}
.ar-composer-hint {
  font-size: 9px;
  color: var(--op-muted);
  text-align: center;
  padding-top: 9px;
  opacity: 0.75;
}
.ar-saved-chat .ar-chat-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 816px;
  margin: 0 auto;
  padding: 10px 28px 17px;
  font-size: 9px;
}
.ar-chat-save-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ar-chat-save-state.saved {
  color: var(--op-muted);
}
.ar-chat-save-state.error {
  color: #c17b64;
}
.ar-chat-save-error,
.ar-chat-memory-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin: 10px 22px 0;
  padding: 11px 14px;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  background: var(--op-inset);
  font-size: 11px;
  line-height: 1.7;
  color: var(--op-muted);
}
.ar-chat-save-error {
  border-color: #c17b6470;
}
.ar-chat-save-error button {
  text-decoration: underline;
  flex-shrink: 0;
  color: var(--op-ink);
}
@media (max-width: 900px) {
  .ar-saved-chat .ar-chat-history {
    position: absolute;
    inset: 0 auto 0 0;
    width: 260px;
    max-width: 85%;
    z-index: 25;
    box-shadow: 20px 0 60px #0003;
    background: var(--op-panel);
  }
  .ar-saved-chat .ar-chat-header {
    padding: 13px;
    gap: 8px;
    min-height: 62px;
  }
  .ar-saved-chat .ar-chat-transcript {
    padding: 24px;
  }
  .ar-saved-chat .ar-chat-welcome {
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  #argentic-chat-host.ar-chat-workspace-host {
    height: calc(100dvh - 88px);
    min-height: 420px;
  }
  .ar-saved-chat {
    border-radius: 12px;
  }
  .ar-saved-chat .ar-chat-mark {
    display: none;
  }
  .ar-saved-chat .ar-chat-header {
    gap: 7px;
  }
  .ar-saved-chat-actions {
    gap: 1px;
  }
  .ar-chat-new,
  .ar-chat-sources-toggle {
    padding: 7px;
  }
  .ar-chat-new > span,
  .ar-chat-sources-toggle > span:not(.ar-context-logos) {
    display: none;
  }
  .ar-context-logos > span:nth-child(n + 3) {
    display: none;
  }
  .ar-saved-chat .ar-chat-welcome h1 {
    font-size: 27px;
  }
  .ar-saved-chat .ar-chat-welcome-avatar {
    width: 48px;
    height: 48px;
  }
  .ar-saved-chat .ar-chat-prompts {
    gap: 7px;
    margin-top: 20px;
  }
  .ar-saved-chat .ar-chat-prompts button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .ar-saved-chat .ar-chat-transcript {
    padding: 20px 16px;
  }
  .ar-saved-chat .ar-chat-composer {
    width: calc(100% - 24px);
  }
  .ar-agentic-prompt textarea {
    font-size: 16px;
  }
  .ar-agentic-prompt button > span.text-xs {
    max-width: 115px;
    font-size: 10px;
  }
  .ar-saved-chat .ar-chat-foot {
    padding: 10px 14px 12px;
    font-size: 8px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .ar-chat-context-panel {
    padding: 15px;
  }
  .ar-chat-turn.you {
    max-width: 92% !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ar-thinking i {
    animation: none;
  }
}
.agentic-model-groups button {
  display: flex;
  align-items: center;
  gap: 5px;
}
.agentic-model-groups img,
.agentic-model-groups svg {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.ar-model-setup {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--op-border);
  border-radius: 12px;
  background: var(--op-inset);
  font-size: 11px;
}
.ar-model-setup strong {
  font-weight: 550;
  color: var(--op-ink);
}
.ar-model-setup p {
  color: var(--op-muted);
  line-height: 1.65;
  margin-top: 5px;
  max-width: 440px;
}
.ar-model-setup > div:last-child {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.ar-model-setup button {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--op-accent);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .ar-model-setup {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }
}

.agentic-model-readiness {
  border-top: 1px solid var(--op-border, var(--border));
  padding: 8px 10px;
  font-size: 11px;
  color: var(--op-muted, var(--muted-foreground));
  overflow-y: auto;
  max-height: 160px;
}
.agentic-model-readiness summary {
  cursor: pointer;
  color: var(--op-ink, var(--foreground));
}
.agentic-model-readiness p {
  margin: 8px 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Chat: one model selector, a quiet canvas and compact, persistent history. */
.ar-saved-chat .ar-chat-header {
  min-height: 76px;
  padding: 12px 20px;
  background: var(--op-bg);
}
.ar-saved-chat .ar-chat-model-host {
  flex: 1;
  min-width: 0;
}
.ar-chat-model-host .agentic-model-trigger {
  max-width: 100%;
  gap: 11px;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--op-ink);
  cursor: pointer;
}
.ar-chat-model-host .agentic-model-trigger:hover {
  background: var(--op-panel);
}
.ar-chat-model-host .agentic-model-logo {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 10px;
  background: #f5f3f0;
}
.ar-chat-model-host .agentic-model-trigger-copy {
  min-width: 0;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}
.ar-chat-model-host .agentic-model-trigger-copy > span {
  max-width: 100%;
}
.ar-chat-model-host .agentic-model-trigger-copy small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
  color: var(--op-muted);
}
.agentic-model-chevron {
  margin-left: 5px;
  color: var(--op-muted);
  flex: none;
}
.ar-chat-model-host .agentic-model-chevron {
  margin-left: 8px;
}
.agentic-model-picker-heading {
  padding: 9px 10px 10px;
}
.agentic-model-picker-heading strong {
  font-size: 13px;
  font-weight: 550;
}
.agentic-model-picker-heading p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--op-muted);
  margin-top: 4px;
}
.agentic-model-options button[aria-pressed="true"] {
  background: var(--op-accent-soft);
}
.agentic-model-options button[aria-pressed="true"]::after {
  content: "✓";
  flex: none;
  margin-left: 8px;
  color: var(--op-accent);
}
.agentic-model-options button > span {
  min-width: 0;
}
.agentic-model-options button > span > span {
  overflow-wrap: anywhere;
}
.ar-saved-chat .ar-saved-chat-main {
  position: relative;
  isolation: isolate;
  background: var(--op-bg);
}
.ar-saved-chat-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  background-size: 180px;
}
.ar-saved-chat .ar-chat-history {
  flex-basis: 244px;
  width: 244px;
  padding-top: 4px;
  background: color-mix(in srgb, var(--op-bg) 55%, var(--op-panel));
}
.ar-chat-history .ar-chat-history-heading {
  padding: 15px 17px 10px;
}
.ar-chat-history-heading h2 {
  color: var(--op-ink);
  font-size: 12px;
}
.ar-chat-history .ar-history-new {
  padding: 10px 11px;
  margin: 0 12px 16px;
  font-size: 12px;
  background: transparent;
}
.ar-chat-history .ar-history-search {
  margin: 0 17px 18px;
}
.ar-chat-history .ar-history-row {
  margin-bottom: 2px;
}
.ar-chat-history .ar-history-select {
  padding: 10px;
}
.ar-chat-history .ar-history-menu-trigger {
  align-self: center;
  margin: 0 5px 0 0;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.ar-chat-history .ar-history-row:hover .ar-history-menu-trigger,
.ar-chat-history .ar-history-row:focus-within .ar-history-menu-trigger,
.ar-chat-history .ar-history-row.active .ar-history-menu-trigger {
  opacity: 1;
}
.ar-chat-history strong {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.ar-chat-history .ar-history-row.active {
  background: var(--op-accent-soft);
}
.ar-chat-history .ar-history-row.active strong {
  color: var(--op-ink);
}
.ar-chat-history nav > button > span {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}
.ar-chat-history .ar-history-draft-label {
  display: inline-block;
  flex: none;
  margin: 0;
  font-size: 9px;
  color: var(--op-accent);
}
.ar-chat-history .ar-history-note {
  padding: 15px 17px;
  font-size: 10px;
}
.ar-saved-chat .ar-chat-transcript {
  padding-top: 34px;
  padding-bottom: 24px;
}
.ar-saved-chat .ar-chat-turn.you {
  border: 1px solid color-mix(in srgb, var(--op-border) 65%, transparent);
  border-radius: 16px 16px 4px 16px;
  background: var(--op-panel);
  padding: 13px 18px;
}
.ar-saved-chat .ar-chat-welcome {
  max-width: 550px;
  margin: 0 auto;
}
.ar-saved-chat .ar-chat-welcome-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid var(--op-border);
  border-radius: 20px;
  background: var(--op-panel);
  box-shadow: 0 4px 25px #00000008;
}
.ar-chat-welcome-avatar .agentic-model-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #f5f3f0;
  border-radius: 10px;
  padding: 6px;
}
.ar-saved-chat .ar-chat-welcome h1 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 450;
  letter-spacing: -1.6px;
}
.ar-saved-chat .ar-chat-welcome > p {
  max-width: 375px;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 14px;
}
.ar-saved-chat .ar-chat-prompts {
  margin-top: 23px;
  gap: 7px;
}
.ar-saved-chat .ar-chat-prompts button {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--op-bg);
  font-size: 11px;
}
.ar-saved-chat-main.is-new-chat .ar-chat-transcript {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 32px;
}
.ar-saved-chat-main.is-new-chat .ar-chat-composer {
  margin-bottom: auto;
}
.ar-saved-chat .ar-chat-composer > .ar-agentic-prompt > .relative.w-full {
  border-radius: 18px !important;
  border-color: var(--op-border);
  box-shadow: 0 6px 26px #00000009;
}
.ar-saved-chat .ar-chat-composer > .ar-agentic-prompt > .relative.w-full:focus-within {
  border-color: color-mix(in srgb, var(--op-accent) 50%, var(--op-border));
}
.ar-saved-chat .ar-chat-composer textarea {
  padding: 17px 20px;
  font-size: 14px;
}
.ar-saved-chat .ar-composer-hint {
  font-size: 10px;
  padding-top: 11px;
}
.ar-saved-chat .ar-chat-foot {
  font-size: 10px;
  padding-top: 14px;
  padding-bottom: 17px;
}
.ar-saved-chat .ar-chat-sources-toggle {
  padding: 9px 10px;
  font-size: 11px;
}
.ar-saved-chat .ar-context-logos > span {
  border-color: var(--op-bg);
  width: 26px;
  height: 26px;
}
@media (hover: none) {
  .ar-chat-history .ar-history-menu-trigger {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .ar-saved-chat .ar-chat-history {
    background: var(--op-panel);
  }
  .ar-chat-model-host .agentic-model-trigger-copy {
    max-width: 240px;
  }
  .ar-chat-model-host .agentic-model-trigger {
    padding: 4px;
    gap: 8px;
  }
  .ar-saved-chat .ar-chat-header {
    padding: 10px 12px;
  }
}
@media (max-width: 600px) {
  .ar-chat-model-host .agentic-model-trigger-copy {
    max-width: calc(100vw - 204px);
    font-size: 12px;
  }
  .ar-chat-model-host .agentic-model-logo {
    width: 30px;
    height: 30px;
  }
  .ar-saved-chat .ar-chat-header {
    min-height: 68px;
    gap: 5px;
  }
  .ar-saved-chat .ar-saved-chat-actions {
    gap: 0;
  }
  .ar-saved-chat .ar-chat-sources-toggle {
    padding: 4px;
  }
  .ar-saved-chat .ar-context-logos > span:nth-child(n + 2) {
    display: none;
  }
  .ar-saved-chat .ar-chat-sources-toggle > svg {
    display: none;
  }
  .ar-saved-chat .ar-chat-new {
    padding: 7px 4px;
  }
  .ar-saved-chat .ar-chat-welcome > p {
    max-width: 280px;
    font-size: 12px;
  }
  .ar-saved-chat .ar-chat-welcome-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .ar-saved-chat .ar-chat-welcome h1 {
    font-size: 32px;
  }
  .ar-saved-chat .ar-chat-prompts button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .ar-saved-chat-main.is-new-chat .ar-chat-transcript {
    padding-top: 24px;
    padding-bottom: 25px;
  }
  .ar-saved-chat .ar-chat-foot {
    padding: 12px 18px 15px;
    font-size: 9px;
  }
  .ar-saved-chat .ar-chat-composer {
    width: calc(100% - 32px);
  }
  .ar-saved-chat .ar-chat-turn {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ar-chat-history .ar-history-menu-trigger {
    transition: none;
  }
  .ar-chat-model-host .agentic-model-trigger-copy > span {
    transition: none;
  }
}

.ar-chat-model-host .agentic-model-control {
  width: fit-content;
  max-width: 100%;
}
.ar-chat-model-host .agentic-model-trigger-copy > span > span {
  justify-content: flex-start;
}
.agentic-model-picker-heading,
.agentic-model-readiness {
  flex-shrink: 0;
}
.agentic-model-picker > div {
  flex: 1;
  overflow: hidden;
}
.agentic-model-readiness {
  max-height: 110px;
  overflow-y: auto;
}
.agentic-model-options {
  flex: 1 1 auto;
}
@media (prefers-reduced-motion: reduce) {
  .ar-thinking i {
    animation: none;
    opacity: 0.6;
  }
}

.ar-chat-model-host .agentic-model-header-name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .ar-saved-chat *,
  .agentic-model-picker * {
    animation: none !important;
    transition: none !important;
  }
}

/* Four connections. Provider names stay above the models, with no duplicate routes. */
.agentic-model-groups.is-runtime-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
}
.agentic-model-groups.is-runtime-grid button {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 15px 5px 12px;
  border: 1px solid var(--op-border);
  border-radius: 12px;
  background: var(--op-bg);
  font-size: 12px;
  color: var(--op-ink);
  cursor: pointer;
}
.agentic-model-groups.is-runtime-grid button[aria-pressed="true"] {
  border-color: var(--op-accent);
  background: var(--op-accent-soft);
}
.agentic-model-groups.is-runtime-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  padding: 6px;
  border-radius: 10px;
  background: #f5f4f2;
}
.agentic-runtime-description {
  padding: 7px 10px;
  min-height: 38px;
  font-size: 11px;
  color: var(--op-muted);
  line-height: 1.5;
  flex-shrink: 0;
}
.agentic-model-picker-heading strong { font-size: 16px; letter-spacing: -.3px; }
.agentic-model-picker-heading { padding: 12px 10px; }
.agentic-model-picker input { padding: 12px; }
.agentic-model-options { padding: 4px; }
.agentic-model-options button { min-height: 57px; font-size: 12px; padding: 10px; }
.agentic-model-options .agentic-model-logo { width: 28px; height: 28px; margin-right: 4px; }

/* The full-size workspace uses one reading column and a quieter frame. */
#argentic-chat-host.ar-chat-workspace-host { height: calc(100dvh - 95px); }
.ar-saved-chat { border-radius: 18px; }
.ar-saved-chat .ar-chat-header { min-height: 70px; padding: 10px 18px; }
.ar-saved-chat .ar-chat-history { flex-basis: 218px; width: 218px; }
.ar-saved-chat .ar-chat-transcript { padding: 32px max(24px, calc((100% - 800px) / 2)) 24px; }
.ar-saved-chat .ar-chat-turn { max-width: 800px; margin-bottom: 28px; }
.ar-saved-chat .ar-chat-turn.you {
  max-width: min(85%, 660px);
  padding: 14px 20px;
  background: color-mix(in srgb, var(--op-accent) 11%, var(--op-panel));
  border-color: color-mix(in srgb, var(--op-accent) 13%, var(--op-border));
}
.ar-saved-chat .ar-chat-turn.oracle > .ar-message-text {
  background: color-mix(in srgb, var(--op-panel) 52%, transparent);
  border: 1px solid color-mix(in srgb, var(--op-border) 65%, transparent);
  border-radius: 3px 17px 17px;
  padding: 18px 22px;
}
.ar-saved-chat .ar-chat-composer { max-width: 800px; }
.ar-saved-chat-main.is-new-chat .ar-chat-transcript { flex: 1; margin-top: 0; padding-bottom: 45px; }
.ar-saved-chat-main.is-new-chat .ar-chat-composer { margin-bottom: 0; }
.ar-saved-chat .ar-chat-welcome h1 { font-size: clamp(34px, 3.8vw, 48px); }
.ar-saved-chat .ar-chat-welcome > p { max-width: 390px; }
.ar-saved-chat .ar-chat-foot { justify-content: center; gap: 18px; padding: 12px 20px; }
.ar-saved-chat .ar-chat-foot > span:first-child { display: none; }
.ar-agentic-prompt .agentic-prompt-send.is-send {
  background: linear-gradient(135deg, #e8449a 0%, #cf2059 42%, #eb502b 73%, #ef9728 100%);
  color: #fff;
  border-radius: 12px !important;
  box-shadow: 0 3px 14px #d12b4b30, inset 0 1px 0 #ffffff30;
}
.ar-agentic-prompt .agentic-prompt-send { width: 36px; height: 36px; }
.ar-agentic-prompt .agentic-prompt-send.is-send:hover { transform: translateY(-1px); opacity: 1; }
.ar-chat-activity { margin: 0 0 13px; color: var(--op-muted); font-size: 11px; }
.ar-chat-activity summary { display: flex; align-items: center; gap: 9px; cursor: pointer; width: fit-content; }
.ar-chat-activity p { display: flex; align-items: center; gap: 8px; margin: 9px 0 0 3px; }
.ar-chat-activity p svg { color: var(--op-mint); }
.ar-activity-pulse { width: 6px; height: 6px; background: var(--op-accent); border-radius: 100%; animation: ar-think 1.4s infinite; }
.ar-answer-skeleton { display: grid; gap: 10px; padding: 2px 0; }
.ar-answer-skeleton i { height: 8px; border-radius: 5px; background: var(--op-border); opacity: .4; animation: ar-think 1.8s infinite; }
.ar-answer-skeleton i:nth-child(2) { width: 80%; animation-delay: .15s; }
.ar-answer-skeleton i:nth-child(3) { width: 55%; animation-delay: .3s; }
.ar-answer-sources { margin-top: 15px; font-size: 11px; color: var(--op-muted); }
.ar-answer-sources summary { display: flex; gap: 7px; align-items: center; cursor: pointer; width: fit-content; }
.ar-source-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ar-source-cards button { display: flex; align-items: flex-start; gap: 10px; padding: 13px; min-width: 0; text-align: left; background: var(--op-panel); border: 1px solid var(--op-border); border-radius: 12px; }
.ar-source-cards button:hover { border-color: var(--op-accent); }
.ar-source-cards button > svg { flex-shrink: 0; margin-top: 3px; }
.ar-source-cards img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; }
.ar-source-cards span { min-width: 0; }
.ar-source-cards strong { display: block; font-size: 11px; color: var(--op-ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-source-cards small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; margin: 5px 0; font-size: 10px; }
.ar-source-cards em { display: flex; align-items: center; gap: 4px; margin-top: 7px; font-size: 9px; font-style: normal; }
@media (max-width: 600px) {
  .agentic-model-groups.is-runtime-grid { gap: 5px; }
  .agentic-model-groups.is-runtime-grid button { font-size: 10px; padding: 12px 2px; gap: 8px; }
  .agentic-model-groups.is-runtime-grid img { width: 32px; height: 32px; }
  .ar-saved-chat .ar-chat-transcript { padding: 23px 16px; }
  .ar-saved-chat .ar-chat-turn.oracle > .ar-message-text { padding: 13px 15px; }
  .ar-source-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ar-activity-pulse, .ar-answer-skeleton i { animation: none; }
  .ar-agentic-prompt .agentic-prompt-send.is-send:hover { transform: none; }
}
.ar-private-advisor-toggle { display: flex; align-items: center; gap: 7px; font-size: 11px; padding: 6px 10px; border: 1px solid var(--op-border); border-radius: 999px; color: var(--op-muted); }
.ar-private-advisor-toggle:hover, .ar-private-advisor-toggle[aria-pressed="true"] { color: var(--op-ink); background: var(--op-panel); }
.ar-private-advisor-toggle img { height: 23px; width: 23px; border-radius: 100%; object-fit: cover; }
.ar-private-advisor-identity { display: flex; gap: 11px; align-items: center; padding: 6px 10px; }
.ar-private-advisor-identity img { width: 38px; height: 38px; border-radius: 100%; }
.ar-private-advisor-identity strong { display: block; font-size: 14px; font-weight: 550; }
.ar-private-advisor-identity small { display: block; font-size: 10px; color: var(--op-muted); margin-top: 3px; }
.ar-private-reply-avatar { width: 26px; height: 26px; border-radius: 100%; object-fit: cover; }
.ar-private-welcome-avatar { width: 60px; height: 60px; border-radius: 100%; }
@media (max-width: 700px) { .ar-private-advisor-toggle span { display: none; } .ar-private-advisor-toggle { padding: 4px; border: 0; } }
/* Parent page button defaults must not override the composer action. */
.ar-saved-chat .ar-agentic-prompt button.agentic-prompt-send.is-send {
  border-radius: 12px !important;
  color: #fff !important;
}
.ar-saved-chat .ar-agentic-prompt button.agentic-prompt-send.is-send svg { color: #fff !important; }
.ar-message-text .ar-advisor-references { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 18px; }
.ar-advisor-references a { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--op-border); background: var(--op-panel); border-radius: 12px; padding: 13px; text-decoration: none; }
.ar-advisor-references a > svg { flex: none; margin-top: 3px; }
.ar-advisor-references a > span { flex: 1; min-width: 0; }
.ar-advisor-references small { display: block; color: var(--op-muted); font-size: 9px; margin-bottom: 4px; }
.ar-advisor-references strong { display: block; font-size: 11px; line-height: 1.5; font-weight: 500; }
.ar-advisor-references em { display: block; color: var(--op-muted); font-size: 10px; font-style: normal; line-height: 1.5; margin-top: 4px; }
.ar-advisor-references a:hover { border-color: var(--op-accent); }
@media(max-width:600px) { .ar-message-text .ar-advisor-references { grid-template-columns: 1fr; } }

/* Chat controls: one workspace choice, direct context switches, quiet canvas. */
.ar-saved-chat .ar-chat-header { padding: 11px 16px; min-height: 66px; flex-wrap: wrap; }
.ar-chat-mode-selector { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--op-border); border-radius: 12px; background: var(--op-inset); }
.ar-chat-mode-selector button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 11px; border-radius: 8px; font-size: 12px; color: var(--op-muted); transition: background .18s, color .18s; white-space: nowrap; }
.ar-chat-mode-selector button[aria-pressed=true] { color: var(--op-ink); background: var(--op-panel); box-shadow: 0 1px 4px #0002, inset 0 0 0 1px var(--op-border); }
.ar-chat-mode-selector img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ar-saved-chat-actions { margin-left: auto; gap: 10px; }
.ar-chat-context-switches, .ar-chat-logo-switches { display: flex; align-items: center; gap: 5px; }
.ar-chat-context-switches { gap: 10px; }
.ar-context-master { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--op-muted); }
.ar-context-master i { display: inline-block; width: 26px; height: 15px; border-radius: 20px; background: var(--op-border); padding: 2px; }
.ar-context-master i::after { content: ''; display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--op-muted); transition: transform .18s, background .18s; }
.ar-context-master[aria-checked=true] i { background: color-mix(in srgb,var(--op-accent) 35%,var(--op-panel)); }
.ar-context-master[aria-checked=true] i::after { transform: translateX(11px); background: var(--op-accent); }
.ar-chat-logo-switches button { display: grid; place-items: center; width: 31px; height: 31px; padding: 5px; border-radius: 50%; border: 1px solid transparent; transition: opacity .18s, background .18s; }
.ar-chat-logo-switches button[aria-checked=true] { background: var(--op-panel); border-color: var(--op-border); }
.ar-chat-logo-switches button[aria-checked=false] { opacity: .35; filter: grayscale(1); }
.ar-chat-logo-switches button:hover:not(:disabled) { border-color: var(--op-accent); }
.ar-chat-logo-switches img, .ar-chat-logo-switches svg { width: 20px; height: 20px; object-fit: contain; }
.agentic-personal-orb { display: inline-block; width: 21px; height: 21px; border-radius: 50%; background: radial-gradient(circle at 33% 25%, #eee3ff 0%, #c6a6ea 24%, #756395 52%, #282334 80%); box-shadow: inset 0 0 3px #fff5, 0 0 9px #b18be825; }
.agentic-openrouter-mark { display: inline-block; width: 24px; height: 24px; background: currentColor !important; mask-position: center; mask-repeat: no-repeat; mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; }
.agentic-model-groups.is-runtime-grid .agentic-openrouter-mark { width: 40px; height: 40px; padding: 0; border-radius: 0; }
.agentic-runtime-logo[data-brand=hermes], .ar-saved-chat img[data-brand=hermes] { border-radius: 50% !important; padding: 0 !important; clip-path: circle(46%); object-fit: cover; background: transparent !important; }
.ar-saved-chat-main::before { opacity: .085; }
.ar-saved-chat .ar-saved-chat-main { background: radial-gradient(ellipse at 52% 25%, color-mix(in srgb,var(--op-ink) 2.5%,transparent),transparent 75%), var(--op-bg); }
.ar-saved-chat .ar-chat-composer { margin-bottom: 22px !important; padding-bottom: 0; }
.agentic-composer-controls.is-right-aligned { justify-content: flex-end; gap: 3px; }
.agentic-composer-controls.is-right-aligned > button[aria-label="Attach files"] { order: -1; margin-left: 0; margin-right: auto; flex-shrink: 0; }
.agentic-composer-controls.is-right-aligned .agentic-model-trigger { max-width: min(290px,45vw); min-width: 0; }
.agentic-effort-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; font-size: 12px; color: var(--op-muted); white-space: nowrap; border-radius: 8px; flex-shrink: 0; }
.agentic-effort-trigger:hover, .agentic-effort-trigger[aria-expanded=true] { color: var(--op-ink); background: var(--op-inset); }
.agentic-effort-bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.agentic-effort-bars i { width: 3px; height: 5px; border-radius: 2px; background: var(--op-border); transition: background .2s; }
.agentic-effort-bars i:nth-child(2) { height: 8px; }.agentic-effort-bars i:nth-child(3) { height: 11px; }.agentic-effort-bars i:nth-child(4) { height: 14px; }
.agentic-effort-bars i[data-lit=true] { background: var(--op-accent); }
.agentic-effort-popover { border: 1px solid var(--op-border); border-radius: 20px; padding: 20px; background: var(--op-panel); color: var(--op-ink); box-shadow: 0 16px 55px #0004; font-family: inherit; }
.agentic-effort-heading { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.agentic-effort-heading > span:first-child { color: var(--op-muted); }.agentic-effort-heading strong { color: var(--op-accent); font-weight: 550; }
.agentic-effort-help { margin-left: auto; display: grid; place-items: center; border: 1.5px solid var(--op-muted); color: var(--op-muted); border-radius: 50%; width: 17px; height: 17px; font-size: 11px; }
.agentic-effort-endpoints { display: flex; justify-content: space-between; margin: 22px 0 13px; color: var(--op-muted); font-size: 13px; }
.agentic-effort-track { position: relative; height: 38px; border-radius: 12px; background: color-mix(in srgb,var(--op-ink) 7%,var(--op-panel)); box-shadow: inset 0 1px 3px #00000008; isolation: isolate; }
.agentic-effort-energy { position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: linear-gradient(90deg,transparent,color-mix(in srgb,var(--op-accent) 85%,white)); clip-path: inset(0 calc(100% - var(--effort-progress)) 0 0 round 12px); opacity: calc(.15 + var(--effort-power) * .65);  }
.agentic-effort-pixel-field { position: absolute; inset: 3px 12px; width: calc(100% - 24px); height: 32px; overflow: visible; pointer-events: none; }
.agentic-effort-pixel-field rect { fill: var(--op-accent); opacity: .025; }
.agentic-effort-pixel-field rect.is-active { opacity: var(--pixel-opacity); fill: color-mix(in srgb,var(--op-accent) 55%,white); animation: none; }
.agentic-effort-popover[data-max-effort="true"] .agentic-effort-pixel-field { filter: drop-shadow(0 0 3px color-mix(in srgb,var(--op-accent) 35%,transparent)); }
.agentic-effort-stops { position: absolute; inset: 0 15px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }.agentic-effort-stops i { width: 4px; height: 4px; border-radius: 50%; background: var(--op-muted); opacity: .6; }
.agentic-effort-track input { appearance: none; -webkit-appearance: none; position: absolute; inset: 0; width: 100%; height: 38px; margin: 0; cursor: ew-resize; background: transparent; border-radius: 12px; }
.agentic-effort-track input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 28px; height: 38px; border: 1px solid #0000000a; border-radius: 12px; background: #fff; box-shadow: 0 1px 6px #0002,0 0 0 1px #ffffff50; }
.agentic-effort-track input::-moz-range-thumb { width: 28px; height: 36px; border: 1px solid #0000000a; border-radius: 12px; background: #fff; box-shadow: 0 1px 6px #0002; }
.agentic-effort-track input:focus-visible { outline: 2px solid var(--op-accent); outline-offset: 5px; }
.agentic-effort-popover[data-max-effort="true"] .agentic-effort-pixel-field rect.is-active { animation: ar-effort-pixel 2.4s ease-in-out var(--pixel-delay) infinite; }
@keyframes ar-effort-pixel { 0%,65%,100% { opacity: calc(var(--pixel-opacity) * .35); } 32% { opacity: 1; } }
.ar-chat-left-dock { position: sticky; top: 56px; height: calc(100dvh - 56px); width: 440px; flex: 0 0 440px; order: -1; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--op-border); z-index: 20; }
.ar-chat-left-dock .ar-saved-chat { flex: 1; min-height: 0; border: 0; border-radius: 0; }
.ar-chat-dock-heading { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: var(--op-panel); border-bottom: 1px solid var(--op-border); font-size: 10px; color: var(--op-muted); }
.ar-chat-dock-heading > span { flex: 1; }
.ar-chat-left-dock .ar-chat-header { padding: 9px; gap: 5px; }
.ar-chat-left-dock .ar-saved-chat-actions { width: 100%; margin-left: 0; justify-content: space-between; gap: 5px; }
.ar-chat-left-dock .ar-chat-new span, .ar-chat-left-dock .ar-chat-dock-toggle { display: none; }
.ar-chat-left-dock .ar-chat-transcript { padding: 20px 16px; }
.ar-chat-left-dock .ar-chat-welcome { margin: 20px auto; }.ar-chat-left-dock .ar-chat-welcome h1 { font-size: 27px; }
.ar-chat-left-dock .ar-chat-composer { width: calc(100% - 24px); margin-bottom: 12px !important; }
.ar-chat-left-dock .ar-chat-history { position: absolute; inset: 0; width: 100%; z-index: 8; }
.ar-chat-left-dock .ar-chat-source-cards { grid-template-columns: 1fr; }
@media(max-width:1250px) { .ar-saved-chat .ar-saved-chat-actions { gap: 6px; }.ar-chat-new span { display: none; }.ar-chat-left-dock { width: 380px; flex-basis: 380px; } }
@media(max-width:1050px) { .ar-saved-chat .ar-chat-header { gap: 7px; }.ar-chat-context-switches { gap: 6px; }.ar-chat-logo-switches { gap: 1px; }.ar-chat-logo-switches button { width: 28px; height: 28px; } }
@media(max-width:700px) { .ar-saved-chat .ar-chat-header { padding: 9px 10px; }.ar-saved-chat-actions { width: 100%; justify-content: space-between; margin-left: 0; }.ar-chat-mode-selector { flex: 1; }.ar-chat-mode-selector button { flex: 1; }.ar-saved-chat .ar-chat-composer { margin-bottom: 12px !important; }.agentic-composer-controls.is-right-aligned .agentic-model-trigger { max-width: 150px; }.agentic-effort-trigger { gap: 4px; font-size: 10px; padding: 7px 4px; }.agentic-effort-bars { display: none; } }
@media(max-width:950px) { .ar-chat-left-dock { position: fixed; top: 56px; left: 0; bottom: 0; height: auto; width: min(440px,100vw); max-width: 100vw; box-shadow: 15px 0 60px #0004; z-index: 50; } }
@media(prefers-reduced-motion:reduce) { .agentic-effort-popover,.agentic-effort-pixels { animation: none; }.agentic-effort-pixels,.ar-context-master i::after,.ar-chat-mode-selector button,.ar-chat-logo-switches button { transition: none; } }
.ar-saved-chat .ar-chat-header > .ar-chat-mode-selector { flex: 0 1 auto; min-width: 0; }
.ar-saved-chat .ar-chat-header > .ar-saved-chat-actions { flex: 0 1 auto; }
.ar-chat-mode-selector img { flex-shrink: 0; aspect-ratio: 1; object-fit: contain; }
.agentic-model-groups.is-runtime-grid button { min-height: 106px; gap: 13px; padding: 16px 10px 13px; }
.agentic-model-groups.is-runtime-grid img, .agentic-model-groups.is-runtime-grid .agentic-runtime-logo { width: 38px; height: 38px; flex: 0 0 38px; aspect-ratio: 1; object-fit: contain; }
.agentic-model-groups.is-runtime-grid img[data-brand=hermes] { clip-path: circle(48%); object-fit: contain; }
.ar-saved-chat .ar-chat-welcome-avatar:has(.ar-private-welcome-avatar) { background: transparent; border: 0; width: 78px; height: 78px; padding: 0; border-radius: 50%; }
.ar-saved-chat .ar-private-welcome-avatar { width: 76px; height: 76px; aspect-ratio: 1; object-fit: contain; border-radius: 50%; }
.agentic-local-runtime { display: flex; align-items: center; gap: 9px; padding: 11px 13px; margin: 6px 4px 0; color: var(--op-muted); border: 1px solid var(--op-border); border-radius: 11px; font-size: 12px; }
.agentic-local-runtime small { margin-left: auto; font-size: 10px; opacity: .7; }.agentic-local-runtime:hover,.agentic-local-runtime[aria-pressed=true] { background: var(--op-inset); color: var(--op-ink); border-color: var(--op-accent); }
.agentic-personal-orb { position: relative; background: radial-gradient(ellipse at 32% 19%,#fff 0%,#e9ddff 5%,#bfa2e5 22%,#796394 43%,#373040 66%,#15121d 88%); box-shadow: inset -2px -3px 4px #0008,inset 1px 1px 2px #ffffff80,0 0 5px #c1a0e530; }
.agentic-personal-orb::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; border-top: 1px solid #ffffff60; border-left: 1px solid #ffffff20; transform: rotate(-24deg); }
@media(max-width:700px) { .ar-saved-chat .ar-chat-header > .ar-chat-mode-selector { flex: 1; }.ar-saved-chat .ar-chat-header > .ar-saved-chat-actions { flex: 1 0 100%; }.agentic-model-groups.is-runtime-grid button { min-height: 95px; padding: 13px 5px 10px; }.agentic-model-groups.is-runtime-grid img,.agentic-model-groups.is-runtime-grid .agentic-runtime-logo { width: 34px; height: 34px; flex-basis: 34px; } }
svg.agentic-openrouter-mark { background: transparent !important; mask: none; -webkit-mask: none; border-radius: 0; }
.ar-workspace-layout:has(.ar-chat-left-dock) > main .ar-page-chat,
.ar-workspace-layout:has(.ar-chat-left-dock) > main .biz-composer-panel { display: none; }

/* Quiet texture keeps the conversation readable on a dark canvas. */
.ar-saved-chat {
  --op-accent: #286cd8;
  --op-accent-soft: #e8eef9;
  --op-inset: #f0f1f3;
  --chat-canvas: #ffffff;
  --chat-surface: #f5f5f6;
  --chat-history: #f3f3f5;
}
.dark .ar-saved-chat {
  --op-accent: #8ab4f8;
  --op-accent-soft: #202b3b;
  --op-inset: #19191c;
  --chat-canvas: #0b0b0d;
  --chat-surface: #18181b;
  --chat-history: #141416;
}
.ar-saved-chat .ar-saved-chat-main { background: var(--chat-canvas); box-shadow: none; }
.ar-saved-chat-main::before { content: none; }
.ar-saved-chat .ar-chat-history { background: var(--chat-history); border-right: 1px solid var(--op-border); }
.ar-saved-chat .ar-chat-header { background: var(--chat-canvas); }
.ar-saved-chat .ar-chat-mode-selector { background: transparent; border: 0; padding: 0; gap: 6px; }
.ar-chat-mode-selector button { padding: 8px 12px; gap: 9px; border: 1px solid transparent; text-align: left; }
.ar-chat-mode-selector button[aria-pressed="false"] { background: transparent; box-shadow: none; }
.ar-chat-mode-selector button[aria-pressed="true"] { background: var(--chat-surface); box-shadow: none; border-color: var(--op-border); }
.ar-chat-mode-copy { display: flex; flex-direction: column; gap: 2px; }
.ar-chat-mode-copy strong { color: var(--op-ink); font-size: 12px; font-weight: 550; }
.ar-chat-mode-copy small { color: var(--op-muted); font-size: 10px; line-height: 1.3; }
.ar-chat-mode-selector button[aria-pressed="true"] .ar-chat-mode-copy small { color: var(--op-accent); }
.ar-chat-mode-selector .ar-chat-mode-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #86b0ef; background: #35557925; flex-shrink: 0; }
.ar-chat-mode-selector img { width: 30px; height: 30px; flex-shrink: 0; }
@media(max-width:700px) {
  .ar-saved-chat .ar-chat-mode-selector { gap: 3px; }
  .ar-chat-mode-selector button { padding: 7px; gap: 6px; }
  .ar-chat-mode-copy strong { font-size: 11px; }
  .ar-chat-mode-copy small { font-size: 9px; }
  .ar-chat-mode-selector img,.ar-chat-mode-selector .ar-chat-mode-icon { width: 25px; height: 25px; }
}
.ar-saved-chat .ar-chat-turn.oracle > .ar-message-text { background: color-mix(in srgb,var(--chat-surface) 80%,transparent); border-color: color-mix(in srgb,var(--op-ink) 7%,transparent); box-shadow: 0 3px 12px #00000004; }
.ar-saved-chat .ar-chat-turn.you { background: var(--chat-surface); border-color: var(--op-border); }
.ar-saved-chat .ar-chat-composer > .ar-agentic-prompt > .relative.w-full { background: var(--chat-surface); border-color: color-mix(in srgb,var(--op-ink) 14%,transparent); box-shadow: 0 5px 24px #00000010,inset 0 1px 0 #ffffff08; }
.ar-saved-chat .ar-chat-welcome-avatar { background: var(--chat-surface); border-color: color-mix(in srgb,var(--op-ink) 8%,transparent); box-shadow: 0 6px 22px #00000012; }
.agentic-model-groups.is-runtime-grid { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--op-border) transparent; scroll-snap-type: x proximity; padding-bottom: 9px; }
.agentic-model-groups.is-runtime-grid button { flex: 1 0 83px; min-width: 83px; scroll-snap-align: start; }
.agentic-local-logo { color: var(--op-ink); padding: 3px; }
.ar-saved-chat .ar-agentic-prompt button.agentic-prompt-send { border-radius: 12px !important; transition: background-color .16s,box-shadow .16s,opacity .16s; }
.ar-saved-chat .ar-agentic-prompt button.agentic-prompt-send.is-send:hover { transform: none; }
.agentic-action-glyph { display: grid; place-items: center; }
.agentic-prompt-send.is-working .agentic-action-glyph { animation: ar-action-appear .12s ease-out; }
@keyframes ar-action-appear { from { opacity: .5; } to { opacity: 1; } }
.ar-chat-dock-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 9px; border: 1px solid var(--op-border); border-radius: 8px; color: var(--op-muted); font-size: 11px; white-space: nowrap; }
.ar-chat-dock-toggle:hover,.ar-chat-dock-toggle[aria-pressed=true] { background: var(--op-panel); color: var(--op-ink); }
.ar-history-select { display: flex; gap: 7px; align-items: center; }.ar-history-pin { flex-shrink: 0; color: var(--op-accent); }.ar-history-row.is-pinned { background: color-mix(in srgb,var(--op-accent) 5%,transparent); }
@media(max-width:700px) { .ar-chat-logo-switches button { width: 25px; height: 27px; padding: 3px; }.ar-chat-logo-switches img,.ar-chat-logo-switches svg { width: 18px; height: 18px; }.ar-chat-context-switches { gap: 6px; }.ar-chat-dock-toggle { padding: 7px; font-size: 10px; }.ar-chat-dock-toggle svg { display: none; }.agentic-model-groups.is-runtime-grid button { flex: 0 0 82px; min-height: 94px; } }
@media(prefers-reduced-motion:reduce) { .agentic-effort-pixel-field rect.is-active,.agentic-prompt-send.is-working .agentic-action-glyph { animation: none; }.agentic-effort-energy,.agentic-effort-pixel-field rect { transition: none; } }

@media (prefers-reduced-motion: reduce) {
  .agentic-effort-popover[data-max-effort="true"] .agentic-effort-pixel-field rect.is-active { animation: none; }
}

/* Chat details: real profile identity, the supplied liquid switch, readable history actions. */
.ar-saved-chat { --chat-history-hover: #e3e5eb; --chat-menu-hover: #d8dce5; }
.dark .ar-saved-chat { --chat-history-hover: #292b32; --chat-menu-hover: #393c46; }
.ar-chat-mode-selector .ar-chat-mode-icon { width: 34px; height: 34px; border-radius: 10px; background: transparent; }
.ar-chat-mode-selector .ar-chat-mode-icon > .agentic-model-logo { width: 32px; height: 32px; flex-basis: 32px; object-fit: contain; padding: 4px; border-radius: 9px; background: #f6f3ed; color: #202622; }
.ar-chat-mode-selector .ar-chat-mode-copy strong { font-size: 13px; }
.ar-context-master { cursor: pointer; }
.ar-context-master .liquid-toggle { width: 42px; height: 26px; }
.ar-saved-chat .ar-chat-turn.you { position: relative; margin-right: 43px; max-width: min(85%, calc(100% - 43px)); }
.ar-saved-chat .ar-user-avatar { position: absolute; right: -43px; top: 2px; width: 32px; height: 32px; border: 1px solid var(--op-border); box-shadow: 0 2px 8px #00000015; }
.ar-user-avatar img { object-fit: cover; }
.ar-user-avatar [data-slot], .ar-user-avatar > span { color: var(--op-ink); background: var(--op-inset); font-size: 11px; font-weight: 600; }
.ar-saved-chat .ar-history-row:hover,.ar-saved-chat .ar-history-row:focus-within { color: var(--op-ink); background: var(--chat-history-hover); box-shadow: inset 0 0 0 1px var(--op-border); }
.ar-saved-chat .ar-history-row.active { color: var(--op-ink); background: var(--op-accent-soft); }
.ar-saved-chat .ar-history-row.active:hover,.ar-saved-chat .ar-history-row.active:focus-within { background: color-mix(in srgb,var(--op-accent-soft) 60%,var(--chat-menu-hover)); }
.ar-history-delete-trigger { align-self: center; display: grid; place-items: center; border-radius: 6px; width: 27px; height: 29px; color: var(--op-muted); opacity: 0; }
.ar-history-row:hover .ar-history-delete-trigger,.ar-history-row:focus-within .ar-history-delete-trigger { opacity: 1; }
.ar-history-delete-trigger:hover,.ar-history-delete-trigger:focus-visible { color: #e65a65; background: #e65a6520; }
.ar-history-delete-trigger:focus-visible { outline: 2px solid var(--op-accent); outline-offset: -2px; }
.ar-saved-chat .ar-history-menu-trigger:hover { background: var(--chat-menu-hover); color: var(--op-ink); }
.ar-saved-chat .ar-history-menu button:hover,.ar-saved-chat .ar-history-menu button:focus-visible { background: var(--chat-menu-hover); color: var(--op-ink); }
.ar-saved-chat .ar-history-delete-option { color: #bf3042; }
.dark .ar-saved-chat .ar-history-delete-option { color: #ff8793; }
.ar-saved-chat .ar-history-delete-option:hover,.ar-saved-chat .ar-history-delete-option:focus-visible { background: #e65a6525; color: #e65a65; }
.ar-history-delete-confirm { width: 100%; padding: 13px 10px; border-top: 1px solid var(--op-border); background: var(--chat-surface); border-radius: 0 0 8px 8px; }
.ar-history-delete-confirm p { margin: 0 0 4px; color: var(--op-ink); font-size: 12px; }
.ar-history-delete-confirm small { font-size: 11px; color: var(--op-muted); }
.ar-history-delete-confirm > div { display: flex; justify-content: flex-end; gap: 5px; margin-top: 12px; }
.ar-history-delete-confirm button { font-size: 11px; padding: 6px 9px; border-radius: 5px; }
.ar-history-delete-confirm button:hover { background: var(--chat-menu-hover); }
.ar-history-delete-confirm [role="alert"] { margin-top: 10px; color: #e65a65; }
@media(hover:none) { .ar-history-delete-trigger { opacity: 1; } }
@media(max-width:700px) { .ar-context-master .liquid-toggle { width: 36px; height: 23px; }.ar-chat-mode-selector .ar-chat-mode-icon,.ar-chat-mode-selector .ar-chat-mode-icon > .agentic-model-logo { width: 29px; height: 29px; flex-basis: 29px; } }

.ar-saved-chat .ar-saved-chat-main { background-color:var(--chat-canvas); background-image:radial-gradient(ellipse at 50% 15%,#a995ce07,transparent 65%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.035' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ar-saved-chat .op-assistant-context { align-self:center; display:flex; align-items:center; gap:16px; width:fit-content; max-width:calc(100% - 36px); margin:10px auto 8px; padding:7px 10px; border-radius:10px; border:1px solid var(--op-border); background:var(--chat-surface); color:var(--op-muted); font-size:11px; }
.ar-saved-chat .op-assistant-context span { display:flex; align-items:center; gap:7px; }
.ar-saved-chat .op-assistant-context button { display:grid; place-items:center; padding:3px; border-radius:5px; text-decoration:none; }
.ar-saved-chat .op-assistant-context button:hover { background:var(--op-inset); color:var(--op-ink); }

/* Suggested next steps under a reply: a pending import to sync, or a page the model named. */
.ar-message-followup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ar-message-followup button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--op-border);
  border-radius: 999px;
  background: var(--op-panel);
  color: var(--op-ink);
  font-size: 11px;
}
.ar-message-followup button:hover {
  border-color: var(--op-accent);
  color: var(--op-accent);
}

/* New chat: a visible pill beside the workspace chip (Cmd/Ctrl+N does the same). */
.ar-saved-chat .ar-chat-header > .ar-chat-new-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid var(--op-border);
  border-radius: 999px;
  background: var(--op-panel);
  color: var(--op-ink);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: border-color .18s, background .18s;
}
.ar-saved-chat .ar-chat-header > .ar-chat-new-primary:hover:not(:disabled) { border-color: var(--op-accent); color: var(--op-accent); }
.ar-saved-chat .ar-chat-header > .ar-chat-new-primary:focus-visible { outline: 2px solid var(--op-accent); outline-offset: 2px; }
.ar-saved-chat .ar-chat-header > .ar-chat-new-primary > span { display: inline; }
.ar-chat-left-dock .ar-chat-header > .ar-chat-new-primary { padding: 7px 9px; }
.ar-chat-left-dock .ar-chat-header > .ar-chat-new-primary > span { display: none; }
@media (max-width: 600px) {
  .ar-saved-chat .ar-chat-header > .ar-chat-new-primary { padding: 7px 9px; }
  .ar-saved-chat .ar-chat-header > .ar-chat-new-primary > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ar-saved-chat .ar-chat-header > .ar-chat-new-primary { transition: none; } }

/* "Checked" under an answer: app logos with matched/total records, the time window, pending imports. */
.ar-answer-checked summary, .ar-answer-checked.is-static { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; row-gap: 6px; width: auto; max-width: 100%; }
.ar-answer-checked summary::-webkit-details-marker { display: none; }
.ar-answer-checked summary > svg:last-child { margin-left: -2px; opacity: .7; }
.ar-checked-label { display: inline-flex; align-items: center; gap: 5px; color: var(--op-muted); font-weight: 550; letter-spacing: .1px; }
.ar-checked-app { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 4px; border: 1px solid var(--op-border); border-radius: 999px; background: var(--op-panel); color: var(--op-muted); font-size: 10.5px; line-height: 1; }
.ar-checked-app.is-matched { color: var(--op-ink); border-color: color-mix(in srgb, var(--op-accent) 45%, var(--op-border)); }
.ar-checked-app b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ar-checked-app small { font-size: 10px; opacity: .75; font-variant-numeric: tabular-nums; }
.ar-checked-app .mc-brand { flex: none; }
.ar-checked-spin { animation: ar-checked-spin 1.2s linear infinite; opacity: .8; }
@keyframes ar-checked-spin { to { transform: rotate(360deg); } }
.ar-checked-more, .ar-checked-window, .ar-checked-importing { color: var(--op-muted); font-size: 10.5px; }
.ar-checked-window { padding-left: 9px; border-left: 1px solid var(--op-border); }
.ar-checked-importing { flex-basis: 100%; }
.ar-source-cards time { display: block; margin-top: 3px; font-size: 9.5px; color: var(--op-muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .ar-checked-spin { animation: none; } }

/* Compact runtime picker: one row of tiles, a search, a short list.
   Refresh and Connections live in the small overflow menu. */
.agentic-model-picker:has(.amp-top) { padding: 6px; border-radius: 16px; }
.agentic-model-picker .amp-top {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
  padding: 2px 2px 4px;
}
.agentic-model-picker .amp-tiles {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
}
.agentic-model-picker .amp-tiles button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 7px 0 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--op-muted);
  font-size: 10px;
  letter-spacing: -0.01em;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.agentic-model-picker .amp-tiles button:hover { background: var(--op-inset); color: var(--op-ink); }
.agentic-model-picker .amp-tiles button[aria-pressed="true"] {
  color: var(--op-ink);
  background: var(--op-inset);
  border-color: var(--op-border);
}
.agentic-model-picker .amp-tiles button > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agentic-model-picker .amp-tiles img,
.agentic-model-picker .amp-tiles svg:not(.jev-mark),
.agentic-model-picker .amp-tiles .jev-logo {
  width: 24px !important;
  height: 24px !important;
  padding: 3px;
  border-radius: 7px !important;
  object-fit: contain;
}
.agentic-model-picker .amp-tiles img { background: #f5f4f2; }
.agentic-model-picker .amp-tiles .jev-logo { padding: 0; }
.agentic-model-picker .amp-more { position: relative; flex: none; }
.agentic-model-picker .amp-more summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  color: var(--op-muted);
  cursor: pointer;
}
.agentic-model-picker .amp-more summary::-webkit-details-marker { display: none; }
.agentic-model-picker .amp-more summary:hover,
.agentic-model-picker .amp-more[open] summary { background: var(--op-inset); color: var(--op-ink); }
.agentic-model-picker .amp-menu {
  position: absolute;
  right: 0;
  top: 32px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 178px;
  padding: 5px;
  border: 1px solid var(--op-border);
  border-radius: 12px;
  background: var(--op-panel);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7);
}
.agentic-model-picker .amp-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--op-ink);
  text-align: left;
  cursor: pointer;
}
.agentic-model-picker .amp-menu button:hover { background: var(--op-inset); }
.agentic-model-picker .amp-menu button:disabled { opacity: 0.5; }
.agentic-model-picker .amp-status { border-top: 1px solid var(--op-border); margin-top: 3px; padding: 6px 8px 3px; }
.agentic-model-picker .amp-status p { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--op-muted); line-height: 1.9; }
.agentic-model-picker .amp-status i { width: 6px; height: 6px; border-radius: 50%; background: #e0a14d; }
.agentic-model-picker .amp-status i[data-ready] { background: #4fbf82; }
.agentic-model-picker input.amp-search {
  flex-shrink: 0;
  width: auto;
  margin: 0 2px 4px;
  padding: 7px 10px;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  background: var(--op-inset);
  font-size: 12px;
  outline: none;
}
.agentic-model-picker .agentic-model-options.amp-list { padding: 0 2px 2px; max-height: 248px; }
.agentic-model-picker .amp-list button {
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 12.5px;
}
.agentic-model-picker .amp-list .agentic-model-logo,
.agentic-model-picker .amp-list .jev-logo { width: 20px !important; height: 20px !important; margin-right: 2px; }


/* /src/components/business/agent-usage.css */
/* Agent usage: calm near-black panel, one meter and one number per agent.
   Details open on request (see agent-usage.tsx). */
.au-wrap { container-type: inline-size; margin: 0 0 22px; }
.au {
  position: relative;
  padding: 26px 30px;
  border-radius: 22px;
  color: #eceef2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006) 60%), #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* Controls: tiny, top right. */
.au-controls { position: absolute; top: 14px; right: 16px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.au-switch { display: flex; padding: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.07); }
.au-switch button, .au-more {
  appearance: none;
  border: 0;
  background: none;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #62676f;
  cursor: pointer;
}
.au-switch button:hover, .au-more:hover { color: #b9bdc6; }
.au-switch button[aria-pressed="true"] { color: #e6e8ec; background: rgba(255, 255, 255, 0.07); }
.au-more { display: inline-flex; align-items: center; gap: 5px; }
.au-more svg { width: 10px; height: 10px; transition: rotate 0.2s ease; }
.au-more[aria-expanded="true"] { color: #e6e8ec; }
.au-more[aria-expanded="true"] svg { rotate: 180deg; }
.au button:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.4); outline-offset: 1px; }

/* Stage */
.au-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.au-hero { display: flex; align-items: center; gap: 30px; min-width: 0; }
.au-orb { position: relative; width: 236px; aspect-ratio: 1; flex: none; }
.au-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.au-logo {
  width: 84px;
  height: 84px;
  border-radius: 21px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 16px 34px -12px rgba(0, 0, 0, 0.95);
}
.au-orb .au-logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.au-hero[data-off] .au-logo { filter: grayscale(1) brightness(0.7); opacity: 0.6; }

.au-read { display: grid; gap: 8px; min-width: 0; }
.au-num { font-size: 76px; font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; color: #fff; font-variant-numeric: tabular-nums; }
.au-num small { font-size: 0.36em; font-weight: 500; letter-spacing: 0; margin-left: 3px; color: #8d929c; }
.au-num-off { font-size: 26px; letter-spacing: -0.02em; color: #c6c9cf; }
.au-label { font-size: 12.5px; color: #7d828c; white-space: nowrap; }
.au-label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 1px; }
.au-warn { margin-left: 8px; padding: 1px 6px; border-radius: 999px; font-size: 10px; font-weight: 600; color: #16100c; background: var(--c); }

/* Bar view: one full-width row per agent. */
.au[data-view="bar"] .au-stage { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 24px; }
.au[data-view="bar"] .au-hero {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 170px;
  grid-template-areas: "logo bar read";
  gap: 24px;
}
.au[data-view="bar"] .au-logo { grid-area: logo; width: 72px; height: 72px; border-radius: 18px; }
.au[data-view="bar"] .au-read { grid-area: read; justify-items: end; }
.au[data-view="bar"] .au-num { font-size: 60px; }
.au-barwrap { grid-area: bar; position: relative; height: 52px; }
.au-barwrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Details */
.au-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  animation: au-open 0.25s ease both;
}
@keyframes au-open { from { opacity: 0; translate: 0 -4px; } }
.au-det { min-width: 0; font-size: 12.5px; color: #9aa0aa; }
.au-det-head { margin: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
.au-det-head b { color: #fff; font-weight: 600; font-size: 13.5px; }
.au-det-price { color: #e6e8ec; font-weight: 600; }
.au-det ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.au-det li { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.au-det-name::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 2px; }
.au-det-name { color: #c6c9cf; }
.au-det-pct { color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.au-det-when { color: #767b85; font-variant-numeric: tabular-nums; }
.au-det-src { margin: 8px 0 0; font-size: 11px; color: #62676f; }
.au-det-off { margin: 0; }

/* Sized by the panel, not the window. */
@container (max-width: 1000px) {
  .au-orb { width: 190px; }
  .au-orb .au-logo { width: 68px; height: 68px; border-radius: 17px; }
  .au-num { font-size: 60px; }
  .au-hero { gap: 20px; }
}
@container (max-width: 780px) {
  .au { padding: 44px 20px 22px; }
  .au-stage, .au-details { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .au[data-view="bar"] .au-hero { grid-template-columns: 56px minmax(0, 1fr) 110px; gap: 14px; }
  .au[data-view="bar"] .au-logo { width: 56px; height: 56px; border-radius: 14px; }
  .au[data-view="bar"] .au-num { font-size: 44px; }
}

.au-placeholder { min-height: 290px; border-radius: 28px; background: #0c0c0f; border: 1px solid #ffffff0d; margin-bottom: 22px; }
/* "Not connected" / "Checking…" is a label, not a number: it stays small in every view and wraps instead of overflowing. */
.au .au-num.au-num-off,
.au[data-view="bar"] .au-num.au-num-off { font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
@media (max-width: 760px) { .au .au-num.au-num-off, .au[data-view="bar"] .au-num.au-num-off { font-size: 17px; } }

/* Connected without usage numbers (raqeeq-os shared pool token). New class only. */
.au-note { font-size: 12px; line-height: 1.5; color: #9aa0aa; }


/* /src/components/jev/jev-card.css */
/* Jev card. Uses the OS tokens (--op-*) so it follows light and dark.
   Jev's own colour is a hot magenta, used only for Jev's pick. */
:root {
  /* TypeSafe's Jev colours: magenta #D45BB6 and pink #F386A1. */
  --jev: #b8409c;
  --jev-2: #e0708e;
  --jev-soft: #d45bb61f;
  --jev-glow: #d45bb640;
}
.dark {
  --jev: #d45bb6;
  --jev-2: #f386a1;
  --jev-soft: #d45bb626;
  --jev-glow: #d45bb655;
}

.jev-card {
  --jev-ink: var(--op-ink, #f0edf5);
  --jev-muted: var(--op-muted, #96919f);
  --jev-line: var(--op-border, #2a282f);
  --jev-panel: var(--op-panel, #18181c);
  --jev-inset: var(--op-inset, #121215);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--jev-line);
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--jev-soft), transparent 55%),
    var(--jev-panel);
  color: var(--jev-ink);
  font-variant-numeric: tabular-nums;
  max-width: 560px;
}

.jev-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.jev-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 13px;
  color: var(--jev);
}
.jev-mark { flex: none; }
.jev-surface {
  color: var(--jev-muted);
  font-weight: 500;
  padding-left: 8px;
  border-left: 1px solid var(--jev-line);
}
.jev-tag {
  font: 600 10px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jev-muted);
  border: 1px solid var(--jev-line);
  border-radius: 999px;
  padding: 3px 7px;
  margin-left: 4px;
}
.jev-speed {
  display: inline-flex;
  flex: none;
  white-space: nowrap;
  align-items: baseline;
  gap: 8px;
  font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--jev-muted);
}
.jev-speed b { color: var(--jev-ink); font-size: 14px; font-weight: 650; }

.jev-q {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.jev-in {
  margin: -6px 0 0;
  font: 400 13px/1.45 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--jev-muted);
  overflow-wrap: anywhere;
}

.jev-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.jev-rows li {
  display: grid;
  grid-template-columns: minmax(96px, 42%) 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--jev-muted);
}
.jev-row-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jev-row-track {
  height: 10px;
  border-radius: 999px;
  background: var(--jev-inset);
  box-shadow: inset 0 0 0 1px var(--jev-line);
  overflow: hidden;
}
.jev-row-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--jev-muted);
  opacity: 0.45;
  transition: width 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.jev-row-p { text-align: right; font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.jev-rows li.is-win { color: var(--jev-ink); font-weight: 600; }
.jev-rows li.is-win .jev-row-fill {
  background: linear-gradient(90deg, var(--jev), var(--jev-2));
  opacity: 1;
  box-shadow: 0 0 14px var(--jev-glow);
}
.jev-rows li.is-win .jev-row-p { color: var(--jev-2); }

.jev-rows .jev-rows-more {
  display: block;
  font-size: 12.5px;
  color: var(--jev-muted);
  padding-left: 2px;
}

.jev-extra { display: flex; flex-wrap: wrap; gap: 8px; }
.jev-extra-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  color: var(--jev-muted);
  background: var(--jev-inset);
  border: 1px solid var(--jev-line);
  border-radius: 8px;
  padding: 6px 9px;
}
.jev-extra-item b { color: var(--jev-ink); font-weight: 600; }

.jev-escalated, .jev-error {
  margin: 0;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--jev-inset);
  border: 1px solid var(--jev-line);
}
.jev-error { color: #e36a6a; }

.jev-vs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--jev-inset);
  border: 1px dashed var(--jev-line);
}
.jev-vs-label {
  font: 600 10.5px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jev-muted);
}
.jev-vs-quote {
  font-size: 14px;
  line-height: 1.45;
  color: var(--jev-ink);
  opacity: 0.85;
}
.jev-vs-meta { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--jev-muted); }

.jev-win {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--jev-line);
  font-size: 14px;
  color: var(--jev-muted);
}
.jev-win b { font-size: 22px; font-weight: 700; color: var(--jev-ink); letter-spacing: -0.02em; margin-right: 3px; }
.jev-win span:first-child b { color: var(--jev); }
.jev-win-note {
  margin-left: auto;
  font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Compact pill for list rows. */
.jev-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  border: 1px solid var(--op-border, #2a282f);
  background: var(--jev-soft);
  color: var(--op-ink, #f0edf5);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.jev-pill .jev-mark { color: var(--jev); }
.jev-pill-sure { color: var(--jev); font-weight: 650; }
.jev-pill-meta { color: var(--op-muted, #96919f); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.jev-pill-flag { color: var(--op-muted, #96919f); border-left: 1px solid var(--op-border, #2a282f); padding-left: 6px; }

@media (prefers-reduced-motion: reduce) {
  .jev-row-fill { transition: none; }
}

/* The Jev app tile (picker, decision rows). */
.jev-logo {
  display: inline-grid;
  place-items: center;
  flex: none;
  background:
    radial-gradient(90% 90% at 70% 15%, rgba(243, 134, 161, 0.22), transparent 65%),
    linear-gradient(160deg, #221821, #120d13);
  box-shadow:
    0 0 0 1px rgba(243, 134, 161, 0.32) inset,
    0 6px 16px -8px rgba(212, 91, 182, 0.7);
}


/* /src/components/hermes-window.css */
.hw { margin: 2px 0 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(180deg, rgba(38, 30, 22, 0.55), rgba(18, 16, 20, 0.85)); overflow: hidden; max-width: 640px; }
.hw[data-working] { border-color: rgba(233, 178, 92, 0.35); box-shadow: 0 0 0 1px rgba(233, 178, 92, 0.08), 0 14px 40px -24px rgba(233, 178, 92, 0.6); }
.hw-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px 10px 10px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.hw-head:disabled { cursor: default; }
.hw-face { position: relative; width: 40px; height: 40px; flex: none; border-radius: 11px; overflow: visible; }
.hw-face img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; display: block; background: #1a1612; border: 1px solid rgba(255, 255, 255, 0.12); }
.hw-ring { position: absolute; inset: -4px; border-radius: 14px; border: 2px solid rgba(233, 178, 92, 0.75); animation: hw-ring 1.8s ease-in-out infinite; }
@keyframes hw-ring { 0%, 100% { opacity: 0.25; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1.03); } }
.hw-title { display: flex; flex-direction: column; line-height: 1.2; }
.hw-title b { font-size: 14px; font-weight: 650; color: #f6efe4; }
.hw-title small { font-size: 11.5px; color: #c9b89e; }
.hw-status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #e6d6bd; white-space: nowrap; }
.hw-pulse { width: 7px; height: 7px; border-radius: 50%; background: #e9b25c; animation: hw-pulse 1.1s ease-in-out infinite; }
@keyframes hw-pulse { 50% { opacity: 0.3; } }
.hw-chevron { color: #c9b89e; transition: transform 0.2s; }
.hw[data-open] .hw-chevron { transform: rotate(180deg); }
.hw-actions { list-style: none; margin: 0; padding: 4px 10px 10px; max-height: 240px; overflow: auto; display: grid; gap: 3px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.hw-actions li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; font: 450 12.5px/1.35 ui-monospace, "SF Mono", Menlo, monospace; color: #e9e2d6; background: rgba(255, 255, 255, 0.025); animation: hw-in 0.3s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.hw-actions li[data-latest] { background: rgba(233, 178, 92, 0.1); color: #fff6e8; }
@keyframes hw-in { from { opacity: 0; transform: translateY(4px); } }
.hw-icon { text-align: center; font-size: 14px; }
.hw-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-time { color: #a8997f; font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .hw-ring, .hw-pulse, .hw-actions li { animation: none; } }


/* /src/components/operator/setup-welcome.css */
/* The film sits UNDER the whole card, not beside the copy. Two panels side
   by side always show their seam: the poster's left edge is #16171a, the
   card is #18151e, and a 22% fade could not hide the hard rectangle. With
   the video full-bleed there is no second surface to meet — the copy floats
   on a scrim that lets the crystals come through on the right. */
.os-setup-invitation {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  min-height: 272px;
  overflow: hidden;
  background: #18151e;
  border: 1px solid #c6a4ee30;
  border-radius: 19px;
  margin: 0 0 27px;
  color: #f2edf7;
  box-shadow: 0 12px 45px #0000000c;
}
.os-setup-invitation-copy {
  padding: 34px 36px 32px;
  position: relative;
  z-index: 2;
  align-self: center;
}
.os-setup-kicker {
  display: block;
  color: #c3b1dd;
  font-size: 9.5px;
  font-weight: 550;
  letter-spacing: 0.24em;
  margin-bottom: 12px;
}
.os-setup-invitation h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin: 0 0 10px;
  text-wrap: balance;
}
.os-setup-invitation h2 > span {
  color: #c3a0eb;
}
.os-setup-invitation p {
  font-size: 13px;
  line-height: 1.6;
  color: #c4b9d2;
  margin: 0;
  max-width: 40ch;
}
.os-setup-stages {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.os-setup-stages > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #bcb0cc;
}
.os-setup-stages i {
  font-style: normal;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1px solid #b89cd344;
  border-radius: 50%;
  font-size: 9px;
  color: #c9b1e4;
}
.os-setup-stages .done i {
  background: #c8afe9;
  color: #281935;
}
.os-setup-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}
.os-setup-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 550;
  color: #e6d8f8;
  border-bottom: 1px solid #c4a9e353;
  padding-bottom: 5px;
}
.os-setup-bottom > a:hover {
  color: white;
  border-color: #e6d8f8;
}
.os-setup-brands {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.75;
}
.os-setup-brands .mc-source-brand[data-brand="notion"] {
  padding: 2px;
  border-radius: 4px;
  background: #eee;
}

/* Film: absolute, behind everything. The grid column it used to occupy is
   kept only so the copy stays on the left half at desktop widths. */
.os-setup-film {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
}
/* The card is ~3.3:1 and the film is 16:9. Cover-fit on the full card
   scales by WIDTH, so only a 30%-tall band of the obelisk shows: a blurry
   slab, not a crystal. Instead the media occupies the right 58% of the
   card at full height, so cover scales by height and the whole obelisk is
   in frame. Its left edge lands at 42%, under the solid part of the scrim
   below, so there is no seam. The wrapper stays full-bleed so the scrim
   pseudo-element can span the entire card. */
.os-setup-film > .biz-ambient-video {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: 58%;
  height: 100%;
}
.os-setup-film img,
.os-setup-film video {
  object-fit: cover;
  object-position: right center;
}
/* Legibility scrim + edge vignette, one layer. Left: solid card colour under
   the copy, releasing to clear by ~72% so the crystals read at full strength.
   Top/bottom: a faint fade so the video's own frame edges (#0c0c0e top,
   #252431 bottom) never print a line against the rounded border. */
.os-setup-film:after {
  content: "";
  position: absolute;
  inset: 0;
  /* Above the <video>, which ambient-video.css positions with its own
     z-index. Without this the scrim paints UNDER the film and the film's
     left edge prints a hard vertical seam at 42%. Clicks still pass. */
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #18151e 0%, #18151e 38%, #18151eee 47%, #18151ea6 57%, #18151e38 67%, transparent 77%),
    linear-gradient(180deg, #18151e55 0%, transparent 18%, transparent 84%, #18151e66 100%);
}
.os-setup-film .biz-ambient-control {
  z-index: 3;
}

@media (max-width: 950px) {
  .os-setup-invitation-copy {
    padding: 26px;
  }
  .os-setup-invitation {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .os-setup-stages {
    gap: 10px;
  }
  .os-setup-stages > span {
    font-size: 9px;
  }
}
@media (max-width: 650px) {
  .os-setup-invitation {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .os-setup-invitation-copy {
    padding: 132px 23px 24px;
    align-self: end;
  }
  .os-setup-film > .biz-ambient-video {
    left: 0;
    width: 100%;
  }
  .os-setup-film img,
  .os-setup-film video {
    object-position: center 30%;
  }
  /* Stacked: the copy sits at the bottom, so the scrim rises from below. */
  .os-setup-film:after {
    background: linear-gradient(0deg, #18151e 0%, #18151e 34%, #18151ecc 48%, #18151e55 62%, transparent 80%);
  }
  .os-setup-stages {
    gap: 18px;
  }
  .os-setup-stages > span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .os-setup-invitation {
    animation: os-setup-appear 0.5s ease-out both;
  }
  @keyframes os-setup-appear {
    from {
      opacity: 0;
      transform: translateY(7px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@property --os-invitation-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.os-setup-invitation::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--os-invitation-angle),
    transparent 0deg 265deg,
    #c3a0eb25 285deg,
    #f4e3ff99 306deg,
    #c3a0eb18 330deg,
    transparent 350deg
  );
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@media (prefers-reduced-motion: no-preference) {
  .os-setup-invitation::after {
    animation: os-invitation-beam 14s linear infinite;
  }
  @keyframes os-invitation-beam {
    to {
      --os-invitation-angle: 360deg;
    }
  }
}


/* /src/components/operator/raqeeq-auth.css */
/* raqeeq-os team sign-in. New classes only: nothing existing is restyled. */
.raqeeq-signin {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--background);
  color: var(--foreground);
}

.raqeeq-signin-card {
  width: 100%;
  max-width: 380px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card, var(--background));
}

.raqeeq-signin-brand {
  font-weight: 600;
  letter-spacing: -0.01em;
  direction: ltr;
  text-align: right;
}

.raqeeq-signin-brand span {
  color: var(--op-accent, currentColor);
}

.raqeeq-signin-card h1 {
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 600;
}

.raqeeq-signin-sub,
.raqeeq-signin-note {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.raqeeq-signin-form {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.raqeeq-signin-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.raqeeq-signin-form input {
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--input, var(--border));
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 0.95rem;
}

.raqeeq-signin-form input:focus-visible,
.raqeeq-signin-form button:focus-visible {
  outline: 2px solid var(--op-accent, var(--ring));
  outline-offset: 2px;
}

.raqeeq-signin-form button {
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
}

.raqeeq-signin-form button:disabled {
  opacity: 0.6;
}

.raqeeq-signin-form .raqeeq-signin-link {
  background: transparent;
  color: var(--muted-foreground);
  height: auto;
}

.raqeeq-signin-error {
  font-size: 0.85rem;
  color: var(--destructive);
  line-height: 1.6;
}

.raqeeq-account-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.raqeeq-account-initial {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--op-accent-soft, var(--muted));
  color: var(--op-accent, var(--foreground));
  font-weight: 600;
}

.raqeeq-account-text {
  min-width: 0;
  flex: 1;
  display: grid;
}

.raqeeq-account-text span,
.raqeeq-account-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raqeeq-account-text small {
  color: var(--op-muted, var(--muted-foreground));
}

.raqeeq-account-out {
  flex-shrink: 0;
  padding: 6px;
  border-radius: 8px;
  color: var(--op-muted, var(--muted-foreground));
}

.raqeeq-account-out:hover {
  background: var(--op-accent-soft, var(--muted));
}


/* /src/components/business/progress.css */
.progress-workspace {
  color: var(--op-ink);
}
.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 28px;
}
.progress-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 450;
  letter-spacing: -1.4px;
  margin: 11px 0;
}
.progress-heading p {
  font-size: 14px;
  color: var(--op-muted);
  line-height: 1.7;
}
.progress-horizons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.progress-horizon {
  --progress-tone: #c4a7e4;
  --progress-glow: #8eaff0;
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.progress-horizon.is-month {
  --progress-tone: #9ac8bd;
  --progress-glow: #8eaddb;
}
.progress-horizon.is-week {
  --progress-tone: #d4bd8e;
  --progress-glow: #d1a0b0;
}
.progress-horizon-cover {
  position: relative;
  isolation: isolate;
  min-height: 282px;
  overflow: hidden;
  color: var(--op-ink);
  background:
    radial-gradient(
      ellipse at 18% 8%,
      color-mix(in srgb, var(--progress-tone) 22%, transparent),
      transparent 64%
    ),
    radial-gradient(
      ellipse at 92% 45%,
      color-mix(in srgb, var(--progress-glow) 16%, transparent),
      transparent 62%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--progress-tone) 6%, var(--op-panel)),
      var(--op-panel)
    );
  border-bottom: 1px solid var(--op-border);
}
.progress-horizon-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(
    132deg,
    transparent 24%,
    color-mix(in srgb, var(--progress-tone) 10%, transparent) 46%,
    transparent 65%
  );
}
.goal-calendar-art {
  position: absolute;
  width: 100%;
  height: 210px;
  top: 4px;
  left: 0;
  z-index: -1;
  overflow: visible;
}
.goal-calendar-paper {
  fill: var(--op-panel);
  stroke: color-mix(in srgb, var(--progress-tone) 40%, var(--op-border));
  stroke-width: 1;
}
.goal-calendar-rule,
.goal-calendar-week-rule {
  stroke: var(--op-border);
  stroke-width: 1;
}
.goal-calendar-heading {
  fill: var(--progress-tone);
  opacity: 0.7;
}
.goal-calendar-pin {
  fill: var(--progress-tone);
}
.goal-calendar-day {
  fill: color-mix(in srgb, var(--progress-tone) 20%, var(--op-inset));
}
.goal-calendar-day.is-weekend {
  opacity: 0.35;
}
.goal-calendar-day-marker {
  fill: var(--progress-tone);
  animation: goal-calendar-marker 6s ease-in-out infinite;
}
.goal-calendar-path {
  stroke: var(--progress-tone);
  opacity: 0.2;
  stroke-dasharray: 2 6;
}
.goal-calendar-sheet {
  animation: goal-calendar-float 8s ease-in-out infinite;
}
@keyframes goal-calendar-float {
  50% {
    transform: translateY(-5px);
  }
}
@keyframes goal-calendar-marker {
  50% {
    opacity: 0.45;
  }
}
.progress-horizon-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}
.progress-horizon-caption h3 {
  font-size: 27px;
  letter-spacing: -1px;
  line-height: 1.15;
  font-weight: 450;
  margin: 0 0 7px;
}
.progress-horizon-caption p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--op-muted);
  margin: 0;
}
.progress-horizon-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 23px;
  min-width: 0;
}
.progress-goal-list {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.progress-goal-list:empty {
  display: none;
}
.progress-goal-list article {
  min-width: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--op-border);
}
.progress-goal-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.progress-goal-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.progress-check {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  border: 1px solid var(--op-muted);
  border-radius: 7px;
  margin-top: 2px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.progress-check[aria-checked="true"] {
  background: var(--progress-tone);
  border-color: var(--progress-tone);
  color: #292130;
}
.progress-goal-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  text-align: left;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.2px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.progress-goal-title svg {
  margin: 7px 0 0 auto;
  flex-shrink: 0;
  color: var(--op-muted);
  transition: transform 0.2s;
}
.progress-goal-title[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.is-done .progress-goal-title {
  color: var(--op-muted);
  text-decoration: line-through;
}
.progress-goal-meta {
  padding-left: 35px;
  margin-top: 12px;
}
.progress-workspace select {
  color: var(--op-muted);
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  max-width: 100%;
}
.progress-add {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--op-border);
  border-radius: 12px;
  padding: 7px 9px 7px 13px;
  margin-top: auto;
  background: var(--op-inset);
}
.progress-add input {
  width: 100%;
  min-width: 0;
  background: transparent;
  font-size: 13px;
  color: var(--op-ink);
  border: 0;
  outline: 0;
  padding: 6px 0;
}
.progress-add button {
  color: var(--op-ink);
  background: color-mix(in srgb, var(--progress-tone) 16%, transparent);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.progress-add button:disabled {
  opacity: 0.35;
}
.progress-goal-detail {
  margin-top: 18px;
}
.progress-goal-detail label {
  display: block;
  font-size: 12px;
  color: var(--op-muted);
  margin-top: 14px;
}
.progress-workspace textarea,
.progress-goal-detail input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--op-inset);
  color: var(--op-ink);
  border: 1px solid var(--op-border);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.65;
  margin-top: 8px;
}
.progress-workspace textarea {
  resize: vertical;
}
.progress-goal-detail > div {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
}
.progress-goal-detail button {
  font-size: 12px;
  color: var(--op-ink);
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--op-inset);
  border: 1px solid var(--op-border);
}
.progress-review {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 0 26px;
}
.progress-review > button {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--op-accent);
  font-size: 13px;
  padding: 8px 0;
}
.progress-updates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--op-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--op-panel);
}
.progress-updates > form,
.progress-updates > section {
  padding: 30px;
  min-width: 0;
}
.progress-updates > form {
  border-right: 1px solid var(--op-border);
}
.progress-updates h3 {
  font-size: 24px;
  font-weight: 450;
  margin: 11px 0 20px;
  letter-spacing: -0.7px;
}
.progress-updates > form > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}
.progress-updates > form button {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  background: var(--op-accent);
  color: var(--op-bg);
  font-size: 12px;
  padding: 11px 14px;
  white-space: nowrap;
}
.progress-updates-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.progress-updates-heading > div {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--op-muted);
  font-size: 11px;
}
.progress-updates-heading button:disabled {
  opacity: 0.3;
}
.progress-updates time {
  color: var(--op-muted);
  font-size: 12px;
}
.progress-update-body {
  font-size: 17px;
  line-height: 1.8;
  margin: 18px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.progress-updates small,
.progress-update-empty {
  font-size: 14px;
  color: var(--op-muted);
  line-height: 1.75;
}
.progress-brief-note {
  font-size: 11px;
  color: var(--op-muted);
  line-height: 1.7;
  border-top: 1px solid var(--op-border);
  padding-top: 19px;
  margin-top: 26px;
}
.progress-error {
  color: #e58e9f;
  font-size: 13px;
  padding: 12px 0;
}
.progress-workspace :is(button, input, textarea, select):focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 3px;
}
@media (min-width: 761px) and (max-width: 1200px) {
  .progress-horizons {
    gap: 12px;
  }
  .progress-horizon-body {
    padding: 17px;
  }
  .progress-horizon-caption {
    left: 18px;
    right: 18px;
  }
  .progress-horizon-caption h3 {
    font-size: 27px;
  }
  .progress-goal-title {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .progress-horizons,
  .progress-updates {
    grid-template-columns: 1fr;
  }
  .progress-updates > form {
    border-right: 0;
    border-bottom: 1px solid var(--op-border);
  }
  .progress-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .progress-heading h2 {
    font-size: 30px;
  }
  .progress-updates > form,
  .progress-updates > section {
    padding: 23px;
  }
  .progress-updates > form > div {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .progress-goal-title svg {
    transition: none;
  }
}

.progress-period-history {
  margin-top: 21px;
  border-top: 1px solid var(--op-border);
  padding-top: 17px;
}
.progress-period-history > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
  color: var(--op-muted);
}
.progress-period-history > summary::-webkit-details-marker {
  display: none;
}
.progress-period-history > summary > svg {
  margin-left: auto;
  font-size: 11px;
}
.progress-period-history > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--op-muted);
  margin: 13px 0;
}
.progress-period-history article {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--op-border);
}
.progress-period-history article > div {
  flex: 1;
  min-width: 0;
}
.progress-period-history strong {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 450;
  overflow-wrap: anywhere;
}
.progress-period-history small {
  display: block;
  font-size: 11px;
  color: var(--op-muted);
  line-height: 1.65;
  margin-top: 4px;
}
.progress-period-history select {
  border: 1px solid var(--op-border);
  border-radius: 6px;
  background: var(--op-inset);
  font-size: 11px;
  color: var(--op-muted);
  padding: 5px;
  max-width: 105px;
}
.progress-period-history article > p {
  width: 100%;
  font-size: 12px;
  color: var(--op-muted);
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 0;
}
.progress-period-history article > button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--op-accent);
  padding: 5px 0;
}

@media (prefers-reduced-motion: reduce) {
  .goal-calendar-sheet,
  .goal-calendar-day-marker {
    animation: none;
  }
}

.progress-note-help {
  color: var(--op-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0 16px;
  max-width: 410px;
}
.progress-saved-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--op-green, #4a9c82);
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 0;
}
.progress-saved-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.progress-horizon-cover > svg {
  transform-origin: 50% 60%;
  animation: progress-calendar-drift 9s ease-in-out infinite;
}
.progress-horizon.is-month .progress-horizon-cover > svg {
  animation-delay: -3s;
}
.progress-horizon.is-quarter .progress-horizon-cover > svg {
  animation-delay: -6s;
}
.progress-horizon {
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.progress-horizon:focus-within {
  box-shadow: 0 16px 40px #00000009;
}
.progress-goal-list article {
  animation: progress-note-enter 0.35s ease-out;
}
@keyframes progress-calendar-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-4px) rotate(0.5deg);
  }
}
@keyframes progress-note-enter {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .progress-workspace *,
  .progress-workspace *::before {
    animation: none !important;
    transition: none !important;
  }
}

html:not(.dark) .progress-saved-note {
  color: #246c53;
}


/* /src/components/jev/jev-choosing.css */
/* "Jev is choosing": odds fill, the winner snaps forward, the rest dim.
   Jev pink: #D45BB6 → #F386A1. Dark glass to sit in the chat transcript. */
.jc {
  --jc-pink: #d45bb6;
  --jc-pink-2: #f386a1;
  --jc-ink: var(--op-ink, #f2eef6);
  --jc-muted: var(--op-muted, #948ea0);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: fit-content;
  min-width: min(100%, 470px);
  max-width: 100%;
  margin: 2px 0 14px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(243, 134, 161, 0.16);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(212, 91, 182, 0.14), transparent 55%),
    radial-gradient(70% 120% at 100% 100%, rgba(243, 134, 161, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 50px -30px rgba(212, 91, 182, 0.55);
  color: var(--jc-ink);
  font-variant-numeric: tabular-nums;
  animation: jc-in 380ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
@keyframes jc-in {
  from { opacity: 0; transform: translateY(6px) scale(0.99); }
}

/* Head: spinner + "Choosing a model" → winner logo + "Jev picked Sonnet 5". */
.jc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 2px 12px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
.jc[data-phase="snap"] .jc-head { cursor: pointer; }
.jc-spin {
  display: grid;
  border-radius: 9px;
  animation: jc-breathe 1.1s ease-in-out infinite;
}
@keyframes jc-breathe {
  50% { box-shadow: 0 0 22px -2px rgba(212, 91, 182, 0.75); }
}
/* While choosing, the three dots of the mark light up in turn. */
.jc-spin circle { animation: jc-choose 1.2s ease-in-out infinite; }
.jc-spin circle:nth-of-type(2) { animation-delay: 0.2s; }
.jc-spin circle:nth-of-type(3) { animation-delay: 0.4s; }
@keyframes jc-choose { 0%, 100% { opacity: 0.3; } 35% { opacity: 1; } }

.jc-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.1;
}
.jc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jc-pink-2);
}
.jc-title b {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.jc[data-phase="think"] .jc-title b,
.jc[data-phase="fill"] .jc-title b {
  background: linear-gradient(90deg, var(--jc-muted) 0%, #fff 45%, var(--jc-muted) 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: jc-shine 1.6s linear infinite;
}
@keyframes jc-shine { from { background-position: 120% 0; } to { background-position: -100% 0; } }

.jc-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.jc-chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--jc-ink);
  white-space: nowrap;
}
.jc-chip.is-dim { color: var(--jc-muted); }
.jc-chip.is-odds {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--jc-pink), var(--jc-pink-2));
  box-shadow: 0 4px 14px -6px var(--jc-pink);
}
.jc-chip.is-extra { color: var(--jc-muted); }
.jc-chip.is-sample {
  color: var(--jc-muted);
  font: 600 9.5px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jc-chev { color: var(--jc-muted); transition: transform 200ms ease; }
.jc[data-open] .jc-chev { transform: rotate(180deg); }

/* The snap: winner logo pops in, the headline and chips slide up. */
.jc[data-phase="snap"] .jc-win-logo { animation: jc-pop 520ms cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.jc[data-phase="snap"] .jc-title,
.jc[data-phase="snap"] .jc-meta { animation: jc-rise 420ms 80ms cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.jc-win-logo {
  position: relative;
  display: grid;
  border-radius: 9px;
  box-shadow: 0 0 0 1.5px var(--jc-pink-2), 0 0 22px -2px var(--jc-pink);
}
@keyframes jc-pop { from { opacity: 0; transform: scale(0.4) rotate(-12deg); } }
@keyframes jc-rise { from { opacity: 0; transform: translateY(6px); } }

/* Candidate tiles. */
.jc-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n, 7), minmax(0, 98px));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 11px 6px 9px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 460ms cubic-bezier(0.2, 1.5, 0.4, 1),
    opacity 380ms ease,
    filter 380ms ease,
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 380ms ease;
  animation: jc-tile-in 420ms calc(var(--i) * 45ms) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
@keyframes jc-tile-in { from { opacity: 0; transform: translateY(8px); } }
.jc-logo {
  display: block;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.jc-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--jc-ink);
}
.jc-bar {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}
.jc-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jc-pink), var(--jc-pink-2));
}
.jc-pct {
  font-size: 11px;
  font-weight: 650;
  color: var(--jc-muted);
  letter-spacing: 0.02em;
}

/* Thinking: every bar searches, and a light sweeps across the tiles. */
.jc[data-phase="think"] .jc-bar i {
  opacity: 0.75;
  animation: jc-search calc(1.1s + var(--i) * 0.13s) calc(var(--i) * -0.29s) ease-in-out infinite alternate;
}
@keyframes jc-search {
  0% { width: 8%; }
  45% { width: 64%; }
  100% { width: 22%; }
}
.jc[data-phase="think"] .jc-grid::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(243, 134, 161, 0.16) 12%, transparent 24%);
  background-size: 260% 100%;
  animation: jc-scan 1.5s linear infinite;
  mix-blend-mode: screen;
}
@keyframes jc-scan { from { background-position: 130% 0; } to { background-position: -40% 0; } }
.jc[data-phase="fill"] .jc-pct { color: var(--jc-ink); }
.jc-dots { display: inline-flex; gap: 3px; height: 13px; align-items: center; }
.jc-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--jc-pink-2);
  animation: jc-dot 900ms calc(var(--i) * 70ms) ease-in-out infinite;
}
.jc-dots i:nth-child(2) { animation-delay: calc(var(--i) * 70ms + 150ms); }
.jc-dots i:nth-child(3) { animation-delay: calc(var(--i) * 70ms + 300ms); }
@keyframes jc-dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* Snap: the winner steps forward and glows, the rest fade back. */
.jc-tile.is-win {
  z-index: 1;
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(243, 134, 161, 0.75);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(243, 134, 161, 0.28), transparent 70%),
    rgba(212, 91, 182, 0.12);
  box-shadow:
    0 0 0 1px rgba(243, 134, 161, 0.35),
    0 14px 34px -10px rgba(212, 91, 182, 0.85),
    0 0 44px -8px rgba(243, 134, 161, 0.6);
}
.jc-tile.is-win .jc-pct { color: #fff; }
.jc-tile.is-win .jc-name { color: #fff; }
.jc-tile.is-win::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1.5px solid var(--jc-pink-2);
  pointer-events: none;
  animation: jc-ring 700ms ease-out both;
}
@keyframes jc-ring {
  from { opacity: 0.9; transform: scale(1); }
  to { opacity: 0; transform: scale(1.35); }
}
.jc-tile.is-lose {
  opacity: 0.42;
  filter: saturate(0.2);
  transform: scale(0.96);
}

/* One beam of light across the card at the moment of the pick. */
.jc-beam {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(243, 134, 161, 0.22) 48%, rgba(255, 255, 255, 0.12) 50%, transparent 66%);
  background-size: 250% 100%;
}
.jc[data-phase="snap"] .jc-beam { animation: jc-beam 900ms ease-out both; }
@keyframes jc-beam {
  0% { opacity: 1; background-position: 140% 0; }
  100% { opacity: 0; background-position: -60% 0; }
}

.jc-card { margin-top: 12px; animation: jc-rise 260ms ease both; }
.jc-card .jev-card { max-width: none; }

/* A later turn in the same chat: one quiet line. */
.jc.jc-kept {
  padding: 0;
  border-color: rgba(243, 134, 161, 0.12);
  background: rgba(212, 91, 182, 0.06);
  box-shadow: none;
  max-width: max-content;
  border-radius: 999px;
}
.jc.jc-kept[data-open] { max-width: 760px; border-radius: 16px; padding-bottom: 12px; }
.jc.jc-kept .jc-card { margin: 4px 12px 0; }
.jc-kept-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 0;
  background: none;
  color: var(--jc-ink);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.jc-kept-line .jc-logo { border-radius: 6px; }
.jc-kept-note { color: var(--jc-muted); }
.jc-kept-note::before { content: "·"; margin-right: 8px; }

/* The answer waits for the pick, then fades in under it. */
.jc-answer-in { animation: jc-rise 360ms ease both; }

@media (max-width: 900px) {
  .jc { width: auto; }
  .jc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jc-meta .jc-chip:not(.is-odds) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jc, .jc *, .jc *::before, .jc *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
/* Settled rows (already played) render without entrance or replay. */
.jc[data-still],
.jc[data-still] .jc-tile,
.jc[data-still] .jc-tile::after,
.jc[data-still] .jc-beam,
.jc[data-still] .jc-win-logo,
.jc[data-still] .jc-title,
.jc[data-still] .jc-meta { animation: none; }
.jc[data-still] .jc-tile { transition: none; }
.jc[data-still] .jc-tile::after { display: none; }

/* A spoken reply lands with its pick: the text waits for the snap. */
.jc-answer-wait { animation: jc-rise 380ms 1.25s ease both; }

/* Executor: four doors, wider tiles with a second line (the model or page). */
.jc-grid[data-kind="executor"] { grid-template-columns: repeat(var(--n, 5), minmax(0, 124px)); }
.jc-logo-page.is-memory { color: #f7c6e6; background: radial-gradient(90% 90% at 70% 20%, rgba(243, 134, 161, 0.3), transparent 70%), linear-gradient(160deg, #2b1f2c, #151118); }
.jc-sub {
  max-width: 100%;
  margin-top: -4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  color: var(--jc-muted);
}
.jc-tile.is-win .jc-sub { color: var(--jc-pink-2); font-weight: 600; }
.jc-title b em { font-style: normal; font-weight: 550; color: var(--jc-pink-2); }
.jc-logo-page {
  display: grid;
  place-items: center;
  color: #e9e4f0;
  background: linear-gradient(160deg, #2a2831, #17161b);
}

/* Reading: one small line while Jev decides who handles the message. */
.jc.jc-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  box-shadow: none;
}
.jc-spin.is-small { border-radius: 6px; }
.jc-line-text { font-size: 12.5px; color: var(--jc-muted); }
.jc-line-text b { color: var(--jc-ink); font-weight: 650; }
.jc-mini { display: inline-flex; gap: 4px; padding-left: 4px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.jc-mini > span { display: grid; animation: jc-mini 1.2s calc(var(--i) * 0.15s) ease-in-out infinite; }
.jc-mini .jc-logo, .jc-mini .jev-logo { border-radius: 5px !important; }
@keyframes jc-mini { 0%, 100% { opacity: 0.35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.jc-kept .jc-chip.is-sample { padding: 2px 6px; }

/* A signed-out agent: shown, dimmed, never picked. */
.jc-tile.is-off { opacity: 0.35; filter: grayscale(1); }
.jc-tile.is-off .jc-sub { color: #f5b84d; }


/* /src/components/ui/sky-toggle.css */
/* Adapted from "Switch" by Galahhad on Uiverse.io (https://uiverse.io/Galahhad/strong-squid-82), MIT License, Copyright (c) Galahhad. */
.theme-switch {
  --toggle-size: 12px;
  /* the size is adjusted using font-size,
       this is not transform scale,
       so you can choose any size */
  --container-width: 5.625em;
  --container-height: 2.5em;
  --container-radius: 6.25em;
  /* radius 0 - minecraft mode :) */
  --container-light-bg: #3d7eae;
  --container-night-bg: #1d1f2c;
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #ecca2f;
  --moon-bg: #c4c9d1;
  --spot-color: #959db1;
  --circle-container-offset: calc(
    (var(--circle-container-diameter) - var(--container-height)) / 2 * -1
  );
  --stars-color: #fff;
  --clouds-color: #f3fdff;
  --back-clouds-color: #aacadf;
  --transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  --circle-transition: 0.3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

.theme-switch,
.theme-switch *,
.theme-switch *::before,
.theme-switch *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--toggle-size);
}

.theme-switch__container {
  width: var(--container-width);
  height: var(--container-height);
  background-color: var(--container-light-bg);
  border-radius: var(--container-radius);
  overflow: hidden;
  cursor: pointer;

  box-shadow:
    0em -0.062em 0.062em rgba(0, 0, 0, 0.25),
    0em 0.062em 0.125em rgba(255, 255, 255, 0.94);

  transition: var(--transition);
  position: relative;
}

.theme-switch__container::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;

  box-shadow:
    0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset,
    0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  border-radius: var(--container-radius);
}

.theme-switch__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
}

.theme-switch__circle-container {
  width: var(--circle-container-diameter);
  height: var(--circle-container-diameter);
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: var(--circle-container-offset);
  top: var(--circle-container-offset);
  border-radius: var(--container-radius);

  box-shadow:
    inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
    inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
    0 0 0 0.625em rgba(255, 255, 255, 0.1),
    0 0 0 1.25em rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  transition: var(--circle-transition);
  pointer-events: none;
}

.theme-switch__sun-moon-container {
  pointer-events: none;
  position: relative;
  z-index: 2;
  width: var(--sun-moon-diameter);
  height: var(--sun-moon-diameter);
  margin: auto;
  border-radius: var(--container-radius);
  background-color: var(--sun-bg);

  box-shadow:
    0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
    0em -0.062em 0.062em 0em #a1872a inset;

  filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25))
    drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
  overflow: hidden;

  transition: var(--transition);
}

.theme-switch__moon {
  transform: translateX(100%);
  width: 100%;
  height: 100%;
  background-color: var(--moon-bg);
  border-radius: inherit;

  box-shadow:
    0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
    0em -0.062em 0.062em 0em #969696 inset;

  transition: var(--transition);
  position: relative;
}

.theme-switch__spot {
  position: absolute;
  top: 0.75em;
  left: 0.312em;
  width: 0.75em;
  height: 0.75em;
  border-radius: var(--container-radius);
  background-color: var(--spot-color);

  box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
}

.theme-switch__spot:nth-of-type(2) {
  width: 0.375em;
  height: 0.375em;
  top: 0.937em;
  left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
  width: 0.25em;
  height: 0.25em;
  top: 0.312em;
  left: 0.812em;
}

.theme-switch__clouds {
  width: 1.25em;
  height: 1.25em;
  background-color: var(--clouds-color);
  border-radius: var(--container-radius);
  position: absolute;
  bottom: -0.625em;
  left: 0.312em;

  box-shadow:
    0.937em 0.312em var(--clouds-color),
    -0.312em -0.312em var(--back-clouds-color),
    1.437em 0.375em var(--clouds-color),
    0.5em -0.125em var(--back-clouds-color),
    2.187em 0 var(--clouds-color),
    1.25em -0.062em var(--back-clouds-color),
    2.937em 0.312em var(--clouds-color),
    2em -0.312em var(--back-clouds-color),
    3.625em -0.062em var(--clouds-color),
    2.625em 0em var(--back-clouds-color),
    4.5em -0.312em var(--clouds-color),
    3.375em -0.437em var(--back-clouds-color),
    4.625em -1.75em 0 0.437em var(--clouds-color),
    4em -0.625em var(--back-clouds-color),
    4.125em -2.125em 0 0.437em var(--back-clouds-color);

  transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__stars-container {
  position: absolute;
  color: var(--stars-color);
  top: -100%;
  left: 0.312em;
  width: 2.75em;
  height: auto;

  transition: var(--transition);
}

/* actions */

.theme-switch__checkbox:checked + .theme-switch__container {
  background-color: var(--container-night-bg);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container:hover {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em);
}

.theme-switch__circle-container:hover {
  left: calc(var(--circle-container-offset) + 0.187em);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
  transform: translate(0);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds {
  bottom: -4.062em;
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container {
  top: 50%;

  transform: translateY(-50%);
}
.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  cursor: pointer;
}
.theme-switch__checkbox:focus-visible + .theme-switch__container {
  outline: 2px solid #aa83d6;
  outline-offset: 4px;
}
.theme-switch:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}
.theme-switch:has(input:disabled) .theme-switch__container {
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .theme-switch *,
  .theme-switch *::before,
  .theme-switch *::after {
    transition: none !important;
  }
}


/* /src/components/operator/brand-refinements.css */
.op-brand.ar-brand-refined {
  gap: 9px;
  color: var(--op-ink);
}

.ar-brand-refined .op-brand-os {
  color: inherit;
}

.ar-brand-refined small {
  letter-spacing: 1.7px;
}

.ar-provider-rotation {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  isolation: isolate;
}
.ar-provider-rotation .ar-brand-provider-image {
  position: absolute;
  inset: 0;
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  opacity: 0;
  animation: ar-provider-crossfade 8.8s linear infinite;
}
.ar-provider-rotation .ar-brand-provider-image--claude {
  animation-delay: 0s;
}
.ar-provider-rotation .ar-brand-provider-image--openai {
  padding: 1px;
  animation-delay: -6.6s;
}
.dark .ar-provider-rotation .ar-brand-provider-image--openai {
  filter: invert(1);
}
.ar-provider-rotation .ar-brand-provider-image--hermes {
  border-radius: 6px;
  animation-delay: -4.4s;
}
.ar-provider-rotation .ar-brand-provider-image--codex {
  animation-delay: -2.2s;
}
/* Preserve the approved single-logo cycle, including its overlapping transitions. */
@keyframes ar-provider-crossfade {
  0%,
  22.5% {
    opacity: 1;
  }
  25%,
  97.5% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ar-provider-rotation .ar-brand-provider-image {
    animation: none;
  }
  .ar-provider-rotation .ar-brand-provider-image--claude {
    opacity: 1;
  }
}


/* /src/components/business/overview-cards.css */
.overview-arrange-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.overview-arrange-actions small {
  font-size: 10px;
  color: var(--op-muted);
}
.overview-arrange-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  font: inherit;
  font-size: 11px;
  color: var(--op-muted);
  cursor: pointer;
}
.overview-arrange-actions button:hover {
  color: var(--op-ink);
}
.overview-arrange-actions button:focus-visible,
.overview-card-handle:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.overview-arrange-hint {
  color: var(--op-muted);
  font-size: 11px;
  margin: -2px 0 12px;
}
.overview-card-slot {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
}
.overview-card-slot > .biz-bank {
  flex: 1;
  width: 100%;
}
.overview-card-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px;
  border: 1px dashed var(--op-border);
  border-radius: 10px;
  margin-bottom: 8px;
  color: var(--op-muted);
  font-size: 11px;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.overview-card-handle:active {
  cursor: grabbing;
}
.overview-card-slot[data-dragging] {
  pointer-events: none;
  opacity: 0.88;
  filter: drop-shadow(0 12px 20px #0004);
}
.overview-card-slot[data-drop-target] {
  outline: 2px dashed var(--op-accent);
  outline-offset: 5px;
}
.biz-overview-money-row[data-arranging] {
  isolation: isolate;
}
@media (min-width: 601px) and (max-width: 950px) {
  .overview-card-slot:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .overview-arrange-actions {
    justify-content: flex-start;
    gap: 10px;
  }
}


/* /src/components/jev/live-pill.css */
.live-pill {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 9999;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(640px, calc(100vw - 32px));
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(243, 134, 161, 0.35);
  background: rgba(18, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -16px rgba(212, 91, 182, 0.6);
  color: #f2eef6;
  font-size: 12.5px;
}
.live-pill-main { display: flex; align-items: center; gap: 9px; min-width: 0; color: inherit; text-decoration: none; }
.live-pill-orb { display: grid; border-radius: 7px; }
.live-pill[data-phase="speaking"] .live-pill-orb { animation: live-pill-pulse 0.9s ease-in-out infinite; }
.live-pill[data-phase="listening"] .live-pill-orb { box-shadow: 0 0 0 3px rgba(94, 200, 255, 0.35); }
@keyframes live-pill-pulse { 50% { box-shadow: 0 0 18px 2px rgba(243, 134, 161, 0.8); } }
.live-pill b { white-space: nowrap; font-weight: 650; }
.live-pill-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b7b0c2; max-width: 380px; }
.live-pill button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: inherit; font: inherit; cursor: pointer; }
.live-pill button:hover { background: rgba(255, 255, 255, 0.15); }
.live-pill-card { position: fixed; right: 22px; bottom: 80px; z-index: 9999; }


/* /src/components/operator/sidebar-profile.css */
.op-identity.ar-sidebar-profile {
  margin-top: 8px;
  padding: 11px 8px;
  gap: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.ar-sidebar-profile:hover {
  background: var(--op-accent-soft);
}

.ar-sidebar-profile:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 2px;
}

.ar-sidebar-profile > img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--op-border);
}

.ar-sidebar-profile > div {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.ar-sidebar-profile > svg {
  flex-shrink: 0;
  color: var(--op-muted);
}

#personal-profile {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .op-identity.ar-sidebar-profile {
    transition: none;
  }
}


/* /src/components/operator/accounts-hub.css */
.agentic-accounts-hub { padding-top: 6px; }
.agentic-account-groups { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--op-border); border-radius: 14px; background: var(--op-bg); margin: 2px 0 24px; }
.agentic-account-groups button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 10px; font-size: 12px; color: var(--op-muted); transition: background-color .2s,color .2s; }
.agentic-account-groups button[aria-selected=true] { background: var(--op-accent-soft); color: var(--op-ink); }
.agentic-account-groups button:focus-visible { outline: 2px solid var(--op-accent); outline-offset: 2px; }
@media(max-width:480px) { .agentic-account-groups button { font-size:11px; padding:10px 7px; } }


/* /src/components/ui/liquid-toggle.css */
.liquid-toggle { --liquid-active: #275efe; display: inline-block; position: relative; flex-shrink: 0; width: 52px; height: 32px; vertical-align: middle; }
.liquid-toggle[data-variant="success"] { --liquid-active: #10b981; }
.liquid-toggle[data-variant="warning"] { --liquid-active: #f59e0b; }
.liquid-toggle[data-variant="danger"] { --liquid-active: #ef4444; }
.liquid-toggle input { appearance: none; display: block; margin: 0; width: 100%; height: 100%; cursor: pointer; border: 0; border-radius: 999px; background: #c7cbdf; transition: background-color .4s; }
.dark .liquid-toggle input { background: #444752; }
.liquid-toggle input:checked { background: var(--liquid-active); }
.liquid-toggle input:focus-visible { outline: 2px solid var(--liquid-active); outline-offset: 4px; }
.liquid-toggle input:disabled { cursor: not-allowed; }
.liquid-toggle[data-disabled] { opacity: .5; }
.liquid-toggle svg { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; overflow: hidden; }
.liquid-toggle circle { transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .liquid-toggle input, .liquid-toggle circle { transition: none; } }


/* /src/components/business/audience.css */
.audience-panel { color: var(--op-ink); padding-top: 6px; }
.audience-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 12px 0 25px; }
.audience-eyebrow { color: var(--op-muted); font-size: 9px; letter-spacing: .18em; font-weight: 500; }
.audience-heading h2 { font-size: 29px; font-weight: 450; letter-spacing: -.045em; margin: 7px 0; }
.audience-heading p:not(.audience-eyebrow) { color: var(--op-muted); font-size: 12px; }
.audience-action { border: 1px solid var(--op-border); background: var(--op-panel); border-radius: 10px; color: var(--op-ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; font-size: 11px; white-space: nowrap; transition: border-color .18s, background .18s; }
.audience-action:hover { border-color: var(--op-accent); }
.audience-action.is-primary { color: var(--op-bg); background: var(--op-accent); border-color: var(--op-accent); font-weight: 550; }
.audience-panel button:disabled { opacity: .5; cursor: wait; }
.audience-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.audience-heading-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.audience-preview-badge { display: inline-flex; align-items: center; padding: 2px 5px; border-radius: 4px; background: color-mix(in srgb, var(--op-accent) 12%, transparent); color: var(--op-accent); font-size: 8px; line-height: 1.3; margin-right: 5px; }
.audience-history-mode { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin: 18px 0 7px; }
.audience-history-mode > div { display: flex; border: 1px solid var(--op-border); border-radius: 8px; padding: 3px; gap: 3px; }
.audience-history-mode button { border-radius: 5px; padding: 6px 9px; color: var(--op-muted); font-size: 9px; }
.audience-history-mode button[aria-pressed=true] { color: var(--op-ink); background: color-mix(in srgb, var(--op-accent) 13%, transparent); }
.audience-history-mode > span { color: var(--op-muted); font-size: 9px; }
.audience-growth-note button { display: inline-flex; align-items: center; gap: 4px; color: var(--op-accent); margin-top: 6px; }
@media (max-width: 600px) { .audience-history-mode { align-items: flex-start; flex-direction: column; gap: 8px; } .audience-heading-actions { flex-wrap: nowrap; } }
.audience-platform { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; text-align: left; border: 1px solid var(--op-border); background: var(--op-panel); border-radius: 16px; padding: 17px; transition: background .2s, border-color .2s, box-shadow .25s; position: relative; overflow: hidden; }
.audience-platform:hover { border-color: color-mix(in srgb, var(--audience-tone) 48%, var(--op-border)); background: color-mix(in srgb, var(--audience-tone) 5%, var(--op-panel)); }
.audience-platform.is-selected { border-color: color-mix(in srgb, var(--audience-tone) 78%, var(--op-border)); background: color-mix(in srgb, var(--audience-tone) 9%, var(--op-panel)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--audience-tone) 22%, transparent), 0 0 25px -6px color-mix(in srgb, var(--audience-tone) 31%, transparent), inset 0 0 26px -13px color-mix(in srgb, var(--audience-tone) 20%, transparent); }
.audience-platform-top { display: flex; gap: 8px; align-items: center; width: 100%; font-size: 11px; font-weight: 500; }
.audience-logo { width: 28px; height: 28px; object-fit: contain; flex: 0 0 auto; }
.audience-platform-arrow { margin-left: auto; color: var(--op-muted); opacity: 0; transition: opacity .2s; flex: 0 0 auto; }
.audience-platform:hover .audience-platform-arrow, .audience-platform.is-selected .audience-platform-arrow { opacity: 1; }
.audience-platform strong { font-size: clamp(26px, 2.5vw, 35px); letter-spacing: -.05em; line-height: 1.2; margin-top: 22px; font-weight: 450; }
.audience-platform-label { color: var(--op-muted); font-size: 11px; margin-top: 3px; }
.audience-platform-foot { color: var(--op-muted); font-size: 9px; margin-top: 18px; }
.audience-history { border: 1px solid var(--op-border); border-radius: 19px; background: var(--op-panel); padding: 23px 24px 0; overflow: hidden; }
.audience-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.audience-history-identity { display: flex; align-items: center; gap: 10px; }
.audience-history-identity .audience-logo { height: 34px; width: 34px; }
.audience-history-identity h3 { font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.audience-history-identity p { color: var(--op-muted); font-size: 10px; margin-top: 3px; }
.audience-history-controls { display: flex; align-items: center; gap: 12px; }
.audience-select { position: relative; display: flex; align-items: center; }
.audience-select select { appearance: none; border: 1px solid var(--op-border); border-radius: 8px; background: var(--op-panel); color: var(--op-ink); padding: 7px 27px 7px 10px; font-size: 10px; outline-color: var(--op-accent); }
.audience-select > svg { position: absolute; pointer-events: none; right: 8px; color: var(--op-muted); }
.audience-ranges { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--op-border); border-radius: 9px; }
.audience-ranges button { color: var(--op-muted); font-size: 10px; min-width: 32px; padding: 4px 7px; border-radius: 6px; }
.audience-ranges button[aria-pressed="true"] { background: color-mix(in srgb, var(--op-accent) 14%, transparent); color: var(--op-ink); }
.audience-growth-readout { display: flex; gap: 22px; align-items: flex-end; margin: 25px 0 15px; min-height: 69px; }
.audience-growth-readout > div:first-child > span { display: block; color: var(--op-muted); font-size: 10px; }
.audience-growth-readout strong { font-size: 38px; line-height: 1.25; font-weight: 450; letter-spacing: -.045em; }
.audience-delta { padding-bottom: 5px; }
.audience-delta > span { display: flex; align-items: center; color: var(--op-ink); font-size: 13px; gap: 3px; }
.audience-delta svg { color: #82b59f; }
.audience-delta b { font-size: 10px; font-weight: 450; color: #82b59f; border-radius: 5px; padding: 3px 5px; background: #82b59f13; margin-left: 4px; }
.audience-delta.is-negative svg, .audience-delta.is-negative b { color: #d899a4; }
.audience-delta p { color: var(--op-muted); font-size: 9px; margin: 5px 0 0 2px; }
.audience-growth-note { color: var(--op-muted); font-size: 10px; line-height: 1.6; padding-bottom: 5px; }
.audience-chart { width: 100%; height: 265px; margin-left: -6px; }
.audience-scale-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; color: var(--op-muted); font-size: 9px; margin: 4px 0 9px; }
.audience-scale-label span { color: var(--op-ink); font-variant-numeric: tabular-nums; }
.audience-chart-empty { height: 240px; position: relative; display: grid; place-items: center; }
.audience-empty-lines { position: absolute; inset: 25px 0 30px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; opacity: .65; }
.audience-empty-lines i { width: 100%; border-top: 1px dashed var(--op-border); }
.audience-empty-copy { z-index: 1; text-align: center; background: var(--op-panel); padding: 20px 28px; }
.audience-empty-copy h4 { font-size: 17px; font-weight: 450; letter-spacing: -.025em; margin-bottom: 8px; }
.audience-empty-copy p { color: var(--op-muted); font-size: 11px; max-width: 290px; line-height: 1.65; margin: 0 auto; }
.audience-empty-copy button { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--op-accent); margin-top: 17px; }
.audience-chart-caption { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 17px 0; color: var(--op-muted); font-size: 9px; }
.audience-chart-caption button { display: inline-flex; gap: 6px; align-items: center; color: var(--op-ink); white-space: nowrap; font-size: 10px; }
.audience-observations { border-top: 1px solid var(--op-border); }
.audience-observations summary { display: flex; align-items: center; gap: 8px; color: var(--op-muted); cursor: pointer; font-size: 10px; padding: 15px 0; list-style: none; }
.audience-observations summary::-webkit-details-marker { display: none; }
.audience-observations[open] summary svg { transform: rotate(180deg); }
.audience-table-wrap { max-height: 260px; overflow: auto; margin-bottom: 13px; }
.audience-observations table { width: 100%; text-align: left; border-collapse: collapse; font-size: 11px; }
.audience-observations th { color: var(--op-muted); font-weight: 450; font-size: 9px; position: sticky; top: 0; background: var(--op-panel); }
.audience-observations th, .audience-observations td { border-bottom: 1px solid var(--op-border); padding: 10px 10px 10px 0; }
.audience-observations th:nth-child(2), .audience-observations td:nth-child(2) { text-align: right; padding-right: 25px; }
.audience-entry-anchor { scroll-margin-top: 100px; }
.audience-setup-strip { padding: 22px 3px; display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.audience-setup-strip h3 { font-size: 14px; font-weight: 450; letter-spacing: -.02em; }
.audience-setup-strip p { color: var(--op-muted); font-size: 10px; margin-top: 5px; }
.audience-setup-strip > div:last-child { display: flex; align-items: center; gap: 18px; }
.audience-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--op-muted); font-size: 10px; }
.audience-text-button:hover { color: var(--op-ink); }
.audience-entry { border: 1px solid var(--op-border); border-radius: 16px; padding: 25px; background: var(--op-panel); margin-top: 20px; }
.audience-entry-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.audience-entry-heading h3 { font-size: 21px; font-weight: 450; letter-spacing: -.035em; margin-top: 6px; }
.audience-icon-button { color: var(--op-muted); padding: 5px; border-radius: 7px; }
.audience-record-form, .audience-import-form { max-width: 800px; }
.audience-record-form label, .audience-import-form label { display: block; color: var(--op-muted); font-size: 10px; }
.audience-record-form input, .audience-record-form select, .audience-import-form textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--op-border); color: var(--op-ink); border-radius: 9px; padding: 10px 12px; background: var(--op-bg); font-size: 12px; outline-color: var(--op-accent); min-height: 40px; }
.audience-record-form input::placeholder, .audience-import-form textarea::placeholder { color: var(--op-muted); opacity: .6; }
.audience-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-bottom: 18px; }
.audience-metric-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience-optional { float: right; color: var(--op-muted); opacity: .65; }
.audience-field-help { color: var(--op-muted); font-size: 9px; line-height: 1.75; margin-top: 11px; }
.audience-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.audience-form-error { color: #dc929d; font-size: 11px; margin-top: 12px; line-height: 1.6; }
.audience-saved, .audience-import-preview { display: flex; gap: 7px; align-items: center; font-size: 11px; color: var(--op-ink); margin: 15px 0; }
.audience-saved svg, .audience-import-preview svg { color: #82b59f; }
.audience-import-form > p:first-child { color: var(--op-muted); font-size: 11px; line-height: 1.6; }
.audience-import-actions { display: flex; align-items: center; gap: 20px; margin: 18px 0; }
.audience-import-form textarea { min-height: 130px; resize: vertical; font-family: ui-monospace, monospace; font-size: 10px; line-height: 1.7; }
.audience-loading, .audience-error { min-height: 300px; display: grid; place-content: center; gap: 15px; color: var(--op-muted); text-align: center; }
.audience-error button { color: var(--op-accent); }
@media (max-width: 1150px) { .audience-platform { padding: 14px 12px; } .audience-platform-top { gap: 5px; font-size: 10px; } .audience-platform-top .audience-logo { width: 23px; height: 23px; } .audience-platform-arrow { display: none; } }
@media (max-width: 850px) { .audience-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .audience-history-heading { align-items: flex-start; flex-direction: column; } .audience-history-controls { width: 100%; justify-content: space-between; } .audience-setup-strip { align-items: flex-start; flex-direction: column; } .audience-platform strong { margin-top: 15px; } .audience-platform-foot { margin-top: 10px; } }
@media (max-width: 520px) { .audience-heading { align-items: flex-start; gap: 12px; } .audience-heading h2 { font-size: 25px; } .audience-heading .audience-action { font-size: 0; padding: 10px; margin-top: 18px; gap: 0; } .audience-heading .audience-action svg { width: 17px; height: 17px; } .audience-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .audience-history { padding: 17px 14px 0; } .audience-history-controls { gap: 7px; } .audience-ranges button { padding: 4px 5px; min-width: 26px; } .audience-select select { max-width: 125px; font-size: 9px; } .audience-growth-readout strong { font-size: 31px; } .audience-growth-readout { gap: 12px; } .audience-delta > span { flex-wrap: wrap; font-size: 11px; } .audience-chart { height: 220px; } .audience-chart-caption { align-items: flex-start; font-size: 8px; } .audience-entry { padding: 18px; } .audience-form-grid { gap: 11px; } .audience-metric-fields { grid-template-columns: 1fr; } .audience-form-footer { align-items: flex-end; gap: 12px; } .audience-form-footer .audience-text-button { text-align: left; line-height: 1.6; } .audience-empty-copy { padding: 20px 12px; } .audience-empty-copy h4 { font-size: 15px; } .audience-setup-strip > div:last-child { gap: 15px; } }
@media (prefers-reduced-motion: reduce) { .audience-panel *, .audience-panel *::before { transition: none !important; } }
.audience-history-fold > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; list-style:none; padding:20px 24px; color:var(--op-ink); font-size:14px; }
.audience-history-fold > summary::-webkit-details-marker { display:none; }
.audience-history-fold > summary > span:last-child { display:flex; align-items:center; gap:10px; color:var(--op-muted); font-size:12px; }
.audience-history-fold:not([open]) { padding:0; }
.audience-connection-note { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:20px; border:1px solid var(--op-border); border-radius:16px; color:var(--op-muted); font-size:13px; }
.audience-connection-note .audience-logo { width:25px; height:25px; }
.audience-connection-note a { display:flex; align-items:center; gap:5px; color:var(--op-accent); margin-left:auto; }
.audience-connection-note button { cursor:pointer; font-size:12px; }


/* /src/components/jev/live-page.css */
/* Live: the voice strip on top, agent terminals with tabs below. */
.live {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100dvh - 56px - 48px);
}
.live-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 28px;
  padding: 22px 28px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--vo-accent) 22%, var(--op-border));
  background: radial-gradient(90% 140% at 12% 50%, #140e26, #07060c 70%);
  color: #f1edff;
  overflow: hidden;
  transition: border-color 0.6s;
}
@media (max-width: 760px) { .live-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.live-orb { margin: -22px -10px -14px; }
.live-orb-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.live-controls { display: flex; gap: 6px; position: relative; z-index: 1; }
.live-controls button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #ffffff24;
  background: #0b0914a6;
  backdrop-filter: blur(8px);
  color: #e4def5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}
.live-controls button:hover:enabled { border-color: color-mix(in srgb, var(--vo-accent) 60%, transparent); }
.live-controls button[aria-pressed="true"] { background: color-mix(in srgb, var(--vo-accent) 26%, #0b0914); border-color: color-mix(in srgb, var(--vo-accent) 60%, transparent); color: #fff; }
.live-controls button:disabled { opacity: 0.4; cursor: default; }
.live-memory {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  color: #b9b2cf;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.live-memory:hover { opacity: 1; color: #fff; }
.live-memory i { width: 6px; height: 6px; border-radius: 50%; background: #f386a1; box-shadow: 0 0 8px #f386a1; animation: live-mem 3s ease-in-out infinite; }
@keyframes live-mem { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .live-memory i { animation: none; } }
.live-hero-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.live-eyebrow {
  font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--vo-accent) 70%, #fff);
}
.live-lanes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.live-lane {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #ffffff1c;
  background: #ffffff08;
  color: #b9b2cf;
  transition: all 0.35s;
}
.live-lane b { font: 650 12px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.live-lanes[data-state="deciding"] .live-lane { animation: live-scan 1.1s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.18s); }
@keyframes live-scan { 35% { border-color: #d45bb6; box-shadow: 0 0 16px -4px #d45bb6; } }
.live-lanes[data-state="done"] .live-lane:not([data-picked]) { opacity: 0.55; }
.live-lane[data-picked] {
  color: #2a0624;
  border-color: transparent;
  background: linear-gradient(135deg, #d45bb6, #f386a1);
  box-shadow: 0 8px 22px -10px #d45bb6;
  font-weight: 650;
}
.live-lanes-meta {
  font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
  color: #b9b2cf;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.live-hero .jev-card { max-width: 560px; }

/* Conversation thread: your turn, then the OS turn (tier, cast voice, reply).
   Newest at the bottom; it scrolls once it outgrows the hero. */
.live-thread {
  list-style: none;
  margin: 0;
  padding: 10px 44px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 268px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffffff22 transparent;
  mask-image: linear-gradient(to bottom, transparent, #000 18px);
}
.live-thread { text-shadow: 0 1px 14px #07060ce6, 0 0 2px #07060c99; }
.lt-empty { font-size: 17px; color: #b9b2cf; }
.lt-you { align-self: flex-end; max-width: min(78%, 560px); }
.lt-you p {
  margin: 0;
  padding: 9px 14px;
  border-radius: 16px 16px 4px 16px;
  background: #ffffff14;
  border: 1px solid #ffffff1a;
  backdrop-filter: blur(8px);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 550;
  color: #f7f4ff;
}
.lt-you.is-live p { border-color: color-mix(in srgb, var(--vo-accent) 60%, transparent); color: color-mix(in srgb, var(--vo-accent) 35%, #fff); }
.lt-os { display: flex; flex-direction: column; gap: 6px; max-width: 72ch; }
.lt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lt-who { display: inline-flex; align-items: center; gap: 5px; margin-right: 2px; font: 650 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; color: #f386a1; }
.lt-tier {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  color: #2a0624;
  background: linear-gradient(135deg, #d45bb6, #f386a1);
}
.lt-tier b { font: 650 11px/1 ui-monospace, "SF Mono", Menlo, monospace; opacity: 0.75; }
.lt-cast { padding: 4px 9px; border-radius: 999px; border: 1px solid #ffffff1f; background: #ffffff0a; font-size: 12px; color: #d9d2ee; }
.lt-meta { font: 500 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #8d86a6; }
.lt-reply { margin: 0; font-size: 15px; line-height: 1.5; color: #e4def5; }
.lt-reply.is-error { color: #f6b49e; }
.lt-os:not(:last-child) .lt-reply { color: #bdb6d3; }
.live-thread .live-lanes { display: inline-flex; }
.live-confirm { display: flex; flex-wrap: wrap; gap: 8px; }
.live-confirm button { font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 10px; border: 1px solid #ffffff22; background: #ffffff0d; color: #f1edff; cursor: pointer; }
.live-confirm button.is-primary { background: #f5a524; border-color: #f5a524; color: #1d1204; }

/* Terminals */
.live-term {
  flex: 1;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid #ffffff14;
  background: #0a0a0d;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px #000;
}
.live-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 8px 0;
  background: #121217;
  border-bottom: 1px solid #ffffff10;
  overflow-x: auto;
  scrollbar-width: thin;
}
.live-tabs-empty { padding: 8px 10px 10px; font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #6f6b7a; }
.live-tab {
  flex: none;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  max-width: 300px;
  padding: 9px 12px 10px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: #8f8b9a;
  font-size: 12px;
  cursor: pointer;
}
.live-tab b { font-weight: 650; color: #d8d4e2; }
.live-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-tab small { font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #6f6b7a; }
.live-tab:hover { background: #ffffff08; }
.live-tab[aria-selected="true"] { background: #0a0a0d; border-color: #ffffff14; color: #c9c5d2; }
.live-tab-dot { width: 8px; height: 8px; border-radius: 50%; background: #5a5663; }
.live-tab[data-agent="claude"] .live-tab-dot { background: #d97757; }
.live-tab[data-agent="codex"] .live-tab-dot { background: #8f7cff; }
.live-tab[data-status="failed"] .live-tab-dot { background: #e25555; }
.live-tab-dot[data-live] { animation: live-pulse 1.2s ease-in-out infinite; box-shadow: 0 0 0 0 currentColor; }
@keyframes live-pulse { 50% { opacity: 0.35; } }

.live-term-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.live-term-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #ffffff0c; }
.live-term-status {
  font: 600 10.5px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 6px;
  background: #ffffff0f;
  color: #c9c5d2;
}
.live-term-status[data-status="running"], .live-term-status[data-status="queued"] { background: #f5a52422; color: #f5b84d; }
.live-term-status[data-status="completed"] { background: #3ddc9722; color: #5fe3aa; }
.live-term-status[data-status="failed"] { background: #e2555522; color: #ff8b8b; }
.live-term-title { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #9a97a3; }
.live-term-actions { margin-left: auto; display: inline-flex; gap: 6px; }
.live-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #ffffff22;
  background: #ffffff0a;
  color: #d8d4e2;
  cursor: pointer;
}
.live-open:hover { border-color: #f5a52488; color: #fff; }
.live-stop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #e2555566;
  background: none;
  color: #ff9b9b;
  cursor: pointer;
}
.live-steps { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px 14px 0; }
.live-steps span { font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #c9c5d2; background: #17171d; border: 1px solid #ffffff12; border-radius: 6px; padding: 5px 7px; }
.live-term-body pre {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 14px 16px 18px;
  overflow: auto;
  font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace;
  color: #dcd9e4;
  white-space: pre-wrap;
  word-break: break-word;
}
.live-term-body.is-empty pre { color: #7d7988; }
.live-prompt { color: #f5a524; }
.live-term-body[data-agent="codex"] .live-prompt { color: #a99bff; }
.live-cursor { display: inline-block; width: 8px; height: 15px; margin-left: 2px; vertical-align: -3px; background: #f5a524; animation: live-blink 1s steps(1) infinite; }
@keyframes live-blink { 50% { opacity: 0; } }

.live-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.live-quick { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.live-quick button { font-size: 12.5px; color: var(--op-muted); background: var(--op-panel); border: 1px solid var(--op-border); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.live-quick button:hover:not(:disabled) { color: var(--op-ink); }
.live-quick button:disabled { opacity: 0.45; }
.live-ask input { flex: 1; min-width: 0; font-size: 14px; color: var(--op-ink); background: var(--op-panel); border: 1px solid var(--op-border); border-radius: 12px; padding: 11px 13px; }
.live-ask input:focus-visible { outline: 2px solid #d45bb699; outline-offset: 0; }
.live-ask > button { display: grid; place-items: center; width: 44px; height: 42px; border-radius: 12px; border: 0; background: linear-gradient(135deg, #d45bb6, #f386a1); color: #2a0624; cursor: pointer; }
.live-ask > button:disabled { background: var(--op-panel); color: var(--op-muted); cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .live-lanes[data-state="deciding"] .live-lane, .live-tab-dot[data-live], .live-cursor { animation: none; }
}

.live-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #ffffff22;
  background: #ffffff0d;
  color: #d8d4e2;
  cursor: pointer;
}
.live-close:hover { color: #fff; border-color: #ffffff44; }

.live-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; min-height: 380px; }
@media (max-width: 1100px) { .live-main { grid-template-columns: 1fr; } }
.live-main .live-term { min-height: 380px; }


/* /src/components/jev/chat-task.css */
/* Inline task card in Chat: dark terminal glass under Jev's pick. */
.ctask {
  max-width: 760px;
  margin: 2px 0 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0b10;
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  animation: jc-rise 360ms ease both;
}
.ctask[data-live] { border-color: rgba(243, 134, 161, 0.22); }
.ctask-top {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  color: var(--op-ink, #f0edf5);
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
}
.ctask-top .jc-logo { border-radius: 6px; }
.ctask-model { color: #f386a1; font-weight: 600; }
.ctask-prompt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--op-muted, #948ea0); }
.ctask-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--op-muted, #948ea0); white-space: nowrap; }
.ctask-status i { width: 7px; height: 7px; border-radius: 50%; background: #7d7988; }
.ctask-status[data-status="running"] i, .ctask-status[data-status="queued"] i { background: #f5b84d; box-shadow: 0 0 0 3px #f5a52422; animation: live-blink 1.2s steps(1) infinite; }
.ctask-status[data-status="completed"] i { background: #5fe3aa; }
.ctask-status[data-status="failed"] i { background: #ff8b8b; }
.ctask-status[data-status="needs_input"] i { background: #f386a1; }
.ctask-chev { color: var(--op-muted, #948ea0); transition: transform 0.2s; }
.ctask[data-open] .ctask-chev { transform: rotate(180deg); }
.ctask .live-term-body { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ctask .live-term-body pre { max-height: 240px; min-height: 90px; overflow: auto; }

/* One action Jev took, e.g. "Opened Dashboard" or "Started Codex". */
.chat-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  color: var(--op-muted, #948ea0);
}
.chat-action b { color: var(--op-ink, #f0edf5); font-weight: 600; }
.chat-action-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(95, 227, 170, 0.14); color: #5fe3aa; }
.chat-confirm { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat-confirm button { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--op-border, #2a282f); background: var(--op-inset, #121215); color: var(--op-ink, #f0edf5); font-size: 12.5px; cursor: pointer; }
.chat-confirm button.is-primary { border-color: transparent; background: linear-gradient(135deg, #d45bb6, #f386a1); color: #fff; font-weight: 600; }
.ctask-fix { margin: 0; padding: 9px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; color: #f5b84d; }

/* Tiny quiet chips: what the OS assistant looked at. */
.os-tools { display: flex; flex-wrap: wrap; gap: 5px; margin: -4px 0 10px; }
.os-tools span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03); font-size: 11px; color: var(--op-muted, #948ea0); }
.os-tools span svg { color: #5fe3aa; }
.os-tools.is-live span { animation: jc-rise 260ms ease both; }
.ctask-ask { margin: 0; padding: 12px 14px; border-top: 1px solid rgba(243, 134, 161, 0.25); background: rgba(212, 91, 182, 0.08); font-size: 12.5px; color: var(--op-ink, #f0edf5); display: flex; flex-direction: column; gap: 8px; }
.ctask-ask > b { color: #f386a1; }
.ctask-ask p { margin: 0; }
.ctask-ask pre { margin: 0; max-height: 120px; overflow: auto; font-size: 11px; color: #b7b0c2; white-space: pre-wrap; }
.ctask-q { display: flex; flex-direction: column; gap: 6px; }
.ctask-q input { padding: 7px 10px; border-radius: 9px; border: 1px solid var(--op-border, #2a282f); background: var(--op-inset, #121215); color: inherit; font: inherit; }
.ctask-ask-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ctask-ask-actions button { padding: 6px 12px; border-radius: 9px; border: 1px solid var(--op-border, #2a282f); background: var(--op-inset, #121215); color: inherit; font: inherit; cursor: pointer; }
.ctask-ask-actions button[aria-pressed="true"] { border-color: #f386a1; color: #fff; }
.ctask-ask-actions .is-primary { border-color: transparent; background: linear-gradient(135deg, #d45bb6, #f386a1); color: #fff; font-weight: 600; }
.ctask-ask-actions button:disabled { opacity: 0.5; cursor: default; }


/* /src/components/business/workspace-overview.css */
.biz-workspace-overview {
  display: grid;
  gap: 18px;
}
@keyframes overview-orbit-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-5px, 3px, 0) scale(1.025);
  }
}
@keyframes overview-ring-glow {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .biz-overview-money-card::before {
    animation: overview-orbit-breathe 16s ease-in-out infinite;
  }
  .biz-overview-money-card:nth-child(2)::before {
    animation-delay: -5s;
  }
  .biz-overview-money-card:nth-child(3)::before {
    animation-delay: -10s;
  }
  .biz-overview-target-ring svg {
    animation: overview-ring-glow 8s ease-in-out infinite;
  }
}
.biz-overview-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
}
.biz-overview-intro h2 {
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -0.04em;
}
.biz-overview-intro p,
.biz-overview-muted {
  margin: 7px 0 0;
  color: var(--op-muted);
  font-size: 12px;
  line-height: 1.7;
}
.biz-overview-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}
.biz-overview-hero > section {
  padding: 26px 29px;
}
.biz-ai-spend {
  display: flex;
  flex-direction: column;
}
.biz-spend-total {
  font-size: clamp(42px, 5vw, 62px);
  letter-spacing: -0.055em;
  font-weight: 450;
  line-height: 1.25;
  margin-top: 27px;
}
.biz-spend-total > small {
  color: var(--op-muted);
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 9px;
  font-weight: 400;
}
.biz-plan-list {
  margin: 22px 0 16px;
}
.biz-plan-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--op-border);
}
.biz-plan-list > div > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.biz-plan-list i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #91bfc7;
}
.biz-plan-list i.is-claude {
  background: #d99478;
}
.biz-plan-list i.is-chatgpt {
  background: #a5d6bb;
}
.biz-plan-list i.is-codex {
  background: #cbb0ed;
}
.biz-plan-list small,
.biz-api-equivalent small {
  display: block;
  font-size: 10px;
  color: var(--op-muted);
  margin-top: 3px;
}
.biz-plan-list strong {
  font-weight: 450;
  font-variant-numeric: tabular-nums;
}
.biz-api-equivalent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 8px;
  font-size: 11px;
  margin-top: auto;
}
.biz-api-equivalent strong {
  color: var(--op-accent);
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.03em;
}
.biz-cost-note {
  font-size: 10px;
  color: var(--op-muted);
  line-height: 1.7;
  margin-top: 13px;
  max-width: 410px;
}
.biz-dream-review {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse at 70% 30%,
      color-mix(in srgb, var(--op-accent) 13%, transparent),
      transparent 64%
    ),
    var(--op-panel);
}
.biz-dream-review .biz-card-heading h2,
.biz-real-focus .biz-card-heading h2 {
  display: flex;
  gap: 8px;
  align-items: center;
}
.biz-dream-orbit {
  position: relative;
  width: 145px;
  height: 132px;
  margin: 12px auto 0;
  display: grid;
  place-items: center;
  color: var(--op-accent);
}
.biz-dream-orbit i {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--op-accent) 18%, transparent);
  transform: rotateX(54deg) rotateZ(25deg);
}
.biz-dream-orbit i:nth-child(2) {
  transform: rotateX(20deg) rotateY(55deg) rotateZ(-30deg);
}
.biz-dream-orbit i:nth-child(3) {
  transform: rotateX(65deg) rotateY(-30deg) rotateZ(65deg);
}
.biz-dream-orbit span {
  width: 69px;
  height: 69px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    color-mix(in srgb, var(--op-accent) 27%, transparent),
    color-mix(in srgb, var(--op-panel) 85%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--op-accent) 27%, transparent);
  box-shadow: 0 0 42px color-mix(in srgb, var(--op-accent) 10%, transparent);
}
.biz-dream-copy {
  text-align: center;
}
.biz-overview-kicker {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--op-accent);
}
.biz-dream-copy h3 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.2;
  white-space: pre-line;
  margin: 11px 0 15px;
}
.biz-dream-copy > p {
  max-width: 360px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--op-muted);
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-dream-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 17px;
  padding-top: 23px;
  margin-top: auto;
}
.biz-dream-actions .biz-inline-link {
  margin: 0;
  border: 0;
  padding: 0;
}
.biz-real-focus {
  padding: 25px 29px;
}
.biz-focus-direction {
  margin: 22px 0 5px;
}
.biz-focus-direction h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
  font-weight: 450;
  line-height: 1.3;
  max-width: 800px;
}
.biz-focus-direction p {
  color: var(--op-muted);
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.7;
}
.biz-real-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  padding: 25px 0 0;
}
.biz-real-metrics > div {
  min-width: 0;
}
.biz-real-metric-ring {
  position: relative;
  width: 74px;
  height: 74px;
  margin-bottom: 12px;
}
.biz-real-metric-ring svg {
  width: 74px;
  height: 74px;
  transform: rotate(-90deg);
}
.biz-real-metric-ring circle {
  fill: none;
  stroke-width: 5;
}
.biz-real-metric-ring .track {
  stroke: var(--op-border);
}
.biz-real-metric-ring .value {
  stroke: var(--op-accent);
  stroke-linecap: round;
}
.biz-real-metric-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.biz-real-metric-ring span small {
  font-size: 10px;
  color: var(--op-muted);
  margin-top: 5px;
}
.biz-real-metrics strong {
  font-size: 12px;
  font-weight: 500;
}
.biz-real-metrics p {
  font-size: 11px;
  color: var(--op-muted);
  margin: 6px 0;
}
.biz-real-metrics > div > small {
  font-size: 9px;
  color: var(--op-muted);
}
.biz-workspace-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 15px;
}
.biz-workspace-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 22px;
  color: var(--op-ink);
  text-align: left;
  transition: border-color 180ms ease;
}
.biz-workspace-link:hover {
  border-color: color-mix(in srgb, var(--op-accent) 55%, transparent);
}
.biz-workspace-link > svg:first-child,
.biz-memory-mini {
  color: var(--op-accent);
  margin-bottom: 18px;
}
.biz-memory-mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d5bdec, #74598b 50%, #1c1920 90%);
  border: 1px solid #bba7c8;
}
.biz-workspace-link > span:not(.biz-memory-mini) {
  font-size: 11px;
  color: var(--op-muted);
}
.biz-workspace-link > strong {
  display: block;
  margin: 10px 0 0;
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -0.035em;
}
.biz-workspace-link > strong.is-event {
  font-size: 19px;
  line-height: 1.4;
}
.biz-workspace-link strong small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--op-muted);
  margin: 3px 0 0;
}
.biz-workspace-link p {
  color: var(--op-muted);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 15px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.biz-workspace-link .go {
  position: absolute;
  right: 20px;
  top: 22px;
  color: var(--op-muted);
}
.biz-dream-reader {
  color: var(--op-ink);
}
.biz-dream-findings {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
}
.biz-dream-findings button {
  display: grid;
  grid-template-columns: 1fr 16px;
  gap: 7px;
  border: 1px solid var(--op-border);
  border-radius: 10px;
  padding: 12px;
  text-align: left;
  background: var(--op-panel);
  font-size: 12px;
}
.biz-dream-findings button[aria-pressed="true"] {
  border-color: var(--op-accent);
}
.biz-dream-findings small {
  grid-column: 1/-1;
  color: var(--op-muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.biz-dream-reader article h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.biz-dream-reader article p {
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0;
  color: var(--op-muted);
}
.biz-dream-reader details {
  font-size: 12px;
  padding: 10px 0;
  margin-bottom: 16px;
}
.biz-dream-reader summary {
  cursor: pointer;
}
.biz-dream-reader ul {
  padding-left: 18px;
}
.biz-dream-reader li {
  margin: 10px 0;
  overflow-wrap: anywhere;
  color: var(--op-muted);
}
.biz-replay-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #111e;
  color: white;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
.biz-replay-loading button {
  border: 1px solid #fff5;
  padding: 8px 14px;
  border-radius: 8px;
}
.biz-finance-group {
  display: grid;
  gap: 18px;
}
.biz-finance-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--op-muted);
  font-size: 10px;
  padding: 0 3px;
}
.biz-finance-label span:first-child {
  color: var(--op-accent);
}
.biz-finance-key-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.biz-finance-key-metrics .biz-runway {
  padding: 23px;
}
.biz-details-drawer {
  border: 1px solid var(--op-border);
  border-radius: 15px;
  margin-top: 18px;
  background: var(--op-panel);
}
.biz-details-drawer > summary {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}
.biz-details-drawer > summary::-webkit-details-marker {
  display: none;
}
.biz-details-drawer > summary small {
  display: block;
  margin-top: 5px;
  color: var(--op-muted);
  font-size: 10px;
}
.biz-details-drawer > summary svg {
  transition: transform 150ms;
  flex-shrink: 0;
}
.biz-details-drawer[open] > summary svg {
  transform: rotate(90deg);
}
.biz-details-drawer > .biz-drawer-content {
  padding: 0 18px 18px;
  display: grid;
  gap: 18px;
}
.biz-drawer-content .biz-accounts {
  margin-top: 0;
}
.biz-drawer-content .biz-card {
  box-shadow: none;
}
.biz-imported-balances {
  margin-bottom: 24px;
  padding: 25px;
}
.biz-imported-balances .biz-accounts {
  margin: 18px 0 0;
}
.biz-imported-balances .biz-accounts .biz-card {
  background: transparent;
  padding: 17px;
}
.biz-imported-balances > p {
  font-size: 11px;
  margin: 10px 0 0;
  color: var(--op-muted);
}
.biz-imported-balances .biz-account-amount {
  font-size: 29px;
}
@media (max-width: 900px) {
  .biz-finance-key-metrics {
    grid-template-columns: 1fr;
  }
  .biz-workspace-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .biz-overview-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  .biz-overview-hero > section,
  .biz-real-focus {
    padding: 22px;
  }
  .biz-workspace-links {
    gap: 10px;
  }
  .biz-workspace-link {
    padding: 17px;
  }
  .biz-workspace-link .go {
    right: 15px;
    top: 17px;
  }
  .biz-workspace-link strong.is-event {
    font-size: 16px;
  }
  .biz-dream-copy h3 {
    font-size: 28px;
  }
  .biz-finance-label {
    flex-direction: column;
    gap: 3px;
  }
  .biz-dream-reader article h3 {
    font-size: 18px;
  }
  .biz-overview-intro .biz-soft-button {
    padding-left: 0;
    border: 0;
    background: none;
  }
}

.biz-focus-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.biz-focus-actions .biz-inline-link {
  border: none;
  padding-bottom: 0;
}
.biz-measure-list {
  display: grid;
  gap: 18px;
}
.biz-measure-list fieldset {
  border: 1px solid var(--op-border);
  padding: 15px;
  border-radius: 12px;
  min-width: 0;
}
.biz-measure-list legend {
  color: var(--op-muted);
  padding: 0 6px;
  font-size: 11px;
}
.biz-measure-fields {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 10px;
  margin: 12px 0;
}
.biz-measure-fields input,
.biz-measure-fields select {
  min-width: 0;
  width: 100%;
}
.biz-measure-list .op-text-link {
  font-size: 11px;
}
@media (max-width: 600px) {
  .biz-measure-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.biz-dream-actions .biz-inline-link,
.biz-focus-actions .biz-inline-link {
  display: inline-flex;
  width: auto;
  justify-content: flex-start;
  gap: 7px;
}
.biz-imported-balances .biz-accounts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

/* The overview starts with the business. AI costs stay in the supporting rail. */
.biz-overview-date {
  margin: -7px 0 -4px;
}
.biz-overview-date > p {
  margin: 0;
  font-size: 11px;
}
.biz-overview-date .biz-inline-link {
  margin: 0;
  border: 0;
  padding: 0;
  width: auto;
  display: inline-flex;
  gap: 6px;
}
.biz-principal-stats {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}
.biz-principal-stat {
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 23px;
  min-height: 198px;
  color: var(--op-ink);
  transition: border-color 180ms ease;
}
.biz-principal-stat:hover {
  border-color: color-mix(in srgb, var(--op-accent) 50%, transparent);
}
.biz-principal-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--op-muted);
}
.biz-principal-label > svg:last-child {
  margin-left: auto;
  opacity: 0.8;
}
.biz-principal-label .audience-logo {
  width: 19px;
  height: 19px;
}
.biz-principal-number {
  font-size: clamp(32px, 3.5vw, 47px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.2;
  display: block;
  margin-top: 25px;
  font-variant-numeric: tabular-nums;
}
.biz-principal-data {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 15px;
}
.biz-stat-trend {
  width: 105px;
  height: 34px;
  color: var(--op-accent);
  flex-shrink: 1;
  margin-bottom: 4px;
}
.is-youtube .biz-stat-trend {
  color: #cc9da8;
}
.biz-principal-provenance {
  font-size: 9px;
  line-height: 1.65;
  color: var(--op-muted);
  margin-top: auto;
  display: block;
}
.biz-cash-accounts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 21px 0 17px;
}
.biz-cash-accounts > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.biz-cash-accounts strong {
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.biz-cash-accounts span {
  color: var(--op-muted);
  font-size: 9px;
}
.biz-principal-stat > p {
  font-size: 11px;
  color: var(--op-muted);
  margin: 8px 0 18px;
}
.biz-today-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 30% 0%,
      color-mix(in srgb, var(--op-accent) 8%, transparent),
      transparent 62%
    ),
    var(--op-panel);
}
.biz-brief-main {
  padding: 28px 30px 19px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.biz-brief-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.biz-brief-title h2 {
  font-size: 15px;
  font-weight: 450;
}
.biz-brief-title > span:last-child {
  color: var(--op-muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  margin-left: auto;
}
.biz-brief-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--op-accent);
  border: 1px solid color-mix(in srgb, var(--op-accent) 22%, transparent);
  background: radial-gradient(
    circle at 30% 30%,
    color-mix(in srgb, var(--op-accent) 19%, transparent),
    transparent
  );
}
.biz-brief-story {
  margin: 31px 0 23px;
  min-height: 193px;
}
.biz-brief-story h3 {
  font-size: clamp(23px, 2.7vw, 33px);
  letter-spacing: -0.045em;
  line-height: 1.22;
  font-weight: 450;
  margin: 12px 0 14px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-brief-story p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--op-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-brief-story-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-top: auto;
}
.biz-brief-story-footer .biz-inline-link {
  display: inline-flex;
  gap: 7px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.biz-brief-pager {
  display: flex;
  align-items: center;
  gap: 5px;
}
.biz-brief-pager > span {
  color: var(--op-muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  margin-right: 9px;
}
.biz-brief-pager button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--op-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--op-muted);
  background: transparent;
}
.biz-brief-pager button:hover {
  color: var(--op-ink);
  border-color: var(--op-accent);
}
.biz-brief-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}
.biz-brief-source {
  color: var(--op-muted);
  font-size: 9px;
  margin: 13px 0 0;
}
.biz-brief-side {
  border-left: 1px solid var(--op-border);
  padding: 28px 25px 21px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: color-mix(in srgb, var(--op-panel) 50%, transparent);
}
.biz-brief-side-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}
.biz-brief-side-heading > button {
  color: var(--op-accent);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.biz-horizon-list {
  display: grid;
  gap: 0;
  margin: 15px 0;
}
.biz-horizon-list > button {
  text-align: left;
  border-bottom: 1px solid var(--op-border);
  padding: 16px 0;
}
.biz-horizon-list small {
  color: var(--op-muted);
  display: flex;
  gap: 9px;
  justify-content: space-between;
  font-size: 9px;
}
.biz-horizon-list small span {
  opacity: 0.8;
}
.biz-horizon-list strong {
  display: block;
  font-weight: 450;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 7px;
}
.biz-horizon-list > button:hover strong {
  color: var(--op-accent);
}
.biz-brief-dream {
  margin-top: auto;
}
.biz-brief-dream > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--op-muted);
}
.biz-brief-dream > div {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.biz-brief-dream button,
.biz-brief-dream > a {
  color: var(--op-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
}
.biz-brief-dream > a {
  margin-top: 10px;
}
.biz-brief-bottom {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--op-border);
  padding: 17px 27px;
  gap: 16px 28px;
}
.biz-brief-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--op-muted);
  font-size: 10px;
}
.biz-brief-bottom a:hover {
  color: var(--op-ink);
}
.biz-brief-bottom a > strong {
  font-weight: 500;
  color: var(--op-ink);
}
.biz-brief-bottom a > small {
  font-size: 9px;
  border-left: 1px solid var(--op-border);
  padding-left: 9px;
  margin-left: 3px;
}
.biz-brief-bottom .biz-memory-mini {
  width: 14px;
  height: 14px;
  margin: 0;
}
.biz-ai-details {
  border: 1px solid var(--op-border);
  border-radius: 13px;
  background: var(--op-panel);
}
.biz-ai-details > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.biz-ai-details > summary::-webkit-details-marker {
  display: none;
}
.biz-ai-details > summary > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.biz-ai-details summary strong {
  font-size: 11px;
  font-weight: 500;
}
.biz-ai-details summary small {
  font-size: 10px;
  color: var(--op-muted);
  font-weight: 400;
}
.biz-ai-details summary > span:last-child {
  font-variant-numeric: tabular-nums;
}
.biz-ai-details summary svg {
  color: var(--op-muted);
  transition: transform 180ms;
}
.biz-ai-details[open] summary svg {
  transform: rotate(90deg);
}
.biz-ai-summary-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--op-border);
  border-radius: 5px;
  width: 22px;
  height: 22px;
  font-size: 9px;
  color: var(--op-muted);
}
.biz-ai-details .biz-ai-spend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 0 23px 23px;
  border-top: 1px solid var(--op-border);
}
.biz-ai-details .biz-plan-list {
  margin: 10px 0 0;
}
.biz-ai-details .biz-api-equivalent {
  margin-top: 19px;
}
@media (max-width: 1050px) {
  .biz-principal-stats {
    gap: 11px;
  }
  .biz-principal-stat {
    padding: 18px;
  }
  .biz-principal-label {
    font-size: 10px;
    gap: 7px;
  }
  .biz-cash-accounts strong {
    font-size: 23px;
  }
  .biz-principal-number {
    font-size: 35px;
  }
  .biz-stat-trend {
    width: 78px;
  }
  .biz-today-brief {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.85fr);
  }
  .biz-brief-main {
    padding: 23px;
  }
  .biz-brief-side {
    padding: 23px 20px;
  }
  .biz-brief-title > span:last-child {
    display: none;
  }
  .biz-brief-story h3 {
    font-size: 27px;
  }
}
@media (max-width: 760px) {
  .biz-principal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .biz-principal-stat.is-cash {
    grid-column: 1/-1;
    min-height: 150px;
  }
  .biz-cash-accounts {
    flex-direction: row;
    gap: 22px;
  }
  .biz-cash-accounts > div {
    flex: 1;
    display: block;
  }
  .biz-cash-accounts span {
    display: block;
    margin-top: 5px;
  }
  .biz-principal-stat {
    min-height: 195px;
  }
  .biz-today-brief {
    grid-template-columns: 1fr;
  }
  .biz-brief-side {
    border-left: 0;
    border-top: 1px solid var(--op-border);
  }
  .biz-horizon-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .biz-horizon-list > button {
    border: 0;
    padding: 10px 0;
  }
  .biz-horizon-list small {
    display: block;
  }
  .biz-horizon-list small span {
    display: block;
    margin-top: 4px;
  }
  .biz-brief-dream {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
  }
  .biz-brief-dream > div {
    margin-top: 0;
  }
  .biz-ai-details summary > span:first-child > small {
    display: none;
  }
}
@media (max-width: 450px) {
  .biz-cash-accounts strong {
    font-size: 25px;
  }
  .biz-principal-stats {
    gap: 10px;
  }
  .biz-principal-stat {
    padding: 16px;
  }
  .biz-principal-label {
    gap: 6px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .biz-principal-label > svg:last-child {
    display: none;
  }
  .biz-principal-number {
    font-size: 32px;
  }
  .biz-principal-provenance {
    font-size: 8px;
  }
  .biz-stat-trend {
    width: 100%;
    height: 29px;
  }
  .biz-principal-data {
    margin-bottom: 9px;
    gap: 10px;
  }
  .biz-principal-number {
    margin-top: 20px;
  }
  .biz-brief-main {
    padding: 21px;
  }
  .biz-brief-story {
    margin-top: 25px;
  }
  .biz-brief-story h3 {
    font-size: 27px;
  }
  .biz-brief-side {
    padding: 20px;
  }
  .biz-horizon-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 8px;
  }
  .biz-horizon-list > button {
    padding: 13px 0;
    border-bottom: 1px solid var(--op-border);
  }
  .biz-horizon-list small {
    display: flex;
    justify-content: space-between;
  }
  .biz-horizon-list small span {
    margin: 0;
  }
  .biz-brief-dream {
    flex-wrap: wrap;
    padding-top: 7px;
    gap: 10px;
  }
  .biz-brief-bottom {
    padding: 17px 20px;
    gap: 14px;
  }
  .biz-ai-details > summary {
    padding: 15px 18px;
  }
  .biz-ai-details .biz-ai-spend {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .biz-overview-date {
    flex-direction: row;
    align-items: center;
  }
  .biz-overview-date > p {
    font-size: 10px;
  }
}

.biz-principal-stats.cash-only {
  grid-template-columns: 1fr;
}
.biz-prepare-brief {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: var(--op-accent);
  border: 1px solid color-mix(in srgb, var(--op-accent) 22%, transparent);
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--op-accent) 5%, transparent);
}
.biz-prepare-brief:hover {
  background: color-mix(in srgb, var(--op-accent) 12%, transparent);
}
@media (max-width: 450px) {
  .biz-brief-title {
    flex-wrap: wrap;
  }
  .biz-prepare-brief {
    margin-left: 0;
    margin-top: 4px;
  }
}

/* Overview: the finance instruments carry the visual language across the page. */
.biz-overview-finance-style {
  display: grid;
  gap: 18px;
}
.biz-overview-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--op-muted);
  font-size: 11px;
  padding: 0 1px;
}
.biz-overview-section-label > small {
  font-size: 9px;
  color: var(--op-muted);
}
.biz-overview-money-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.biz-bank.biz-overview-money-card {
  min-height: 332px;
  padding: 23px 25px 0;
  border-radius: 20px;
}
.biz-overview-money-card .biz-bank-top {
  gap: 11px;
  min-height: 52px;
}
.biz-overview-money-card .biz-bank-top h2 {
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 180px;
  text-wrap: balance;
}
.biz-overview-money-card .biz-instrument-mark {
  width: 35px;
  height: 35px;
}
.biz-overview-demo-chip {
  font-size: 8px;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--op-muted) 23%, transparent);
  color: var(--op-muted);
  margin-left: auto;
  flex-shrink: 0;
}
.biz-overview-money-card .biz-bank-caption {
  margin-top: 20px;
  font-size: 11px;
}
.biz-overview-money-card .biz-bank-number {
  font-size: clamp(32px, 3.2vw, 49px);
  margin-top: 7px;
}
.biz-overview-money-sub {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: var(--biz-c-bcb0c7);
  margin-top: 13px;
}
.biz-overview-small-dot {
  display: block;
  width: 5px;
  height: 5px;
  background: #abd2c0;
  border-radius: 50%;
}
.biz-overview-balance-art {
  flex: 1;
  min-height: 90px;
  display: flex;
  align-items: flex-end;
  margin: 15px -25px 0;
  color: var(--biz-c-e6d7f4);
  opacity: 0.9;
}
.biz-overview-balance-art svg {
  width: 100%;
  height: 90px;
}
.biz-overview-money-card .biz-bank-footer {
  font-size: 9px;
  padding: 16px 0;
  margin-top: auto;
}
.biz-overview-money-card .biz-bank-footer > span {
  gap: 6px;
}
.biz-overview-money-card .biz-account-dots i {
  width: 12px;
  height: 12px;
}
.biz-bank.is-overview-income {
  background:
    radial-gradient(
      ellipse at 100% 0%,
      color-mix(in srgb, #94b8b0 14%, transparent),
      transparent 66%
    ),
    linear-gradient(130deg, color-mix(in srgb, var(--op-panel) 94%, #749487), var(--op-panel));
  border-color: color-mix(in srgb, #a0bfaf 18%, var(--op-border));
}
.is-overview-income::before {
  border-color: color-mix(in srgb, #a0bfaf 7%, transparent);
  box-shadow:
    0 0 0 24px color-mix(in srgb, #a0bfaf 2%, transparent),
    0 0 0 48px color-mix(in srgb, #a0bfaf 2%, transparent);
}
.is-overview-income .biz-bank-caption {
  color: var(--op-muted);
}
.is-overview-income .biz-bank-number {
  color: var(--op-ink);
}
.biz-overview-income-bars {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 113px;
  margin: 18px 1px 13px;
}
.biz-overview-income-bars > div {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  padding-bottom: 19px;
}
.biz-overview-income-bars > div > span {
  width: 100%;
  max-width: 30px;
  min-height: 4px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #b6d8c8, #6d8f87);
  box-shadow: inset 0 1px 0 #e6fff333;
}
.biz-overview-income-bars > div > span.is-partial {
  background: repeating-linear-gradient(135deg, #9cb9ac18 0 2px, #9cb9ac38 2px 3px);
  border: 1px dashed #a6c8b0;
}
.biz-overview-income-bars small {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--op-muted);
  font-size: 8px;
}
.biz-bank.is-overview-target {
  background:
    radial-gradient(
      ellipse at 0% 0%,
      color-mix(in srgb, var(--op-accent) 9%, transparent),
      transparent 70%
    ),
    var(--op-panel);
  border-color: var(--op-border);
}
.is-overview-target::before {
  width: 270px;
  height: 270px;
  right: -200px;
  top: 28px;
  opacity: 0.6;
}
.biz-overview-target-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--op-accent);
  border: 1px solid color-mix(in srgb, var(--op-accent) 22%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--op-accent) 6%, transparent);
}
.biz-overview-target-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex: 1;
  min-height: 220px;
  margin: 4px -6px 0;
}
.biz-overview-target-ring {
  position: relative;
  width: clamp(128px, 13vw, 172px);
  flex-shrink: 0;
  color: var(--op-accent);
}
.biz-overview-target-ring svg {
  width: 100%;
}
.biz-overview-target-ring circle {
  fill: none;
  stroke-width: 10;
}
.biz-overview-target-ring .track {
  stroke: color-mix(in srgb, var(--op-accent) 11%, transparent);
}
.biz-overview-target-ring .value {
  stroke: var(--op-accent);
  stroke-linecap: round;
}
.biz-overview-target-ring > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--op-ink);
  font-size: 38px;
  letter-spacing: -0.04em;
  padding-bottom: 8px;
}
.biz-overview-target-ring > span > small {
  font-size: 16px;
  color: var(--op-muted);
  margin: 5px 0 0 2px;
}
.biz-overview-target-ring em {
  position: absolute;
  top: calc(50% + 20px);
  font-size: 9px;
  letter-spacing: 0;
  font-style: normal;
  color: var(--op-muted);
}
.biz-overview-target-values {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.biz-overview-target-values strong {
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.03em;
}
.biz-overview-target-values > span {
  font-size: 11px;
  color: var(--op-muted);
}
.biz-overview-target-values small {
  font-size: 8px;
  color: var(--op-muted);
  margin-top: 9px;
}
.biz-overview-snapshot-note {
  color: var(--op-muted);
  font-size: 9px;
  line-height: 1.65;
  margin: -6px 3px 4px;
}
.biz-overview-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 9px 0 17px;
}
.biz-overview-section-heading h2 {
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.035em;
}
.biz-overview-section-heading button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--op-muted);
}
.biz-overview-section-heading button:hover {
  color: var(--op-accent);
}
.biz-overview-brand-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}
.biz-overview-brand-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--overview-brand-tone) 22%, var(--op-border));
  border-radius: 17px;
  background:
    radial-gradient(
      ellipse at 100% 5%,
      color-mix(in srgb, var(--overview-brand-tone) 16%, transparent),
      transparent 68%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--op-panel) 95%, var(--overview-brand-tone)),
      var(--op-panel)
    );
  padding: 19px 18px 0;
  display: flex;
  flex-direction: column;
  min-height: 253px;
  color: var(--op-ink);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}
.biz-overview-brand-card:hover {
  border-color: color-mix(in srgb, var(--overview-brand-tone) 60%, transparent);
  transform: translateY(-2px);
}
.biz-overview-brand-card::before {
  content: "";
  position: absolute;
  right: -63px;
  top: 26px;
  width: 114px;
  height: 114px;
  border: 1px solid color-mix(in srgb, var(--overview-brand-tone) 7%, transparent);
  box-shadow:
    0 0 0 15px color-mix(in srgb, var(--overview-brand-tone) 2%, transparent),
    0 0 0 30px color-mix(in srgb, var(--overview-brand-tone) 2%, transparent);
  border-radius: 50%;
  z-index: -1;
}
.biz-overview-brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--op-muted);
}
.biz-overview-brand-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--overview-brand-tone) 23%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--overview-brand-tone) 7%, transparent);
  box-shadow: inset 0 1px 0 #ffffff0c;
}
.biz-overview-brand-avatar .audience-logo {
  width: 24px;
  height: 24px;
}
.biz-overview-brand-name {
  font-size: 11px;
  color: var(--op-muted);
  margin-top: 17px;
}
.biz-overview-brand-card > strong {
  font-size: clamp(25px, 2.65vw, 38px);
  font-weight: 450;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-top: 9px;
}
.biz-overview-brand-measure {
  color: var(--op-muted);
  font-size: 9px;
  margin-top: 6px;
}
.biz-overview-brand-chart {
  color: var(--overview-brand-tone);
  height: 58px;
  margin: 14px -18px 0;
  display: flex;
  align-items: flex-end;
}
.biz-overview-brand-chart svg {
  width: 100%;
  height: 58px;
}
.biz-overview-brand-source {
  border-top: 1px solid color-mix(in srgb, var(--overview-brand-tone) 13%, transparent);
  padding: 12px 0;
  color: var(--op-muted);
  font-size: 8px;
  line-height: 1.4;
  margin-top: auto;
}
.biz-overview-progress-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.biz-overview-progress-card {
  text-align: left;
  padding: 22px 23px;
  color: var(--op-ink);
}
.biz-overview-progress-card:hover {
  border-color: color-mix(in srgb, var(--overview-goal-tone) 42%, transparent);
}
.biz-overview-progress-label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--op-muted);
  font-size: 11px;
}
.biz-overview-progress-label > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid color-mix(in srgb, var(--overview-goal-tone) 21%, transparent);
  color: var(--overview-goal-tone);
  border-radius: 7px;
  background: color-mix(in srgb, var(--overview-goal-tone) 5%, transparent);
  font-size: 9px;
}
.biz-overview-progress-label > svg {
  margin-left: auto;
}
.biz-overview-progress-card h3 {
  font-size: 18px;
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.45;
  margin-top: 21px;
  min-height: 53px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-overview-progress-state {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 20px 0 10px;
  gap: 12px;
}
.biz-overview-progress-state strong {
  font-size: 20px;
  font-weight: 450;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.biz-overview-progress-state > span {
  font-size: 9px;
  color: var(--op-muted);
}
.biz-overview-progress-track {
  height: 6px;
  width: 100%;
  background: color-mix(in srgb, var(--overview-goal-tone) 9%, transparent);
  border-radius: 6px;
  overflow: hidden;
}
.biz-overview-progress-track > span {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--overview-goal-tone) 58%, transparent),
    var(--overview-goal-tone)
  );
  border-radius: 6px;
}
.biz-overview-progress-card > small {
  display: block;
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 11px;
}
.biz-overview-brief-placeholder {
  padding: 32px;
  min-height: 210px;
}
.biz-overview-brief-placeholder h2 {
  font-size: 23px;
  letter-spacing: -0.04em;
  font-weight: 450;
  margin-bottom: 28px;
}
.biz-overview-brief-placeholder div {
  height: 10px;
  background: var(--op-border);
  border-radius: 10px;
  width: 75%;
  margin-top: 15px;
}
.biz-overview-brief-placeholder div:last-child {
  width: 55%;
}
.biz-dream-secondary-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.biz-dream-secondary-actions > span,
.biz-dream-secondary-actions > button,
.biz-dream-secondary-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.biz-dream-secondary-actions > span {
  color: var(--op-muted);
}
.biz-dream-secondary-actions > button,
.biz-dream-secondary-actions > a {
  color: var(--op-accent);
}
.biz-finance-deep-dive {
  border: 1px solid var(--op-border);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 23px;
  background: var(--op-panel);
}
.biz-finance-deep-tabs {
  display: flex;
  gap: 3px;
  padding: 15px 19px;
  border-bottom: 1px solid var(--op-border);
}
.biz-finance-deep-tabs > button {
  font-size: 11px;
  color: var(--op-muted);
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.biz-finance-deep-tabs > button[aria-selected="true"] {
  background: color-mix(in srgb, var(--op-accent) 9%, transparent);
  color: var(--op-ink);
  border-color: color-mix(in srgb, var(--op-accent) 18%, transparent);
}
.biz-finance-deep-content {
  padding: 22px;
  display: grid;
  gap: 18px;
}
.biz-finance-deep-content > .biz-accounts {
  margin-top: 0;
}
.biz-finance-deep-content .biz-card {
  background: color-mix(in srgb, var(--op-panel) 94%, var(--op-ink));
}
@media (max-width: 1150px) {
  .biz-bank.biz-overview-money-card {
    padding: 20px 20px 0;
  }
  .biz-overview-money-card .biz-bank-top h2 {
    font-size: 19px;
  }
  .biz-overview-money-card .biz-instrument-mark,
  .biz-overview-target-icon {
    width: 30px;
    height: 30px;
  }
  .biz-overview-target-body {
    gap: 5px;
  }
  .biz-overview-target-values strong {
    font-size: 19px;
  }
  .biz-overview-brand-row {
    gap: 10px;
  }
  .biz-overview-brand-card {
    padding-left: 14px;
    padding-right: 14px;
  }
  .biz-overview-brand-chart {
    margin-left: -14px;
    margin-right: -14px;
  }
  .biz-overview-brand-card > strong {
    font-size: 31px;
  }
  .biz-overview-balance-art {
    margin-left: -20px;
    margin-right: -20px;
  }
}
@media (max-width: 950px) {
  .biz-overview-money-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .biz-overview-money-card.is-overview-target {
    grid-column: 1/-1;
    min-height: 260px;
  }
  .biz-overview-target-body {
    min-height: 174px;
    gap: 30px;
  }
  .biz-overview-target-ring {
    width: 158px;
  }
  .biz-overview-brand-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .biz-overview-brand-card {
    min-height: 242px;
  }
  .biz-overview-brand-card > strong {
    font-size: 36px;
  }
  .biz-overview-progress-row {
    grid-template-columns: 1fr;
  }
  .biz-overview-progress-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 130px;
    gap: 14px 20px;
    align-items: center;
  }
  .biz-overview-progress-card h3 {
    margin: 0;
    min-height: 0;
    font-size: 16px;
  }
  .biz-overview-progress-state {
    margin: 0;
  }
  .biz-overview-progress-track {
    grid-column: 2/-1;
  }
  .biz-overview-progress-card > small {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
  }
}
@media (max-width: 600px) {
  .biz-overview-section-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .biz-overview-money-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .biz-bank.biz-overview-money-card {
    min-height: 313px;
    padding: 22px 23px 0;
  }
  .biz-overview-money-card .biz-bank-top h2 {
    font-size: 22px;
  }
  .biz-overview-money-card .biz-bank-number {
    font-size: 43px;
  }
  .biz-overview-target-body {
    min-height: 205px;
  }
  .biz-overview-target-ring {
    width: 174px;
  }
  .biz-overview-money-card.is-overview-target {
    min-height: 305px;
  }
  .biz-overview-brand-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .biz-overview-brand-card {
    min-height: 239px;
    padding-top: 17px;
  }
  .biz-overview-brand-card:last-child {
    grid-column: 1/-1;
    min-height: 210px;
  }
  .biz-overview-brand-card:last-child .biz-overview-brand-chart {
    position: absolute;
    bottom: 39px;
    right: 0;
    left: 42%;
    height: 80px;
    opacity: 0.8;
  }
  .biz-overview-brand-card:last-child .biz-overview-brand-chart svg {
    height: 80px;
  }
  .biz-overview-brand-card:last-child .biz-overview-brand-source {
    margin-top: 20px;
  }
  .biz-overview-brand-card > strong {
    font-size: 33px;
  }
  .biz-overview-section-heading h2 {
    font-size: 21px;
  }
  .biz-overview-section-heading button {
    font-size: 9px;
  }
  .biz-overview-section-heading {
    gap: 10px;
  }
  .biz-overview-progress-card {
    display: block;
    padding: 22px;
  }
  .biz-overview-progress-card h3 {
    margin-top: 17px;
    font-size: 19px;
  }
  .biz-overview-progress-state {
    margin: 20px 0 12px;
  }
  .biz-overview-progress-card > small {
    margin-top: 11px;
  }
  .biz-finance-deep-tabs {
    padding: 12px 10px;
    gap: 2px;
  }
  .biz-finance-deep-tabs > button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .biz-finance-deep-content {
    padding: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-overview-brand-card {
    transition: none;
  }
  .biz-overview-brand-card:hover {
    transform: none;
  }
}
@media (min-width: 951px) and (max-width: 1350px) {
  .biz-overview-target-body {
    flex-direction: column;
    gap: 3px;
    padding: 10px 0;
  }
  .biz-overview-target-ring {
    width: 136px;
  }
  .biz-overview-target-values {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 5px 7px;
  }
  .biz-overview-target-values strong {
    font-size: 20px;
  }
  .biz-overview-target-values small {
    width: 100%;
    text-align: center;
    margin-top: 2px;
  }
}
@media (max-width: 600px) {
  .biz-overview-target-body {
    gap: 14px;
  }
  .biz-overview-target-values strong {
    font-size: 20px;
  }
}

/* Live finance cards: connected balances, trailing-month income and an inline target. */
.biz-overview-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, #7fb8a4 40%, transparent);
  color: color-mix(in srgb, #4f8f78 70%, var(--op-ink));
  background: color-mix(in srgb, #7fb8a4 10%, transparent);
  margin-left: auto;
  flex-shrink: 0;
}
.biz-overview-live-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6fb596;
  box-shadow: 0 0 0 3px color-mix(in srgb, #6fb596 22%, transparent);
}
.biz-overview-refresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid var(--op-border);
  border-radius: 999px;
  background: transparent;
  color: var(--op-muted);
  font-size: 9px;
}
.biz-overview-refresh:hover:not(:disabled) {
  color: var(--op-ink);
  border-color: var(--op-accent);
}
.biz-overview-refresh:disabled {
  opacity: 0.6;
}
.biz-overview-money-card .biz-bank-number.is-unavailable {
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--op-muted);
  letter-spacing: -0.02em;
}
.biz-overview-currency-note {
  display: block;
  font-size: 9px;
  letter-spacing: 0;
  color: var(--op-muted);
  margin-top: 4px;
}
.biz-overview-currency-groups {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.biz-overview-currency-groups li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  color: var(--op-muted);
}
.biz-overview-currency-groups strong {
  font-weight: 500;
  color: var(--op-ink);
  font-variant-numeric: tabular-nums;
}
.biz-overview-share {
  display: flex;
  gap: 3px;
  height: 8px;
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
}
.biz-overview-share > span {
  display: block;
  flex-basis: 0;
  min-width: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--op-accent) 80%, transparent), color-mix(in srgb, var(--op-accent) 45%, #a9d8c4));
}
.biz-overview-share > span:nth-child(2n) {
  background: linear-gradient(90deg, #a9d8c4, #7fb8a4);
}
.biz-overview-share > span:nth-child(3n) {
  background: linear-gradient(90deg, #e6cf9a, #d1a86a);
}
.biz-overview-money-card.is-live .biz-bank-footer {
  cursor: pointer;
}
.biz-overview-money-card.is-live .biz-bank-footer > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.biz-overview-money-card.is-expanded .biz-bank-footer svg:last-child {
  transform: rotate(180deg);
}
.biz-overview-breakdown {
  margin: 0 -25px;
  padding: 6px 25px 18px;
  border-top: 1px solid var(--op-border);
  display: grid;
  gap: 10px;
}
.biz-overview-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.biz-overview-breakdown > div > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.biz-overview-breakdown strong {
  font-weight: 500;
  color: var(--op-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-overview-breakdown small {
  font-size: 9px;
  color: var(--op-muted);
}
.biz-overview-breakdown b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.biz-overview-breakdown > button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 10px;
  color: var(--op-muted);
  background: transparent;
  border: 0;
  padding: 0;
}
.biz-overview-breakdown > button:hover {
  color: var(--op-ink);
}
.biz-overview-income-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--op-border);
}
.biz-overview-income-facts > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.biz-overview-income-facts dt {
  font-size: 9px;
  color: var(--op-muted);
  letter-spacing: 0.03em;
}
.biz-overview-income-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--op-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.biz-overview-income-track {
  height: 6px;
  margin-top: 14px;
  border-radius: 6px;
  background: color-mix(in srgb, #7fb8a4 16%, transparent);
  overflow: hidden;
}
.biz-overview-income-track > span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #7fb8a4, #b6d8c8);
  transition: width 0.6s ease;
}
.biz-overview-income-hint {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.65;
  color: var(--op-muted);
  max-width: 34ch;
}
.biz-overview-income-error {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.6;
  color: color-mix(in srgb, #c85b62 70%, var(--op-ink));
}
.biz-overview-money-card.is-live .biz-bank-footer > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-overview-money-card.is-live .biz-bank-footer:disabled {
  opacity: 0.6;
  cursor: wait;
}
.biz-overview-target-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  margin-left: -6px;
  border: 1px dashed color-mix(in srgb, var(--op-accent) 45%, transparent);
  border-radius: 7px;
  background: transparent;
  color: var(--op-ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.biz-overview-target-edit svg {
  color: var(--op-muted);
}
.biz-overview-target-edit:hover {
  border-style: solid;
  background: color-mix(in srgb, var(--op-accent) 8%, transparent);
}
.biz-overview-target-editor {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.biz-overview-target-editor label {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 2px 6px;
  border: 1px solid var(--op-accent);
  border-radius: 7px;
  background: var(--op-panel);
}
.biz-overview-target-editor b {
  font-weight: 500;
  color: var(--op-accent);
}
.biz-overview-target-editor input {
  width: 8ch;
  border: 0;
  background: transparent;
  color: var(--op-ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  outline: none;
}
.biz-overview-target-editor small {
  font-size: 9px;
  color: var(--op-muted);
}
.biz-overview-target-editor > button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--op-border);
  border-radius: 6px;
  background: transparent;
  color: var(--op-muted);
}
.biz-overview-target-editor > button:hover {
  color: var(--op-ink);
  border-color: var(--op-accent);
}
.biz-overview-target-editor em {
  flex-basis: 100%;
  font-style: normal;
  font-size: 10px;
  color: color-mix(in srgb, #c85b62 70%, var(--op-ink));
}
.biz-overview-target-values > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

/* Audience: only connected sources get a card; the rest stay quiet. */
.biz-overview-brand-row.is-live {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.biz-overview-brand-row.is-live[data-count="1"] .biz-overview-brand-card,
.biz-overview-brand-row.is-live[data-count="2"] .biz-overview-brand-card {
  max-width: 300px;
}
.biz-overview-linked {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.biz-overview-linked-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--op-muted);
}
.biz-overview-linked-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.biz-overview-linked-chip {
  --overview-brand-tone: var(--op-accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 7px 7px;
  border: 1px solid color-mix(in srgb, var(--overview-brand-tone) 25%, var(--op-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--overview-brand-tone) 6%, var(--op-panel));
  color: var(--op-ink);
  text-decoration: none;
  font-size: 11px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.biz-overview-linked-chip:hover {
  border-color: color-mix(in srgb, var(--overview-brand-tone) 60%, transparent);
  transform: translateY(-1px);
}
.biz-overview-linked-chip > span:nth-child(2) {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.biz-overview-linked-chip strong {
  font-weight: 500;
}
.biz-overview-linked-chip small {
  font-size: 9px;
  color: var(--op-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}
.biz-overview-linked-chip > svg {
  color: var(--op-muted);
}
.biz-overview-linked-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--overview-brand-tone) 25%, transparent);
  background: color-mix(in srgb, var(--overview-brand-tone) 10%, transparent);
  flex-shrink: 0;
}
.biz-overview-linked-avatar .audience-logo {
  width: 16px;
  height: 16px;
}
.biz-overview-linked-avatar.is-letter {
  font-size: 11px;
  font-weight: 600;
  color: var(--op-ink);
}
.biz-overview-linked-note {
  font-size: 9px;
  color: var(--op-muted);
}
.biz-overview-audience-quiet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--op-muted);
}
.biz-overview-quiet-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px dashed color-mix(in srgb, var(--op-accent) 40%, var(--op-border));
  border-radius: 999px;
  background: transparent;
  color: var(--op-muted);
  font-size: 10px;
}
.biz-overview-quiet-action strong {
  font-weight: 500;
  color: var(--op-ink);
}
.biz-overview-quiet-action:hover {
  border-style: solid;
  color: var(--op-ink);
}
.biz-overview-quiet-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.biz-overview-quiet-line a,
.biz-overview-quiet-line button {
  color: var(--op-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: inherit;
}
@media (max-width: 950px) {
  .biz-overview-brand-row.is-live[data-count="1"] .biz-overview-brand-card,
  .biz-overview-brand-row.is-live[data-count="2"] .biz-overview-brand-card {
    max-width: none;
  }
  .biz-overview-income-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .biz-overview-breakdown {
    margin: 0 -20px;
    padding: 6px 20px 16px;
  }
  .biz-overview-income-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-overview-linked-chip,
  .biz-overview-income-track > span {
    transition: none;
  }
}

/* Audience: every platform gets a card in the brief's pastel language. Real numbers are loud;
   platforms without numbers stay present but quiet, each with one honest next step. */
.biz-overview-audience {
  --au-card: #ffffff;
  --au-soft: #f3f2f9;
  --au-ink: #1e1c2a;
  --au-muted: #7b7889;
  --au-line: #1e1c2a12;
  --au-dash: #1e1c2a2e;
  --au-glass: #ffffffb8;
  --au-pill: #17161d;
  --au-pill-ink: #ffffff;
  --au-shadow: 0 6px 22px #3b2f6a0c;
  --au-peach: #fbe2d3;
  --au-lilac: #e9e2f8;
  --au-mint: #dbf1e3;
  --au-sky: #dbe8fb;
}
.dark .biz-overview-audience {
  --au-card: #24232f;
  --au-soft: #2b2a37;
  --au-ink: #efedf6;
  --au-muted: #a29eb2;
  --au-line: #ffffff14;
  --au-dash: #ffffff33;
  --au-glass: #ffffff14;
  --au-pill: #f2f0f8;
  --au-pill-ink: #17161d;
  --au-shadow: 0 6px 22px #00000022;
  --au-peach: #3c2d2a;
  --au-lilac: #302c42;
  --au-mint: #233631;
  --au-sky: #263349;
}
.biz-overview-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.biz-overview-audience-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 226px;
  padding: 18px 18px 16px;
  border-radius: 26px;
  background: var(--au-card);
  color: var(--au-ink);
  box-shadow: var(--au-shadow);
}
.biz-overview-audience-card.is-youtube {
  background: var(--au-peach);
}
.biz-overview-audience-card.is-instagram {
  background: var(--au-lilac);
}
.biz-overview-audience-card.is-tiktok {
  background: var(--au-mint);
}
.biz-overview-audience-card.is-linkedin {
  background: var(--au-sky);
}
.biz-overview-audience-card.is-empty {
  background: transparent;
  box-shadow: none;
  outline: 1.5px dashed var(--au-dash);
  outline-offset: -1.5px;
  color: var(--au-muted);
}
.biz-overview-audience-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.biz-overview-audience-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--au-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-overview-audience-card.is-empty .biz-overview-audience-brand {
  color: var(--au-muted);
}
.biz-overview-audience-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--au-glass);
}
.biz-overview-audience-card.is-empty .biz-overview-audience-avatar {
  background: var(--au-soft);
  opacity: 0.8;
}
.biz-overview-audience-avatar .audience-logo {
  width: 20px;
  height: 20px;
}
.biz-overview-audience-value {
  display: block;
  margin-top: 22px;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.biz-overview-audience-value.is-empty {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: var(--au-muted);
}
.biz-overview-audience-measure {
  margin-top: 8px;
  font-size: 12px;
  color: var(--au-muted);
}
.biz-overview-audience-chart {
  height: 46px;
  margin: 12px -18px 0;
  display: flex;
  align-items: flex-end;
  color: var(--au-ink);
  opacity: 0.5;
}
.biz-overview-audience-chart svg {
  width: 100%;
  height: 46px;
}
.biz-overview-audience-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.biz-overview-audience-hint {
  min-width: 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--au-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.biz-overview-audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--au-glass);
  color: var(--au-ink);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.biz-overview-audience-card.is-empty .biz-overview-audience-pill {
  background: var(--au-pill);
  color: var(--au-pill-ink);
}
.biz-overview-audience-pill:hover {
  transform: translateY(-1px);
}
.biz-overview-audience-round {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--au-glass);
  color: var(--au-ink);
  cursor: pointer;
  transition: transform 0.18s ease;
}
.biz-overview-audience-card.is-empty .biz-overview-audience-round {
  background: var(--au-soft);
  color: var(--au-muted);
}
.biz-overview-audience-round:hover {
  transform: translateY(-1px);
}
.biz-overview-audience :is(button, a):focus-visible {
  outline: 2px solid var(--au-ink);
  outline-offset: 3px;
}
@media (max-width: 1150px) {
  .biz-overview-audience-grid {
    gap: 10px;
  }
  .biz-overview-audience-card {
    padding: 16px 15px 14px;
  }
  .biz-overview-audience-chart {
    margin-left: -15px;
    margin-right: -15px;
  }
}
@media (max-width: 950px) {
  .biz-overview-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .biz-overview-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .biz-overview-audience-card {
    min-height: 200px;
  }
  .biz-overview-audience-value {
    font-size: 30px;
  }
}
@media (max-width: 400px) {
  .biz-overview-audience-grid {
    grid-template-columns: 1fr;
  }
  .biz-overview-audience-card {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-overview-audience-pill,
  .biz-overview-audience-round {
    transition: none;
  }
  .biz-overview-audience-pill:hover,
  .biz-overview-audience-round:hover {
    transform: none;
  }
}


/* /src/components/business/brief-today.css */
.brief-weather {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 230px;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--op-border);
  flex-shrink: 0;
  color: var(--op-ink);
}
.brief-weather-main {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  z-index: 1;
}
.brief-weather-main > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  align-items: center;
}
.brief-weather-place {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--op-muted);
  margin-bottom: 5px;
}
.brief-weather strong {
  font-size: 29px;
  letter-spacing: -1.2px;
  font-weight: 450;
  line-height: 1.2;
}
.brief-weather strong small {
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 2px;
  color: var(--op-muted);
}
.brief-weather-description {
  font-size: 10px;
  color: var(--op-muted);
}
.brief-weather-motion {
  width: 42px;
  height: 42px;
  position: relative;
  flex-shrink: 0;
  margin-top: 10px;
  color: #d5a95b;
}
.brief-weather-motion > svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px #d5a95b25);
}
.is-sun .brief-weather-motion > svg {
  animation: brief-sun-turn 80s linear infinite;
}
.is-cloud .brief-weather-motion > svg,
.is-fog .brief-weather-motion > svg,
.is-night .brief-weather-motion > svg {
  animation: brief-cloud-drift 7s ease-in-out infinite;
}
.is-cloud .brief-weather-motion,
.is-fog .brief-weather-motion,
.is-rain .brief-weather-motion,
.is-snow .brief-weather-motion {
  color: #93b7d4;
}
.is-night .brief-weather-motion {
  color: #aaa7df;
}
.is-unavailable .brief-weather-motion,
.is-unknown .brief-weather-motion {
  color: var(--op-muted);
  opacity: 0.4;
}
.brief-weather-motion > i {
  display: none;
}
.is-rain .brief-weather-motion > i,
.is-snow .brief-weather-motion > i {
  display: block;
  position: absolute;
  top: 28px;
  left: 8px;
  width: 2px;
  height: 4px;
  border-radius: 3px;
  background: currentColor;
  animation: brief-rain 1.7s linear infinite;
}
.is-snow .brief-weather-motion > i {
  width: 3px;
  height: 3px;
  animation-duration: 3s;
}
.brief-weather-motion > i:nth-of-type(2) {
  left: 18px;
  animation-delay: -0.6s;
}
.brief-weather-motion > i:nth-of-type(3) {
  left: 28px;
  animation-delay: -1.2s;
}
.brief-skyline {
  position: absolute;
  z-index: -1;
  right: -30px;
  bottom: 22px;
  width: 135px;
  opacity: 0.09;
  stroke: var(--op-muted);
  stroke-width: 1;
}
.brief-river {
  stroke: var(--op-accent);
  animation: brief-river-light 6s ease-in-out infinite;
}
.brief-weather-range {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 7px;
  position: relative;
  z-index: 1;
}
.brief-weather-range a {
  display: inline-flex;
  width: fit-content;
  gap: 2px;
  align-items: center;
  color: var(--op-muted);
  text-decoration: none;
}
.brief-news {
  margin: 0 28px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--op-border);
}
.brief-news > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.brief-news h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 450;
  margin: 0;
}
.brief-news > header > a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--op-muted);
  text-decoration: none;
}
.brief-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.brief-news-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--op-ink);
  min-width: 0;
}
.brief-news-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  background: var(--op-inset);
  width: 100%;
  aspect-ratio: 2.15;
  margin-bottom: 12px;
}
.brief-news-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.brief-news-item:hover .brief-news-visual > img {
  transform: scale(1.035);
}
.brief-news-open {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #14141abf;
  color: #fff;
}
.brief-news-visual.is-fallback {
  display: flex;
  align-items: center;
  padding: 14px 18px;
}
.brief-news-visual.is-fallback > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--op-muted);
  font-size: 34px;
  font-weight: 350;
  letter-spacing: -1.5px;
}
.brief-news-visual.is-fallback small {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.brief-news-item h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.15px;
  line-height: 1.5;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}
.brief-news-item p {
  color: var(--op-muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 11px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.brief-news-item time {
  font-size: 9px;
  color: var(--op-muted);
  margin-top: auto;
}
.brief-news-item:hover h4 {
  color: var(--op-accent);
}
.brief-news-unavailable {
  font-size: 12px;
  line-height: 1.7;
  color: var(--op-muted);
  margin: 0;
}
@keyframes brief-sun-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes brief-cloud-drift {
  50% {
    transform: translateX(4px);
  }
}
@keyframes brief-rain {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  30% {
    opacity: 0.65;
  }
  100% {
    transform: translate(-3px, 10px);
    opacity: 0;
  }
}
@keyframes brief-river-light {
  50% {
    opacity: 0.35;
  }
}
@media (max-width: 850px) {
  .brief-weather {
    width: 200px;
    padding-left: 17px;
  }
  .brief-news-grid {
    gap: 14px;
  }
}
@media (max-width: 650px) {
  .brief-weather {
    width: 100%;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 17px;
  }
  .brief-weather-main {
    justify-content: flex-start;
    gap: 13px;
  }
  .brief-weather-motion {
    width: 35px;
  }
  .brief-weather-range {
    border-left: 1px solid var(--op-border);
    padding-left: 16px;
    margin-top: 0;
  }
  .brief-skyline {
    display: none;
  }
  .brief-news {
    margin: 0 20px;
    padding: 19px 0 22px;
  }
  .brief-news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .brief-news-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 13px;
  }
  .brief-news-visual {
    grid-row: 1/4;
    aspect-ratio: 1;
    margin: 0;
  }
  .brief-news-item h4 {
    font-size: 13px;
  }
  .brief-news-item p {
    margin-bottom: 7px;
    font-size: 10px;
  }
  .brief-news-item time {
    grid-column: 2;
  }
  .brief-news-visual.is-fallback {
    padding: 12px;
  }
  .brief-news-visual.is-fallback small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brief-weather-motion > svg,
  .brief-weather-motion > i,
  .brief-river {
    animation: none !important;
  }
  .brief-weather-motion > i {
    opacity: 0.5;
  }
  .brief-news-visual > img {
    transition: none;
  }
  .brief-news-item:hover .brief-news-visual > img {
    transform: none;
  }
}


/* /src/components/business/daily-brief.css */
/*
 * The daily brief: a soft lavender canvas holding a few large, quiet cards.
 * No borders, very soft shadows, big figures, one pill action per card.
 * Illustrations are accents: a horizon band behind the header, a framed
 * observatory beside the focus, a watercolour tile on each priority.
 * Light first; the dark theme uses deep muted versions of the same tints.
 */
.morning-layout {
  --mb-canvas: #ecebf8;
  --mb-card: #ffffff;
  --mb-soft: #f3f2f9;
  --mb-ink: #1e1c2a;
  --mb-muted: #6f6b7d;
  --mb-line: #1e1c2a12;
  --mb-sky: #dbe8fb;
  --mb-mint: #dbf1e3;
  --mb-peach: #fbe2d3;
  --mb-cream: #f8efd8;
  --mb-pill: #17161d;
  --mb-pill-ink: #ffffff;
  --mb-glass: #ffffffb8;
  --mb-shadow: 0 12px 34px #4a3f7a14, 0 1px 2px #4a3f7a0a;
  --mb-card-shadow: 0 6px 22px #3b2f6a0c;
  --mb-art-shadow: 0 8px 20px #3b2f6a24;
  --mb-sun: #d8a350;
  --mb-sun-bed: #f8efd8;
  --mb-cloud: #5f88b8;
  --mb-cloud-bed: #dbe8fb;
  --mb-night: #7a76c9;
  --mb-night-bed: #e6e3f7;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 22px;
  width: 100%;
  margin: 24px auto 0;
  align-items: stretch;
  color: var(--mb-ink);
}
.dark .morning-layout {
  --mb-canvas: #1b1a24;
  --mb-card: #24232f;
  --mb-soft: #2b2a37;
  --mb-ink: #efedf6;
  --mb-muted: #a29eb2;
  --mb-line: #ffffff14;
  --mb-sky: #263349;
  --mb-mint: #233631;
  --mb-peach: #3c2d2a;
  --mb-cream: #38332a;
  --mb-pill: #f2f0f8;
  --mb-pill-ink: #17161d;
  --mb-glass: #ffffff14;
  --mb-shadow: 0 12px 34px #00000033;
  --mb-card-shadow: 0 6px 22px #00000022;
  --mb-art-shadow: 0 8px 20px #00000055;
  --mb-sun: #e8b866;
  --mb-sun-bed: #3d3423;
  --mb-cloud: #9dbde0;
  --mb-cloud-bed: #2a3a52;
  --mb-night: #b3aff0;
  --mb-night-bed: #33304d;
}
.biz-overview-finance-style {
  container-type: inline-size;
}

/* Canvas */
.morning-brief {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  width: 100%;
  container-type: inline-size;
  container-name: brief;
  padding: 24px;
  border-radius: 28px;
  background: var(--mb-canvas);
  color: var(--mb-ink);
  box-shadow: var(--mb-shadow);
}
/* Everything sits above the horizon band; the header also above the cards so its menu can open over them. */
.morning-brief > :not(.morning-sky) {
  position: relative;
  z-index: 1;
}
.morning-brief > .morning-head {
  z-index: 3;
}
.morning-card {
  border-radius: 26px;
  background: var(--mb-card);
  padding: 22px 24px;
  box-shadow: var(--mb-card-shadow);
  min-width: 0;
}
.morning-card.tint-sky {
  background: var(--mb-sky);
}
.morning-card.tint-mint {
  background: var(--mb-mint);
}
.morning-card.tint-peach {
  background: var(--mb-peach);
}
.morning-card.tint-cream {
  background: var(--mb-cream);
}

/* Horizon band: the morning-horizon scene rises behind the header and fades
   into the canvas before the number cards. Text stays on plain canvas; only the
   glass pills sit over the picture. */
.morning-sky {
  position: absolute;
  inset: 0 0 auto 0;
  height: 268px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.morning-sky .morning-sky-media,
.morning-sky .biz-ambient-video {
  position: absolute;
  inset: 0;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 34%, transparent 100%),
    linear-gradient(to right, transparent 0%, transparent 34%, #000 70%);
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 34%, transparent 100%),
    linear-gradient(to right, transparent 0%, transparent 34%, #000 70%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: saturate(0.92);
}
.morning-sky .biz-ambient-video > img,
.morning-sky .biz-ambient-video > video {
  object-position: 72% 50%;
}
.dark .morning-sky .biz-ambient-video {
  opacity: 0.72;
  filter: saturate(0.8) brightness(0.92);
}

/* Header */
.morning-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 4px;
  min-height: 84px;
}
.morning-head-copy {
  min-width: 0;
}
.morning-date {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mb-muted);
}
.morning-head h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--mb-ink);
}
.morning-head-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  max-width: 55%;
}
.morning-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--mb-glass);
  color: var(--mb-muted);
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.morning-chip img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.dark .morning-chip img.is-codex,
.dark .morning-chip img.is-claude {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.morning-chip strong {
  font-weight: 600;
  color: var(--mb-ink);
}
.morning-generator-logo.is-hermes {
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.morning-demo-badge {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--mb-pill);
  color: var(--mb-pill-ink);
  line-height: 1;
}

/* Generator chip and its menu */
.morning-generator {
  position: relative;
}
.morning-generator-button {
  cursor: pointer;
  transition: transform 0.18s ease;
}
.morning-generator-button:hover:not(:disabled) {
  transform: translateY(-1px);
  color: var(--mb-ink);
}
.morning-generator-button:disabled {
  cursor: progress;
  opacity: 0.8;
}
.morning-generator-caret {
  opacity: 0.6;
  transition: transform 0.18s ease;
}
.morning-generator.is-open .morning-generator-caret {
  transform: rotate(180deg);
}
.morning-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: min(320px, 82cqw);
  max-height: min(440px, 70vh);
  overflow: auto;
  padding: 8px;
  border-radius: 20px;
  background: var(--mb-card);
  color: var(--mb-ink);
  box-shadow:
    0 18px 48px #2a224a2e,
    0 1px 2px #2a224a14;
  text-align: left;
  white-space: normal;
}
.dark .morning-menu {
  box-shadow: 0 18px 48px #00000066;
}
.morning-menu-lead {
  display: grid;
  gap: 3px;
  padding: 8px 10px 10px;
}
.morning-menu-lead strong {
  font-size: 12.5px;
  font-weight: 600;
}
.morning-menu-lead span {
  font-size: 11px;
  line-height: 1.5;
  color: var(--mb-muted);
}
.morning-menu-group {
  padding: 6px 0 4px;
  border-top: 1px solid var(--mb-line);
}
.morning-menu-group > header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mb-muted);
}
.morning-menu-group > header img,
.morning-menu-group > header svg {
  width: 13px;
  height: 13px;
  object-fit: contain;
}
.dark .morning-menu-group > header img.is-codex,
.dark .morning-menu-group > header img.is-claude {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.morning-menu-group > header em {
  margin-left: auto;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--mb-peach);
  color: var(--mb-ink);
}
.morning-menu-item,
.morning-menu-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--mb-ink);
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.morning-menu-item > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.morning-menu-item:hover:not(:disabled),
.morning-menu-connect:hover {
  background: var(--mb-soft);
}
.morning-menu-item.is-selected {
  font-weight: 600;
}
.morning-menu-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.morning-menu-connect {
  color: var(--mb-muted);
  justify-content: flex-start;
  gap: 4px;
}
.morning-menu-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 8px 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mb-soft);
  color: var(--mb-muted);
}
.morning-menu-filter input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--mb-ink);
  font: inherit;
  font-size: 12px;
  outline: none;
}
.morning-menu-note {
  margin: 0;
  padding: 6px 10px 8px;
  font-size: 11px;
  color: var(--mb-muted);
}
.morning-menu-note button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--mb-ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Weather pill (component in brief-today.tsx): the condition icon sits in a small tinted disc. */
.morning-layout .brief-weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  border: 0;
  border-radius: 999px;
  background: var(--mb-glass);
  color: var(--mb-muted);
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.morning-layout .brief-weather-pill strong {
  font-weight: 600;
  color: var(--mb-ink);
}
.morning-layout .brief-weather-pill > svg:first-child {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--mb-sun-bed);
  color: var(--mb-sun);
}
.morning-layout .brief-weather-pill.is-cloud > svg:first-child,
.morning-layout .brief-weather-pill.is-fog > svg:first-child,
.morning-layout .brief-weather-pill.is-rain > svg:first-child,
.morning-layout .brief-weather-pill.is-snow > svg:first-child {
  background: var(--mb-cloud-bed);
  color: var(--mb-cloud);
}
.morning-layout .brief-weather-pill.is-night > svg:first-child {
  background: var(--mb-night-bed);
  color: var(--mb-night);
}
.morning-layout .brief-weather-pill.is-unavailable > svg:first-child,
.morning-layout .brief-weather-pill.is-unknown > svg:first-child {
  background: var(--mb-soft);
  color: var(--mb-muted);
}
.morning-layout .brief-weather-edit {
  opacity: 0.55;
}
.morning-layout .brief-weather-pill:hover .brief-weather-edit {
  opacity: 1;
}
.morning-layout .brief-city-editor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 12px;
  border-radius: 999px;
  background: var(--mb-card);
  color: var(--mb-muted);
  box-shadow: var(--mb-card-shadow);
  position: relative;
}
.morning-layout .brief-city-editor input {
  width: 12ch;
  border: 0;
  background: transparent;
  color: var(--mb-ink);
  font-size: 12px;
  outline: none;
}
.morning-layout .brief-city-editor button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--mb-soft);
  color: var(--mb-ink);
}
.morning-layout .brief-city-editor button[type="submit"] {
  background: var(--mb-pill);
  color: var(--mb-pill-ink);
}
.morning-layout .brief-city-editor em {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  font-style: normal;
  font-size: 11px;
  white-space: nowrap;
  color: var(--mb-ink);
}

/* Number cards */
.morning-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.morning-number {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 176px;
  container-type: inline-size;
}
/* A quiet glass disc with a line icon in the corner. */
.morning-number-art {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mb-glass);
  color: var(--mb-ink);
  opacity: 0.8;
}
.morning-card:not([class*="tint-"]) .morning-number-art,
.morning-card.tint-plain .morning-number-art {
  background: var(--mb-soft);
}
.morning-number-value {
  padding-right: 44px;
  /* Sized by the card, not the viewport, so a seven-figure amount stays on one line in a narrow column. */
  font-size: clamp(26px, 15cqw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.morning-number-label {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--mb-muted);
}
.morning-number-caption {
  margin-top: 4px;
  font-size: 11px;
  color: var(--mb-muted);
  opacity: 0.85;
  overflow-wrap: anywhere;
}
.morning-number-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

/* Pills and round buttons */
.morning-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--mb-glass);
  color: var(--mb-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.morning-card:not([class*="tint-"]) .morning-pill:not(.is-dark),
.morning-card.tint-plain .morning-pill:not(.is-dark) {
  background: var(--mb-soft);
}
.morning-pill.is-dark {
  background: var(--mb-pill);
  color: var(--mb-pill-ink);
}
.morning-pill:disabled {
  opacity: 0.6;
  cursor: wait;
}
.morning-round {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mb-pill);
  color: var(--mb-pill-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.morning-round.is-quiet {
  background: var(--mb-glass);
  color: var(--mb-ink);
}
.morning-card:not([class*="tint-"]) .morning-round.is-quiet,
.morning-card.tint-plain .morning-round.is-quiet {
  background: var(--mb-soft);
}
.morning-round.is-open > svg {
  transform: rotate(180deg);
}
.morning-round:hover,
.morning-pill:hover:not(:disabled) {
  transform: translateY(-1px);
}
.morning-text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--mb-muted);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}
.morning-text-button:hover:not(:disabled) {
  color: var(--mb-ink);
}
.morning-text-button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Focus card: copy on the left, the observatory framed on the right */
.morning-focus {
  padding: 26px 28px;
}
.morning-focus.has-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: stretch;
  padding: 18px 18px 18px 28px;
}
.morning-focus-copy {
  min-width: 0;
  padding: 8px 0;
}
.morning-focus-art {
  position: relative;
  min-height: 128px;
  border-radius: 20px;
  overflow: hidden;
  background: #221d33;
  box-shadow: var(--mb-art-shadow);
}
.morning-focus-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.morning-focus-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #ffffff1f;
}
.morning-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-muted);
}
.morning-focus h3 {
  margin: 12px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 350;
  letter-spacing: -0.7px;
  line-height: 1.3;
  max-width: 34ch;
  overflow-wrap: anywhere;
}
.morning-focus h3 b {
  font-weight: 650;
}
.morning-focus-copy > p {
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--mb-muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.morning-brief.is-preparing .morning-priorities {
  opacity: 0.7;
}

/* Preparing: a soft bar inside the focus card */
.morning-progress {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.morning-progress-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.morning-progress-copy strong {
  font-weight: 500;
  font-size: 13px;
}
.morning-progress-copy span {
  font-size: 12px;
  color: var(--mb-muted);
}
.morning-progress-copy time {
  font-variant-numeric: tabular-nums;
  color: var(--mb-ink);
}
.morning-progress-track {
  height: 6px;
  border-radius: 6px;
  background: var(--mb-line);
  overflow: hidden;
}
.morning-progress-track > span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--mb-pill);
  transition: width 1s linear;
}
.morning-progress > p {
  margin: 0;
  font-size: 11px;
  color: var(--mb-muted);
}

/* Priorities */
.morning-priorities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.morning-priority {
  display: flex;
  flex-direction: column;
  min-height: 224px;
  padding: 20px 22px 18px;
}
.morning-priority-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.morning-priority-index {
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -2.2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.morning-priority-marks {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* A small watercolour scene for the evidence category. */
.morning-priority-tile {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  object-fit: cover;
  object-position: 50% 45%;
  box-shadow:
    var(--mb-art-shadow),
    inset 0 0 0 1px #ffffff66;
  transition: transform 0.25s ease;
}
.morning-priority:hover .morning-priority-tile {
  transform: translateY(-2px) rotate(-1.5deg);
}
.morning-priority.is-complete .morning-priority-tile {
  filter: saturate(0.4);
  opacity: 0.7;
}
.morning-priority-title {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.morning-priority.is-complete .morning-priority-title {
  text-decoration: line-through;
  opacity: 0.55;
}
.morning-priority-source {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--mb-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.morning-priority-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.morning-priority-state {
  font-size: 11.5px;
  color: var(--mb-muted);
}
.morning-priority-detail {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--mb-line);
}
.morning-priority-detail > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.morning-check {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.morning-check input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.morning-check input:disabled {
  cursor: wait;
}
.morning-check > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #1e1c2a3a;
  background: var(--mb-glass);
  color: var(--mb-ink);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.dark .morning-check > span {
  border-color: #ffffff4d;
}
.morning-check input:hover + span {
  border-color: var(--mb-ink);
}
.morning-check input:checked + span {
  background: var(--mb-pill);
  border-color: var(--mb-pill);
  color: var(--mb-pill-ink);
}
.morning-check input:focus-visible + span {
  outline: 2px solid var(--mb-ink);
  outline-offset: 3px;
}
.morning-check.is-static > span {
  border-style: dashed;
  opacity: 0.6;
}

/* Sources (inside a revealed priority and the full-context list) */
.morning-sources {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.morning-sources li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.morning-sources a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--mb-ink);
  text-decoration: underline;
  text-decoration-color: var(--mb-line);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.morning-sources a:hover {
  text-decoration-color: var(--mb-ink);
}
.morning-sources span {
  color: var(--mb-muted);
  overflow-wrap: anywhere;
}
.morning-sources time {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--mb-muted);
  font-variant-numeric: tabular-nums;
}
.morning-source-empty {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--mb-muted);
}

/* Notes and statuses */
.morning-note {
  margin: 0;
  padding: 12px 18px;
  border-radius: 18px;
  background: var(--mb-peach);
  color: var(--mb-ink);
  font-size: 12.5px;
  line-height: 1.6;
}
.morning-note button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--mb-ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.morning-action-status {
  margin: 0;
  padding: 0 6px;
  font-size: 12px;
  color: var(--mb-muted);
}
.morning-action-status:empty {
  display: none;
}
.morning-quiet {
  margin: 0;
  font-size: 13px;
  color: var(--mb-muted);
}

/* Footer */
.morning-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 2px 6px 0;
}
.morning-foot-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.morning-history {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.morning-history button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--mb-glass);
  color: var(--mb-ink);
  cursor: pointer;
}
.morning-history button:disabled {
  opacity: 0.35;
  cursor: default;
}
.morning-history select {
  max-width: 130px;
  border: 0;
  background: transparent;
  color: var(--mb-muted);
  font-size: 12px;
  cursor: pointer;
}

/* Built from: the logos of every source that fed this brief, then who wrote it */
.morning-built {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: -4px;
  padding: 0 6px;
}
.morning-built-label {
  font-size: 11px;
  color: var(--mb-muted);
}
.morning-built-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
}
.morning-built-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 2px var(--mb-canvas),
    0 2px 6px #3b2f6a1f;
  transition: transform 0.18s ease;
  cursor: default;
}
.morning-built-list .morning-built-mark:first-child {
  margin-left: 0;
}
.morning-built-mark:hover {
  z-index: 2;
  transform: translateY(-2px);
}
.morning-built-mark > img,
.morning-built-mark > .mc-source-brand,
.morning-built-mark > .mc-brand {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
}
.morning-built-mark > img.is-tile {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.morning-built-mark .mc-source-brand[data-brand="business"] .mc-info-orb {
  transform: scale(0.72);
}
.morning-built-writer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.morning-built-mark.is-writer {
  margin-left: 0;
}
.morning-built-mark.is-writer > img,
.morning-built-mark.is-writer > svg {
  width: 14px;
  height: 14px;
}
.morning-built-mark.is-writer > img.is-hermes {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Full context, collapsed by default */
.morning-more {
  padding: 0 6px;
}
.morning-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 0;
  list-style: none;
  cursor: pointer;
  color: var(--mb-muted);
  font-size: 12px;
}
.morning-more > summary::-webkit-details-marker {
  display: none;
}
.morning-more[open] > summary > svg {
  transform: rotate(180deg);
}
.morning-more-body {
  margin-top: 10px;
  padding: 6px 22px 18px;
  border-radius: 22px;
  background: var(--mb-card);
  box-shadow: var(--mb-card-shadow);
}
.morning-recommendation {
  padding: 16px 0;
  border-bottom: 1px solid var(--mb-line);
}
.morning-recommendation-category {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-muted);
}
.morning-recommendation h4 {
  margin: 6px 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.morning-recommendation p {
  margin: 0 0 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mb-muted);
  overflow-wrap: anywhere;
}
.morning-more-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 16px;
}
.morning-more-foot > span {
  max-width: 60ch;
  font-size: 11px;
  line-height: 1.7;
  color: var(--mb-muted);
}
.morning-more-foot a {
  color: var(--mb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Empty state */
.morning-empty {
  flex: 1;
}
.morning-empty.has-art {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 190px;
}
.morning-empty .morning-focus-art {
  min-height: 200px;
}
.morning-empty .morning-focus-copy > p {
  display: block;
  -webkit-line-clamp: unset;
}
.morning-empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 20px;
}

/* News rail: same card language, white on the page. It matches the brief's
   height; the body scrolls when the day has more than fits. */
.morning-layout > .brief-news {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 0;
  border-radius: 28px;
  background: var(--mb-card);
  color: var(--mb-ink);
  box-shadow: var(--mb-shadow);
}
.morning-layout > .brief-news > header {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.morning-layout > .brief-news h3 {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.6px;
}
.morning-layout > .brief-news > header > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mb-soft);
  color: var(--mb-ink);
  font-size: 11px;
}
.morning-layout .brief-news-body {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 -8px;
  padding: 0 8px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--mb-line) transparent;
}
.morning-layout .brief-news-grid {
  flex: none;
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.morning-layout .brief-news-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 4px 14px;
  align-content: start;
  color: var(--mb-ink);
}
.morning-layout .brief-news-item + .brief-news-item {
  padding-top: 16px;
  border-top: 1px solid var(--mb-line);
}
.morning-layout .brief-news-visual {
  grid-row: 1 / 4;
  width: 80px;
  height: 80px;
  aspect-ratio: 1;
  margin: 0;
  border: 0;
  border-radius: 18px;
  background: var(--mb-soft);
}
.morning-layout .brief-news-item h4 {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
}
.morning-layout .brief-news-item p {
  margin: 0;
  font-size: 11.5px;
  color: var(--mb-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.morning-layout .brief-news-item time {
  margin: 0;
  font-size: 10.5px;
  color: var(--mb-muted);
}
.morning-layout .brief-news-item:hover h4 {
  color: var(--mb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.morning-layout .brief-news-unavailable {
  color: var(--mb-muted);
}

/* Rail blocks: today's calendar and, when there is room, recent memory */
.morning-layout .brief-rail-block {
  flex: none;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: var(--mb-soft);
}
.morning-layout .brief-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.morning-layout .brief-rail-head h4 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-muted);
}
.morning-layout .brief-rail-head a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--mb-muted);
  text-decoration: none;
}
.morning-layout .brief-rail-head a:hover {
  color: var(--mb-ink);
}
.morning-layout .brief-rail-events,
.morning-layout .brief-rail-memory {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.morning-layout .brief-rail-events li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 12.5px;
}
.morning-layout .brief-rail-events time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--mb-muted);
  white-space: nowrap;
}
.morning-layout .brief-rail-events li > span,
.morning-layout .brief-rail-memory li > span {
  display: grid;
  min-width: 0;
}
.morning-layout .brief-rail-events strong,
.morning-layout .brief-rail-memory strong {
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.morning-layout .brief-rail-events small,
.morning-layout .brief-rail-memory small {
  font-size: 10.5px;
  color: var(--mb-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.morning-layout .brief-rail-memory li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
}
.morning-layout .brief-rail-memory .mc-source-brand {
  border-radius: 5px;
}
.morning-layout .brief-rail-empty {
  margin: 0;
  font-size: 12px;
  color: var(--mb-muted);
}

/* Used by the Business route header and the finance empty state. */
.biz-demo-toggle {
  padding: 8px 12px;
  border: 1px solid var(--op-border);
  border-radius: 20px;
  color: var(--op-muted);
  font-size: 11px;
  white-space: nowrap;
}
.biz-demo-toggle[aria-pressed="true"] {
  color: var(--op-ink);
  background: var(--op-inset);
}

/* Keyboard focus */
.morning-layout :is(button, select, a, summary):focus-visible {
  outline: 2px solid var(--mb-ink);
  outline-offset: 3px;
  border-radius: 999px;
}
.morning-layout .morning-menu-item:focus-visible,
.morning-layout .morning-menu-connect:focus-visible {
  outline-offset: -2px;
  border-radius: 12px;
}

/* Layout */
@media (max-width: 850px) {
  .morning-layout {
    grid-template-columns: 1fr;
  }
  .morning-layout .brief-news-body {
    flex: none;
    height: auto;
    max-height: 560px;
  }
}
@container (max-width: 850px) {
  .morning-layout {
    grid-template-columns: 1fr;
  }
  .morning-layout .brief-news-body {
    flex: none;
    height: auto;
    max-height: 560px;
  }
}
/* The brief's own width decides when cards stack: it usually sits in a two-thirds column. */
@container brief (max-width: 720px) {
  .morning-priorities {
    grid-template-columns: 1fr;
  }
  .morning-priority {
    min-height: 0;
  }
  .morning-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .morning-head-tools {
    justify-content: flex-start;
    max-width: 100%;
  }
  .morning-menu {
    right: auto;
    left: 0;
  }
  .morning-sky {
    height: 220px;
  }
  .morning-sky .biz-ambient-video {
    -webkit-mask-image:
      linear-gradient(to bottom, #000 0%, #000 20%, transparent 100%),
      linear-gradient(to right, transparent 0%, transparent 20%, #000 60%);
    mask-image:
      linear-gradient(to bottom, #000 0%, #000 20%, transparent 100%),
      linear-gradient(to right, transparent 0%, transparent 20%, #000 60%);
  }
}
@container brief (max-width: 640px) {
  .morning-numbers {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  .morning-number-value {
    font-size: 38px;
  }
  .morning-focus.has-art,
  .morning-empty.has-art {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 28px;
  }
  .morning-focus-art {
    display: none;
  }
  .morning-focus-copy {
    padding: 0;
  }
}
@media (max-width: 720px) {
  .morning-priorities {
    grid-template-columns: 1fr;
  }
  .morning-priority {
    min-height: 0;
  }
  .morning-numbers {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  .morning-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .morning-head-tools {
    justify-content: flex-start;
    max-width: 100%;
  }
  .morning-menu {
    right: auto;
    left: 0;
  }
}
@media (max-width: 540px) {
  .morning-brief {
    padding: 18px;
    border-radius: 24px;
    gap: 12px;
  }
  .morning-sky {
    border-radius: 24px 24px 0 0;
  }
  .morning-card {
    border-radius: 22px;
    padding: 18px 20px;
  }
  .morning-head h2 {
    font-size: 30px;
  }
  .morning-numbers {
    grid-template-columns: 1fr;
  }
  .morning-number {
    min-height: 0;
  }
  .morning-number-value {
    font-size: 40px;
  }
  .morning-focus,
  .morning-focus.has-art {
    padding: 20px;
  }
  .morning-priority-tile {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .morning-layout > .brief-news {
    padding: 20px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .morning-layout * {
    transition: none !important;
  }
  .morning-round:hover,
  .morning-pill:hover:not(:disabled),
  .morning-generator-button:hover:not(:disabled),
  .morning-built-mark:hover,
  .morning-priority:hover .morning-priority-tile {
    transform: none;
  }
  .morning-layout .animate-spin {
    animation: none;
  }
}

/* Category marks replace the photo tiles: a small glass disc with a line icon. */
.morning-priority-tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mb-glass); color: var(--mb-ink); opacity: 0.85; }
.morning-focus-art { display: none; }


/* /src/components/operator/agent-jobs.css */
.jarvis-agent-jobs {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 21px 24px 26px;
  color: #e9f0fb;
  scrollbar-width: thin;
}
.jaj-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.jaj-header h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0;
}
.jaj-header > button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #c4d7f1;
  padding: 8px 10px;
  border: 1px solid #9bb5dd36;
  border-radius: 8px;
  background: #1d2b41;
}
.jaj-intro {
  font-size: 13px;
  color: #b4c3d9;
  line-height: 1.6;
  margin: 8px 0 18px;
}
.jaj-connections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 18px;
}
.jaj-connection {
  min-width: 0;
  padding: 11px 12px;
  background: #1b2639;
  border: 1px solid #9db8e22e;
  border-radius: 11px;
}
.jaj-connection > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.jaj-connection > summary::-webkit-details-marker {
  display: none;
}
.jaj-connection strong {
  font-size: 12px;
  font-weight: 500;
}
.jaj-connection small {
  font-size: 10px;
  color: #c2b6a6;
  margin-left: auto;
}
.jaj-connection[data-ready="true"] small {
  color: #a4d8cb;
}
.jaj-connection p {
  font-size: 11px;
  line-height: 1.6;
  color: #b6c5dc;
  margin: 12px 0 4px;
  overflow-wrap: anywhere;
}
.jaj-connection .jaj-tools {
  color: #91a7c7;
}
.jaj-agent-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.jaj-agent-logo[data-agent="codex"] {
  filter: brightness(0) invert(1);
}
.jaj-compose {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}
.jaj-new-task {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  color: #bdd1ef;
  border: 1px solid #9bbce736;
  border-radius: 9px;
  font-size: 12px;
  background: #1b2a40;
}
.jaj-targets {
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid #b3c7e928;
  background: #0e1624;
  border-radius: 11px;
  gap: 4px;
}
.jaj-targets button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 8px;
  border-radius: 7px;
  font-size: 12px;
  color: #b1c1d9;
}
.jaj-targets button[aria-pressed="true"] {
  background: #2b3d59;
  color: #f1f6ff;
  box-shadow: inset 0 0 0 1px #a6c6f736;
}
.jaj-targets .jaj-agent-logo {
  width: 15px;
  height: 15px;
}
.jaj-compose textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid #aac6ec3d;
  background: #1a263b;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #eff5ff;
}
.jaj-compose textarea::placeholder {
  color: #a8bbd8;
}
.jaj-compose textarea:focus-visible,
.jaj-review textarea:focus-visible {
  outline: 2px solid #a4caff;
  outline-offset: 2px;
}
.jaj-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.jaj-compose-footer small {
  color: #99afcd;
  font-size: 10px;
  line-height: 1.5;
  max-width: 250px;
}
.jaj-start {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: 9px;
  background: #c2daff;
  color: #142640;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.jaj-error {
  background: #492c333b;
  border: 1px solid #df8e9e47;
  border-radius: 9px;
  padding: 11px 12px;
  color: #f0c9cf;
  font-size: 12px;
  line-height: 1.65;
  margin: 12px 0;
}
.jaj-error button {
  display: block;
  text-decoration: underline;
  margin-top: 6px;
}
.jaj-history-label {
  display: block;
  color: #9fb4d1;
  font-size: 10px;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.jaj-history {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 10px;
}
.jaj-history button {
  flex-shrink: 0;
  max-width: 180px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 11px;
  padding: 8px 10px;
  border: 1px solid #9cbbdf27;
  background: #1a2639;
  border-radius: 8px;
  color: #b8c8df;
}
.jaj-history button[aria-pressed="true"] {
  background: #2c3c56;
  color: #eef5ff;
  border-color: #aac9f66e;
}
.jaj-task > header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 9px 0 13px;
}
.jaj-task > header h3 {
  color: #e9f2ff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  flex: 1;
  max-height: 84px;
  overflow: auto;
}
.jaj-cancel {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 7px;
  font-size: 10px;
  padding: 7px;
  color: #c8bcca;
  border: 1px solid #d6adc127;
}
.jaj-runs {
  display: grid;
  gap: 12px;
}
.jaj-run {
  background: #1b273b;
  border: 1px solid #a7c1e438;
  border-radius: 13px;
  overflow: hidden;
}
.jaj-run[data-status="needs_input"] {
  border-color: #e9b97380;
}
.jaj-run[data-status="failed"] {
  border-color: #cf8b9c75;
}
.jaj-run > header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  border-bottom: 1px solid #bfd2ef16;
  background: #213048;
}
.jaj-run h4 {
  margin: 0;
  color: #f0f6ff;
  font-size: 13px;
  font-weight: 500;
}
.jaj-run-status {
  margin-left: auto;
  font-size: 10px;
  color: #b6c8e4;
  display: flex;
  align-items: center;
  gap: 5px;
}
.jaj-run[data-status="completed"] .jaj-run-status {
  color: #a5dac9;
}
.jaj-run[data-status="needs_input"] .jaj-run-status {
  color: #f0d09d;
}
.jaj-run[data-status="failed"] .jaj-run-status {
  color: #ecc0c9;
}
.jaj-events {
  list-style: none;
  margin: 0;
  padding: 11px 15px;
  display: grid;
  gap: 7px;
}
.jaj-events li {
  display: flex;
  gap: 8px;
  color: #b7c9e4;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.jaj-events i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8eb5eb;
  flex-shrink: 0;
  margin-top: 6px;
}
.jaj-output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 270px;
  overflow: auto;
  padding: 3px 15px 16px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
  color: #e5eefc;
  margin: 0;
  scrollbar-width: thin;
}
.jaj-output-details {
  padding-bottom: 12px;
}
.jaj-output-details summary {
  color: #b7cbed;
  font-size: 11px;
  padding: 6px 15px 10px;
  cursor: pointer;
}
.jaj-run-error {
  color: #efc5cf;
  font-size: 12px;
  line-height: 1.6;
  padding: 0 15px 12px;
  margin: 0;
}
.jaj-run > footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0 12px 12px;
}
.jaj-native-link {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: auto;
  color: #b3d2fc;
  font-size: 11px;
  text-decoration: none;
}
.jaj-native-link:hover {
  color: #e1efff;
  text-decoration: underline;
}
.jaj-review {
  margin: 2px 12px 14px;
  border: 1px solid #edc58760;
  border-radius: 10px;
  padding: 13px;
  background: #332e283b;
}
.jaj-review h5 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: #ffe0b3;
}
.jaj-review-detail {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 190px;
  overflow: auto;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 12px;
  color: #eddbc4;
}
.jaj-review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.jaj-review-actions button {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 12px;
  font-size: 12px;
  color: #eadbce;
  border: 1px solid #d8bea544;
  border-radius: 8px;
}
.jaj-review-actions button:first-child {
  background: #ead2ad;
  color: #30281f;
  border-color: transparent;
}
.jaj-review .jaj-question {
  display: block;
  font-size: 12px;
  color: #e6d3ba;
  margin: 11px 0;
  line-height: 1.5;
}
.jaj-review textarea {
  width: 100%;
  min-height: 70px;
  padding: 9px;
  border: 1px solid #bca48147;
  border-radius: 8px;
  background: #161e2a;
  color: #f1f5fb;
  font-size: 13px;
  margin-top: 7px;
}
.jaj-answer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.jaj-answer-options button {
  font-size: 11px;
  padding: 7px 9px;
  border: 1px solid #c5b28f45;
  border-radius: 7px;
  color: #e5d9c8;
}
.jaj-answer-options button[aria-pressed="true"] {
  background: #675d4c;
  border-color: #ead1a78c;
}
.jaj-empty {
  padding: 22px 13px;
  color: #a5b9d6;
  border: 1px dashed #aac7ee36;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.jarvis-view-tabs .jaj-tab-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9d8cf;
}
@media (max-width: 580px) {
  .jarvis-agent-jobs {
    padding: 17px 16px 22px;
  }
  .jaj-connections {
    gap: 7px;
  }
  .jaj-connection {
    padding: 10px;
  }
  .jaj-connection > summary {
    flex-wrap: wrap;
    gap: 6px;
  }
  .jaj-connection small {
    width: 100%;
    margin: 0 0 0 26px;
  }
  .jaj-compose-footer small {
    max-width: 160px;
  }
  .jaj-header h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jarvis-agent-jobs .animate-spin {
    animation: none;
  }
}
@media (min-width: 1024px) {
  .voice-companion[data-expanded="true"] .jaj-runs[data-agents="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}


/* /src/components/operator/account-connection-access.css */
.op-form label.ar-mail-access-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  line-height: 1.6;
}
.ar-existing-connections { padding:24px; border:1px solid var(--op-border); border-radius:18px; background:var(--op-panel); }
.ar-existing-heading { display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.ar-existing-heading h3 { margin:0 0 5px; font-size:19px; letter-spacing:-.4px; }
.ar-existing-heading p,.ar-existing-footnote,.ar-native-details p { color:var(--op-muted); font-size:12px; line-height:1.7; margin:0; }
.ar-existing-marks { display:flex; flex-shrink:0; align-items:center; }
.ar-existing-marks img { height:37px; width:37px; padding:6px; border:1px solid var(--op-border); border-radius:11px; background:#242327; object-fit:contain; }
.ar-existing-marks img+img { margin-left:-6px; background:#d77b56; }
.ar-existing-connections .ar-existing-selection { display:grid; grid-template-columns:1fr; gap:8px; margin-bottom:20px; }
.ar-existing-connections .ar-existing-selection label { display:flex; align-items:center; gap:13px; padding:14px; border:1px solid var(--op-border); border-radius:12px; cursor:pointer; }
.ar-existing-connections .ar-existing-selection label.is-selected { background:var(--op-accent-soft); border-color:var(--op-accent); }
.ar-existing-selection input { width:16px; height:16px; accent-color:var(--op-accent); flex-shrink:0; }
.ar-existing-selection .ar-provider-logo { width:28px; height:28px; flex-shrink:0; }
.ar-existing-selection span { display:grid; gap:4px; min-width:0; }
.ar-existing-selection strong { font-size:13px; }
.ar-existing-selection small { font-size:11px; color:var(--op-muted); overflow-wrap:anywhere; }
.ar-existing-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin:16px 0; }
.ar-native-details { font-size:11px; color:var(--op-muted); margin-top:12px; }
.ar-native-details summary { cursor:pointer; }
.ar-native-details p { margin-top:8px; }
@media(max-width:550px) { .ar-existing-connections { padding:16px; } .ar-existing-heading { align-items:flex-start; } }
.op-form label.ar-mail-access-choice input {
  width: 16px;
  height: 16px;
  padding: 0;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--op-accent);
}
.op-form label.ar-mail-access-choice span {
  font-size: 12px;
  color: var(--op-ink);
}

.ar-work-account-panel {
  min-width: 0;
  width: 100%;
}
.ar-work-account-panel > .op-form-help {
  margin: 16px 0 0;
  line-height: 1.7;
}
.ar-work-account-panel .ar-accounts-list {
  margin-top: 0;
}
.ar-work-account-panel .op-form {
  min-width: 0;
}
.ar-guided-connection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
}
.ar-guided-connection > .ar-provider-logo {
  width: 40px;
  height: 40px;
}
.ar-guided-connection .op-form-help {
  max-width: 460px;
  margin: 0;
  line-height: 1.8;
}

.ar-account-direct {
  padding: 2px;
}
.ar-direct-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 20px;
}
.ar-direct-heading .ar-provider-logo {
  width: 38px;
  height: 38px;
}
.ar-direct-heading h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0;
}
.ar-direct-heading p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--op-muted);
}
.ar-account-direct .op-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ar-account-direct .op-form-help {
  line-height: 1.75;
  margin: 0 0 14px;
}
.ar-account-direct .op-form .op-form-help {
  margin: 0;
}
.ar-account-direct .ar-client-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 30px 20px;
  border: 1px dashed var(--op-accent);
  border-radius: 13px;
  background: var(--op-accent-soft);
  cursor: pointer;
  text-align: center;
}
.ar-client-drop span {
  font-size: 13px;
  color: var(--op-ink);
}
.ar-client-drop small {
  color: var(--op-muted);
  font-size: 11px;
}
.ar-client-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.ar-client-drop:focus-within {
  outline: 2px solid var(--op-accent);
  outline-offset: 3px;
}
.ar-client-instructions {
  font-size: 12px;
  color: var(--op-muted);
  line-height: 1.75;
}
.ar-client-instructions summary {
  cursor: pointer;
  color: var(--op-ink);
}
.ar-client-instructions ol {
  padding-left: 18px;
  display: grid;
  gap: 12px;
  margin: 14px 0 6px;
}
.ar-client-instructions a {
  color: var(--op-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ar-client-instructions label {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}
.ar-client-instructions .ar-redirect-uri {
  display: block;
  font-size: 10px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.ar-direct-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ar-account-direct .ar-direct-private {
  font-size: 10px;
}
.ar-existing-connections{padding:14px 16px;margin-bottom:18px;border:1px solid color-mix(in srgb,var(--foreground,#ddd) 14%,transparent);border-radius:14px;background:color-mix(in srgb,var(--foreground,#ddd) 3%,transparent);font-size:13px;line-height:1.55}
.ar-existing-connections>summary{cursor:pointer;font-weight:600}
.ar-existing-connections>summary>small{display:block;font-weight:400;opacity:.65;margin-top:3px}
.ar-existing-connections>p{margin:12px 0;max-width:70ch}
.ar-existing-apps{display:grid;gap:10px;margin:14px 0}
.ar-existing-apps>div{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ar-existing-apps span{min-width:0;overflow-wrap:anywhere}
.ar-existing-apps strong,.ar-existing-apps small{display:block}
.ar-existing-apps small{opacity:.65}

.ar-existing-selection { max-height: 340px; overflow: auto; }
.ar-existing-selection label { display: flex; align-items: center; gap: 12px; padding: 10px 4px; cursor: pointer; }
.ar-existing-selection input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--op-accent); }
.ar-existing-selection label span { display: flex; flex-direction: column; gap: 3px; }


/* /src/components/business/ambient-video.css */
.biz-ambient-video {
  position: relative;
  overflow: hidden;
  background: #17131c;
}
.biz-ambient-video > img,
.biz-ambient-video > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-ambient-video > video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.biz-ambient-control {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  color: #fff;
  background: #14121975;
  backdrop-filter: blur(8px);
}
.biz-ambient-control:focus-visible {
  outline: 2px solid #cbb0ed;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .biz-ambient-video > video {
    display: none;
    transition: none;
  }
}


/* /src/components/jev/live-card.css */
.lcard { width: min(380px, 100%); border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(14, 12, 18, 0.92); backdrop-filter: blur(10px); color: #f2eef6; font-size: 12.5px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8); animation: lcard-in 280ms cubic-bezier(0.2, 0.9, 0.2, 1) both; overflow: hidden; }
@keyframes lcard-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.lcard header { display: flex; align-items: center; gap: 8px; padding: 9px 10px 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: #f386a1; }
.lcard header b { flex: 1; color: #f2eef6; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard header button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 6px; background: none; color: #948ea0; cursor: pointer; }
.lcard header button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lcard ul { margin: 0; padding: 4px 0; list-style: none; max-height: 250px; overflow: auto; }
.lcard li { padding: 8px 12px; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.lcard li:first-child { border-top: 0; }
.lcard-row { display: flex; justify-content: space-between; gap: 10px; }
.lcard-row small, .lcard li small { color: #948ea0; white-space: nowrap; }
.lcard-subject { margin: 2px 0 0; font-weight: 600; }
.lcard-snippet { margin: 3px 0 0; color: #b7b0c2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard a { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; color: #f386a1; font-size: 11.5px; text-decoration: none; }
.lcard-agenda li { display: grid; grid-template-columns: 58px 1fr; column-gap: 8px; }
.lcard-agenda li span { color: #f386a1; font-variant-numeric: tabular-nums; }
.lcard-agenda li small { grid-column: 2; }
.lcard-empty { margin: 0; padding: 12px; color: #948ea0; }

/* "Start this task?": real work waits for a yes */
.lcard-task { margin: 0; padding: 10px 12px 0; font-size: 13px; line-height: 1.45; color: inherit; max-height: 7.5em; overflow: auto; }
.lcard-actions { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; }
.lcard-actions button { font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: inherit; cursor: pointer; }
.lcard-actions button.is-primary { background: linear-gradient(135deg, #d45bb6, #f386a1); border-color: transparent; color: #fff; }
.lcard-actions small { opacity: 0.6; font-size: 12px; }
.lcard-note { margin: 0; padding: 6px 12px 0; font-size: 11.5px; line-height: 1.45; opacity: 0.7; }


/* /src/components/business/connections-polish.css */
.biz-connect-accounts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 12px;
  min-height: 43px;
  padding: 10px 14px;
  border: 1px solid var(--op-border);
  border-radius: 11px;
  background: var(--op-panel);
  color: var(--op-ink);
  font-size: 12px;
  white-space: nowrap;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.biz-connect-accounts:hover {
  border-color: color-mix(in srgb, var(--op-ink) 28%, transparent);
  background: var(--op-inset);
}
.biz-connect-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-connect-logo {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}
.biz-connect-logo.is-mercury {
  padding: 5px;
  background: #f4f0eb;
}
.biz-connect-logo.is-stripe {
  padding: 3px;
}
.biz-connect-logo-row .biz-connect-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.biz-connect-logo-row .biz-connect-logo.is-mercury {
  padding: 3px;
}
.biz-connect-logo > .audience-logo {
  width: 100%;
  height: 100%;
}
.biz-connect-logo svg {
  width: 100%;
  height: 100%;
}
.biz-connections-body {
  color: var(--op-ink);
  min-width: 0;
}
.biz-connections-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  background: color-mix(in srgb, var(--op-accent) 7%, var(--op-panel));
  border: 1px solid color-mix(in srgb, var(--op-accent) 15%, var(--op-border));
  border-radius: 12px;
  padding: 15px 16px;
  margin-bottom: 25px;
}
.biz-connections-summary > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--op-panel);
  color: var(--op-muted);
}
.biz-connections-summary > span.ready {
  color: var(--op-accent);
}
.biz-connections-summary strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.biz-connections-summary p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--op-muted);
  margin: 4px 0 0;
}
.biz-provider-group + .biz-provider-group {
  margin-top: 24px;
}
.biz-provider-group > h3 {
  font-size: 9px !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 450;
  color: var(--op-muted);
  margin: 0 0 11px !important;
}
.biz-provider-list {
  border: 1px solid var(--op-border);
  border-radius: 13px;
  overflow: hidden;
  background: var(--op-panel);
}
.biz-provider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  min-width: 0;
}
.biz-provider-row + .biz-provider-row {
  border-top: 1px solid var(--op-border);
}
.biz-provider-identity {
  flex: 1;
  min-width: 0;
}
.biz-provider-identity strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.biz-provider-identity > span {
  font-size: 9px;
  color: var(--op-muted);
  line-height: 1.65;
  display: block;
  margin-top: 3px;
}
.biz-provider-status {
  font-size: 9px;
  color: var(--op-muted);
  white-space: nowrap;
  margin: 0 8px;
}
.biz-provider-status.is-ready {
  color: var(--op-accent);
}
.biz-provider-status.is-ready:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--op-accent);
  margin-right: 5px;
  vertical-align: middle;
}
.biz-provider-status.is-snapshot {
  color: var(--op-muted);
}
.biz-provider-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--op-border);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--op-inset);
  color: var(--op-ink);
  font-size: 10px;
  white-space: nowrap;
  min-width: 86px;
}
.biz-provider-action:hover {
  border-color: color-mix(in srgb, var(--op-accent) 45%, var(--op-border));
}
.biz-provider-action:disabled {
  opacity: 0.45;
  cursor: wait;
}
.biz-assistant-imports {
  margin-top: 22px;
  border-top: 1px solid var(--op-border);
  padding-top: 16px;
}
.biz-assistant-imports summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 11px;
  color: var(--op-muted);
  list-style: none;
}
.biz-assistant-imports summary::-webkit-details-marker {
  display: none;
}
.biz-assistant-imports[open] summary svg {
  transform: rotate(180deg);
}
.biz-assistant-imports p {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.8;
  color: var(--op-muted);
}
.biz-connection-error {
  color: #df8a9a;
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
}
.biz-connection-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--op-accent);
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
}
.business-studio .biz-finance-demo {
  display: flex;
  justify-content: flex-end;
  margin: -9px 3px 12px;
  color: var(--op-muted);
  font-size: 10px;
}
.biz-finance-demo > span {
  border: 1px solid var(--op-border);
  border-radius: 5px;
  padding: 3px 7px;
}
@media (max-width: 680px) {
  .biz-provider-row {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 13px;
  }
  .biz-provider-row > .biz-connect-logo {
    width: 30px;
    height: 30px;
  }
  .biz-provider-identity {
    min-width: calc(100% - 48px);
    flex-basis: calc(100% - 48px);
  }
  .biz-provider-status {
    margin-left: 40px;
    flex: 1;
    font-size: 9px;
  }
  .biz-provider-action {
    min-width: auto;
    font-size: 9px;
    padding: 7px 9px;
  }
  .biz-connections-summary {
    padding: 13px;
  }
  .biz-connections-summary p {
    font-size: 9px;
  }
  .biz-connect-accounts {
    font-size: 11px;
    padding: 9px 11px;
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-connect-accounts {
    transition: none;
  }
}

.biz-provider-entry + .biz-provider-entry {
  border-top: 1px solid var(--op-border);
}
.biz-youtube-channel {
  padding: 0 16px 18px 62px;
}
.biz-youtube-channel > label {
  font-size: 12px;
  color: var(--op-ink);
  display: block;
  margin: 4px 0 7px;
}
.biz-youtube-channel > p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--op-muted);
  margin: 0 0 13px;
  max-width: 470px;
  overflow-wrap: anywhere;
}
.biz-youtube-channel > div {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.biz-youtube-channel input {
  flex: 1;
  min-width: 170px;
  width: 100%;
  border: 1px solid var(--op-border);
  background: var(--op-inset);
  color: var(--op-ink);
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 8px;
}
.biz-youtube-channel input:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 2px;
}
.biz-youtube-channel > div > button {
  min-height: 39px;
}
.biz-youtube-edit {
  display: inline-block;
  font-size: 10px;
  color: var(--op-accent);
  margin-top: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.biz-youtube-history {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 10px;
  color: var(--op-muted);
  margin-top: 11px;
}
@media (max-width: 680px) {
  .biz-youtube-channel {
    padding: 0 13px 17px;
  }
  .biz-youtube-channel input {
    min-width: 0;
    flex-basis: 100%;
  }
  .biz-youtube-channel > div > button {
    width: 100%;
  }
}


/* /src/components/business/audience-content.css */
.audience-content { margin: 31px 0 24px; }
.audience-longform-filter { display: inline-block; margin-top: 10px; color: var(--op-accent); font-size: 9px; border: 1px solid color-mix(in srgb, var(--op-accent) 22%, var(--op-border)); background: color-mix(in srgb, var(--op-accent) 5%, transparent); border-radius: 20px; padding: 5px 9px; }
.audience-sampling-warning { color: var(--op-muted); font-size: 11px; line-height: 1.65; margin: 12px 0; }
.audience-video-duration { position: absolute; bottom: 9px; right: 9px; background: #09090be6; border: 1px solid #ffffff29; color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; border-radius: 5px; padding: 3px 6px; }
.audience-card-comment-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px; color: var(--op-ink); font-size: 9px; line-height: 1.6; padding-top: 11px; margin-top: 12px; border-top: 1px solid var(--op-border); }
.audience-card-comment-summary span { color: var(--op-muted); font-size: 8px; }
.audience-video-summary { padding: 20px 22px; border-bottom: 1px solid var(--op-border); background: linear-gradient(115deg, color-mix(in srgb, var(--op-accent) 7%, transparent), transparent 90%); }
.audience-video-summary-top { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: var(--op-muted); }
.audience-video-summary-top > span:first-child { color: var(--op-accent); font-weight: 500; }
.audience-video-summary > p { color: var(--op-ink); font-size: 12px; line-height: 1.85; margin: 11px 0; }
.audience-video-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0; }
.audience-video-topics > span { display: flex; gap: 8px; border: 1px solid var(--op-border); border-radius: 5px; padding: 4px 7px; font-size: 8px; color: var(--op-muted); }
.audience-video-topics b { font-weight: 450; color: var(--op-ink); }
.audience-video-summary footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; font-size: 8px; color: var(--op-muted); margin-top: 16px; }
.audience-video-summary footer button { display: flex; gap: 5px; align-items: center; color: var(--op-accent); font-size: 9px; }
.audience-content-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 20px; }
.audience-content-heading h3 { font-size: 23px; font-weight: 450; letter-spacing: -.035em; margin: 6px 0 7px; }
.audience-content-heading p:not(.audience-eyebrow) { font-size: 11px; color: var(--op-muted); }
.audience-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.audience-video-card { border: 1px solid var(--op-border); border-radius: 15px; background: var(--op-panel); overflow: hidden; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.audience-video-card.is-selected { border-color: color-mix(in srgb, var(--op-accent) 66%, var(--op-border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--op-accent) 13%, transparent), 0 0 20px -10px color-mix(in srgb, var(--op-accent) 40%, transparent); }
.audience-video-open { text-align: left; display: block; width: 100%; }
.audience-video-thumbnail { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: color-mix(in srgb, var(--op-accent) 6%, var(--op-bg)); }
.audience-video-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.audience-video-open:hover img { transform: scale(1.035); }
.audience-video-play { position: absolute; inset: 0; margin: auto; width: 39px; height: 39px; background: #111a; color: white; border: 1px solid #ffffff4a; border-radius: 50%; display: grid; place-items: center; backdrop-filter: blur(8px); opacity: 0; transform: scale(.92); transition: opacity .2s, transform .2s; }
.audience-video-open:hover .audience-video-play, .audience-video-open:focus-visible .audience-video-play { opacity: 1; transform: scale(1); }
.audience-thumbnail-fallback { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--op-muted); font-size: 10px; }
.audience-video-body { padding: 13px 15px 14px; }
.audience-video-body time { color: var(--op-muted); font-size: 9px; }
.audience-video-body h4 { font-size: 13px; font-weight: 500; letter-spacing: -.015em; line-height: 1.55; margin: 6px 0 14px; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.audience-video-stats { display: flex; gap: 12px; align-items: center; color: var(--op-muted); font-size: 9px; }
.audience-video-stats span { display: inline-flex; gap: 4px; align-items: center; }
.audience-video-stats strong { color: var(--op-ink); font-size: 12px; font-weight: 450; }
.audience-video-stats span:first-child { margin-right: auto; }
.audience-video-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--op-border); padding: 10px 15px; font-size: 9px; color: var(--op-muted); }
.audience-video-footer button { display: inline-flex; align-items: center; gap: 5px; }
.audience-video-footer a { color: var(--op-muted); }
.audience-video-card.is-selected .audience-video-footer { color: var(--op-accent); }
.audience-content-inspector { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.5fr); gap: 18px; margin-top: 22px; scroll-margin-top: 100px; }
.audience-comment-signals, .audience-comments { min-width: 0; background: var(--op-panel); border: 1px solid var(--op-border); border-radius: 16px; }
.audience-comment-signals { padding: 21px; }
.audience-comment-signals-heading { display: flex; align-items: center; gap: 9px; }
.audience-comment-signals-heading svg { color: var(--op-accent); }
.audience-comment-signals-heading h4 { font-size: 15px; font-weight: 450; letter-spacing: -.02em; }
.audience-comment-signals > p { color: var(--op-muted); font-size: 10px; line-height: 1.65; margin-top: 8px; }
.audience-theme-list { display: flex; flex-direction: column; gap: 7px; margin: 21px 0; }
.audience-theme-list button { display: flex; align-items: center; gap: 9px; border: 1px solid var(--op-border); border-radius: 9px; padding: 10px 11px; font-size: 11px; text-align: left; }
.audience-theme-list button b { margin-left: auto; font-size: 10px; font-weight: 450; color: var(--op-muted); background: color-mix(in srgb, var(--op-muted) 10%, transparent); min-width: 22px; height: 20px; border-radius: 5px; display: grid; place-items: center; }
.audience-theme-list button svg { color: var(--op-muted); }
.audience-theme-list button[aria-pressed=true] { background: color-mix(in srgb, var(--op-accent) 9%, transparent); border-color: color-mix(in srgb, var(--op-accent) 45%, var(--op-border)); }
.audience-comment-signals > .audience-sampling-note { font-size: 9px; margin-top: 20px; line-height: 1.75; }
.audience-content-asof { display: block; color: var(--op-muted); font-size: 9px; margin-top: 18px; }
.audience-no-themes { font-size: 11px; line-height: 1.7; color: var(--op-muted); border-top: 1px solid var(--op-border); margin-top: 19px; padding: 18px 0; }
.audience-comments-heading { padding: 20px 22px; border-bottom: 1px solid var(--op-border); display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.audience-comments-heading > div { min-width: 0; }
.audience-comments-heading h4 { font-size: 14px; font-weight: 450; line-height: 1.55; letter-spacing: -.015em; margin: 7px 0; }
.audience-comments-heading p:not(.audience-eyebrow) { font-size: 9px; color: var(--op-muted); }
.audience-comments-heading > button { flex: 0 0 auto; margin-top: 3px; }
.audience-comment-list { max-height: 390px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--op-border) transparent; }
.audience-comment { padding: 18px 22px; }
.audience-comment + .audience-comment { border-top: 1px solid var(--op-border); }
.audience-comment-byline { display: flex; gap: 7px; align-items: center; font-size: 9px; }
.audience-comment-avatar { height: 23px; width: 23px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--op-accent); background: color-mix(in srgb, var(--op-accent) 11%, transparent); font-size: 10px; }
.audience-comment-byline strong { font-weight: 450; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 60%; }
.audience-comment-byline time { color: var(--op-muted); font-size: 8px; margin-left: auto; flex: 0 0 auto; }
.audience-channel-badge { color: var(--op-accent); background: color-mix(in srgb, var(--op-accent) 10%, transparent); border-radius: 4px; font-size: 8px; padding: 2px 4px; }
.audience-comment-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--op-ink); font-size: 11px; line-height: 1.85; margin-top: 10px; }
.audience-comment-video { color: var(--op-muted); font-size: 9px; margin: 8px 0 0; line-height: 1.6; }
.audience-comment-expand { color: var(--op-accent); font-size: 9px; margin-top: 7px; }
.audience-comment footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--op-muted); font-size: 9px; }
.audience-comment footer > span, .audience-comment footer > a { display: inline-flex; align-items: center; gap: 5px; }
.audience-comment footer > a { margin-left: auto; }
.audience-comments-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; color: var(--op-muted); padding: 45px 25px; font-size: 11px; line-height: 1.7; min-height: 230px; justify-content: center; }
.audience-comments-empty a { display: inline-flex; align-items: center; gap: 4px; color: var(--op-accent); font-size: 10px; }
.audience-content-provenance { color: var(--op-muted); font-size: 9px; line-height: 1.7; margin: 14px 2px 0; }
.audience-content-loading { display: grid; place-items: center; min-height: 180px; color: var(--op-muted); font-size: 12px; border: 1px solid var(--op-border); border-radius: 15px; }
.audience-content-empty { border: 1px solid var(--op-border); border-radius: 15px; background: var(--op-panel); padding: 40px 25px; display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.audience-content-empty > svg { color: var(--op-muted); }
.audience-content-empty h4 { font-size: 16px; font-weight: 450; letter-spacing: -.02em; }
.audience-content-empty p { color: var(--op-muted); font-size: 11px; line-height: 1.7; max-width: 365px; }
.audience-content-unavailable { display: flex; justify-content: space-between; gap: 25px; align-items: center; border: 1px solid var(--op-border); border-radius: 15px; background: var(--op-panel); padding: 23px; margin: 22px 0; }
.audience-content-unavailable > div:first-child { max-width: 490px; }
.audience-content-unavailable h3 { font-size: 17px; font-weight: 450; letter-spacing: -.025em; margin: 7px 0; }
.audience-content-unavailable p:not(.audience-eyebrow) { color: var(--op-muted); font-size: 10px; line-height: 1.8; }
.audience-content-empty-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: flex-end; }
@keyframes audience-spin { to { transform: rotate(360deg); } }
.audience-syncing { animation: audience-spin 1.2s linear infinite; }
@media (max-width: 1000px) { .audience-video-grid { gap: 12px; } .audience-video-body { padding: 11px 12px; } .audience-video-stats { gap: 7px; } .audience-content-inspector { grid-template-columns: minmax(210px, .85fr) minmax(0, 1.4fr); gap: 13px; } }
@media (max-width: 760px) { .audience-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .audience-content-inspector { grid-template-columns: 1fr; } .audience-theme-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .audience-content-unavailable { flex-direction: column; align-items: flex-start; } .audience-content-empty-actions { justify-content: flex-start; } }
@media (max-width: 520px) { .audience-content-heading { align-items: flex-start; } .audience-content-heading h3 { font-size: 21px; max-width: 210px; } .audience-content-heading .audience-action { font-size: 0; gap: 0; padding: 11px; margin-top: 14px; } .audience-content-heading .audience-action svg { width: 15px; height: 15px; } .audience-video-grid { grid-template-columns: 1fr; gap: 15px; } .audience-video-body h4 { font-size: 14px; } .audience-video-stats { font-size: 10px; } .audience-video-stats strong { font-size: 13px; } .audience-video-footer { font-size: 10px; } .audience-comment-signals { padding: 18px; } .audience-theme-list { grid-template-columns: 1fr; } .audience-comments-heading, .audience-comment { padding: 17px; } .audience-comment-byline strong { max-width: 47%; } .audience-content-unavailable { padding: 19px; } }
@media (prefers-reduced-motion: reduce) { .audience-content * { transition: none !important; animation: none !important; } }


/* /src/components/business/studio-videos.css */
.studio-lanes {
  display: flex;
  gap: 6px;
  margin: 0 0 28px;
  padding: 5px;
  width: fit-content;
  background: var(--op-inset);
  border: 1px solid var(--op-border);
  border-radius: 12px;
}
.studio-lanes button {
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--op-muted);
  cursor: pointer;
  font-size: 12px;
}
.studio-lanes button[aria-pressed="true"] {
  background: var(--op-panel);
  color: var(--op-ink);
  box-shadow: 0 2px 8px #00000008;
}
.studio-video-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  border-radius: 13px;
  padding: 12px 16px;
  margin: 22px 0;
}
.studio-video-toolbar input {
  background: transparent;
  color: var(--op-ink);
  min-width: 200px;
  flex: 1;
  outline: none;
  font-size: 12px;
  padding: 7px 0;
}
.studio-video-toolbar input::placeholder {
  color: var(--op-muted);
}
.studio-video-toolbar select {
  border: 1px solid var(--op-border);
  border-radius: 8px;
  background: var(--op-inset);
  color: var(--op-ink);
  font-size: 11px;
  padding: 8px 10px;
}
.studio-rank-key {
  color: var(--op-muted);
  font-size: 10px;
}
.studio-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}
.studio-video-card {
  min-width: 0;
  text-align: left;
}
.studio-video-main {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.studio-video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 13px;
  overflow: hidden;
  background: var(--op-inset);
  border: 1px solid var(--op-border);
}
.studio-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.studio-video-main:hover img {
  transform: scale(1.025);
}
.studio-video-card[data-selected="true"] .studio-video-thumbnail {
  outline: 2px solid var(--op-accent);
  outline-offset: 3px;
}
.studio-video-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--op-muted);
  font-size: 11px;
}
.studio-duration,
.studio-rank {
  position: absolute;
  color: #fff;
  background: #0f1115e6;
  padding: 3px 6px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 11px;
}
.studio-duration {
  right: 8px;
  bottom: 8px;
}
.studio-rank {
  top: 8px;
  right: 8px;
  background: #f7f3ffff;
  color: #332341;
  box-shadow: 0 2px 12px #0003;
}
.studio-video-copy {
  padding: 12px 2px 0;
}
.studio-video-copy h4 {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  color: var(--op-ink);
  letter-spacing: -0.02em;
  margin: 0 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.studio-video-copy p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--op-muted);
  margin: 2px 0;
}
.studio-video-copy p strong {
  font-weight: 450;
}
.studio-multiple {
  display: inline-block;
  vertical-align: baseline;
  margin: 0 7px 1px 0;
  font-size: 11px;
  letter-spacing: 0;
  padding: 2px 6px;
  color: #fff;
  background: #4b5564;
  border-radius: 4px;
  white-space: nowrap;
}
.studio-multiple[data-level="up"] {
  background: #2864e8;
}
.studio-multiple[data-level="high"] {
  background: #7b39d7;
}
.studio-video-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--op-muted);
  font-size: 10px;
  padding: 10px 2px 0;
}
.studio-video-card footer button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.studio-show-more {
  display: block;
  margin: 24px auto 0;
  border: 1px solid var(--op-border);
  border-radius: 9px;
  padding: 9px 17px;
  color: var(--op-ink);
  font-size: 12px;
  cursor: pointer;
}
.studio-metric-note {
  color: var(--op-muted);
  font-size: 10px;
  line-height: 1.65;
  margin: 18px 0;
}
.studio-channel-row {
  display: flex;
  gap: 19px;
  overflow-x: auto;
  padding: 8px 3px 19px;
  scrollbar-width: thin;
  scrollbar-color: var(--op-border) transparent;
}
.studio-channel-row > button {
  flex: 0 0 109px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  cursor: pointer;
}
.studio-channel-row :is(img, .studio-channel-all) {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--op-border);
}
.studio-channel-all {
  display: grid;
  place-items: center;
  background: var(--op-inset);
  color: var(--op-accent);
}
.studio-channel-row button[aria-pressed="true"] :is(img, .studio-channel-all) {
  outline: 3px solid var(--op-accent);
  outline-offset: 3px;
}
.studio-channel-row strong {
  color: var(--op-ink);
  font-size: 11px;
  font-weight: 500;
  max-width: 109px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-channel-row small {
  color: var(--op-muted);
  font-size: 10px;
}
.studio-watch-editor {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--op-border);
  border-radius: 12px;
  background: var(--op-panel);
}
.studio-watch-editor label {
  display: grid;
  flex: 1;
  gap: 8px;
  font-size: 12px;
  color: var(--op-ink);
}
.studio-watch-editor textarea {
  background: var(--op-inset);
  border: 1px solid var(--op-border);
  border-radius: 8px;
  color: var(--op-ink);
  padding: 10px;
}
.studio-watch-editor button {
  font-size: 12px;
  padding: 10px;
  color: var(--op-accent);
  cursor: pointer;
}
.studio-segment {
  display: flex;
  border-radius: 8px;
  background: var(--op-inset);
  padding: 3px;
}
.studio-segment button {
  font-size: 11px;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--op-muted);
  cursor: pointer;
}
.studio-segment button[aria-pressed="true"] {
  color: var(--op-ink);
  background: var(--op-panel);
  box-shadow: 0 2px 8px #0001;
}
.studio-watch-empty {
  padding: 35px;
  text-align: center;
  color: var(--op-muted);
  font-size: 12px;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.studio-watch :is(button, a, input, select, textarea):focus-visible,
.studio-video-main:focus-visible,
.studio-lanes button:focus-visible,
.studio-video-toolbar input:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 4px;
}
@media (max-width: 1300px) {
  .studio-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 17px;
  }
}
@media (max-width: 950px) {
  .studio-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-rank-key {
    display: none;
  }
}
@media (max-width: 560px) {
  .studio-video-grid {
    grid-template-columns: 1fr;
  }
  .studio-video-copy h4 {
    font-size: 16px;
  }
  .studio-video-copy p {
    font-size: 12px;
  }
  .studio-watch-editor {
    flex-wrap: wrap;
  }
  .studio-watch-editor label {
    flex-basis: 100%;
  }
  .studio-video-toolbar {
    gap: 8px;
    padding: 10px 12px;
  }
  .studio-video-toolbar input {
    min-width: 120px;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-video-thumbnail img {
    transition: none;
  }
}

html:not(.dark) .audience-content { --op-muted:#665a71; }


/* /src/components/jev/voice-dock.css */
/* Voice dock: an orb in a small galaxy, living in the sidebar. The accent
   follows the state; Jev's own colours are TypeSafe's #D45BB6 and #F386A1. */
.vd, .live-hero { --vo-accent: #a98be6; }
[data-mood="listening"] { --vo-accent: #2ee6c8; }
[data-mood="thinking"] { --vo-accent: #d45bb6; }
[data-mood="working"] { --vo-accent: #f5a524; }
[data-mood="speaking"] { --vo-accent: #8f7cff; }
[data-mood="error"] { --vo-accent: #f2957a; }

.jev-orb { position: relative; display: inline-block; flex: none; }
.jev-orb canvas { display: block; }
.jev-orb-fallback {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--vo-accent) 45%, #1d1530 100%);
  box-shadow: 0 0 24px var(--vo-accent);
}
.jev-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.op-voice-slot { flex: 1; min-height: 210px; display: flex; align-items: center; padding: 12px 0 8px; }
.vd {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px 14px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--vo-accent) 22%, var(--op-border));
  background: radial-gradient(120% 100% at 50% 0%, #120d22, #07060c 75%);
  overflow: hidden;
  transition: border-color 0.6s, box-shadow 0.6s;
}
:root:not(.dark) .vd { background: radial-gradient(120% 100% at 50% 0%, #1b1430, #0c0a14 75%); }
.vd:not([data-mood="idle"]) {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--vo-accent) 35%, transparent), 0 14px 36px -14px color-mix(in srgb, var(--vo-accent) 70%, transparent);
}
.vd-expand {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #ffffff1a;
  background: #ffffff0d;
  color: #cfc8e6;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}
.vd:hover .vd-expand { opacity: 1; }
.vd-expand:hover { border-color: color-mix(in srgb, var(--vo-accent) 60%, transparent); color: #fff; }

/* The orb leans toward the pointer (--px/--py set on hover). */
.vd-orb, .live-orb {
  --px: 0;
  --py: 0;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(calc(var(--px) * 5px), calc(var(--py) * 5px)) rotateX(calc(var(--py) * -8deg)) rotateY(calc(var(--px) * 8deg));
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.vd-orb { margin: -6px 0 -12px; z-index: 1; }
.live-orb { z-index: 1; }
.vd { cursor: pointer; }

/* Touch to talk: a soft ripple spreads from wherever you touched. */
.vo-touch {
  position: absolute;
  z-index: 0;
  width: var(--reach, 400px);
  height: var(--reach, 400px);
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, transparent 55%, color-mix(in srgb, var(--vo-accent) 22%, transparent) 88%, color-mix(in srgb, var(--vo-accent) 75%, transparent) 98%, transparent);
  mix-blend-mode: screen;
  animation: vo-touch 0.9s cubic-bezier(0.1, 0.7, 0.3, 1) forwards;
}
@keyframes vo-touch {
  0% { scale: 0.02; opacity: 1; }
  60% { opacity: 0.6; }
  100% { scale: 1; opacity: 0; }
}
.vd-orb:active, .live-orb:active { transform: scale(0.95); }
.vd-orb:focus-visible, .live-orb:focus-visible { outline: 2px solid var(--vo-accent); outline-offset: -18px; }
.vd-ripples { position: absolute; inset: 0; pointer-events: none; }
.vd-ripples i { position: absolute; inset: 27%; border-radius: 50%; border: 2px solid var(--vo-accent); opacity: 0; }
.vd[data-mood="listening"] .vd-ripples i { animation: vd-ripple 1.8s cubic-bezier(0.1, 0.6, 0.3, 1) infinite; }
.vd[data-mood="listening"] .vd-ripples i:nth-child(2) { animation-delay: 0.6s; }
.vd[data-mood="listening"] .vd-ripples i:nth-child(3) { animation-delay: 1.2s; }
@keyframes vd-ripple {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.vd-text { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; max-width: 100%; }
.vd-text b { font-size: 13.5px; font-weight: 650; color: #f1edff; letter-spacing: 0.005em; transition: color 0.4s; }
.vd:not([data-mood="idle"]) .vd-text b { color: color-mix(in srgb, var(--vo-accent) 70%, #fff); }
.vd-text span { font-size: 11.5px; line-height: 1.35; color: #cfc8e6; overflow-wrap: anywhere; }
.vd-last {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 9px;
  border: 1px solid #ffffff14;
  background: #ffffff0a;
  color: #b9b2cf;
  font-size: 11px;
}
.vd-last span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vd-last em { font-style: normal; flex: none; color: #f386a1; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .vd-ripples i, .vo-touch { animation: none; }
  .vo-touch { opacity: 0; }
  .vd-orb, .live-orb { transition: none; transform: none; }
}

.vd-caption {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 180px;
  font-size: 11.5px !important;
  color: #e4def5 !important;
}

/* Hybrid orb: marble at rest, halo ring blooms around a shrunken core when active. */
.jev-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hy-orb { position: relative; display: grid; place-items: center; }
.hy-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.2, 1), scale 0.8s cubic-bezier(0.2, 0.9, 0.2, 1.15);
  pointer-events: none;
}
.hy-halo > * { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.hy-marble { display: grid; place-items: center; transition: scale 0.7s cubic-bezier(0.2, 0.9, 0.2, 1.1), filter 0.7s; }
.hy-orb[data-active] .hy-halo { opacity: 1; scale: 1; }
/* The core fills the ring's hole, so marble and ring read as one object. */
.hy-orb[data-active] .hy-marble { scale: 0.8; filter: saturate(1.3) brightness(1.15); }
/* A tap blooms the ring straight away. */
.hy-orb[data-mood="listening"] .hy-halo { transition-duration: 0.3s, 0.45s; }

/* At rest the marble breathes: a slow, faint glow and swell. */
.hy-orb:not([data-active]):not([data-mood="error"]) .hy-marble > * { animation: hy-breathe 4s ease-in-out infinite; }
@keyframes hy-breathe {
  0%, 100% { scale: 1; filter: brightness(1); }
  50% { scale: 1.035; filter: brightness(1.14) saturate(1.08); }
}

/* Error: one short, soft amber-rose pulse, then rest (the store resets after 3 s). */
.hy-orb[data-mood="error"] .hy-halo { animation: hy-soft-pulse 1.5s ease-in-out 2; }
.hy-orb[data-mood="error"] .hy-marble > * { animation: hy-soft-swell 1.5s ease-in-out 2; }
@keyframes hy-soft-pulse {
  0%, 100% { opacity: 0; scale: 0.9; }
  45% { opacity: 0.7; scale: 1; }
}
@keyframes hy-soft-swell {
  0%, 100% { scale: 1; }
  45% { scale: 0.94; }
}
.op-voice-slot { min-height: 220px; }
.vd { min-height: 196px; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .hy-halo, .hy-marble { transition: none; }
  .hy-orb .hy-marble > *, .hy-orb .hy-halo { animation: none !important; }
}

/* Mute, pause and stop on the sidebar card. Clicks here never start listening. */
.vd-controls { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 8px; }
.vd-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #ffffff22;
  background: #0b0914b3;
  backdrop-filter: blur(6px);
  color: #e4def5;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}
.vd-controls button:hover:enabled { border-color: color-mix(in srgb, var(--vo-accent) 60%, transparent); }
.vd-controls button[aria-pressed="true"] { background: color-mix(in srgb, var(--vo-accent) 30%, #0b0914); color: #fff; }
.vd-controls button:disabled { opacity: 0.35; cursor: default; }

/* A faint tilted orbit behind the orb. A small comet passes round it every
   few seconds, so the orb always shows a little life. */
.hy-orbit {
  position: absolute;
  inset: -22% -30%;
  border-radius: 50%;
  transform: rotate(-16deg) scaleY(0.32);
  pointer-events: none;
  z-index: 0;
}
.hy-orbit::before, .hy-orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.hy-orbit::before { border: 1px solid color-mix(in srgb, var(--vo-accent) 22%, transparent); opacity: 0.55; }
.hy-orbit::after {
  background: conic-gradient(from 0deg, transparent 0 80%, color-mix(in srgb, var(--vo-accent) 70%, transparent) 95%, #fff 99.4%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 4px var(--vo-accent));
  animation: hy-comet 7s linear infinite, hy-comet-fade 14s ease-in-out infinite;
}
@keyframes hy-comet { to { rotate: 360deg; } }
@keyframes hy-comet-fade { 0%, 100% { opacity: 0.15; } 30%, 60% { opacity: 1; } }
.hy-marble, .hy-halo { position: relative; z-index: 1; }
.hy-halo { position: absolute; }
@media (prefers-reduced-motion: reduce) { .hy-orbit::after { animation: none; opacity: 0.4; } }

/* Calm sidebar card: just the orb, centred. Controls appear while the OS is
   active or when you hover the card. */
.vd { justify-content: center; }
.vd-controls { position: absolute; bottom: 10px; left: 50%; translate: -50% 0; margin: 0; opacity: 0; transition: opacity 0.25s; }
.vd:hover .vd-controls, .vd:focus-within .vd-controls, .vd:not([data-mood="idle"]) .vd-controls { opacity: 1; }
.vd:not([data-mood="idle"]) .vd-text { margin-bottom: 30px; }

/* Sidebar fit: the card sits right under Memory with the same rhythm as the
   menu, shares the menu's left and right edges, and is a square with corners
   close to the menu items' 9px. Free space stays below the Tools list. */
.op-voice-slot { flex: none; min-height: 0; padding: 10px 0 14px; align-items: stretch; }
.vd { min-height: 0; aspect-ratio: 1 / 1; border-radius: 14px; padding: 0; }

/* Sidebar: Workspace stays at the top; the orb card, then Tools, then
   Settings all sit together at the bottom. */
.op-voice-slot { margin-top: auto; }

/* The ring canvas is square; clip it to a circle so no corner can ever show. */
.hy-halo { border-radius: 50%; overflow: hidden; }

/* The marble canvas is square too: its glow fades out in a circle and the
   canvas is clipped round, so a state flash never shows a square edge. */
.jev-orb canvas { border-radius: 50%; }

/* The orbit fades in after the orb has drawn, so a loading card never shows
   the lone spinning line on an empty background. */
.hy-orbit { animation: hy-orbit-in 0.6s ease-out 0.5s both; }
@keyframes hy-orbit-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hy-orbit { animation: none; } }


/* /src/components/operator/memory-scope.css */
.memory-scope {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground, currentColor);
  white-space: nowrap;
}
.memory-scope select {
  appearance: auto;
  font: inherit;
  font-size: 12px;
  color: var(--foreground, currentColor);
  background: transparent;
  border: 1px solid var(--border, rgba(127, 127, 127, 0.35));
  border-radius: 8px;
  padding: 3px 6px;
  max-width: 96px;
}
.memory-scope select:focus-visible {
  outline: 2px solid var(--ring, #2a9d8f);
  outline-offset: 1px;
}
.memory-scope.is-compact select {
  padding: 1px 4px;
  font-size: 11px;
}


/* /src/components/operator/voice-companion.css */
.voice-companion {
  --vc-bg: #0e141b;
  --vc-panel: #131d27;
  --vc-ink: #edf4f7;
  --vc-muted: #8fa0b0;
  --vc-line: #ffffff12;
  --vc-blue: #9adae6;
  position: fixed;
  z-index: 80;
  right: 26px;
  bottom: 24px;
  width: min(1040px, calc(100vw - 48px));
  max-height: calc(100dvh - 90px);
  overflow: auto;
  scrollbar-width: thin;
  color: var(--vc-ink);
  background: var(--vc-bg);
  border: 1px solid #ffffff21;
  border-radius: 24px;
  box-shadow:
    0 36px 150px #000b,
    0 0 80px #5ea6b512;
  outline: none;
  font-family: inherit;
  color-scheme: dark;
  animation: vc-arrive 0.3s ease-out;
}
.voice-companion button,
.vc-mini button {
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}
.voice-companion button:focus-visible,
.voice-companion input:focus-visible,
.voice-companion select:focus-visible,
.vc-mini button:focus-visible {
  outline: 2px solid var(--vc-blue, #9adae6);
  outline-offset: 4px;
}
.voice-companion button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vc-header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--vc-line);
  padding: 0 27px;
  background: linear-gradient(90deg, #18243188, transparent);
  border-radius: 24px 24px 0 0;
}
.vc-header > button {
  padding: 8px;
  color: var(--vc-muted);
  border-radius: 8px;
}
.vc-header > button:hover {
  background: #ffffff0a;
  color: white;
}
.vc-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #bccbd5;
}
.vc-wordmark svg {
  color: var(--vc-blue);
}
.vc-wordmark b {
  font-weight: 450;
  color: #6d879b;
}
.vc-provider {
  margin-left: auto;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #91a6b8;
}
.vc-provider i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #667888;
}
.vc-provider i.live {
  background: #92d8b6;
  box-shadow: 0 0 9px #92d8b655;
}
.vc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
}
.vc-stage {
  padding: 31px 30px 22px;
  min-width: 0;
  text-align: center;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 32%, #427f9020, transparent 58%);
}
.vc-eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #778e9f;
  font-weight: 500;
}
.vc-orbit {
  height: 270px;
  width: 320px;
  margin: 9px auto 0;
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
}
.vc-core {
  height: 194px;
  width: 194px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: #071117;
  box-shadow:
    0 0 35px #69c1ce23,
    inset 0 0 20px #c5f8ff21;
  border: 1px solid #bcecf833;
}
.vc-core > div {
  width: 100%;
  height: 100%;
}
.vc-orbit::before {
  content: "";
  position: absolute;
  width: 195px;
  height: 195px;
  border-radius: 50%;
  box-shadow: 0 0 75px #76d1e021;
  animation: vc-breathe 5s ease-in-out infinite;
}
.vc-orbit-line {
  position: absolute;
  inset: 19px 43px;
  border: 1px solid #a5d7e523;
  border-radius: 50%;
}
.vc-orbit-line.one {
  transform: rotate(-27deg) scaleX(1.33);
  border-top-color: #a5d7e55a;
  animation: vc-orbit 30s linear infinite;
}
.vc-orbit-line.two {
  inset: 11px 35px;
  transform: rotate(48deg) scaleX(0.82);
  border-left-color: #c6ae7649;
  animation: vc-orbit-reverse 35s linear infinite;
}
.vc-orbit-line.three {
  inset: 4px 28px;
  border-style: dashed;
  border-color: #a5d7e513;
  animation: vc-spin 90s linear infinite;
}
.vc-satellite {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 13px currentColor;
  background: currentColor;
  color: #b6e9ed;
  z-index: 3;
}
.vc-satellite.a {
  top: 65px;
  left: 48px;
}
.vc-satellite.b {
  right: 33px;
  bottom: 96px;
  color: #d9be92;
}
.vc-satellite.c {
  top: 32px;
  right: 103px;
  width: 3px;
  height: 3px;
}
.vc-orbit-label {
  position: absolute;
  font-size: 6px;
  letter-spacing: 2.8px;
  color: #7eafb2a1;
}
.vc-orbit-label.top {
  top: 7px;
  left: 44px;
  transform: rotate(-20deg);
}
.vc-orbit-label.bottom {
  bottom: 12px;
}
.vc-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #a9c7d2;
}
.vc-stage h1 {
  font-size: 29px;
  font-weight: 450;
  letter-spacing: -1px;
  margin: 9px 0 12px;
}
.vc-caption {
  font-size: 13px;
  line-height: 1.75;
  max-width: 460px;
  min-height: 44px;
  max-height: 94px;
  overflow: auto;
  margin: 0 auto;
  color: #9aafbe;
  scrollbar-width: thin;
}
.vc-suggestions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 21px 0;
}
.vc-suggestions button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #ffffff0e;
  color: #91a7b8;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 10px;
  background: #18242e77;
}
.vc-suggestions button:hover {
  background: #233744;
  color: #d4ebf1;
}
.vc-suggestions button > svg:last-child {
  opacity: 0.4;
}
.vc-call-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 15px 0 10px;
}
.vc-mute {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--vc-line);
  border-radius: 50%;
  background: #18232d;
  color: #95aeba;
}
.vc-start {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  min-height: 47px;
  padding: 12px 24px;
  border-radius: 28px;
  background: #c8e8e9;
  color: #142f37;
  font-size: 12px;
  font-weight: 550;
  box-shadow: 0 0 25px #8cd0d318;
}
.vc-start:hover {
  background: #e0f4f5;
}
.vc-start.is-active {
  background: #30262b;
  color: #e6b5bd;
  border: 1px solid #d9879638;
}
.vc-engine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 14px 0 7px;
}
.vc-engine select {
  appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 11px;
  color: #91a7b4;
  padding: 3px;
  cursor: pointer;
}
.vc-engine svg {
  color: #68899a;
}
.vc-privacy {
  font-size: 9px;
  line-height: 1.65;
  color: #677f91;
  max-width: 380px;
  margin: 0 auto;
}
.vc-context {
  border-left: 1px solid var(--vc-line);
  padding: 31px 23px;
  background: linear-gradient(145deg, #14202a80, #0c121aaa);
}
.vc-context h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  line-height: 1.32;
  font-weight: 450;
  margin: 16px 0 11px;
}
.vc-context h2 em {
  font-style: normal;
  color: #94aab8;
}
.vc-context-intro {
  font-size: 11px;
  color: #728b9e;
  line-height: 1.8;
  margin-bottom: 24px;
}
.vc-connections {
  display: grid;
  gap: 4px;
}
.vc-connections > button {
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  padding: 11px 0;
  width: 100%;
  border-bottom: 1px solid var(--vc-line);
}
.vc-connection-icon {
  width: 33px;
  height: 35px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #92c4d20a;
  color: #9abac8;
}
.vc-connections strong {
  display: block;
  font-size: 12px;
  font-weight: 450;
  color: #c4d5df;
}
.vc-connections small {
  display: block;
  font-size: 10px;
  color: #6f8a9d;
  margin-top: 4px;
}
.vc-connections > button > svg {
  margin-left: auto;
  color: #496675;
}
.vc-connections > button:hover strong {
  color: white;
}
.vc-source-cards {
  margin-top: 29px;
}
.vc-source-cards > button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 7px;
  border: 1px solid #9dc1d00e;
  width: 100%;
  background: #17253080;
  color: #95abb9;
  text-align: left;
  font-size: 11px;
  margin-top: 7px;
}
.vc-source-cards > button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.vc-source-cards > button > svg {
  flex-shrink: 0;
  opacity: 0.65;
}
.vc-source-cards > p {
  font-size: 11px;
  color: #788d9b;
  margin-top: 12px;
}
.vc-action-log {
  margin-top: 27px;
}
.vc-action-log p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #82a99b;
  margin-top: 10px;
}
.vc-status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #86bdae;
}
.vc-footer {
  border-top: 1px solid var(--vc-line);
  padding: 18px 25px 16px;
}
.vc-footer form {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #a9c5db20;
  border-radius: 11px;
  padding: 10px 13px;
  background: #111f2a;
}
.vc-command-symbol {
  font-size: 15px;
  color: #7293a5;
}
.vc-footer input {
  background: transparent;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 12px;
  color: #d7e6ee;
}
.vc-footer input::placeholder {
  color: #6e899c;
}
.vc-footer form button {
  padding: 7px;
  border-radius: 6px;
  color: #acd9e2;
  background: #769cbf14;
}
.vc-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 9px;
  color: #688396;
}
.vc-footer > div > span {
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-footer > div button {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vc-transcript {
  max-height: 230px;
  overflow: auto;
  padding: 0 27px 22px;
  border-top: 1px solid var(--vc-line);
  font-size: 12px;
  color: #acc0cf;
  line-height: 1.8;
}
.vc-transcript p {
  margin-top: 14px;
}
.vc-transcript strong {
  display: block;
  color: #73919f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vc-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 23px 16px;
  color: #e0b6b2;
  background: #492f3433;
  border: 1px solid #bd7f8533;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
  padding: 11px 13px;
}
.vc-setup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  background: #17232f;
  padding: 22px;
  margin: 0 23px 18px;
  border: 1px solid #a9c5db26;
  border-radius: 12px;
}
.vc-setup > div {
  grid-column: 1/-1;
}
.vc-setup strong {
  font-size: 14px;
  font-weight: 500;
}
.vc-setup p {
  font-size: 11px;
  line-height: 1.6;
  color: #90a7b8;
  margin: 5px 0 7px;
}
.vc-setup input {
  width: 100%;
  min-width: 0;
  background: #0d1822;
  border: 1px solid #9ec7d82b;
  border-radius: 7px;
  padding: 12px;
  font-size: 12px;
  outline: none;
  color: #d6e8ef;
}
.vc-setup > button:not([type]) {
  background: #acd5de;
  color: #122b38;
  border-radius: 7px;
  padding: 11px;
  grid-column: 1/-1;
  font-size: 12px;
}
.vc-setup > button[type] {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #95adbd;
}
.vc-mini {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 85;
  border: 1px solid #89bbce36;
  border-radius: 50px;
  background: #101c25ed;
  backdrop-filter: blur(18px);
  box-shadow: 0 9px 40px #0006;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c0d6df;
  padding: 7px 13px 7px 8px;
}
.vc-mini > button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 5px;
}
.vc-mini strong {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-align: left;
}
.vc-mini small {
  display: block;
  font-size: 10px;
  color: #799aa9;
  margin-top: 3px;
  min-width: 130px;
  text-align: left;
}
.vc-mini-core {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.vc-mini-core > div {
  width: 100%;
  height: 100%;
}
.vc-header-trigger {
  color: #a5b9c8 !important;
}
.vc-header-trigger:hover {
  color: #bce8ee !important;
}
@keyframes vc-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes vc-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes vc-orbit {
  to {
    transform: rotate(333deg) scaleX(1.33);
  }
}
@keyframes vc-orbit-reverse {
  to {
    transform: rotate(-312deg) scaleX(0.82);
  }
}
@keyframes vc-breathe {
  50% {
    opacity: 0.45;
    transform: scale(1.08);
  }
}
@media (max-height: 1100px) and (min-width: 760px) {
  .voice-companion {
    max-height: calc(100dvh - 65px);
    bottom: 16px;
  }
  .vc-header {
    height: 58px;
  }
  .vc-stage {
    padding-top: 23px;
  }
  .vc-orbit {
    height: 226px;
    transform: none;
    width: 280px;
    margin: -5px auto -12px;
  }
  .vc-stage h1 {
    font-size: 25px;
  }
  .vc-caption {
    max-height: 63px;
  }
  .vc-context {
    padding-top: 24px;
  }
  .vc-suggestions {
    margin: 15px 0;
  }
  .vc-source-cards {
    margin-top: 20px;
  }
  .vc-action-log {
    margin-top: 18px;
  }
}
@media (max-width: 760px) {
  .voice-companion {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 32px);
    border-radius: 18px;
  }
  .vc-header {
    height: 60px;
    padding: 0 16px;
    gap: 7px;
  }
  .vc-wordmark {
    font-size: 9px;
    letter-spacing: 1.4px;
    gap: 8px;
  }
  .vc-provider {
    font-size: 9px;
    gap: 5px;
  }
  .vc-header > button {
    padding: 6px;
  }
  .vc-body {
    grid-template-columns: 1fr;
  }
  .vc-stage {
    padding: 23px 17px 19px;
  }
  .vc-orbit {
    height: 230px;
    transform: none;
    width: 280px;
    margin: -8px auto -11px;
  }
  .vc-stage h1 {
    font-size: 26px;
  }
  .vc-caption {
    font-size: 12px;
    max-height: 90px;
  }
  .vc-context {
    display: none;
  }
  .vc-suggestions {
    gap: 6px;
    margin: 17px 0;
  }
  .vc-suggestions button {
    font-size: 10px;
    padding: 9px 8px;
  }
  .vc-footer {
    padding: 15px;
  }
  .vc-start {
    padding: 12px 19px;
  }
  .vc-privacy {
    font-size: 10px;
  }
  .vc-setup {
    grid-template-columns: 1fr;
    margin: 0 14px 15px;
    padding: 18px;
  }
  .vc-error {
    margin: 0 14px 15px;
  }
  .vc-mini {
    max-width: calc(100vw - 24px);
    bottom: 16px;
  }
  .vc-mini small {
    min-width: 100px;
  }
  .vc-header .vc-provider {
    display: none;
  }
  .vc-header .vc-wordmark {
    margin-right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-companion,
  .vc-orbit-line,
  .vc-orbit::before {
    animation: none;
  }
  .voice-companion button {
    transition: none;
  }
}

/* Keep controls visible when a longer context column sets the panel height. */
.vc-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #121c25;
}
.vc-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  background: #0e1821;
}
.voice-companion .vc-context h2 {
  line-height: 1.32;
}
.voice-companion .vc-context-intro {
  margin-top: 0;
  margin-bottom: 22px;
}
.voice-companion .vc-stage h1 {
  line-height: 1.3;
}
.voice-companion .vc-suggestions {
  line-height: 1.4;
}

@media (max-height: 1100px) and (min-width: 760px) {
  .vc-core { width: 164px; height: 164px; }
  .vc-orbit::before { width: 164px; height: 164px; }
}
@media (max-width: 760px) {
  .vc-core { width: 174px; height: 174px; }
  .vc-orbit::before { width: 174px; height: 174px; }
}
html:not(.dark) .vc-header-trigger { color: #496876 !important; }


/* /src/components/operator/voice-visuals.css */
/* A shared canvas beside the voice conversation. */
.vc-visual-mode {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  bottom: 24px;
}
.vc-visual-mode .vc-header,
.vc-visual-mode .vc-footer {
  flex-shrink: 0;
}
.vc-visual-mode .vc-body {
  height: min(680px, calc(100dvh - 245px));
  overflow: hidden;
  flex-shrink: 1;
}
.vc-visual-mode .vc-stage {
  min-height: 0;
  overflow: auto;
}
.vc-visual-mode .vv-graph {
  min-height: 0 !important;
}
.vc-visual-mode .vv-graph > [data-rendered-nodes] {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}
.vc-visual-mode .vv-graph .ar-graph-controls {
  top: 38px;
  right: 18px;
  gap: 5px;
}
.vc-visual-mode .vv-graph .ar-graph-controls button,
.vc-visual-mode .vv-graph .ar-graph-controls label {
  font-size: 9px;
  padding: 5px 7px;
  background: #15252fcc;
  border-color: #a4cbd822;
  color: #a0bfcc;
}
.vc-visual-mode .vv-sources {
  flex-shrink: 0;
}
.vc-visual-mode .vc-error,
.vc-visual-mode .vc-setup {
  flex-shrink: 0;
}
.vc-visual-mode .vc-setup {
  max-height: 260px;
  overflow: auto;
}
.vc-visual-mode .vc-history {
  max-height: 150px;
  flex-shrink: 0;
}
@media (min-width: 761px) {
  .vc-visual-mode .vc-body {
    min-height: 0 !important;
  }
  .vc-visual-mode .vv-workspace {
    min-height: 0;
  }
  .vc-visual-mode .vc-caption {
    flex-shrink: 1;
  }
  .vc-visual-mode .vc-suggestions {
    flex-shrink: 0;
  }
  .vc-visual-mode .vc-call-controls {
    flex-shrink: 0;
  }
}
@media (max-height: 800px) and (min-width: 761px) {
  .vc-visual-mode .vc-orbit {
    height: 120px !important;
    margin: 0 !important;
  }
  .vc-visual-mode .vc-core {
    width: 95px !important;
    height: 95px !important;
  }
  .vc-visual-mode .vc-orbit::before {
    width: 95px !important;
    height: 95px !important;
  }
  .vc-visual-mode .vc-orbit-label {
    display: none;
  }
  .vc-visual-mode .vc-stage > .vc-eyebrow {
    display: none;
  }
  .vc-visual-mode .vc-caption {
    min-height: 35px !important;
    max-height: 62px !important;
  }
  .vc-visual-mode .vc-suggestions {
    margin: 7px 0 !important;
    gap: 4px !important;
  }
  .vc-visual-mode .vc-suggestions button {
    padding: 6px !important;
  }
  .vc-visual-mode .vc-stage {
    padding-block: 12px !important;
  }
}
@media (max-width: 760px) {
  .vc-visual-mode .vc-body {
    height: auto;
    max-height: calc(100dvh - 165px);
    overflow: auto;
  }
  .vc-visual-mode .vc-stage {
    flex-shrink: 0;
  }
  .vc-visual-mode .vv-graph {
    height: 280px !important;
    min-height: 280px !important;
  }
}
.voice-companion.vc-visual-mode {
  width: min(1330px, calc(100vw - 48px));
  max-height: calc(100dvh - 88px);
  border-radius: 22px;
  background: #0d151c;
}
.vc-visual-mode .vc-body {
  grid-template-columns: 350px minmax(0, 1fr);
  min-height: 620px;
}
.vc-visual-mode .vc-stage {
  padding: 28px 23px 22px;
  background: radial-gradient(ellipse at 50% 25%, #427f9020, transparent 60%);
  display: flex;
  align-items: center;
  flex-direction: column;
}
.vc-visual-mode .vc-stage > .vc-eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  line-height: 1.8;
}
.vc-visual-mode .vc-orbit {
  margin: 22px auto 10px;
  transform: none;
  width: 280px;
  height: 230px;
  flex-shrink: 0;
}
.vc-visual-mode .vc-core {
  width: 158px;
  height: 158px;
}
.vc-visual-mode .vc-orbit::before {
  width: 158px;
  height: 158px;
}
.vc-visual-mode .vc-name {
  font-size: 9px;
  letter-spacing: 3px;
}
.vc-visual-mode .vc-stage h1 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 11px 0 14px;
}
.vc-visual-mode .vc-caption {
  font-size: 12px;
  line-height: 1.8;
  min-height: 65px;
  max-height: 130px;
  width: 100%;
  color: #aac0cb;
}
.vc-visual-mode .vc-suggestions {
  gap: 7px;
  margin: 20px 0 14px;
  width: 100%;
}
.vc-visual-mode .vc-suggestions button {
  font-size: 10px;
  justify-content: center;
  flex: 1 0 100%;
  padding: 9px;
}
.vc-visual-mode .vc-call-controls {
  margin-top: auto;
  padding-top: 12px;
  gap: 8px;
}
.vc-visual-mode .vc-start {
  padding: 11px 17px;
  min-height: 43px;
  font-size: 11px;
}
.vc-visual-mode .vc-mute {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
}
.vc-visual-mode .vc-privacy {
  font-size: 8px;
  line-height: 1.7;
}
.vc-visual-mode .vc-engine {
  margin-top: 10px;
}
.vc-visual-mode .vc-engine select {
  font-size: 10px;
}
.vc-visual-mode .vc-footer {
  padding: 16px 23px 13px;
}
.vc-visual-mode .vc-footer input[hidden] {
  display: none;
}
.vc-visual-mode .vc-footer form > button:first-child {
  background: none;
  color: #8dacbc;
}
.vc-openai-status {
  border-bottom: 1px solid #ffffff16;
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.vc-openai-status strong {
  color: #b5dfcb;
}
.vv-workspace {
  min-width: 0;
  border-left: 1px solid #b8d8ed13;
  position: relative;
  background: linear-gradient(150deg, #101c2544, #0b1118);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.vv-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 18px 25px 0;
  border-bottom: 1px solid #a8c7d512;
  min-height: 61px;
  flex-shrink: 0;
}
.vv-tabs > button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px 16px;
  font-size: 11px;
  color: #7393a5;
  border-bottom: 2px solid transparent;
}
.vv-tabs > button[aria-selected="true"] {
  border-color: #a8d9d9;
  color: #c5e6eb;
}
.vv-tabs > button:hover {
  color: #c5e6eb;
}
.vv-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #738e9c;
  white-space: nowrap;
}
.vv-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8bc9ae;
}
.vv-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 27px 28px 18px;
  flex-shrink: 0;
}
.vv-heading h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 450;
  margin: 8px 0 0;
  color: #e1edf2;
}
.vv-heading > button {
  margin-left: auto;
  padding: 8px;
  color: #6e8fa0;
  border: 1px solid #b9ddf117;
  border-radius: 8px;
}
.vv-heading > button:hover {
  color: #d4eef5;
  background: #a8c9dc0a;
}
.vv-graph {
  position: relative;
  flex: 1;
  min-height: 330px;
  isolation: isolate;
  background: radial-gradient(ellipse at center, #0a1a2255, transparent 70%);
  overflow: hidden;
}
.vv-graph > div:has(> canvas) {
  height: 100%;
}
.vv-graph .memory-graph-toolbar,
.vv-graph .mg-toolbar {
  display: none;
}
.vv-graph-meta {
  position: absolute;
  top: 8px;
  left: 29px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.vv-graph-meta span {
  font-size: 10px;
  color: #7b9aa9;
}
.vv-graph-meta span + span {
  color: #516f80;
  font-size: 9px;
}
.vv-layout {
  position: absolute;
  bottom: 12px;
  left: 25px;
  right: 25px;
  display: flex;
  gap: 5px;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}
.vv-layout button {
  pointer-events: auto;
  border: 1px solid #acdae91b;
  background: #101c25d9;
  color: #7898a8;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  backdrop-filter: blur(8px);
}
.vv-layout button[aria-pressed="true"] {
  color: #b7e3e4;
  border-color: #99d0d747;
  background: #1b333bbb;
}
.vv-layout > span {
  margin-left: auto;
  color: #688594;
  font-size: 9px;
}
.vv-sources {
  padding: 18px 27px 24px;
  border-top: 1px solid #bddceb0c;
}
.vv-sources > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 11px;
}
.vv-sources button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9cb6c2;
  background: #18283366;
  border: 1px solid #afd9e411;
  border-radius: 9px;
  padding: 13px 11px;
  font-size: 10px;
  text-align: left;
  min-height: 50px;
}
.vv-sources button > span:nth-child(2) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
  flex: 1;
}
.vv-card-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #9acbbb;
  box-shadow: 0 0 10px #9acbbb36;
}
.vv-sources button > svg {
  flex-shrink: 0;
  color: #4c7183;
}
.vv-sources button:hover {
  border-color: #9acbbb44;
}
.vv-memory-detail {
  position: relative;
  margin: 0 24px 20px;
  padding: 18px 22px;
  background: #15232b;
  border: 1px solid #a5cbde1f;
  border-radius: 12px;
}
.vv-memory-detail h3 {
  font-size: 16px;
  line-height: 1.5;
  max-width: 90%;
  margin: 9px 0;
  color: #cce2ea;
  letter-spacing: -0.3px;
}
.vv-memory-detail > p {
  font-size: 12px;
  line-height: 1.75;
  color: #8da8b7;
  max-height: 100px;
  overflow: auto;
  white-space: pre-wrap;
}
.vv-detail-close {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #77919e;
  padding: 4px;
}
.vv-text-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #acd9d7;
  margin-top: 16px;
}
.vv-text-action:hover {
  color: #d0f2ec;
}
.vv-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #688a99;
  min-height: 280px;
  text-align: center;
  padding: 30px;
  font-size: 13px;
}
.vv-empty h3 {
  font-size: 19px;
  color: #b6cdd8;
}
.vv-empty p {
  max-width: 320px;
  color: #718f9e;
  font-size: 12px;
  line-height: 1.8;
}
.vv-empty button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b9dcd9;
}
.vv-empty-line {
  font-size: 12px;
  line-height: 1.8;
  color: #748e9d;
  margin: 14px 0 20px;
}
.vv-today,
.vv-business {
  padding: 5px 30px 30px;
  overflow: auto;
}
.vv-date {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 6px 0 24px;
}
.vv-date > strong {
  font-size: 57px;
  font-weight: 350;
  letter-spacing: -3px;
  color: #c9e2e7;
  line-height: 1;
}
.vv-date > span {
  font-size: 15px;
  line-height: 1.5;
  color: #b2c8d3;
}
.vv-date small {
  display: block;
  font-size: 10px;
  color: #5d7a8b;
  margin-top: 5px;
}
.vv-schedule > button,
.vv-inbox > button {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #bfdeec0e;
}
.vv-schedule time {
  min-width: 63px;
  font-size: 10px;
  color: #7697a7;
}
.vv-schedule time b {
  display: block;
  font-size: 16px;
  font-weight: 450;
  color: #bfdae2;
  margin-top: 3px;
}
.vv-schedule button > span,
.vv-inbox button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.vv-schedule strong,
.vv-inbox strong {
  display: block;
  font-size: 12px;
  color: #b7d0dd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 450;
}
.vv-schedule small,
.vv-inbox small {
  display: block;
  font-size: 10px;
  color: #667f91;
  margin-top: 6px;
}
.vv-schedule svg,
.vv-inbox svg {
  color: #4d7285;
}
.vv-inbox {
  margin-top: 24px;
}
.vv-avatar {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  background: #39586233;
  border: 1px solid #9ed9d713;
  border-radius: 50%;
  font-size: 13px;
  color: #98c5c8;
}
.vv-business > h3 {
  font-size: 30px;
  font-weight: 430;
  letter-spacing: -1px;
  color: #cde4ea;
  line-height: 1.35;
}
.vv-business > p {
  font-size: 13px;
  line-height: 1.8;
  color: #7899a9;
  margin: 12px 0 25px;
  max-width: 550px;
}
.vv-business-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 25px 0;
}
.vv-business-cards article {
  padding: 21px 20px;
  border-radius: 13px;
  border: 1px solid #a5d3d620;
  background: linear-gradient(140deg, #23414d44, #131e2711);
}
.vv-business-cards article > span {
  font-size: 11px;
  color: #799cac;
}
.vv-business-cards strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 420;
  color: #c8e2df;
}
.vv-business-cards small {
  font-size: 9px;
  color: #698390;
}
.vv-goal {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 0;
  border-bottom: 1px solid #bfe1ef0e;
}
.vv-goal i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6cea4;
}
.vv-goal span {
  font-size: 12px;
  color: #a9c4d0;
  flex: 1;
}
.vv-goal small {
  font-size: 10px;
  text-transform: capitalize;
  color: #567a8e;
}
.vv-images {
  padding: 0 27px 24px;
  overflow: auto;
  flex: 1;
}
.vv-dropzone {
  border: 1px dashed #9cc5d52b;
  border-radius: 15px;
  background: radial-gradient(ellipse at top, #32586922, #0c172133);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  cursor: pointer;
  position: relative;
  text-align: center;
}
.vv-dropzone > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #b9e0e726;
  background: #9bcfd911;
  border-radius: 18px;
  color: #a1c8d0;
  margin-bottom: 22px;
}
.vv-dropzone h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  color: #cadce6;
  font-weight: 430;
  line-height: 1.3;
}
.vv-dropzone p {
  font-size: 12px;
  line-height: 1.9;
  color: #7594a4;
  margin: 13px 0 22px;
}
.vv-dropzone > b {
  font-size: 11px;
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b4d4dd;
  border: 1px solid #a6cdd932;
  padding: 10px 16px;
  border-radius: 8px;
  background: #213a4544;
}
.vv-dropzone > small {
  font-size: 9px;
  color: #5e7c8d;
  margin-top: 17px;
}
.vv-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.vv-image-preview {
  position: relative;
}
.vv-image-preview > img {
  max-height: 370px;
  min-height: 200px;
  object-fit: contain;
  width: 100%;
  border-radius: 12px;
  background: #090f14;
  border: 1px solid #abcfe319;
}
.vv-image-preview > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 12px 0;
  font-size: 11px;
  color: #84a3b2;
}
.vv-image-preview > div > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vv-discuss-image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1px solid #a6cece36;
  background: #24444b66;
  border-radius: 9px;
  color: #bae5de;
  font-size: 12px;
  padding: 13px;
}
.vv-image-preview > p {
  font-size: 10px;
  color: #668698;
  text-align: center;
  margin: 12px 0;
  line-height: 1.7;
}
.vv-image-library {
  margin-top: 25px;
}
.vv-image-library > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 11px;
}
.vv-image-library button {
  text-align: left;
  min-width: 0;
}
.vv-image-library img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid #b8dae21a;
}
.vv-image-library span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  color: #698d9d;
  margin-top: 7px;
}
@media (max-height: 900px) and (min-width: 961px) {
  .vc-visual-mode .vc-body {
    min-height: 530px;
  }
  .vc-visual-mode .vc-orbit {
    height: 180px;
    width: 235px;
    margin: 7px auto 3px;
  }
  .vc-visual-mode .vc-core {
    width: 133px;
    height: 133px;
  }
  .vc-visual-mode .vc-orbit::before {
    width: 133px;
    height: 133px;
  }
  .vc-visual-mode .vc-stage {
    padding-top: 20px;
  }
  .vc-visual-mode .vc-stage h1 {
    font-size: 21px;
  }
  .vc-visual-mode .vc-suggestions {
    margin: 10px 0;
  }
  .vv-graph {
    min-height: 280px;
  }
  .vv-heading {
    padding-top: 20px;
  }
  .vv-heading h2 {
    font-size: 22px;
  }
}
@media (max-width: 1100px) {
  .vc-visual-mode .vc-body {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .vc-visual-mode .vc-stage {
    padding-inline: 14px;
  }
  .vv-live {
    display: none;
  }
  .vv-tabs {
    padding-inline: 15px;
  }
  .vv-tabs > button {
    padding-inline: 10px;
  }
  .vv-heading {
    padding-inline: 20px;
  }
  .vv-heading h2 {
    font-size: 21px;
  }
  .vv-sources {
    padding-inline: 18px;
  }
  .vv-sources > div {
    grid-template-columns: 1fr;
  }
  .vv-sources button {
    min-height: 38px;
    padding: 9px 11px;
  }
  .vv-layout > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .voice-companion.vc-visual-mode {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    right: 10px;
    bottom: 10px;
  }
  .vc-visual-mode .vc-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .vc-visual-mode .vc-stage {
    padding: 20px 18px 17px;
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 12px;
    text-align: left;
  }
  .vc-visual-mode .vc-stage > .vc-eyebrow,
  .vc-visual-mode .vc-name,
  .vc-visual-mode .vc-suggestions,
  .vc-visual-mode .vc-privacy,
  .vc-visual-mode .vc-orbit-line,
  .vc-visual-mode .vc-satellite,
  .vc-visual-mode .vc-orbit-label,
  .vc-visual-mode .vc-orbit::before {
    display: none;
  }
  .vc-visual-mode .vc-orbit {
    grid-column: 1;
    grid-row: 1/3;
    width: 64px;
    height: 64px;
    margin: 0;
    max-width: none;
  }
  .vc-visual-mode .vc-core {
    width: 60px;
    height: 60px;
  }
  .vc-visual-mode .vc-stage h1 {
    grid-column: 2;
    margin: 0;
    font-size: 20px;
  }
  .vc-visual-mode .vc-caption {
    grid-column: 2;
    font-size: 11px;
    line-height: 1.6;
    min-height: 0;
    max-height: 55px;
    margin: 0;
  }
  .vc-visual-mode .vc-call-controls {
    grid-column: 1/-1;
    padding-top: 9px;
    justify-content: center;
    margin: 8px 0 0;
  }
  .vc-visual-mode .vc-engine {
    grid-column: 1/-1;
    margin: 10px 0 0;
  }
  .vv-workspace {
    border-left: 0;
    border-top: 1px solid #b8d8ed13;
    flex-shrink: 0;
  }
  .vv-tabs {
    justify-content: center;
    padding: 8px 8px 0;
    min-height: 49px;
    gap: 3px;
  }
  .vv-tabs > button {
    font-size: 10px;
    padding: 8px 9px 13px;
  }
  .vv-heading {
    padding: 20px 18px 9px;
  }
  .vv-heading h2 {
    font-size: 20px;
  }
  .vv-graph {
    height: 280px;
    min-height: 280px;
    flex: none;
  }
  .vv-graph-meta {
    left: 18px;
    top: 8px;
  }
  .vv-graph-meta span + span {
    display: none;
  }
  .vv-layout {
    left: 16px;
    bottom: 6px;
  }
  .vv-sources {
    padding: 16px;
  }
  .vv-sources > div {
    grid-template-columns: 1fr;
  }
  .vv-sources button:nth-child(n + 3) {
    display: none;
  }
  .vv-today,
  .vv-business {
    padding: 8px 18px 22px;
  }
  .vv-business-cards {
    gap: 8px;
  }
  .vv-business-cards article {
    padding: 15px 12px;
  }
  .vv-business-cards strong {
    font-size: 22px;
  }
  .vv-images {
    padding: 5px 16px 20px;
  }
  .vv-dropzone {
    min-height: 285px;
    padding: 20px;
  }
  .vv-dropzone h3 {
    font-size: 20px;
  }
  .vv-dropzone > span {
    margin-bottom: 16px;
  }
  .vv-image-library > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vv-memory-detail {
    margin: 0 14px 16px;
    padding: 15px;
  }
  .vc-visual-mode .vc-footer {
    padding: 12px 15px;
    background: #0d1922;
  }
  .vc-visual-mode .vc-footer > div {
    font-size: 8px;
  }
}
/* Leave room for the voice picker and connection status on laptop screens. */
@media (max-height: 900px) and (min-width: 761px) {
  .vc-visual-mode .vc-orbit {
    height: 150px;
    margin-top: 2px;
  }
  .vc-visual-mode .vc-caption {
    min-height: 42px;
    max-height: 75px;
  }
  .vc-visual-mode .vc-stage h1 {
    margin: 8px 0 10px;
  }
  .vc-visual-mode .vc-suggestions {
    margin: 8px 0;
  }
  .vc-visual-mode .vc-stage {
    padding-bottom: 12px;
  }
}
.vc-visual-mode .vc-transcript {
  max-height: 155px;
  min-height: 65px;
  flex-shrink: 0;
}


/* /src/components/operator/voice-focus.css */
/* One conversation, one canvas. Secondary controls are revealed on demand. */
.vc-focus-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: #060708a6;
  backdrop-filter: blur(7px);
  animation: vc-focus-fade 0.2s ease-out;
}
.voice-companion.vc-focus-mode {
  --vc-ink: #edefef;
  position: fixed;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(740px, calc(100vw - 48px));
  height: min(720px, calc(100dvh - 64px));
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #121517;
  color: #edefef;
  border: 1px solid #ffffff15;
  border-radius: 24px;
  box-shadow: 0 30px 120px #0009;
  animation: vc-focus-fade 0.22s ease-out;
  color-scheme: dark;
}
.vc-focus-header {
  height: 66px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #8e989b;
}
.vc-focus-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #e1e6e5;
}
.vc-focus-brand > svg {
  color: #a6cac4;
}
.vc-focus-brand > i {
  height: 5px;
  width: 5px;
  background: #a6d9bf;
  border-radius: 50%;
  margin-left: 3px;
}
.vc-focus-header > div {
  display: flex;
  gap: 5px;
  align-items: center;
}
.vc-focus-header button,
.vc-focus-icon {
  display: grid;
  place-items: center;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  color: #849092;
  background: transparent;
}
.vc-focus-header button:hover,
.vc-focus-icon:hover {
  background: #ffffff08;
  color: #edf0ef;
}
.vc-focus-menu {
  z-index: 100 !important;
  min-width: 190px;
  background: #1c2022 !important;
  color: #d2d8d6 !important;
  border: 1px solid #ffffff15 !important;
  border-radius: 14px !important;
  padding: 6px !important;
  box-shadow: 0 15px 50px #0006;
}
.vc-focus-menu [role="menuitem"] {
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 8px;
  color: #bdc9c6 !important;
}
.vc-focus-menu [role="menuitem"]:focus {
  background: #ffffff09 !important;
}
.vc-focus-menu [role="separator"] {
  background: #ffffff0e !important;
  margin: 5px 6px;
}
.vc-focus-menu svg {
  color: #849590;
}
.vc-focus-canvas {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vc-focus-voice {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 18px 24px 0;
}
.vc-focus-orb {
  width: 184px;
  height: 184px;
  flex-shrink: 0;
  position: relative;
  isolation: isolate;
  border-radius: 50%;
  background: #0d1718;
  box-shadow:
    0 0 100px #85b6b21b,
    0 0 30px #b9e1d815;
  overflow: hidden;
  border: 1px solid #b9e1d821;
}
.vc-focus-orb > div {
  width: 100%;
  height: 100%;
}
.vc-focus-voice h1 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 450;
  letter-spacing: -0.8px;
  margin: 0;
  text-align: center;
  color: #e8edeb;
}
.vc-focus-caption {
  margin: 16px auto 20px;
  width: calc(100% - 88px);
  max-width: 520px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
  color: #8f9b9a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
.vc-focus-caption.with-visual {
  min-height: 24px;
  margin-block: 10px 13px;
  font-size: 13px;
  -webkit-line-clamp: 2;
}
.vc-focus-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 0 24px 24px;
}
.vc-focus-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 21px;
  background: #d5e4df;
  color: #1b2c27;
  border: 1px solid #dae9e324;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
}
.vc-focus-call:hover {
  background: #e5eee9;
}
.vc-focus-call.is-active {
  background: #ffffff06;
  border-color: #ffffff13;
  color: #c7cfcc;
}
.vc-focus-call.is-active > svg {
  color: #cba9a4;
}
.vc-focus-call.is-active:hover {
  background: #b9655812;
}
.vc-focus-icon {
  height: 40px;
  width: 40px;
  border: 1px solid #ffffff0c;
}
.vc-focus-footer {
  padding: 0 24px 24px;
  flex-shrink: 0;
}
.vc-focus-footer form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff11;
  background: #191d1f;
  border-radius: 15px;
  padding: 6px 9px;
  min-height: 51px;
}
.vc-focus-footer input:not([hidden]) {
  flex: 1;
  width: 0;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  color: #d9e0dd;
  font-size: 13px;
  padding: 8px 0;
}
.vc-focus-footer input::placeholder {
  color: #75827e;
}
.vc-focus-footer input[hidden] {
  display: none;
}
.vc-focus-footer button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #8faaa0;
  background: none;
  border-radius: 8px;
}
.vc-focus-footer button:hover {
  color: #d8e7e0;
  background: #ffffff05;
}
.vc-focus-footer button:disabled {
  opacity: 0.25;
}
.vc-focus-error {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 24px 15px;
  padding: 12px 15px;
  border: 1px solid #bd95831c;
  background: #bd95830b;
  border-radius: 10px;
  color: #c9afa1;
  font-size: 12px;
  line-height: 1.5;
  flex-shrink: 0;
}
.vc-focus-error > span {
  flex: 1;
}
.vc-focus-error > button {
  flex-shrink: 0;
}
.vc-focus-settings,
.vc-focus-transcript {
  overflow: auto;
  flex: 1;
  padding: 10px 34px 24px;
  scrollbar-width: thin;
}
.vc-focus-back {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #91a69d;
  font-size: 12px;
  margin-bottom: 21px;
  padding: 4px 0;
}
.vc-focus-settings h2,
.vc-focus-transcript h2 {
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
}
.vc-focus-settings label {
  font-size: 12px;
  color: #9eaca6;
  display: block;
}
.vc-focus-settings input,
.vc-focus-settings select {
  display: block;
  width: 100%;
  border: 1px solid #ffffff13;
  background: #1a1f20;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 13px;
  color: #dce4df;
  margin: 9px 0 14px;
}
.vc-focus-settings p {
  color: #8b9d94;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.vc-focus-save {
  border: 1px solid #c3d5ca33;
  background: #c3d5ca13;
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 9px;
  color: #c6d7ce;
}
.vc-focus-settings small {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  color: #6e8276;
  margin-top: 20px;
  max-width: 430px;
}
.vc-focus-transcript p {
  font-size: 14px;
  line-height: 1.8;
  color: #becbc3;
  margin: 0 0 22px;
  white-space: pre-wrap;
}
.vc-focus-transcript strong {
  display: block;
  font-size: 11px;
  color: #6f8779;
  margin-bottom: 5px;
  font-weight: 500;
}
/* Context replaces the orb instead of competing with a second column. */
.vc-focus-mode .vv-workspace {
  flex: 1;
  min-height: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.vc-focus-mode .vv-heading {
  padding: 8px 26px 16px;
  min-height: 44px;
  gap: 15px;
}
.vc-focus-mode .vv-heading h2 {
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0;
  margin: 0;
  color: #becdc6;
  text-align: center;
  flex: 1;
}
.vc-focus-mode .vv-heading > button {
  margin: 0;
  padding: 5px;
  border: 0;
  font-size: 12px;
  color: #7c9285;
}
.vc-focus-mode .vv-heading .vv-back {
  display: flex;
  align-items: center;
  gap: 5px;
}
.vc-focus-mode .vv-graph {
  flex: 1;
  min-height: 0;
  isolation: isolate;
  background: transparent;
}
.vc-focus-mode .vv-graph > [data-rendered-nodes] {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
  height: 100% !important;
}
.vc-focus-mode .vv-graph .ar-graph-controls {
  display: none;
}
.vc-focus-mode .vv-graph > [data-rendered-nodes] > div[aria-hidden] {
  display: none;
}
.vc-focus-mode .vv-empty {
  min-height: 0;
  flex: 1;
  height: 100%;
  font-size: 12px;
}
.vc-focus-mode .vv-empty h3 {
  font-size: 20px;
}
.vc-focus-mode .vv-graph .vv-empty {
  padding: 20px;
}
.vv-display {
  position: absolute;
  bottom: 13px;
  right: 25px;
  z-index: 5;
  background: #131a18df;
  border: 1px solid #bed6c712;
  border-radius: 10px;
  font-size: 11px;
  color: #7f9b8c;
}
.vv-display summary {
  list-style: none;
  padding: 8px 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vv-display summary::-webkit-details-marker,
.vv-memory-sources summary::-webkit-details-marker {
  display: none;
}
.vv-display > div {
  padding: 2px 8px 8px;
  display: flex;
  gap: 5px;
}
.vv-display button {
  padding: 6px 9px;
  border-radius: 6px;
  color: #90ac9b;
}
.vv-display button[aria-pressed="true"] {
  color: #d3e3d9;
  background: #afcbbb12;
}
.vv-memory-sources {
  flex-shrink: 0;
  max-height: 140px;
  overflow: auto;
  padding: 0 26px;
  color: #7f9589;
  font-size: 11px;
  scrollbar-width: thin;
}
.vv-memory-sources summary {
  cursor: pointer;
  padding: 11px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vv-memory-sources[open] summary svg {
  transform: rotate(180deg);
}
.vc-focus-mode .vv-sources {
  border: 0;
  padding: 0 0 8px;
}
.vc-focus-mode .vv-sources > div {
  grid-template-columns: 1fr;
  margin: 0;
  gap: 5px;
}
.vc-focus-mode .vv-sources button {
  min-height: 36px;
  background: #d3e3d904;
  border-color: #d3e3d90c;
  padding: 8px 10px;
  font-size: 11px;
  color: #a4b8aa;
}
.vc-focus-mode .vv-memory-detail {
  margin: 0 24px 10px;
  padding: 14px 17px;
  background: #1b2320;
  border-color: #b6cebc16;
  max-height: 180px;
  flex-shrink: 0;
  overflow: auto;
}
.vc-focus-mode .vv-memory-detail h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.vc-focus-mode .vv-memory-detail > p {
  font-size: 12px;
  max-height: 55px;
}
.vc-focus-mode .vv-memory-detail > .vc-eyebrow {
  display: none;
}
.vc-focus-mode .vv-text-action {
  font-size: 11px;
  margin-top: 9px;
}
.vc-focus-mode .vv-today,
.vc-focus-mode .vv-business {
  padding: 4px 28px 20px;
}
.vc-focus-mode .vv-date {
  margin-bottom: 18px;
}
.vc-focus-mode .vv-date > strong {
  font-size: 42px;
}
.vc-focus-mode .vv-date > span {
  font-size: 13px;
}
.vc-focus-mode .vv-schedule time b {
  font-size: 14px;
}
.vc-focus-mode .vv-business > h3 {
  font-size: 23px;
}
.vc-focus-mode .vv-business-cards {
  gap: 9px;
  margin: 16px 0;
}
.vc-focus-mode .vv-business-cards article {
  padding: 16px;
  border-color: #c7d6cd14;
  background: #b6c6ba04;
}
.vc-focus-mode .vv-business-cards strong {
  font-size: 23px;
}
.vc-focus-mode .vv-images {
  padding: 4px 25px 10px;
}
.vc-focus-mode .vv-dropzone {
  min-height: 260px;
  height: 100%;
  border-color: #c9d6ca1c;
  background: transparent;
  padding: 20px;
}
.vc-focus-mode .vv-dropzone > span {
  height: 45px;
  width: 45px;
  margin-bottom: 17px;
  color: #a3b9a9;
  background: #b7d0bb05;
  border-color: #aec5b216;
  border-radius: 12px;
}
.vc-focus-mode .vv-dropzone h3 {
  font-size: 20px;
  color: #cfdfd1;
}
.vc-focus-mode .vv-dropzone p {
  font-size: 12px;
  color: #819b86;
  margin: 10px 0 16px;
}
.vc-focus-mode .vv-dropzone > b {
  color: #b4cbb9;
  background: #a2c2a90b;
  border-color: #b2ceb522;
}
.vc-focus-mode .vv-dropzone > small {
  color: #67836d;
}
.vc-focus-mode .vv-image-preview > img {
  max-height: 240px;
  min-height: 120px;
}
.vc-focus-mode .vv-discuss-image {
  background: #b4ccb811;
  color: #c0d8c5;
  border-color: #bed6c722;
}
@keyframes vc-focus-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .voice-companion.vc-focus-mode {
    width: calc(100vw - 24px);
    height: min(720px, calc(100dvh - 24px));
    border-radius: 21px;
  }
  .vc-focus-header {
    height: 58px;
    padding: 0 17px;
  }
  .vc-focus-voice {
    gap: 27px;
  }
  .vc-focus-orb {
    width: 155px;
    height: 155px;
  }
  .vc-focus-voice h1 {
    font-size: 23px;
  }
  .vc-focus-caption {
    width: calc(100% - 46px);
    font-size: 13px;
    margin-top: 12px;
  }
  .vc-focus-footer {
    padding: 0 16px 16px;
  }
  .vc-focus-controls {
    padding-bottom: 19px;
  }
  .vc-focus-mode .vv-graph {
    height: auto;
    min-height: 0 !important;
    flex: 1;
  }
  .vc-focus-mode .vv-workspace {
    flex-shrink: 1;
    border: 0;
  }
  .vc-focus-mode .vv-heading {
    padding: 5px 20px 12px;
  }
  .vc-focus-mode .vv-heading h2 {
    font-size: 13px;
  }
  .vc-focus-mode .vv-sources > div {
    grid-template-columns: 1fr;
  }
  .vc-focus-mode .vv-images {
    padding-inline: 17px;
  }
  .vc-focus-mode .vv-dropzone {
    min-height: 220px;
  }
  .vc-focus-mode .vv-dropzone h3 {
    font-size: 18px;
  }
  .vc-focus-settings,
  .vc-focus-transcript {
    padding: 6px 24px 20px;
  }
  .vc-focus-mode .vv-memory-detail {
    max-height: 150px;
    margin-inline: 17px;
  }
  .vc-focus-error {
    margin-inline: 17px;
  }
  .vc-focus-brand {
    font-size: 14px;
  }
}
@media (max-height: 660px) {
  .vc-focus-orb {
    width: 125px;
    height: 125px;
  }
  .vc-focus-voice {
    gap: 20px;
    padding-top: 5px;
  }
  .vc-focus-voice h1 {
    font-size: 22px;
  }
  .vc-focus-caption {
    margin: 10px auto;
    min-height: 22px;
    -webkit-line-clamp: 2;
  }
  .vc-focus-controls {
    padding-bottom: 13px;
  }
  .vc-focus-footer {
    padding-bottom: 16px;
  }
  .vc-focus-header {
    height: 54px;
  }
  .vc-focus-mode .vv-dropzone {
    min-height: 180px;
  }
  .vc-focus-mode .vv-dropzone > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vc-focus-backdrop,
  .voice-companion.vc-focus-mode {
    animation: none;
  }
}


/* /src/components/operator/voice-portable.css */
/* A movable companion: the app stays interactive behind it. */
.voice-companion.vc-portable {
  width: min(520px, calc(100vw - 24px));
  height: min(780px, calc(100dvh - 32px));
  border-radius: 23px;
  background: #121419;
  box-shadow:
    0 24px 90px #0007,
    0 0 1px #fff4;
  inset: auto;
  right: 24px;
  bottom: 24px;
  transform: none;
}
.vc-portable .vc-focus-header {
  height: 45px;
  padding: 0 15px;
  border-bottom: 0;
}
.vc-portable .vc-focus-brand {
  font-size: 13px;
  letter-spacing: 0.1px;
}
.jarvis-grab {
  cursor: grab !important;
  touch-action: none;
  color: #728091 !important;
  display: flex !important;
  width: auto !important;
  gap: 8px;
  padding: 0 7px !important;
  border-radius: 7px !important;
  font-size: 12px;
  user-select: none;
}
.jarvis-grab:active {
  cursor: grabbing !important;
}
.jarvis-grab svg {
  opacity: 0.6;
}
.jarvis-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 20px 18px;
  flex-shrink: 0;
  border-bottom: 1px solid #ffffff09;
  background: radial-gradient(ellipse at 50% 20%, #6560dc0e, transparent 65%);
}
.jarvis-identity .jarvis-orb {
  width: 97px;
  height: 97px;
  margin-bottom: 7px;
}
.jarvis-identity > span {
  font-size: 11px;
  letter-spacing: 0.2px;
  color: #818d9e;
}
.jarvis-identity[data-active="true"] > span {
  color: #a7b5cc;
}
.jarvis-orb {
  --orb-energy: 0;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  isolation: isolate;
  flex-shrink: 0;
}
.jarvis-orb-halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 40deg, #63cfff, #8162eb, #cf72ed, #4cc9e3, #63cfff);
  filter: blur(17px);
  opacity: calc(0.25 + var(--orb-energy) * 0.25);
  transform: scale(calc(1 + var(--orb-energy) * 0.08));
}
.jarvis-orb-shell {
  position: absolute;
  inset: 8%;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 24%, #b0baff66, transparent 35%),
    radial-gradient(circle at 80% 70%, #27c2e666, transparent 46%), #171a42;
  border: 1px solid #b5b7ff52;
  box-shadow:
    inset -8px -10px 20px #09092a8c,
    inset 3px 3px 12px #8b9fff33,
    0 0 22px #6762da22;
  transform: scale(calc(1 + var(--orb-energy) * 0.045));
  transition: transform 0.1s linear;
}
.jarvis-orb-flow {
  position: absolute;
  inset: -35%;
  border-radius: 43%;
  background: conic-gradient(
    from 25deg,
    transparent 5%,
    #8b74fa 22%,
    #e196fa8c 35%,
    #333ca3 46%,
    #60ddf9 64%,
    #748cfba8 80%,
    transparent
  );
  filter: blur(9px);
  animation: jarvis-liquid 16s linear infinite;
  opacity: 0.88;
}
.jarvis-orb-ribbon {
  position: absolute;
  inset: 14% -22%;
  border-radius: 46%;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 27%,
    #70dcfddd 36%,
    #b7acfbaa 44%,
    transparent 59%
  );
  filter: blur(4px);
  mix-blend-mode: screen;
  transform: rotate(-36deg);
  animation: jarvis-ribbon 11s ease-in-out infinite alternate;
  opacity: calc(0.65 + var(--orb-energy) * 0.3);
}
.jarvis-orb-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 13%, #dee6ff77, transparent 35%),
    radial-gradient(ellipse at 85% 85%, #25284599, transparent 52%);
  box-shadow:
    inset 0 1px 2px #f0eeff77,
    inset 0 -2px 6px #111435aa;
}
.jarvis-orb[data-phase="thinking"] .jarvis-orb-flow {
  animation-duration: 24s;
}
.jarvis-orb[data-phase="speaking"] .jarvis-orb-flow {
  animation-duration: 10s;
}
.jarvis-orb[data-phase="connecting"] {
  opacity: 0.7;
}
@keyframes jarvis-liquid {
  from {
    transform: rotate(0deg) scale(0.94);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  to {
    transform: rotate(360deg) scale(0.94);
  }
}
@keyframes jarvis-ribbon {
  from {
    transform: rotate(-36deg) translateY(-7%);
  }
  to {
    transform: rotate(24deg) translateY(10%);
  }
}
.jarvis-dock {
  position: fixed;
  z-index: 80;
  width: 80px;
  height: 80px;
  touch-action: none;
}
.jarvis-dock > button:first-child {
  width: 80px;
  height: 80px;
  padding: 0;
  cursor: grab;
  border-radius: 50%;
  touch-action: none;
  background: transparent;
  display: block;
}
.jarvis-dock > button:first-child:active {
  cursor: grabbing;
}
.jarvis-dock > button:focus-visible {
  outline: 2px solid #afacff;
  outline-offset: 3px;
}
.jarvis-dock-status {
  position: absolute;
  right: 11px;
  bottom: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5a9ff;
  box-shadow: 0 0 0 3px #151727;
  pointer-events: none;
}
.jarvis-dock-controls {
  position: absolute;
  display: flex;
  gap: 5px;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s;
  padding-top: 4px;
}
.jarvis-dock:hover .jarvis-dock-controls,
.jarvis-dock:focus-within .jarvis-dock-controls {
  opacity: 1;
}
.jarvis-dock-controls button {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  border: 1px solid #ffffff1d;
  display: grid;
  place-items: center;
  background: #1a1d28;
  color: #b6bdd1;
  cursor: pointer;
}
.jarvis-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px 10px;
  flex-shrink: 0;
}
.jarvis-section-head h2 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  flex: 1;
  color: #c0c6d4;
  letter-spacing: 0.1px;
}
.jarvis-section-head > button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8c91ac;
  font-size: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.jarvis-conversation {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.jarvis-conversation-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 22px 16px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.jarvis-conversation-empty {
  height: 100%;
  min-height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 340px;
  margin: auto;
  padding: 10px 2px 24px;
}
.jarvis-conversation-empty h1 {
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.7px;
  color: #e5e5ec;
  margin: 0 0 13px;
  line-height: 1.3;
}
.jarvis-conversation-empty p {
  font-size: 13px;
  line-height: 1.8;
  color: #777f93;
  margin: 0;
}
.jarvis-turn {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: #b8bfce;
}
.jarvis-turn > strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #79839b;
  margin-bottom: 5px;
}
.jarvis-turn.is-user {
  max-width: 90%;
  margin-left: auto;
  padding: 11px 14px;
  border-radius: 14px 14px 3px 14px;
  background: #202331;
  color: #c4c6d9;
}
.jarvis-turn.is-user > strong {
  color: #9299b4;
}
.jarvis-turn.is-live {
  color: #d2d5e8;
}
.jarvis-turn.is-live:after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b4abed;
  margin: 0 0 2px 7px;
}
.vc-portable .vc-focus-canvas {
  background: #0d10151f;
}
.vc-portable .vc-focus-controls {
  padding: 12px 18px 14px;
  border-top: 1px solid #ffffff09;
  gap: 11px;
}
.vc-portable .vc-focus-call {
  min-height: 39px;
  font-size: 12px;
  background: #cbc5ef;
  color: #292641;
  border-color: #cfc9ff28;
}
.vc-portable .vc-focus-call:hover {
  background: #dfd8ff;
}
.vc-portable .vc-focus-call.is-active {
  background: #ffffff04;
  color: #bebccc;
  border-color: #ffffff12;
}
.vc-portable .vc-focus-icon {
  width: 34px;
  height: 34px;
  color: #9999b1;
}
.vc-portable .vc-focus-footer {
  padding: 0 17px 17px;
}
.vc-portable .vc-focus-footer form {
  background: #1b1e28;
  border-color: #aaaae018;
  min-height: 46px;
  border-radius: 13px;
}
.vc-portable .vc-focus-footer button {
  color: #a3a0c9;
}
.vc-portable .vc-focus-footer input:not([hidden]) {
  font-size: 12px;
  color: #d3d1e4;
}
.vc-portable .vc-focus-footer input::placeholder {
  color: #727790;
}
.vc-portable .vc-focus-caption {
  margin: 7px 20px;
  max-width: none;
  width: auto;
  min-height: 0;
  font-size: 11px;
  line-height: 1.7;
  color: #8a91a7;
  max-height: 40px;
}
.vc-portable .vv-heading {
  padding: 13px 20px 10px;
}
.vc-portable .vv-heading h2 {
  font-size: 12px;
  color: #b7bacc;
}
.vc-portable .vv-heading > button {
  font-size: 11px;
  color: #8e93ad;
}
.vc-portable .vv-memory-sources {
  max-height: 115px;
  font-size: 10px;
}
.vc-portable .vv-display {
  font-size: 10px;
  bottom: 9px;
  right: 16px;
}
.vc-portable .vv-empty h3 {
  font-size: 18px;
}
.vc-portable .vv-memory-detail {
  max-height: 130px;
}
.vc-portable .vv-memory-detail > p {
  max-height: 36px;
}
.vc-portable .vc-focus-settings,
.vc-portable .vc-focus-transcript {
  padding: 12px 22px 20px;
}
.vc-portable .vc-focus-settings h2,
.vc-portable .vc-focus-transcript h2 {
  font-size: 19px;
  margin-bottom: 18px;
}
.vc-portable .vc-focus-error {
  font-size: 11px;
  margin: 8px 17px;
}
.jarvis-sources {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.jarvis-sources > p {
  font-size: 11px;
  line-height: 1.75;
  color: #82879d;
  margin: 0 21px 12px;
}
.jarvis-sources > input {
  margin: 0 20px 8px;
  background: #1b1e28;
  border: 1px solid #aaaae015;
  border-radius: 9px;
  font-size: 12px;
  padding: 9px 11px;
  outline: 0;
  color: #c9c9dc;
}
.jarvis-source-list {
  overflow: auto;
  min-height: 0;
  flex: 1;
  padding: 0 21px 15px;
  scrollbar-width: thin;
}
.jarvis-source-list h3 {
  font-size: 10px;
  font-weight: 500;
  color: #727991;
  letter-spacing: 0.2px;
  margin: 17px 0 5px;
}
.jarvis-source-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #ffffff05;
}
.jarvis-source-row > span {
  flex: 1;
  min-width: 0;
}
.jarvis-source-row strong {
  display: block;
  font-weight: 450;
  font-size: 12px;
  color: #bdc0d1;
}
.jarvis-source-row small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: #656e85;
  margin-top: 4px;
}
.jarvis-source-row [role="switch"] {
  width: 30px;
  height: 18px;
  border-radius: 12px;
  background: #313440;
  border: 1px solid #ffffff08;
  padding: 2px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.jarvis-source-row [role="switch"] > i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9b9dad;
  transition: transform 0.15s;
}
.jarvis-source-row [role="switch"][aria-checked="true"] {
  background: #8580bd;
}
.jarvis-source-row [role="switch"][aria-checked="true"] > i {
  transform: translateX(11px);
  background: #e2dfff;
}
.jarvis-local-search {
  padding: 0 0 15px;
}
.jarvis-local-search form {
  display: flex;
  gap: 8px;
}
.jarvis-local-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid #aaaae018;
  background: #1b1e27;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 12px;
  color: #c8c8dc;
  outline: 0;
}
.jarvis-local-search button {
  padding: 8px 13px;
  background: #afa4e818;
  border: 1px solid #c7baff27;
  color: #c1b4e4;
  border-radius: 9px;
  font-size: 11px;
}
.jarvis-local-search > p {
  font-size: 10px;
  color: #777b95;
  margin: 8px 0;
  line-height: 1.7;
}
.jarvis-local-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 5px 0 18px;
}
.jarvis-local-results button {
  min-width: 0;
  text-align: left;
}
.jarvis-local-results img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: #191c29;
}
.jarvis-local-results strong {
  display: block;
  font-size: 10px;
  font-weight: 450;
  color: #ababc1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 7px;
}
.jarvis-local-results small {
  display: block;
  color: #656d85;
  font-size: 9px;
  margin-top: 3px;
}
.vc-portable .vv-image-preview > img {
  max-height: 170px;
}
.vc-portable .vv-dropzone {
  min-height: 160px;
  height: auto;
  padding: 18px;
}
.vc-portable .vv-dropzone > span {
  display: none;
}
.vc-portable .vv-dropzone h3 {
  font-size: 16px;
}
.vc-portable .vv-dropzone p {
  font-size: 11px;
  margin: 8px 0 12px;
}
.vc-portable .vv-dropzone > small {
  display: none;
}
@media (max-width: 600px) {
  .voice-companion.vc-portable {
    width: calc(100vw - 24px);
    height: min(740px, calc(100dvh - 24px));
  }
  .jarvis-identity {
    padding-bottom: 13px;
  }
  .jarvis-identity .jarvis-orb {
    width: 82px;
    height: 82px;
  }
  .jarvis-conversation-log {
    padding-inline: 18px;
  }
  .jarvis-conversation-empty h1 {
    font-size: 22px;
  }
  .jarvis-conversation-empty p {
    font-size: 12px;
  }
  .jarvis-local-results {
    gap: 7px;
  }
  .jarvis-local-results img {
    height: 67px;
  }
}
@media (max-height: 680px) {
  .jarvis-identity {
    padding-bottom: 9px;
  }
  .jarvis-identity .jarvis-orb {
    width: 65px;
    height: 65px;
    margin-bottom: 2px;
  }
  .jarvis-identity > span {
    font-size: 10px;
  }
  .vc-portable .vc-focus-header {
    height: 38px;
  }
  .vc-portable .vc-focus-controls {
    padding-block: 9px;
  }
  .vc-portable .vc-focus-call {
    min-height: 35px;
  }
  .vc-portable .vv-image-preview > img {
    max-height: 130px;
  }
  .jarvis-conversation-empty h1 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jarvis-orb-flow,
  .jarvis-orb-ribbon {
    animation: none;
  }
  .jarvis-orb-shell {
    transition: none;
  }
}
.jarvis-conversation {
  position: relative;
  isolation: isolate;
}
.jarvis-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(transparent, #000 15%, #000 78%, transparent);
}
.jarvis-conversation-empty {
  position: relative;
  align-items: center;
  text-align: center;
  max-width: none;
  width: 100%;
  padding-bottom: 28px;
}
.jarvis-conversation-empty h1 {
  font-size: 26px;
  text-shadow: 0 2px 18px #0f121d;
}
.jarvis-conversation-empty p {
  color: #9c9cb3;
  text-shadow: 0 1px 8px #10131f;
}
.jarvis-world-label {
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #8d89b2;
  margin-bottom: 17px;
}
.jarvis-conversation-empty:before {
  content: "";
  position: absolute;
  inset: 21% 7%;
  background: radial-gradient(ellipse, #131520eb 0%, #131520aa 40%, transparent 73%);
  z-index: -1;
  pointer-events: none;
}
.jarvis-turn:not(.is-user) {
  padding: 10px 12px;
  background: #141722d9;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}
.jarvis-section-head {
  position: relative;
  background: linear-gradient(#131620f5, #13162000);
}


/* /src/components/operator/voice-refinements.css */
/* Jarvis: one conversational surface; results replace it only when requested. */
.voice-companion.vc-portable.jarvis-dialog {
  --vc-ink: #edf5fa;
  --vc-muted: #acb8c5;
  --vc-blue: #a2f0ef;
  width: min(720px, calc(100vw - 32px));
  height: min(760px, calc(100dvh - 40px));
  max-height: none;
  border: 1px solid #b6cedb2e;
  border-radius: 26px;
  background: #11161d;
  box-shadow:
    0 32px 120px #000a,
    0 0 0 1px #0004;
  animation: none;
}
.voice-companion.vc-portable.jarvis-dialog[data-expanded="true"] {
  width: min(980px, calc(100vw - 32px));
}
.jarvis-dialog .jarvis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 62px;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid #d5e4ed0b;
}
.jarvis-dialog .jarvis-grab,
.jarvis-dialog .jarvis-return {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  color: #e6edf3 !important;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.2px;
}
.jarvis-dialog .jarvis-grab > svg {
  color: #a1b0be;
  opacity: 0.6;
}
.jarvis-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.jarvis-header-actions button,
.jarvis-dialog .jarvis-return {
  border-radius: 9px;
  transition:
    background 0.15s,
    color 0.15s;
}
.jarvis-header-actions button:hover,
.jarvis-dialog .jarvis-return:hover {
  background: #ffffff08;
  color: #fff;
}
.jarvis-header-actions .jarvis-window-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  color: #95a3b2;
}
.jarvis-header-actions .jarvis-tools-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 36px;
  color: #b7c4d0;
  font-size: 12px;
}
.jarvis-tools-trigger > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a4e6d1;
  box-shadow: 0 0 7px #a4e6d144;
}
.jarvis-header-actions .jarvis-save-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #91afa6;
  font-size: 11px;
  padding: 5px 7px;
}
.vc-focus-menu {
  max-height: min(680px, calc(100dvh - 28px));
  overflow-y: auto;
  scrollbar-width: thin;
}
.jarvis-dialog .vc-focus-canvas {
  min-height: 0;
  flex: 1;
}
.jarvis-dialogue {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 0;
  position: relative;
}
.jarvis-orb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 24px;
}
.jarvis-orb-stage .jarvis-orb {
  width: 248px;
  height: 248px;
}
.jarvis-phase {
  color: #a8bdcb;
  font-size: 12px;
  line-height: 1.5;
  min-height: 18px;
  margin-top: -15px;
}
.jarvis-welcome {
  text-align: center;
  margin: 26px 20px 40px;
}
.jarvis-welcome h1 {
  margin: 0;
  color: #eff6fa;
  font-size: 28px;
  font-weight: 450;
  letter-spacing: -0.8px;
}
.jarvis-welcome p {
  margin: 11px 0 0;
  color: #97a7b7;
  font-size: 14px;
  line-height: 1.6;
}
.jarvis-dialog[data-has-dialogue="false"] .jarvis-dialogue-log {
  display: none;
}
.jarvis-dialog[data-has-dialogue="true"] .jarvis-orb-stage {
  padding-block: 4px 14px;
}
.jarvis-dialog[data-has-dialogue="true"] .jarvis-orb-stage .jarvis-orb {
  width: 104px;
  height: 104px;
}
.jarvis-dialog[data-has-dialogue="true"] .jarvis-phase {
  margin-top: -6px;
  font-size: 11px;
}
.jarvis-dialogue-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 38px 24px;
  scrollbar-width: thin;
  scrollbar-color: #43505d transparent;
}
.jarvis-message {
  margin: 0 0 26px;
  max-width: 100%;
}
.jarvis-message > span {
  display: block;
  margin: 0 0 7px;
  color: #b6c5d4;
  font-size: 11px;
  font-weight: 550;
}
.jarvis-message > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #e6edf4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.jarvis-message.is-user {
  margin-left: auto;
  width: fit-content;
  max-width: 86%;
  padding: 12px 17px;
  border: 1px solid #c0dce714;
  background: #d5e5f30a;
  border-radius: 17px 17px 4px 17px;
}
.jarvis-message.is-user > span {
  color: #91a4b7;
  margin-bottom: 4px;
}
.jarvis-message.is-user > p {
  font-size: 15px;
}
.jarvis-message.is-interim > p {
  color: #bbd6e5;
}
.jarvis-message.is-interim > p::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6edec;
  margin-left: 8px;
  vertical-align: middle;
}
.jarvis-dialog .jarvis-compose {
  padding: 16px 24px 24px;
  flex-shrink: 0;
  background: linear-gradient(transparent, #11161d 16px);
}
.jarvis-compose form {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 7px;
  background: #1b232d;
  border: 1px solid #d5e5ee24;
  border-radius: 22px;
  box-shadow: 0 4px 20px #0002;
}
.jarvis-compose input:not([hidden]) {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f1f6fc;
  font-size: 15px;
  padding: 10px 0;
}
.jarvis-compose input::placeholder {
  color: #9babbd;
}
.jarvis-compose button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  height: 46px;
  width: 46px;
  border-radius: 15px;
}
.jarvis-compose .jarvis-mic {
  background: #d0f0ef;
  color: #16373c;
  box-shadow: inset 0 1px 0 #fff8;
}
.jarvis-compose .jarvis-mic:hover {
  background: #e1f8f6;
}
.jarvis-compose .jarvis-mic.is-active {
  background: #493944;
  color: #f9d8e5;
  box-shadow: none;
}
.jarvis-compose .jarvis-send {
  color: #daf4fa;
  background: #a7d5e214;
  width: 40px;
  height: 40px;
  margin-right: 3px;
}
.jarvis-compose .jarvis-send:disabled {
  opacity: 0.3;
  background: transparent;
}
.jarvis-dialog .jarvis-save-recovery {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 24px 0;
  padding: 12px 14px;
  border: 1px solid #dccaa42b;
  border-radius: 12px;
  background: #dac5ac08;
  color: #dfd5c9;
  font-size: 12px;
  line-height: 1.6;
}
.jarvis-save-recovery > span {
  flex: 1;
}
.jarvis-save-recovery > button {
  flex-shrink: 0;
  color: #f3e4c8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jarvis-dialog .vc-focus-error {
  margin: 8px 24px 0;
  background: #d28b7f0c;
  border-color: #d99e8d32;
  color: #f0c9bc;
}
.jarvis-dialog .vc-focus-settings,
.jarvis-dialog .vc-focus-transcript {
  padding: 28px 32px;
}
.jarvis-dialog .vc-focus-transcript > small {
  display: block;
  margin: -10px 0 25px;
  color: #9bacbd;
  font-size: 12px;
}
.jarvis-dialog .vc-focus-transcript p {
  color: #e0ebf3;
  font-size: 16px;
  line-height: 1.8;
}
.jarvis-dialog .vc-focus-transcript strong {
  color: #9fb6c9;
}
.jarvis-dialog .vc-focus-settings p,
.jarvis-dialog .vc-focus-settings small {
  color: #a8b9c8;
}
.jarvis-dialog .vc-focus-settings label {
  color: #cedbe5;
}
.jarvis-dialog .vc-focus-settings input,
.jarvis-dialog .vc-focus-settings select {
  background: #1c2632;
  color: #e5eef7;
  border-color: #c9dced29;
}
/* The window header is the single return control for every result view. */
.jarvis-dialog .vv-heading .vv-back,
.jarvis-dialog .jarvis-sources .jarvis-section-head > button {
  display: none;
}
.jarvis-result-caption {
  flex-shrink: 0;
  margin: 0 24px;
  padding: 12px 16px;
  border: 1px solid #b8d4e31d;
  border-radius: 12px;
  background: #a4c4de07;
}
.jarvis-result-caption > summary {
  color: #b3cadc;
  font-size: 12px;
  cursor: pointer;
}
.jarvis-result-caption > p {
  margin: 8px 0 0;
  color: #e5eef6;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
  max-height: 110px;
  overflow: auto;
  scrollbar-width: thin;
}
.jarvis-dialog .jarvis-source-row strong {
  color: #d3e1ed;
  font-size: 13px;
}
.jarvis-dialog .jarvis-source-row small,
.jarvis-dialog .jarvis-sources > p {
  color: #a9bbc9;
  font-size: 12px;
}
.jarvis-dialog .jarvis-source-list h3 {
  color: #a9bfd0;
}
/* One bright, crisp glass object. No whole-sphere blur or dark underpaint. */
.jarvis-orb {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.jarvis-orb-art {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.jarvis-orb-sphere {
  transform-origin: 150px 150px;
  transform: scale(calc(1 + var(--orb-energy) * 0.065));
  transition: transform 0.12s linear;
}
.jarvis-orb-currents {
  transform-origin: 150px 150px;
  animation: jarvis-current-drift 18s ease-in-out infinite alternate;
}
.jarvis-orb-orbits {
  transform-origin: 150px 150px;
  animation: jarvis-orbit-turn 48s linear infinite;
}
.jarvis-orb-light {
  transform-origin: 150px 150px;
  opacity: calc(0.68 + var(--orb-energy) * 0.3);
  animation: jarvis-light-breathe 7s ease-in-out infinite alternate;
}
.jarvis-orb-aura {
  opacity: calc(0.65 + var(--orb-energy) * 0.3);
}
.jarvis-orb[data-phase="thinking"] .jarvis-orb-currents {
  animation-duration: 5s;
}
.jarvis-orb[data-phase="speaking"] .jarvis-orb-currents {
  animation-duration: 9s;
}
@keyframes jarvis-current-drift {
  from {
    transform: rotate(-12deg) scale(1.02);
  }
  to {
    transform: rotate(19deg) scale(1.08);
  }
}
@keyframes jarvis-orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes jarvis-light-breathe {
  from {
    transform: scale(0.94);
  }
  to {
    transform: scale(1.05);
  }
}
@media (max-width: 600px) {
  .voice-companion.vc-portable.jarvis-dialog,
  .voice-companion.vc-portable.jarvis-dialog[data-expanded="true"] {
    width: calc(100vw - 24px);
    height: min(760px, calc(100dvh - 24px));
    border-radius: 22px;
  }
  .jarvis-dialog .jarvis-header {
    flex-basis: 56px;
    padding-inline: 12px;
    gap: 4px;
  }
  .jarvis-header-actions {
    gap: 1px;
  }
  .jarvis-header-actions .jarvis-save-indicator span {
    display: none;
  }
  .jarvis-header-actions .jarvis-tools-trigger {
    padding-inline: 7px;
  }
  .jarvis-orb-stage .jarvis-orb {
    width: 220px;
    height: 220px;
  }
  .jarvis-welcome {
    margin-top: 22px;
  }
  .jarvis-welcome h1 {
    font-size: 26px;
  }
  .jarvis-welcome p {
    font-size: 13px;
  }
  .jarvis-dialogue-log {
    padding: 12px 22px 16px;
  }
  .jarvis-message > p {
    font-size: 16px;
  }
  .jarvis-message.is-user {
    max-width: 94%;
    padding: 11px 14px;
  }
  .jarvis-dialog .jarvis-compose {
    padding: 12px 14px 16px;
  }
  .jarvis-compose form {
    gap: 9px;
    border-radius: 19px;
  }
  .jarvis-compose input:not([hidden]) {
    font-size: 14px;
  }
  .jarvis-dialog .jarvis-save-recovery {
    margin-inline: 14px;
    flex-wrap: wrap;
  }
  .jarvis-dialog .vc-focus-settings,
  .jarvis-dialog .vc-focus-transcript {
    padding: 24px 22px;
  }
}
@media (max-height: 650px) {
  .jarvis-orb-stage .jarvis-orb {
    width: 168px;
    height: 168px;
  }
  .jarvis-dialog[data-has-dialogue="true"] .jarvis-orb-stage .jarvis-orb {
    width: 72px;
    height: 72px;
  }
  .jarvis-welcome {
    margin-block: 16px 20px;
  }
  .jarvis-dialog .jarvis-compose {
    padding-block: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jarvis-orb *,
  .voice-companion.jarvis-dialog *,
  .voice-companion.jarvis-dialog {
    animation: none !important;
    transition: none !important;
  }
}
.vc-portable .vv-heading {
  padding: 14px 23px;
  background: #192234;
  border-bottom: 1px solid #b8c7e521;
}
.vc-portable .vv-heading h2 {
  font-size: 15px;
  color: #f0f4ff;
}
.vc-portable .vv-heading > button {
  color: #bfd0ea;
  font-size: 12px;
}
.vc-portable .vv-workspace {
  background: #131b28;
}
.vc-portable .vv-today {
  padding: 22px 24px;
}
.vv-inbox-intro h3 {
  color: #eff4ff;
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 9px;
  letter-spacing: -0.5px;
}
.vv-inbox-intro p {
  color: #b5c6df;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 23px;
}
.vc-portable .vv-date strong {
  color: #d8ebff;
}
.vc-portable .vv-date span {
  color: #d1dff0;
}
.vc-portable .vc-eyebrow {
  color: #aec2df;
  letter-spacing: 1.5px;
  font-size: 10px;
}
.vc-portable .vv-schedule button,
.vc-portable .vv-inbox button {
  margin-top: 8px;
  padding: 15px 12px;
  border: 1px solid #aac6ef26;
  border-radius: 12px;
  background: #202b3d;
}
.vc-portable .vv-schedule strong,
.vc-portable .vv-inbox strong {
  color: #e9f0fc;
  font-size: 14px;
}
.vc-portable .vv-schedule small,
.vc-portable .vv-inbox small,
.vc-portable .vv-empty-line {
  color: #b9c7dc;
  font-size: 12px;
  line-height: 1.65;
}
.vc-portable .vv-memory-detail {
  max-height: 240px;
  background: #202b40;
  border-color: #9bbdf44a;
}
.vc-portable .vv-memory-detail > p {
  max-height: 100px;
  color: #dde7f9;
  font-size: 14px;
  line-height: 1.7;
}
.vc-portable .vv-memory-sources {
  max-height: 150px;
  color: #d3e0f2;
  font-size: 12px;
}
.vc-portable .vv-memory-sources .vv-sources button {
  font-size: 13px;
  color: #dce8fa;
}
.vc-portable .jarvis-local-search > p,
.vc-portable .jarvis-local-results small {
  color: #adbfdb;
  font-size: 11px;
}
.vc-portable .jarvis-local-search input {
  color: #eef4ff;
  border-color: #aabfe347;
  font-size: 14px;
}
.vc-portable .jarvis-local-results img {
  height: 110px;
  border: 1px solid #d6e5ff35;
}
.vc-portable .jarvis-local-results strong {
  color: #dbe7fa;
  font-size: 12px;
}
.vc-portable .vv-image-preview > img {
  max-height: 280px;
}
.jarvis-email-review {
  overflow: auto;
  flex: 1;
  min-width: 0;
  padding: 22px 24px;
}
.jarvis-email-review > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  color: #f1f5ff;
}
.jarvis-email-review > header span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jarvis-email-review > header button {
  padding: 7px;
  color: #b8c8e4;
}
.jarvis-review-state {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 22px;
  font-size: 12px;
  color: #addecf;
}
.jarvis-email-review > label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #b1c1db;
  border-bottom: 1px solid #a5bddd26;
  padding: 11px 0;
}
.jarvis-email-review input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: #edf2ff;
  font-size: 14px;
  padding: 5px;
}
.jarvis-email-review > h2 {
  color: #eef3fe;
  font-size: 17px;
  margin: 22px 0 13px;
  line-height: 1.4;
}
.jarvis-email-review textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  padding: 14px;
  border: 1px solid #bdd1ef3b;
  background: #1e2a3e;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #eef4ff;
}
.jarvis-review-actions {
  display: flex;
  gap: 10px;
  margin: 17px 0 12px;
}
.jarvis-review-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 14px;
  font-size: 13px;
  border: 1px solid #bdd1ef3b;
  border-radius: 10px;
  color: #e8f0ff;
  background: #263853;
}
.jarvis-review-actions button:last-child {
  background: #c6dcff;
  color: #17283f;
}
.jarvis-review-note {
  color: #afbed6;
  line-height: 1.6;
  font-size: 12px;
  margin: 11px 0;
}
.jarvis-dialog .jarvis-fetch-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  color: #bce9ed;
}
.jarvis-fetch-state p {
  margin: 20px 0 9px;
  color: #e4f0f6;
  font-size: 19px;
}
.jarvis-fetch-state > span {
  color: #9eafc1;
  font-size: 13px;
}
.jarvis-dialog .jarvis-recent-container {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #43505d transparent;
}
.jarvis-dialog .jarvis-recent-container .jarvis-creation-image {
  max-height: 340px;
}
@media (max-width: 600px) {
  .jarvis-dialog .jarvis-recent-container .jarvis-creation-image {
    max-height: 250px;
  }
}


/* /src/components/operator/jarvis-memory-stage.css */
/* Voice is a living memory canvas. Conversation text has its own explicit mode. */
.voice-companion.vc-portable.jarvis-cortex {
  width: min(860px, calc(100vw - 32px));
  height: min(820px, calc(100dvh - 40px));
  background: #0b1017;
  border-color: #b4d5e42c;
  box-shadow:
    0 40px 140px #000b,
    0 0 70px #92d9ef08;
}
.voice-companion.vc-portable.jarvis-cortex[data-expanded="true"] {
  width: calc(100vw - 24px);
  height: calc(100dvh - 24px);
  border-radius: 20px;
}
.jarvis-cortex .jarvis-header {
  flex-basis: 59px;
  background: #111721a8;
}
.jarvis-cortex .jarvis-mode-switch {
  display: flex;
  gap: 2px;
  border: 1px solid #a9bed11c;
  border-radius: 10px;
  padding: 3px;
  margin-right: 8px;
}
.jarvis-cortex .jarvis-mode-switch button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 6px 10px;
  font-size: 12px;
  color: #8e9da9;
  border-radius: 7px;
}
.jarvis-cortex .jarvis-mode-switch button[aria-pressed="true"] {
  background: #c5e3f214;
  color: #d9f2f5;
  box-shadow: 0 1px 4px #0003;
}
.jarvis-cortex .jarvis-header-actions .jarvis-save-indicator span {
  display: none;
}
.jarvis-memory-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 48% 47%, #1626349c, #0b101700 66%);
}
.jarvis-memory-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.25' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.jarvis-network-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px 0;
  color: #8ca3b3;
  font-size: 11px;
  letter-spacing: 0.025em;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}
.jarvis-network-label span:first-child {
  color: #b4d8d8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jarvis-network-label i {
  width: 5px;
  height: 5px;
  background: #b6ece1;
  border-radius: 50%;
  box-shadow: 0 0 10px #96e6d8;
}
[data-paused="true"] .jarvis-network-label i {
  background: #d8c4a5;
  box-shadow: none;
}
.jarvis-network-canvas {
  position: relative;
  min-height: 170px;
  flex: 1;
  overflow: hidden;
  mix-blend-mode: screen;
}
.jarvis-network-canvas > [data-rendered-nodes] {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
}
.jarvis-network-canvas .ar-graph-controls,
.jarvis-network-canvas > [data-rendered-nodes] > div[aria-hidden] {
  display: none;
}
.jarvis-network-canvas canvas {
  outline: 0;
  mask-image: linear-gradient(transparent, #000 12%, #000 84%, transparent);
}
.jarvis-network-source-focus {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #c6f2eea6;
  border-radius: 50%;
  background: #122832f2;
  box-shadow:
    0 0 0 9px #acedea0a,
    0 0 38px #a6f3ef55;
  pointer-events: none;
}
.jarvis-network-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 15px;
  color: #96adbb;
  gap: 10px;
}
.jarvis-network-layout {
  display: flex;
  padding: 3px;
  background: #c5e3f207;
  border: 1px solid #c5e3f213;
  border-radius: 25px;
}
.jarvis-network-layout button {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 18px;
  color: #8a9aa9;
}
.jarvis-network-layout button[aria-pressed="true"] {
  color: #d6eef0;
  background: #c5e3f213;
}
.jarvis-network-reset {
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 7px;
}
.jarvis-network-invitation {
  padding: 0 24px 25px;
  text-align: center;
}
.jarvis-network-invitation h2 {
  font-size: 27px;
  letter-spacing: -0.85px;
  font-weight: 450;
  color: #e6f2f6;
  margin: 0;
}
.jarvis-network-invitation p {
  font-size: 13px;
  color: #95a8b8;
  margin: 9px 0 0;
}
.jarvis-cortex[data-has-dialogue="true"] .jarvis-network-invitation {
  display: none;
}
.jarvis-network-loading,
.jarvis-network-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #96b6c4;
  font-size: 14px;
  padding: 26px;
  text-align: center;
}
.jarvis-network-empty > svg {
  color: #b5e5ed;
  filter: drop-shadow(0 0 26px #86dfea80);
  margin-bottom: 20px;
}
.jarvis-network-empty h2 {
  font-size: 26px;
  color: #e1edf4;
}
.jarvis-network-empty p {
  margin: 9px 0 20px;
}
.jarvis-network-empty button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c5e7ee;
}
.jarvis-memory-focus {
  margin: 0 24px 15px;
  padding: 18px 20px 14px;
  background: linear-gradient(125deg, #20313ed9, #182231eb);
  border: 1px solid #accde239;
  border-radius: 18px;
  box-shadow:
    0 12px 40px #0002,
    inset 0 1px #d5f9ff07;
  flex-shrink: 0;
}
.jarvis-memory-focus > header {
  display: flex;
  align-items: center;
  gap: 13px;
}
.jarvis-memory-focus > header > div {
  flex: 1;
  min-width: 0;
}
.jarvis-memory-focus > header > div > span {
  color: #a6c4cf;
  font-size: 11px;
}
.jarvis-memory-focus h2 {
  color: #edf7fa;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  margin: 4px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jarvis-memory-focus > header > button {
  padding: 4px;
  color: #9bb1c0;
  align-self: start;
}
.jarvis-memory-focus > p {
  font-size: 14px;
  line-height: 1.65;
  color: #c2d2df;
  margin: 14px 0;
  max-height: 94px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.jarvis-memory-focus > footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.jarvis-memory-focus > footer > span {
  font-size: 10px;
  color: #839dac;
}
.jarvis-memory-focus > footer button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #b7e4e6;
}
.jarvis-memory-matches {
  display: flex;
  gap: 8px;
  padding: 0 25px 16px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
}
.jarvis-memory-matches button {
  max-width: 230px;
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid #c5e3f21c;
  border-radius: 20px;
  font-size: 11px;
  color: #95aebf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jarvis-memory-matches button[aria-pressed="true"] {
  border-color: #b9e3e550;
  color: #d6eced;
  background: #b9e3e511;
}
.jarvis-memory-no-match {
  padding: 8px 26px 22px;
  font-size: 14px;
  color: #bbc6d0;
  line-height: 1.6;
}
.jarvis-cortex .jarvis-spoken-caption {
  flex-shrink: 0;
  margin: 0;
  padding: 18px 34px 12px;
  border-top: 1px solid #c5e3f20c;
  background: #121b25;
}
.jarvis-spoken-caption > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8eb0c0;
  margin-bottom: 7px;
}
.jarvis-spoken-caption > p {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: #e3eef5;
  margin: 0;
  max-height: 122px;
  overflow-y: auto;
  white-space: pre-wrap;
  scrollbar-width: thin;
}
.jarvis-cortex .jarvis-compose {
  padding: 16px 24px 22px;
  background: #0e151e;
  border-top: 1px solid #c5e3f20b;
}
.jarvis-voice-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.jarvis-cortex .jarvis-voice-controls button {
  display: flex;
  width: auto;
  height: auto;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 30px;
  font-size: 13px;
  border: 1px solid #b8dbe02a;
}
.jarvis-cortex .jarvis-voice-controls button > svg {
  flex-shrink: 0;
}
.jarvis-voice-controls .jarvis-start-call {
  background: #d5efea;
  color: #163130;
  box-shadow: 0 0 24px #a4dace13;
}
.jarvis-voice-controls .jarvis-pause-call {
  background: #c5e3f20c;
  color: #d2e3e9;
}
.jarvis-cortex .jarvis-voice-controls .jarvis-end-call {
  width: 46px;
  padding: 0;
  color: #dcaaa9;
  background: #c9858010;
  border-color: #c9858030;
}
.jarvis-cortex .jarvis-dialogue {
  justify-content: flex-start;
  padding-top: 12px;
}
.jarvis-cortex .jarvis-dialogue-log {
  display: block;
  padding: 20px 28px;
}
.jarvis-cortex .jarvis-message {
  display: flex;
  gap: 12px;
  background: none;
  max-width: 90%;
  align-items: flex-start;
  margin: 0 0 25px;
  padding: 0;
}
.jarvis-cortex .jarvis-message.is-user {
  margin-left: auto;
  flex-direction: row-reverse;
}
.jarvis-message .jarvis-speaker-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #b1e2da;
  background: #224344;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 15px #a3dfe412;
}
.jarvis-speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jarvis-cortex .jarvis-message-body {
  min-width: 0;
}
.jarvis-cortex .jarvis-message-body > span {
  font-size: 11px;
  color: #8dabbb;
}
.jarvis-cortex .jarvis-message-body > p {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 6px;
  color: #e0e9f1;
  white-space: pre-wrap;
}
.jarvis-cortex .is-user .jarvis-message-body {
  background: #23333d;
  border: 1px solid #c5e3f211;
  border-radius: 16px 3px 16px 16px;
  padding: 11px 16px;
}
.jarvis-cortex button:focus-visible {
  outline: 2px solid #b5e5ed;
  outline-offset: 3px;
}
.jarvis-brain-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 29%, #3e7b83, #122430 70%);
  box-shadow:
    inset 0 0 18px #a8e9ef22,
    0 0 20px #8de9de33;
  border: 1px solid #b5e5ed5c;
  color: #ccfff5;
}
@media (max-width: 600px) {
  .voice-companion.vc-portable.jarvis-cortex {
    width: calc(100vw - 20px);
    height: calc(100dvh - 24px);
    border-radius: 21px;
  }
  .jarvis-cortex .jarvis-header {
    padding-inline: 13px;
    gap: 4px;
  }
  .jarvis-cortex .jarvis-grab {
    gap: 5px;
  }
  .jarvis-cortex .jarvis-grab > svg,
  .jarvis-cortex .jarvis-tools-trigger > span,
  .jarvis-cortex .jarvis-save-indicator {
    display: none;
  }
  .jarvis-cortex .jarvis-mode-switch {
    margin-right: 0;
  }
  .jarvis-cortex .jarvis-mode-switch button {
    padding: 6px 7px;
  }
  .jarvis-cortex .jarvis-mode-switch span {
    display: none;
  }
  .jarvis-cortex .jarvis-header-actions {
    gap: 1px;
  }
  .jarvis-network-label {
    padding: 19px 20px 0;
    font-size: 10px;
  }
  .jarvis-memory-focus {
    margin-inline: 15px;
    padding: 14px;
  }
  .jarvis-memory-focus h2 {
    font-size: 16px;
  }
  .jarvis-memory-focus > p {
    max-height: 78px;
    font-size: 13px;
  }
  .jarvis-network-invitation h2 {
    font-size: 24px;
  }
  .jarvis-cortex .jarvis-spoken-caption {
    padding: 14px 22px 10px;
  }
  .jarvis-spoken-caption > p {
    font-size: 16px;
    max-height: 104px;
  }
  .jarvis-cortex .jarvis-compose {
    padding: 13px 17px 17px;
  }
  .jarvis-network-toolbar {
    padding-inline: 17px;
  }
}
@media (max-height: 680px) {
  .jarvis-network-label {
    padding-top: 10px;
  }
  .jarvis-network-canvas {
    min-height: 90px;
  }
  .jarvis-memory-focus {
    padding: 12px 16px;
    margin-bottom: 8px;
  }
  .jarvis-memory-focus > p {
    max-height: 48px;
    margin-block: 8px;
  }
  .jarvis-network-invitation {
    padding-bottom: 12px;
  }
  .jarvis-network-invitation h2 {
    font-size: 22px;
  }
  .jarvis-spoken-caption > p {
    max-height: 78px;
  }
  .jarvis-cortex .jarvis-compose {
    padding-block: 10px;
  }
}

/* The voice brain is the saved-memory graph, with legible titles as the camera moves. */
.memory-scene-titles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.memory-scene-titles button { position: absolute; top: 0; left: 0; max-width: 190px; padding: 3px 7px; border-radius: 5px; color: #d9e8f6; background: #080f199e; border: 1px solid #c8e1ff12; font: 10px/1.3 ui-sans-serif, system-ui; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; pointer-events: auto; text-shadow: 0 1px 5px #000; }
.memory-scene-titles button.is-module { color: #effffb; font-size: 12px; border-color: #b3dedd30; background: #0c1c28bc; }
.memory-scene-titles button:hover, .memory-scene-titles button:focus-visible { background: #27444ee8; border-color: #a8eee3; }
.jarvis-memory-stage::after { content: ""; position: absolute; inset: 4% -15%; background: radial-gradient(ellipse at 35% 40%, #734dc025, transparent 42%), radial-gradient(ellipse at 63% 60%, #36b9a91c, transparent 40%), radial-gradient(ellipse at 52% 35%, #658de31c, transparent 45%); filter: blur(25px); pointer-events: none; z-index: -1; animation: jarvis-nebula-drift 22s ease-in-out infinite alternate; }
@keyframes jarvis-nebula-drift { to { transform: rotate(8deg) scale(1.08); opacity: .65; } }
.jarvis-network-search { position: absolute; z-index: 5; top: 48px; left: 24px; width: min(230px, calc(100% - 48px)); }
.jarvis-network-search input { width: 100%; padding: 8px 11px; border: 1px solid #b8d9e522; border-radius: 9px; background: #0b1421c9; color: #d8e7ef; font-size: 11px; }
.jarvis-network-search-results { display: grid; max-height: 230px; overflow-y: auto; margin-top: 5px; border: 1px solid #b8d9e52c; border-radius: 10px; background: #0b1421f5; padding: 5px; }
.jarvis-network-search-results button, .jarvis-network-search-results span { color: #c4d9e6; font-size: 11px; padding: 9px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jarvis-network-search-results button:hover { background: #d5eeff10; }
.jarvis-network-canvas .ar-graph-controls { display: flex; z-index: 4; bottom: 8px; top: auto; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 4px; border-radius: 20px; background: #0b1421bf; }
.jarvis-network-canvas .ar-graph-controls .neural-link-density, .jarvis-network-canvas .ar-graph-controls button:nth-child(2) { display: none; }
.jarvis-network-canvas .ar-graph-controls button { font-size: 10px; padding: 5px 9px; }
.jarvis-network-canvas canvas { mask-image: none; }
.jarvis-memory-focus { position: absolute; z-index: 6; left: 50%; bottom: 15px; transform: translateX(-50%); width: min(480px, calc(100% - 32px)); margin: 0; backdrop-filter: blur(20px); padding: 14px 16px; }
.jarvis-memory-focus h2 { font-size: 15px; }
.jarvis-memory-focus details { margin: 10px 0; color: #bfd2df; font-size: 11px; }
.jarvis-memory-focus details p { margin-top: 9px; max-height: 110px; overflow-y: auto; font-size: 12px; line-height: 1.6; }
.jarvis-network-invitation { padding-bottom: 18px; }
.jarvis-network-invitation h2 { font-size: 26px; }
@media (prefers-reduced-motion: reduce) { .jarvis-memory-stage::after { animation: none; } }


/* /src/components/operator/jarvis-luminous.css */
.voice-companion.jarvis-luminous {
  --core-accent: #91e8e1;
  background: #090e15;
  border: 1px solid #9dcbdc38;
  box-shadow:
    0 30px 100px #0009,
    0 0 45px #76d4ed0c;
  isolation: isolate;
}
.jarvis-luminous::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 30deg,
    #77ffe726,
    #77ffe700 20%,
    #bd99ff80 40%,
    #fff0 60%,
    #91f9e873 88%,
    #77ffe726
  );
  mask:
    linear-gradient(#fff 0 0) content-box exclude,
    linear-gradient(#fff 0 0);
  pointer-events: none;
  z-index: 8;
  opacity: 0.55;
  transition: opacity 0.7s;
}
.jarvis-luminous[data-phase="speaking"]::after,
.jarvis-luminous[data-phase="thinking"]::after {
  opacity: 1;
  animation: jarvis-edge-breathe 3s ease-in-out infinite;
}
.jarvis-luminous .jarvis-header {
  background: #10151dc9;
  border-bottom-color: #bbc9ed12;
}
.jarvis-luminous .jarvis-header-actions {
  gap: 8px;
}
.jarvis-luminous .jarvis-tools-trigger {
  min-width: 28px;
  padding: 5px;
}
.jarvis-build-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #b6bbdb2a;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
  color: #ccd4e3;
}
.jarvis-build-trigger:hover {
  background: #afb8df12;
  color: white;
}
.jarvis-core {
  width: 100%;
  height: 100%;
  display: block;
}
.jarvis-luminous .vc-focus-canvas {
  background: radial-gradient(ellipse at 50% 30%, #14202c50, transparent 65%), #0a0f16;
}
.jarvis-core-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 18px 28px;
}
.jarvis-core-stage-art {
  width: min(700px, 100%);
  height: min(52vh, 440px);
  flex: 0 1 440px;
  min-height: 160px;
  margin: -20px 0 -28px;
}
.jarvis-dialog[data-has-dialogue="true"] .jarvis-core-stage-art {
  flex: 1;
  height: 100%;
  max-height: none;
  margin: 0;
}
.jarvis-core-status {
  position: absolute;
  bottom: 20px;
  color: #9aacc0;
  font-size: 11px;
  letter-spacing: .06em;
}
.jarvis-eyebrow {
  color: #9ab0c3;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.jarvis-core-stage h1 {
  color: #eef4fc;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 450;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  position: relative;
}
.jarvis-core-stage p {
  color: #8294a9;
  font-size: 14px;
}
.jarvis-luminous .jarvis-spoken-caption {
  border: 0;
  background: transparent;
  padding: 12px 34px 22px;
  text-align: center;
  max-height: 155px;
  flex: 0 0 auto;
}
.jarvis-luminous .jarvis-spoken-caption > span {
  color: #8395aa;
  font-size: 11px;
}
.jarvis-luminous .jarvis-spoken-caption p {
  color: #e6eef9;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  max-width: 680px;
  margin: 7px auto 0;
}
.jarvis-luminous .jarvis-compose {
  border-top: 1px solid #afc7de10;
  background: #0d141c;
  padding: 15px 24px;
}
.jarvis-luminous .jarvis-speaker-avatar {
  background: #101e2a;
  border: 1px solid #b8daf41a;
  overflow: hidden;
}
.jarvis-luminous .jarvis-speaker-avatar .jarvis-core {
  transform: scale(1.6);
}
.jarvis-lookup-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.jarvis-lookup-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 110px;
  padding: 0 32px;
  border-bottom: 1px solid #b6c5d510;
}
.jarvis-lookup-status > .jarvis-core {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  margin-left: -20px;
}
.jarvis-lookup-status p {
  color: #dce9f6;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-top: 7px;
}
.jarvis-lookup-thread {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  padding: 22px 28px 30px;
  scrollbar-width: thin;
  scrollbar-color: #9bb8d330 transparent;
}
.jarvis-luminous .jarvis-message {
  gap: 12px;
  margin: 0 0 22px;
}
.jarvis-luminous .jarvis-message-body {
  min-width: 0;
  font-size: 14px;
}
.jarvis-luminous .jarvis-message-body > p {
  font-size: 15px;
  line-height: 1.65;
}
.jarvis-luminous .jarvis-message.is-user .jarvis-message-body {
  background: #1c2534;
  border: 1px solid #bccaf015;
  border-radius: 18px 18px 4px 18px;
  padding: 13px 17px;
}
.jarvis-luminous .jarvis-result-bubble {
  flex: 1;
  width: 0;
  max-width: 100%;
}
.jarvis-luminous .jarvis-result-bubble > span {
  color: #b4c7d9;
  display: block;
  margin-bottom: 12px;
}
.jarvis-inline-loading {
  border: 1px solid #aecde31a;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(130deg, #18344055, #141a2755);
}
.jarvis-inline-loading p {
  font-size: 14px;
  color: #deedf7;
  margin: 0 0 20px;
}
.jarvis-inline-loading small {
  display: block;
  font-size: 11px;
  color: #8497ac;
  margin-top: 16px;
}
.jarvis-skeleton {
  display: grid;
  gap: 10px;
}
.jarvis-skeleton i {
  display: block;
  height: 9px;
  border-radius: 8px;
  width: 92%;
  background: linear-gradient(90deg, #7699b017, #bcefff38, #7699b017);
  background-size: 200% 100%;
  animation: jarvis-light-pass 2.4s ease-in-out infinite;
}
.jarvis-skeleton i:nth-child(2) {
  width: 72%;
  animation-delay: 0.15s;
}
.jarvis-skeleton i:nth-child(3) {
  width: 83%;
  animation-delay: 0.3s;
}
.jarvis-luminous .jarvis-recent {
  padding: 0;
}
.jarvis-luminous .jarvis-recent-heading {
  font-size: 11px;
  margin-bottom: 10px;
}
.jarvis-luminous .jarvis-mail-providers {
  margin-bottom: 14px;
  font-size: 10px;
}
.jarvis-luminous .jarvis-recent-mail-list {
  display: grid;
  gap: 8px;
}
.jarvis-luminous .jarvis-recent-mail {
  padding: 0;
  border: 1px solid #9fb6d322;
  border-radius: 12px;
  background: #141d29;
  overflow: hidden;
}
.jarvis-recent-mail summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  list-style: none;
  gap: 12px;
  padding: 14px;
}
.jarvis-recent-mail summary::-webkit-details-marker {
  display: none;
}
.jarvis-recent-mail summary:hover {
  background: #aac9f108;
}
.jarvis-mail-icon {
  flex-shrink: 0;
  color: #a4dbea;
  background: #6fb7d513;
  border-radius: 10px;
  padding: 9px;
}
.jarvis-recent-mail summary > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.jarvis-recent-mail summary strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e4edf9;
}
.jarvis-recent-mail summary small {
  display: block;
  font-size: 11px;
  color: #92a2b7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}
.jarvis-recent-mail summary time {
  color: #8c9eb5;
  font-size: 10px;
  flex-shrink: 0;
}
.jarvis-luminous .jarvis-recent-mail-meta {
  padding: 7px 16px;
}
.jarvis-luminous .jarvis-recent-excerpt {
  padding: 0 16px;
  display: block;
  font-size: 13px;
  color: #bbc9dc;
}
.jarvis-luminous .jarvis-recent-mail a {
  margin: 5px 16px 16px;
}
.jarvis-luminous .jarvis-inline-answer {
  margin-top: 18px;
  font-size: 15px;
}
.jarvis-dock:has(.jarvis-core) {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.jarvis-dock:has(.jarvis-core) > button {
  background: radial-gradient(circle, #172e3e80, transparent 70%);
  border: 0;
  overflow: visible;
  box-shadow: none;
}
.jarvis-dock > button > .jarvis-core {
  width: 112px;
  height: 112px;
  position: absolute;
  inset: -16px;
}
.jarvis-build {
  padding: 42px 42px 30px;
  overflow-y: auto;
  color: #dce8f7;
}
.jarvis-build h1 {
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -0.04em;
  margin: 16px 0 8px;
}
.jarvis-build > p {
  color: #91a4ba;
  font-size: 14px;
}
.jarvis-workflows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0;
}
.jarvis-workflows button {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #131d28;
  border: 1px solid #d4eaff1d;
  border-radius: 16px;
  padding: 20px;
  color: #98adc4;
}
.jarvis-workflows button[aria-pressed="true"] {
  border-color: #96e0d888;
  background: linear-gradient(135deg, #163330, #182330);
  color: #c0f1e8;
}
.jarvis-workflows strong {
  font-size: 15px;
  font-weight: 500;
}
.jarvis-workflows span {
  font-size: 12px;
  color: #8fabc0;
  line-height: 1.5;
}
.jarvis-build label {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
}
.jarvis-build textarea {
  resize: vertical;
  min-height: 105px;
  width: 100%;
  background: #101823;
  border: 1px solid #b7c9df30;
  border-radius: 12px;
  padding: 15px;
  color: #e6f0ff;
  font-size: 14px;
}
.jarvis-build textarea:focus {
  outline: 1px solid #91dcd0;
}
.jarvis-builder-choice {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
}
.jarvis-builder-choice button {
  border: 1px solid #b6c8df26;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a6b9cf;
}
.jarvis-builder-choice button[aria-pressed="true"] {
  color: #e0f2ff;
  background: #a3bfe921;
  border-color: #c5d2f966;
}
.jarvis-builder-choice img {
  width: 17px;
  height: 17px;
}
.jarvis-build > small {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: #90a6ba;
}
.jarvis-build-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 0 auto;
  padding: 12px 20px;
  background: #c2e9e0;
  border-radius: 10px;
  color: #18342f;
  font-size: 13px;
  font-weight: 550;
}
.jarvis-build-submit:disabled {
  opacity: 0.4;
}
@keyframes jarvis-light-pass {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes jarvis-edge-breathe {
  50% {
    opacity: 0.45;
  }
}
@media (max-width: 600px) {
  .jarvis-luminous .jarvis-header-actions {
    gap: 3px;
  }
  .jarvis-build-trigger {
    padding: 5px;
    border: 0;
  }
  .jarvis-build-trigger span {
    display: none;
  }
  .jarvis-luminous .jarvis-mode-switch {
    margin-right: 0;
  }
  .jarvis-luminous .jarvis-mode-switch button {
    padding: 5px 7px;
  }
  .jarvis-core-stage-art {
    width: 100%;
    max-height: min(85vw, 400px);
  }
  .jarvis-lookup-status {
    padding: 0 20px;
    min-height: 90px;
  }
  .jarvis-lookup-status > .jarvis-core {
    width: 90px;
    height: 90px;
    flex-basis: 90px;
  }
  .jarvis-lookup-status p {
    font-size: 16px;
  }
  .jarvis-lookup-thread {
    padding: 20px 14px;
  }
  .jarvis-luminous .jarvis-message {
    gap: 7px;
  }
  .jarvis-recent-mail summary {
    padding: 11px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .jarvis-mail-icon {
    padding: 5px;
  }
  .jarvis-recent-mail summary time {
    padding-left: 35px;
  }
  .jarvis-build {
    padding: 28px 20px;
  }
  .jarvis-workflows {
    gap: 8px;
    margin: 22px 0;
  }
  .jarvis-workflows button {
    padding: 14px;
  }
  .jarvis-luminous .jarvis-spoken-caption {
    padding: 10px 20px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jarvis-luminous::after,
  .jarvis-skeleton i {
    animation: none !important;
  }
}

.jarvis-mail-icon .ar-provider-logo {
  width: 20px;
  height: 20px;
}
.jarvis-luminous .jarvis-tasks-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.jarvis-tasks-view > .jarvis-agent-jobs {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}
.jarvis-luminous[data-paused="true"]::after,
.jarvis-luminous[data-paused="true"] .jarvis-skeleton i {
  animation-play-state: paused;
}
.jarvis-cortex .jarvis-voice-controls .jarvis-start-call.rainbow-button {
  --action-ink: #14232d;
  --action-paper: #ecfff9;
  --rainbow-spectrum: linear-gradient(90deg, #8aebd5, #94b8ff, #b69bee, #8aebd5);
  --speed: 8s;
  position: relative;
  isolation: isolate;
  min-height: 50px;
  min-width: 172px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 30px;
  background-image: linear-gradient(#14232d, #111b28), var(--rainbow-spectrum);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 200%;
  color: #ebfff8;
  box-shadow: inset 0 1px #defff515, 0 6px 28px #75dace16;
}
.jarvis-start-call.rainbow-button .rainbow-button__content { gap: 12px; font-size: 14px; letter-spacing: .01em; }


/* /src/components/ui/animated-buttons.css */
/* Local tokens keep the supplied effects compatible with Tailwind 4 and scoped themes. */
.flow-button,
.rainbow-button {
  --action-ink: #19171d;
  --action-paper: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  max-width: 100%;
  min-height: 44px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.dark :is(.flow-button, .rainbow-button),
[data-action-theme="dark"] :is(.flow-button, .rainbow-button) {
  --action-ink: #f3edf8;
  --action-paper: #19171d;
}
[data-inbox-theme="light"] :is(.flow-button, .rainbow-button) {
  --action-ink: #19171d;
  --action-paper: #fff;
}
.flow-button {
  overflow: hidden;
  gap: 4px;
  border: 1.5px solid color-mix(in srgb, var(--action-ink) 35%, transparent);
  border-radius: 100px;
  padding: 11px 40px;
  color: var(--action-ink);
  background: transparent;
  transition:
    border-color 0.6s,
    color 0.6s,
    border-radius 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.2s;
}
.flow-button__fill {
  position: absolute;
  inset: 0;
  background: var(--action-ink);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}
.flow-button__text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(-8px);
  transition: transform 0.8s ease-out;
}
.flow-button__arrow {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  pointer-events: none;
  transition:
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s;
}
.flow-button__arrow--enter {
  left: 15px;
  transform: translateX(-50px);
  opacity: 0;
}
.flow-button__arrow--exit {
  right: 15px;
}
.flow-button:not(:disabled):is(:hover, :focus-visible) {
  color: var(--action-paper);
  border-color: transparent;
  border-radius: 12px;
}
.flow-button:not(:disabled):is(:hover, :focus-visible) .flow-button__fill {
  clip-path: circle(150% at 50% 50%);
}
.flow-button:not(:disabled):is(:hover, :focus-visible) .flow-button__text {
  transform: translateX(8px);
}
.flow-button:not(:disabled):is(:hover, :focus-visible) .flow-button__arrow--enter {
  transform: translateX(0);
  opacity: 1;
}
.flow-button:not(:disabled):is(:hover, :focus-visible) .flow-button__arrow--exit {
  transform: translateX(50px);
  opacity: 0;
}
.flow-button:not(:disabled):active {
  transform: scale(0.96);
}

.rainbow-button {
  --rainbow-spectrum: linear-gradient(
    90deg,
    hsl(0 100% 63%),
    hsl(90 100% 63%),
    hsl(210 100% 63%),
    hsl(195 100% 63%),
    hsl(270 100% 63%),
    hsl(0 100% 63%)
  );
  padding: 11px 25px;
  border: 1.3px solid transparent;
  border-radius: 12px;
  color: var(--action-paper);
  background-image: linear-gradient(var(--action-ink), var(--action-ink)), var(--rainbow-spectrum);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 200%;
  animation: button-rainbow var(--speed, 3s) linear infinite;
  transition: transform 0.2s;
}
.rainbow-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -7px;
  left: 20%;
  width: 60%;
  height: 20%;
  background: var(--rainbow-spectrum);
  background-size: 200%;
  filter: blur(9px);
  opacity: 0.55;
  pointer-events: none;
  animation: button-rainbow var(--speed, 3s) linear infinite;
}
.rainbow-button__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rainbow-button:not(:disabled):hover {
  transform: translateY(-1px);
}
.rainbow-button:not(:disabled):active {
  transform: translateY(0) scale(0.98);
}
:is(.flow-button, .rainbow-button):focus-visible {
  outline: 2px solid #a883d6;
  outline-offset: 4px;
}
:is(.flow-button, .rainbow-button):disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}
.rainbow-button:disabled::before {
  opacity: 0;
  animation: none;
}
@keyframes button-rainbow {
  from {
    background-position: 0%;
  }
  to {
    background-position: 200%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-button,
  .flow-button *,
  .rainbow-button,
  .rainbow-button::before {
    transition: none;
    animation: none;
  }
}

.design-index-rainbow.rainbow-button {
  --action-ink: #f3edf8;
  --action-paper: #19171d;
  font-size: 11px;
  padding: 9px 18px;
}


/* /src/components/operator/memory-connections.css */
.mc-source-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
  border-radius: 7px;
  color: var(--op-muted);
}
.mc-source-brand > img,
.mc-source-brand > svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mc-source-brand[data-brand="chatgpt"],
.mc-source-brand[data-brand="openai"],
.mc-source-brand[data-brand="grokbot"] {
  padding: 3px;
  background: #fff;
}
.mc-source-brand[data-brand="hermes"] {
  background: #fff;
}
.memory-connections {
  --mc-warning: #995b3d;
  color: var(--op-ink);
  margin: 0;
  height: 100%;
  min-width: 0;
}
.dark .memory-connections {
  --mc-warning: #dfa57e;
}
.mc-source-shelf {
  border: 1px solid var(--op-border);
  border-radius: 14px;
  background: var(--op-panel);
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mc-shelf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mc-shelf-heading > span {
  color: var(--op-ink);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.mc-shelf-heading small {
  font-size: 9px;
  color: var(--op-muted);
  margin-left: 5px;
  font-weight: 400;
}
.mc-shelf-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 7px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--op-border);
}
.mc-shelf-actions button,
.mc-all-source-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--op-muted);
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
}
.mc-shelf-actions button:hover,
.mc-all-source-actions button:hover {
  color: var(--op-ink);
  background: var(--op-inset);
}
.mc-shelf-actions .mc-add-source {
  grid-column: 1 / -1;
  border: 1px solid var(--op-border);
  color: var(--op-ink);
  background: var(--op-bg);
}
.mc-mailbox-link {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 3px;
  padding: 3px 5px 8px;
  color: var(--op-ink);
  font-size: 11px;
}
.mc-mailbox-link > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mc-mailbox-link small {
  color: var(--op-muted);
  font-size: 10px;
}
.mc-sync-summary {
  margin-top: 12px;
  border: 1px solid var(--op-border);
  border-radius: 10px;
  padding: 12px;
  font-size: 11px;
  line-height: 1.6;
}
.mc-sync-summary > summary {
  color: var(--op-ink);
  cursor: pointer;
}
.mc-sync-summary p {
  color: var(--op-muted);
  margin: 8px 0;
}
.mc-sync-summary ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.mc-sync-summary li {
  display: grid;
  gap: 3px;
  padding: 7px 0;
  border-top: 1px solid var(--op-border);
}
.mc-sync-summary li > span {
  color: var(--op-muted);
  overflow-wrap: anywhere;
}
.mc-sync-summary li > strong {
  font-size: 11px;
  font-weight: 500;
}
.mc-sync-summary > summary:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 3px;
}
.mc-mailbox-link:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 2px;
  border-radius: 5px;
}
.mc-inclusion-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mc-inclusion-actions button {
  color: var(--op-muted);
  font-size: 9px;
  padding: 3px 0;
}
.mc-inclusion-actions button:hover {
  color: var(--op-ink);
}
.mc-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  align-content: start;
}
.mc-source-row .mc-source-toggle {
  flex-direction: row;
  gap: 11px;
  min-height: 43px;
  padding: 6px 7px;
  text-align: left;
}
.mc-source-row .mc-brand-circle {
  width: 29px;
  height: 29px;
  margin-bottom: 0;
  flex: none;
  box-shadow: none;
}
.mc-source-row .mc-source-brand {
  width: 29px !important;
  height: 29px !important;
}
.mc-source-label {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  min-width: 0;
  max-width: 100%;
}
.mc-source-row .mc-source-label {
  flex: 1;
  align-items: flex-start;
}
.mc-source-state {
  flex: none;
  width: 26px;
  height: 16px;
  padding: 3px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--op-accent) 70%, var(--op-panel));
}
.mc-source-state > span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--op-panel);
  transform: translateX(10px);
  transition: transform 0.15s;
}
.mc-source-toggle[aria-pressed="false"] .mc-source-state {
  background: var(--op-border);
}
.mc-source-toggle[aria-pressed="false"] .mc-source-state > span {
  transform: translateX(0);
  background: var(--op-muted);
}
.mc-source-row .mc-source-toggle progress {
  position: absolute;
  bottom: 2px;
  left: 47px;
  width: 95px;
}
.mc-source-toggle {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 5px 3px;
  border-radius: 10px;
  text-align: center;
}
.mc-source-toggle:hover {
  background: var(--op-inset);
}
.mc-brand-circle {
  position: relative;
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 8px;
  box-shadow:
    0 0 0 3px var(--op-panel),
    0 0 0 4px color-mix(in srgb, var(--op-accent) 38%, transparent);
}
.mc-source-brand.is-circle {
  border-radius: 50%;
  padding: 0;
  background: #292531;
  color: #f4ecff;
}
.mc-source-brand.is-circle > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mc-source-brand.is-circle[data-brand="claude"] {
  background: #d97757;
}
.mc-source-brand.is-circle[data-brand="codex"] {
  background: #9690ff;
}
.mc-source-brand.is-circle[data-brand="codex"] > img {
  transform: scale(1.18);
}
.mc-source-brand.is-circle[data-brand="hermes"] {
  background: #fff;
  padding: 3px;
}
.mc-source-brand.is-circle[data-brand="hermes"] > img {
  transform: none;
  object-fit: contain;
  border-radius: 50%;
}
.mc-source-brand.is-circle[data-brand="chatgpt"],
.mc-source-brand.is-circle[data-brand="openai"] {
  background: #10a37f;
  padding: 6px;
}
.mc-source-brand.is-circle[data-brand="chatgpt"] > img,
.mc-source-brand.is-circle[data-brand="openai"] > img {
  object-fit: contain;
  filter: invert(1);
}
.mc-source-brand.is-circle[data-brand="email"],
.mc-source-brand.is-circle[data-brand="gmail"] {
  background: #fff;
  padding: 5px;
}
.mc-source-brand.is-circle[data-brand="email"] > img,
.mc-source-brand.is-circle[data-brand="gmail"] > img {
  object-fit: contain;
}
.mc-source-brand.is-circle[data-brand="meetings"],
.mc-source-brand.is-circle[data-brand="granola"] {
  background: #b3c043;
  padding: 4px;
}
.mc-source-brand[data-brand="business"],
.mc-source-brand.is-circle[data-brand="business"] {
  background: transparent;
  padding: 2px;
  overflow: visible;
}
.mc-source-brand[data-brand="business"] .mc-info-orb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, #fffffff0, #d7e5ff60 13%, transparent 36%),
    radial-gradient(circle at 50% 45%, #b6b1f0, #5b41a8 60%, #211333 90%);
  box-shadow:
    inset 0 0 0 0.65px #e8d9ffb0,
    inset -2px -3px 5px #21123d80,
    0 2px 4px #3d245b24;
  isolation: isolate;
}
.mc-info-orb::before {
  content: "";
  position: absolute;
  inset: -24%;
  border-radius: 50%;
  background: radial-gradient(circle, #b28cf09c, #9e7ced40 48%, transparent 70%);
  opacity: 0.65;
  z-index: -1;
}
.mc-info-current {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 48% 55%, #faf0ff, #ccb3f386 27%, transparent 58%);
  box-shadow: inset -2px -3px 5px #2c174b9c;
}
.mc-info-current::before {
  content: "";
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 70%, #b8ffefd9, transparent 35%),
    radial-gradient(ellipse at 70% 55%, #f1c2ffd9, transparent 37%),
    radial-gradient(ellipse at 55% 25%, #a8a0ffb3, transparent 40%);
}
.mc-info-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 31% 20%, #fff 0%, #ffffffc9 4%, transparent 19%),
    radial-gradient(ellipse at 76% 80%, #d7ccffb3, transparent 26%);
  box-shadow:
    inset 0 0 0 0.6px #f7edff9e,
    inset -1px -2px 3px #3a235f70;
}
.mc-source-brand.is-circle .mc-info-orb {
  animation: mc-orb-drift 8s ease-in-out infinite;
}
.mc-source-brand.is-circle .mc-info-orb::before {
  animation: mc-orb-glow 6s ease-in-out infinite;
}
.mc-source-brand.is-circle .mc-info-current::before {
  animation: mc-orb-current 18s linear infinite;
}
.mc-source-brand.is-circle[data-brand="meetings"] > img,
.mc-source-brand.is-circle[data-brand="granola"] > img {
  object-fit: contain;
  transform: none;
  border-radius: 50%;
}

.mc-source-brand[data-brand="skills"],
.mc-source-brand.is-circle[data-brand="skills"] {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}
.mc-skills-crystal {
  overflow: visible;
  filter: drop-shadow(0 2px 2px #55308426);
}
.mc-source-brand.is-circle .mc-skill-layer-2,
.mc-source-brand.is-circle .mc-skill-spark {
  animation: mc-crystal-lift 8s ease-in-out infinite;
}
.mc-source-toggle[aria-pressed="false"] .mc-info-orb,
.mc-source-toggle[aria-pressed="false"] .mc-info-orb::before,
.mc-source-toggle[aria-pressed="false"] .mc-info-current::before,
.mc-source-toggle[aria-pressed="false"] .mc-skill-layer,
.mc-source-toggle[aria-pressed="false"] .mc-skill-spark {
  animation-play-state: paused;
}
@keyframes mc-orb-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(-4deg);
  }
  40% {
    transform: translate(1px, -1.5px) rotate(4deg);
  }
  70% {
    transform: translate(-0.6px, -0.5px) rotate(0deg);
  }
}
@keyframes mc-orb-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}
@keyframes mc-orb-current {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mc-crystal-lift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mc-source-brand.is-circle .mc-info-orb,
  .mc-source-brand.is-circle .mc-info-orb::before,
  .mc-source-brand.is-circle .mc-info-current::before,
  .mc-source-brand.is-circle .mc-skill-layer,
  .mc-source-brand.is-circle .mc-skill-spark {
    animation: none;
  }
}
.mc-source-brand.is-circle[data-brand="notion"] {
  background: #fff;
  padding: 3px;
}
.mc-source-brand.is-circle[data-brand="images"] {
  background: #357e76;
  padding: 8px;
}
.mc-source-brand.is-circle[data-brand="manual"],
.mc-source-brand.is-circle[data-brand="personal"] {
  background: #735b86;
  padding: 8px;
}
.mc-source-brand.is-circle[data-brand="web"],
.mc-source-brand.is-circle[data-brand="files"],
.mc-source-brand.is-circle[data-brand="codebases"],
.mc-source-brand.is-circle[data-brand="agents"] {
  background: #415f82;
  padding: 8px;
}
.mc-source-toggle strong {
  color: var(--op-ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-source-toggle small {
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 2px;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-source-toggle[aria-pressed="false"] .mc-brand-circle {
  filter: grayscale(0.7);
  opacity: 0.42;
  box-shadow:
    0 0 0 3px var(--op-panel),
    0 0 0 4px var(--op-border);
}
.mc-source-toggle[aria-pressed="false"] strong {
  color: var(--op-muted);
}
.mc-source-toggle[data-status="attention"][aria-pressed="true"] small {
  color: var(--mc-warning, #bc8068);
}
.mc-source-toggle progress {
  display: block;
  width: 58px;
  max-width: 75%;
  height: 2px;
  border: 0;
  border-radius: 2px;
  margin-top: 4px;
  accent-color: var(--op-accent);
}
.mc-source-toggle progress::-webkit-progress-bar {
  background: var(--op-border);
}
.mc-source-toggle progress::-webkit-progress-value {
  background: var(--op-accent);
}
.mc-source-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #17141ac7;
  border-radius: 50%;
  color: #fff;
}
.mc-all-sources-dialog.op-modal {
  width: min(700px, calc(100vw - 28px));
  max-width: 700px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  display: block;
  padding: 24px;
  border-radius: 16px;
}
.mc-all-source-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 10px;
  color: var(--op-muted);
}
.mc-all-source-actions > span {
  flex: 1;
}
.mc-all-source-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.mc-source-cell {
  position: relative;
  min-width: 0;
  border: 1px solid var(--op-border);
  border-radius: 10px;
  background: var(--op-bg);
  padding: 9px 2px 4px;
}
.mc-source-cell .mc-source-toggle {
  padding: 3px 1px;
}
.mc-source-cell .mc-source-toggle strong {
  font-size: 10px;
}
.mc-source-cell .mc-source-toggle small {
  font-size: 8px;
}
.mc-source-settings {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--op-muted);
  border-radius: 5px;
}
.mc-source-settings:hover {
  color: var(--op-ink);
  background: var(--op-inset);
}
.mc-strip-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--op-muted);
  padding: 6px 5px 0;
  min-width: 0;
}
.mc-strip-feedback > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-strip-feedback > button {
  flex: none;
  text-decoration: underline;
}
.mc-strip-feedback[role="alert"] {
  color: var(--mc-warning);
}
.mc-source-dialog.op-modal {
  width: min(620px, calc(100vw - 28px));
  max-width: 620px;
  max-height: min(760px, calc(100dvh - 48px));
  padding: 24px;
  display: block;
  overflow-y: auto;
  border-radius: 16px;
}
.mc-dialog-heading {
  padding-right: 24px;
  margin-bottom: 20px;
}
.mc-dialog-heading h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 7px;
}
.mc-dialog-heading p {
  color: var(--op-muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}
.mc-onboarding {
  padding: 0;
}
.mc-dialog-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--op-muted);
  font-size: 11px;
  margin: 18px 0;
}
.mc-dialog-loading button {
  text-decoration: underline;
}
.mc-steps {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 22px;
}
.mc-steps button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--op-muted);
}
.mc-steps button > span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--op-border);
  border-radius: 50%;
  font-size: 9px;
}
.mc-steps button[aria-current="step"] {
  color: var(--op-ink);
}
.mc-steps button[aria-current="step"] > span {
  color: var(--op-accent);
  border-color: var(--op-accent);
  background: var(--op-accent-soft);
}
.mc-steps button:disabled {
  cursor: default;
  opacity: 0.45;
}
.mc-step-divider {
  height: 1px;
  width: 26px;
  background: var(--op-border);
}
.mc-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mc-app-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--op-border);
  padding: 12px;
  background: var(--op-bg);
  border-radius: 11px;
  min-width: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.mc-app-card:hover {
  border-color: var(--op-accent);
  background: var(--op-inset);
}
.mc-app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.mc-app-card-top > span:last-child {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--op-border);
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--op-muted);
  font-size: 8px;
  line-height: 1;
}
.mc-app-card-top > span[data-ready="true"] {
  border-color: transparent;
  color: var(--op-mint);
  background: var(--op-mint-soft);
}
.mc-app-card strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.mc-app-card small {
  font-size: 10px;
  color: var(--op-muted);
  line-height: 1.6;
  display: block;
}
.mc-detection-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--op-muted);
  padding: 13px 15px;
  border: 1px solid var(--op-border);
  background: var(--op-bg);
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.mc-detection-note > svg {
  flex: none;
  margin-top: 2px;
  color: var(--op-mint);
}
.mc-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mc-scope-card {
  cursor: pointer;
  border: 1px solid var(--op-border);
  border-radius: 10px;
  background: var(--op-bg);
  padding: 16px;
}
.mc-scope-card:has(input:checked) {
  border-color: var(--op-accent);
  background: var(--op-accent-soft);
}
.mc-scope-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--op-muted);
  margin-bottom: 15px;
}
.mc-scope-card input {
  accent-color: var(--op-accent);
  width: 14px;
  height: 14px;
}
.mc-scope-card strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.mc-scope-card p {
  color: var(--op-muted);
  font-size: 10px;
  line-height: 1.7;
  min-height: 34px;
}
.mc-scope-card small {
  display: block;
  color: var(--op-muted);
  font-size: 9px;
  margin-top: 12px;
}
.mc-scope-card:has(input:checked) > div:first-child,
.mc-scope-card:has(input:checked) small {
  color: var(--op-accent);
}
.mc-destination {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 3px 0 18px;
  max-width: 480px;
}
.mc-destination > span {
  font-size: 11px;
  font-weight: 500;
}
.mc-destination select {
  width: 100%;
  border: 1px solid var(--op-border);
  padding: 12px;
  border-radius: 9px;
  color: var(--op-ink);
  background: var(--op-bg);
  font-size: 12px;
  outline-color: var(--op-accent);
}
.mc-destination > small {
  font-size: 10px;
  line-height: 1.7;
  color: var(--op-muted);
}
.mc-auto-sync {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 480px;
  border: 1px solid var(--op-border);
  border-radius: 10px;
  padding: 15px;
  margin: 8px 0 18px;
}
.mc-auto-sync > div {
  flex: 1;
}
.mc-auto-sync strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.mc-auto-sync p {
  font-size: 10px;
  color: var(--op-muted);
  line-height: 1.6;
  margin-top: 5px;
}
.mc-switch {
  width: 32px;
  height: 19px;
  border: 1px solid var(--op-border);
  background: var(--op-inset);
  border-radius: 20px;
  padding: 2px;
}
.mc-switch > span {
  display: block;
  width: 13px;
  height: 13px;
  background: var(--op-muted);
  border-radius: 50%;
  transition: transform 0.15s;
}
.mc-switch[aria-checked="true"] {
  border-color: var(--op-accent);
  background: var(--op-accent);
}
.mc-switch[aria-checked="true"] > span {
  transform: translateX(12px);
  background: var(--op-panel);
}
.mc-summary {
  color: var(--op-muted);
  font-size: 10px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 19px;
}
.mc-flow-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--op-border);
}
.mc-flow-actions > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mc-flow-actions .op-button {
  font-size: 11px;
}
.mc-flow-actions .mc-back {
  color: var(--op-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}
.mc-flow-actions .mc-stop {
  color: var(--op-muted);
  font-size: 10px;
}
.mc-file-import {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 18px;
  border: 1px dashed var(--op-border);
  border-radius: 10px;
  margin: 12px 0;
  background: var(--op-bg);
}
.mc-file-import strong {
  font-size: 12px;
  font-weight: 500;
}
.mc-file-import p,
.mc-file-import small {
  font-size: 10px;
  color: var(--op-muted);
  line-height: 1.7;
}
.mc-file-import input {
  width: 100%;
  font-size: 11px;
  color: var(--op-muted);
  margin-top: 5px;
}
.mc-file-import input::file-selector-button {
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  color: var(--op-ink);
  padding: 8px 11px;
  border-radius: 6px;
  margin-right: 10px;
}
.mc-fallback {
  max-width: 580px;
}
.mc-fallback > p {
  font-size: 11px;
  line-height: 1.85;
  color: var(--op-muted);
  margin: 12px 0 20px;
}
.mc-fallback .op-button {
  display: inline-flex;
}
.mc-feedback {
  margin: 0 0 17px;
  padding: 11px 13px;
  border: 1px solid var(--op-border);
  background: var(--op-bg);
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--op-muted);
}
.mc-feedback[role="alert"] {
  border-color: #bc817066;
}
.mc-feedback > button {
  margin-left: 10px;
  text-decoration: underline;
}
.mc-footnote {
  font-size: 9px;
  color: var(--op-muted);
  line-height: 1.75;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--op-border);
}
.memory-connections :is(button, a):focus-visible,
.mc-source-dialog :is(button, input, select):focus-visible,
.mc-all-sources-dialog button:focus-visible {
  outline: 2px solid var(--op-accent);
  outline-offset: 3px;
}
.memory-connections button:disabled,
.mc-source-dialog button:disabled,
.mc-all-sources-dialog button:disabled {
  opacity: 0.45;
  cursor: default;
}
@media (max-width: 700px) {
  .mc-source-shelf {
    padding: 12px;
  }
  .mc-shelf-heading {
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .mc-shelf-actions {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
  .mc-shelf-actions .mc-add-source {
    grid-column: auto;
  }
  .mc-shelf-actions button {
    font-size: 9px;
    padding: 5px;
  }
  .mc-inclusion-actions {
    padding-right: 0;
    margin-left: auto;
  }
  .mc-source-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }
  .mc-source-toggle strong {
    font-size: 10px;
  }
  .mc-source-toggle small {
    font-size: 8px;
  }
  .mc-all-sources-dialog.op-modal {
    padding: 18px;
  }
  .mc-all-source-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .mc-source-cell {
    padding-top: 8px;
  }
  .mc-source-cell .mc-source-toggle strong {
    font-size: 9px;
  }
  .mc-source-cell .mc-source-toggle small {
    font-size: 7px;
  }
  .mc-source-dialog.op-modal {
    padding: 20px;
    max-height: calc(100dvh - 28px);
  }
  .mc-dialog-heading {
    margin-bottom: 18px;
  }
  .mc-steps {
    gap: 12px;
    margin-bottom: 18px;
  }
  .mc-step-divider {
    width: 18px;
  }
  .mc-app-card {
    padding: 11px;
  }
  .mc-app-card-top > span:last-child {
    font-size: 7px;
    padding: 4px;
  }
  .mc-app-card small {
    font-size: 9px;
  }
  .mc-scope-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mc-scope-card {
    padding: 12px;
  }
  .mc-scope-card > div:first-child {
    float: right;
    margin: 0 0 5px 15px;
    gap: 12px;
  }
  .mc-scope-card p {
    min-height: 0;
  }
  .mc-scope-card small {
    margin-top: 6px;
  }
  .mc-flow-actions {
    gap: 7px;
  }
  .mc-flow-actions > div {
    gap: 7px;
  }
  .mc-flow-actions .op-button {
    font-size: 10px;
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mc-app-card,
  .mc-switch > span,
  .mc-source-state > span {
    transition: none;
  }
}
.mc-email-snapshot-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
}
.mc-email-snapshot-note p {
  flex: 1;
  color: var(--op-muted);
  font-size: 10px;
  line-height: 1.75;
}
.mc-email-snapshot-note > button {
  flex: none;
  font-size: 10px;
}
@media (max-width: 600px) {
  .mc-email-snapshot-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

.mc-shelf-actions .mc-setup-memory {
  background: var(--op-accent);
  border-color: var(--op-accent);
  color: var(--op-bg);
  font-weight: 500;
  font-size: 10px;
  padding: 11px 9px;
  margin-top: 3px;
  justify-content: space-between;
}
.mc-shelf-actions .mc-setup-memory:hover {
  background: color-mix(in srgb, var(--op-accent) 90%, var(--op-ink));
  color: var(--op-bg);
}

.mc-source-brand[data-brand="cal"] {
  background: #fff;
  color: #17151b;
}
.mc-cal-wordmark {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -1px;
}

.mc-source-brand.is-circle[data-brand="images"] {
  background: #fff;
  padding: 3px;
}

.mc-daily-refresh { display: flex; gap: 9px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--op-border); font-size: 11px; color: var(--op-ink); cursor: pointer; }
.mc-daily-refresh input { accent-color: var(--op-accent); width: 14px; height: 14px; }
.mc-daily-refresh small { display: block; color: var(--op-muted); font-size: 9px; margin-top: 3px; }

/* Inline SVG marks (Simple Icons, CC0). Mono marks follow the text colour; brand-coloured ones keep their fill. */
.mc-brand-mark { display:inline-flex; align-items:center; justify-content:center; color:var(--ws-text, currentColor); }
.mc-brand-mark > svg { width:78%; height:78%; display:block; }
.mc-brand-mark.is-circle { border-radius:50%; }

/* Simple sources list: brand tiles, a plain status line, one Refresh all. */
.mc-source-line { position: relative; }
.mc-source-row .mc-brand-tile,
.mc-brand-tile {
  border-radius: 27%;
  box-shadow: none;
  background: none;
}
.mc-source-toggle[aria-pressed="false"] .mc-brand-tile { box-shadow: none; }
.mc-connect-chip {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #d45bb6 55%, var(--op-border));
  background: color-mix(in srgb, #d45bb6 14%, transparent);
  color: #f386a1;
  font: 600 11px ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
.mc-source-line[data-link="needs"] .mc-connect-chip {
  border-color: var(--op-border);
  background: none;
  color: var(--op-muted);
}
.mc-source-toggle:hover .mc-connect-chip { color: var(--op-ink); border-color: #f386a1; }
.mc-source-line[data-link] .mc-source-toggle small { color: var(--op-muted); }
.mc-shelf-actions.mc-shelf-simple {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mc-shelf-simple .mc-refresh-all {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #d45bb6, #f386a1);
  color: #1a0f17;
  font-weight: 650;
  font-size: 13px;
}
.mc-shelf-simple .mc-refresh-all:hover { color: #1a0f17; background: linear-gradient(135deg, #de6cc1, #f797ad); }
.mc-shelf-simple .mc-refresh-all:disabled { opacity: 0.7; cursor: progress; }
.mc-shelf-simple .mc-connect-more {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  border: 1px dashed color-mix(in srgb, #d45bb6 45%, var(--op-border));
  border-radius: 10px;
  color: var(--op-ink);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}
.mc-refresh-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--op-muted);
  cursor: pointer;
}
.mc-refresh-meta input { accent-color: #d45bb6; margin: 0; }
.mc-refresh-note { font-size: 11px; color: #f386a1; }
.mc-connect-dialog { max-width: 560px; max-height: 86vh; overflow-y: auto; }
.mc-connect-files {
  align-self: flex-start;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--op-muted);
  font-size: 12px;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}
.mc-source-toggle { position: relative; }
.mc-row-progress {
  position: absolute;
  left: 46px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: color-mix(in srgb, #d45bb6 18%, transparent);
  overflow: hidden;
}
.mc-row-progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 30%);
  background: linear-gradient(90deg, #d45bb6, #f386a1);
  transition: width 0.8s ease;
}


/* /src/components/operator/voice-recent-results.css */
.jarvis-recent { padding: 20px 28px 12px; color: #eff4ff; }
.jarvis-recent-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; font-size:12px; color:#b3bccd; }
.jarvis-recent-heading button,.jarvis-recent-mail a { display:inline-flex; align-items:center; gap:5px; color:#c4e7fa; font-size:12px; }
.jarvis-recent-heading button:hover,.jarvis-recent-mail a:hover { color:white; }
.jarvis-creation-image { position:relative; overflow:hidden; border-radius:20px; background:#151823; border:1px solid #ffffff18; aspect-ratio: 16/10; display:grid; place-items:center; }
.jarvis-creation-image>img { width:100%; height:100%; object-fit:contain; min-height:0; }
.jarvis-creation-image>span:not(.jarvis-creation-label) { display:grid; justify-items:center; gap:10px; color:#b3bccd; }
.jarvis-creation-label { position:absolute; bottom:12px; left:12px; background:#10131acc; backdrop-filter:blur(16px); padding:6px 10px; border-radius:7px; font-size:11px; color:white; }
.jarvis-recent>h2 { font-size:19px; font-weight:500; line-height:1.4; margin:16px 0 5px; }
.jarvis-creation-receipt { font-size:11px; color:#a5b1c6; line-height:1.6; overflow-wrap:anywhere; }
.jarvis-creation-strip { display:flex; gap:8px; margin-top:16px; }
.jarvis-creation-strip button { width:62px; height:48px; overflow:hidden; border-radius:8px; border:1px solid transparent; opacity:.55; }
.jarvis-creation-strip button[aria-pressed=true] { opacity:1; border-color:#b0ebff; box-shadow:0 0 0 2px #87caff24; }
.jarvis-creation-strip img { width:100%; height:100%; object-fit:cover; }
.jarvis-recent-note { display:flex; gap:6px; align-items:flex-start; color:#99a6ba; font-size:11px; line-height:1.6; margin-top:18px; }
.jarvis-recent-note svg { flex-shrink:0; margin-top:3px; }
.jarvis-mail-providers { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:18px; color:#acb5c8; font-size:11px; }
.jarvis-mail-providers>span { display:flex; align-items:center; gap:6px; }
.jarvis-mail-providers>span>span { width:5px; height:5px; background:#d6aa70; border-radius:50%; }
.jarvis-mail-providers>span[data-live=true]>span { background:#8be9c1; box-shadow:0 0 7px #8be9c155; }
.jarvis-recent-mail { padding:18px 0; border-top:1px solid #ffffff14; }
.jarvis-recent-mail-meta { display:flex; justify-content:space-between; gap:12px; color:#9daec2; font-size:10px; }
.jarvis-recent-mail h2 { font-size:17px; font-weight:500; line-height:1.4; margin:9px 0 4px; }
.jarvis-recent-sender { color:#bac5d8; font-size:12px; overflow-wrap:anywhere; }
.jarvis-recent-excerpt { font-size:13px; color:#a3b0c4; margin:10px 0; line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.jarvis-recent-empty { display:grid; justify-items:center; text-align:center; color:#b4bfd1; gap:14px; padding:40px 15px; font-size:15px; }
@media(max-width:520px) { .jarvis-recent {padding:16px;} .jarvis-recent-heading {font-size:11px;} .jarvis-creation-strip button{width:45px;height:38px;} }


/* /src/components/jev/rb/Orb.css */
.orb-container {
  position: relative;
  width: 100%;
  height: 100%;
}


/* /src/components/jev/chat-voice.css */
/* Voice mode strip on top of Chat (chat-voice.tsx). Accent follows the state
   through --vo-accent from voice-dock.css. */
.cv {
  --vo-accent: #a98be6;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 250px;
  align-items: center;
  gap: 8px 22px;
  margin: 14px 18px 0;
  padding: 10px 18px 10px 8px;
  min-height: 150px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--vo-accent) 26%, #ffffff14);
  background: #07060c;
  color: #f1edff;
  overflow: hidden;
  animation: cv-in 0.45s cubic-bezier(0.2, 0.9, 0.2, 1) both;
  transition: border-color 0.5s;
}
.cv[data-mood="listening"] { --vo-accent: #2ee6c8; }
.cv[data-mood="thinking"] { --vo-accent: #d45bb6; }
.cv[data-mood="working"] { --vo-accent: #f5a524; }
.cv[data-mood="speaking"] { --vo-accent: #8f7cff; }
.cv[data-mood="error"] { --vo-accent: #f2957a; }
@keyframes cv-in { from { opacity: 0; translate: 0 -8px; } }
.cv .cv-orb { margin: -18px -6px; }
.cv-now { display: flex; flex-direction: column; gap: 7px; min-width: 0; text-shadow: 0 1px 12px #07060ce6; }
.cv-status { font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--vo-accent) 70%, #fff); }
.cv-caption { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 550; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-caption[data-quiet] { font-weight: 450; color: #cfc8e6; font-size: 15px; }
.cv-controls { display: flex; gap: 6px; margin-top: 2px; }
.cv-controls button, .cv-settings select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #ffffff24;
  background: #0b0914b3;
  backdrop-filter: blur(8px);
  color: #e4def5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cv-controls button:hover:enabled { border-color: color-mix(in srgb, var(--vo-accent) 60%, transparent); }
.cv-controls button[aria-pressed="true"] { background: color-mix(in srgb, var(--vo-accent) 28%, #0b0914); color: #fff; }
.cv-controls button:disabled { opacity: 0.4; cursor: default; }
.cv-settings { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #0b0914b8; border: 1px solid #ffffff14; backdrop-filter: blur(10px); }
.cv-settings label { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 12px; color: #b9b2cf; }
.cv-settings select { width: 100%; border-radius: 9px; padding: 6px 8px; font-weight: 550; }
.cv-settings label:first-child { grid-template-columns: 44px minmax(0, 1fr); }
.cv-settings input[type="range"] { width: 100%; accent-color: #d45bb6; }
.cv-settings b { font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #f1edff; }
.cv-lane { margin: 0; display: flex; align-items: center; gap: 6px; font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: #f386a1; }
@media (max-width: 1000px) { .cv { grid-template-columns: auto minmax(0, 1fr); } .cv-settings { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .cv { animation: none; } }
.cv-live { font-size: 11.5px; color: #cfc8e6; text-decoration: underline dotted; text-underline-offset: 3px; }
.cv-live:hover { color: #fff; }
.cv-controls .is-primary { background: linear-gradient(135deg, #d45bb6, #f386a1); color: #fff; border-color: transparent; }
.cv-latency { align-self: center; font-size: 11px; color: var(--op-muted, #948ea0); }
.cv-controls .is-warn { border-color: #f5b84d; color: #f5b84d; background: rgba(245, 184, 77, 0.12); font-weight: 650; }
.cv-side { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 400px; align-self: stretch; justify-content: center; }
.cv-recent { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #d9d3e2; }
.cv-recent li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.4s; }
.cv-recent li[data-role="user"] { color: #9fd8ff; }
.cv-recent li[data-role="action"] { color: #5fe3aa; }
.cv-taskchat { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(243, 134, 161, 0.14); border: 1px solid rgba(243, 134, 161, 0.35); color: #f7c6e6; font-size: 12px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* Orb · now · what it shows (cards, the last turns) · settings */
.cv { grid-template-columns: auto minmax(0, 1fr) minmax(0, 400px) 200px; }
@media (max-width: 1100px) { .cv { grid-template-columns: auto minmax(0, 1fr) 200px; } .cv-side { grid-column: 1 / -1; } }
/* The email / agenda card floats just under the strip, over the chat. */
.cv { overflow: visible; }
.cv-card { position: absolute; top: calc(100% + 8px); right: 12px; z-index: 30; }
.cv .cv-controls button { white-space: nowrap; }
.cv-recent li:nth-last-child(n + 4) { display: none; }
.cv > .jev-backdrop, .cv > .vo-touch { border-radius: inherit; }
.cv > .jev-backdrop { clip-path: inset(0 round 20px); }
.cv-personality { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--op-muted, #948ea0); }
.cv-humour { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.cv-humour button { padding: 4px 0; border-radius: 7px; border: 1px solid #ffffff14; background: #ffffff08; color: #d9d3e2; font-size: 10.5px; cursor: pointer; }
.cv-humour button[aria-checked="true"] { border-color: #f386a1; background: rgba(243, 134, 161, 0.18); color: #fff; font-weight: 650; }
.cv-persona-toggle { align-self: flex-start; padding: 0; border: 0; background: none; color: #f386a1; font-size: 11px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.cv-persona { position: absolute; right: 12px; top: calc(100% + 8px); z-index: 40; width: 320px; padding: 10px; border-radius: 12px; border: 1px solid #ffffff1a; background: rgba(14, 12, 18, 0.96); display: flex; flex-direction: column; gap: 8px; }
.cv-persona textarea { width: 100%; resize: vertical; border-radius: 9px; border: 1px solid #ffffff1a; background: #0b0a0f; color: #f2eef6; font: inherit; font-size: 12.5px; padding: 8px; }
.cv-persona div { display: flex; gap: 6px; }
.cv-persona button { padding: 5px 12px; border-radius: 8px; border: 1px solid #ffffff1a; background: #ffffff0a; color: #f2eef6; cursor: pointer; }
.cv-persona .is-primary { border-color: transparent; background: linear-gradient(135deg, #d45bb6, #f386a1); }

.cv-voicepick { grid-template-columns: 44px minmax(0, 1fr) auto !important; }
.cv-voicepick select { width: 100%; border-radius: 9px; padding: 6px 8px; font-size: 12px; font-weight: 550; border: 1px solid #ffffff24; background: #0b0914b3; color: #e4def5; }
.cv-preview { width: 26px; height: 26px; border-radius: 999px; border: 1px solid #ffffff24; background: #0b0914b3; color: #f1edff; font-size: 10px; cursor: pointer; }
.cv-preview:hover { border-color: #d45bb6; }

/* Humour is a slider; the current word pops in beside it. */
.cv-humour-slider { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) 68px !important; align-items: center; gap: 8px; font-size: 12px; color: #b9b2cf; }
.cv-humour-slider input { width: 100%; accent-color: #d45bb6; }
.cv-humour-word { font: 650 12px/1 ui-sans-serif, system-ui; color: #f7c6e6; text-align: right; animation: cv-word 0.35s cubic-bezier(0.2, 0.9, 0.2, 1.2) both; }
@keyframes cv-word { from { opacity: 0; transform: translateY(4px) scale(0.9); } }

/* This conversation: your words and Jarvis's replies sit in a clear glass
   panel instead of floating faintly over the clouds. */
.cv-recent { padding: 10px 12px !important; gap: 6px !important; border-radius: 12px; background: rgba(8, 7, 14, 0.72); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); text-shadow: none; font-size: 12.5px !important; line-height: 1.35; max-height: 118px; overflow: hidden; }
.cv-recent li { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #efeaf8; }
.cv-recent li[data-role="user"] { color: #a9dcff; font-weight: 550; }
.cv-recent li:nth-last-child(n + 3) { display: none !important; }
.cv-side { max-width: 460px !important; }
@media (prefers-reduced-motion: reduce) { .cv-humour-word { animation: none; } }

/* The status and buttons always keep their room; the conversation panel
   takes what is left, and drops under them on narrower screens. */
.cv { grid-template-columns: auto minmax(300px, 1fr) minmax(0, 380px) 220px !important; }
.cv-now { min-width: 300px; }
.cv > .cv-orb { grid-column: 1; grid-row: 1; }
.cv > .cv-now { grid-column: 2; grid-row: 1; }
.cv > .cv-side { grid-column: 3; grid-row: 1; }
.cv > .cv-settings { grid-column: 4; grid-row: 1; }
@media (max-width: 1560px) {
  .cv { grid-template-columns: auto minmax(0, 1fr) 220px !important; }
  .cv > .cv-orb { grid-row: 1 / span 2; }
  .cv > .cv-side { grid-column: 2 !important; grid-row: 2; max-width: none !important; }
  .cv > .cv-settings { grid-column: 3; grid-row: 1 / span 2; }
}
.cv .cv-orb { margin: -12px 0 -12px 6px !important; }
/* The strip sits above the chat under it, so its floating card (email, agenda, "Start this task?") is never covered. */
.cv { z-index: 20; }
.cv-card .lcard { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }


/* /src/components/jev/voice-cast.css */
.vcast {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #ffffff14;
  background: radial-gradient(120% 60% at 50% 0%, #1a1030, #0b0a10 70%);
  color: #f1edff;
  min-width: 0;
}
.vcast-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vcast-eyebrow { font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #b9b2cf; }
.vcast-now { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #c9b8ff; }
.vcast-now i { width: 7px; height: 7px; border-radius: 50%; background: #8f7cff; box-shadow: 0 0 10px #8f7cff; animation: vcast-pulse 1s ease-in-out infinite; }
@keyframes vcast-pulse { 50% { opacity: 0.35; } }
.vcast-auto {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #ffffff1a;
  background: #ffffff08;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.vcast-auto[aria-pressed="true"] { border-color: #d45bb688; background: linear-gradient(135deg, #d45bb61f, #f386a10f); box-shadow: 0 10px 30px -18px #d45bb6; }
.vcast-auto-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #d45bb6, #f386a1); }
.vcast-auto-text b { display: block; font-size: 14px; }
.vcast-auto-text small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #b9b2cf; }
.vcast-switch { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #ffffff1f; transition: background 0.2s; }
.vcast-switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.vcast-auto[aria-pressed="true"] .vcast-switch { background: #d45bb6; }
.vcast-auto[aria-pressed="true"] .vcast-switch i { transform: translateX(14px); }
.vcast-last { margin: -4px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #b9b2cf; }
.vcast-last b { color: #f386a1; }
.vcast-empty { margin: 0; font-size: 12.5px; color: #b9b2cf; }
.vcast-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow-y: auto; }
.vcast-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.vcast-list li:hover { background: #ffffff08; }
.vcast-list li[data-chosen] { border-color: #8f7cff88; background: #8f7cff14; }
.vcast-play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ffffff22;
  background: #ffffff0d;
  color: #f1edff;
  cursor: pointer;
}
.vcast-play:hover { border-color: #d45bb6; color: #fff; }
.vcast-list li[data-self] .vcast-play { background: linear-gradient(135deg, #d45bb6, #f386a1); border-color: transparent; color: #2a0624; }
.vcast-pick { min-width: 0; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.vcast-pick b { display: block; font-size: 13.5px; font-weight: 600; }
.vcast-pick small { display: block; font-size: 11.5px; color: #9a93b3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcast-speed { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 12px; color: #b9b2cf; }
.vcast-speed input { accent-color: #d45bb6; }
.vcast-speed b { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #f1edff; }
@media (prefers-reduced-motion: reduce) { .vcast-now i { animation: none; } }

/* Jev lane card: the value Jev adds to voice. */
.vlane { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid #d45bb655; background: linear-gradient(160deg, #d45bb61f, #0b091400 70%), #120d1c; }
.vlane-head { display: flex; align-items: center; gap: 10px; }
.vlane-head > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.vlane-head b { font-size: 14px; color: #f7f2ff; }
.vlane-head small { font-size: 11.5px; color: #b9b2cf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vlane-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #d45bb6, #f386a1); color: #2a0624; flex: none; }
.vlane-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vlane-bars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 38px; align-items: center; gap: 8px; font-size: 12px; color: #b9b2cf; }
.vlane-bars i { height: 6px; border-radius: 99px; background: #ffffff12; position: relative; overflow: hidden; }
.vlane-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: #ffffff38; animation: vlane-grow 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.vlane-bars li[data-picked] { color: #fff; font-weight: 650; }
.vlane-bars li[data-picked] i::after { background: linear-gradient(90deg, #d45bb6, #f386a1); box-shadow: 0 0 12px #d45bb6; }
.vlane-bars b { font: 600 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace; text-align: right; }
@keyframes vlane-grow { from { width: 0; } }
.vlane-foot { margin: 0; font: 500 11.5px/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: #f386a1; }
.vlane-note { margin: 0; font-size: 11.5px; line-height: 1.45; color: #9e97b6; }
@media (prefers-reduced-motion: reduce) { .vlane-bars i::after { animation: none; } }


/* /src/components/operator/native-calendar-connection.css */
.ar-native-calendar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  margin: 16px 0;
  border: 1px solid var(--op-border);
  border-radius: 16px;
  background: var(--op-panel);
  min-width: 0;
}
.ar-native-calendar > img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.ar-native-calendar-copy {
  flex: 1;
  min-width: 0;
}
.ar-native-calendar-copy strong {
  font-size: 13px;
  font-weight: 600;
}
.ar-native-calendar-copy p {
  margin: 4px 0;
  color: var(--op-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.ar-native-calendar-copy small {
  color: var(--op-muted);
  font-size: 11px;
  line-height: 1.6;
}
.ar-native-calendar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.ar-native-calendar .ar-native-calendar-error {
  color: #c44351;
}
.dark .ar-native-calendar .ar-native-calendar-error {
  color: #ff93a0;
}
@media (max-width: 700px) {
  .ar-native-calendar {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 14px;
  }
  .ar-native-calendar-actions {
    flex-basis: 100%;
    justify-content: flex-start;
    padding-left: 44px;
  }
}


/* /src/components/jev/fish-signup.css */
.fish-signup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(94, 200, 255, 0.35);
  background: linear-gradient(135deg, rgba(56, 132, 255, 0.16), rgba(94, 200, 255, 0.08));
  color: var(--op-ink, #f0edf5);
  font-size: 12.5px;
  text-decoration: none;
  max-width: 420px;
}
.fish-signup:hover { border-color: rgba(94, 200, 255, 0.7); }
.fish-signup b { display: block; font-weight: 650; }
.fish-signup small { display: block; margin-top: 2px; color: var(--op-muted, #948ea0); font-size: 11px; line-height: 1.4; }
.fish-signup-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #5ec8ff; box-shadow: 0 0 0 4px rgba(94, 200, 255, 0.18); }
.fish-signup.is-compact { padding: 5px 10px; font-size: 12px; }


/* /src/components/jev/voice-dials.css */
.vdl { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "bar bar"; align-items: center; gap: 7px 10px; font-size: 12px; color: #b9b2cf; position: relative; padding: 2px 0; }
.vdl-label { grid-area: label; }
.vdl-value { grid-area: value; }
.vdl-track, .vdl-steps { grid-area: bar; }
.vdl-label { letter-spacing: 0.01em; }
.vdl-value { font: 650 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #f7eaf6; text-align: right; animation: vdl-pop 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.3) both; }
.vdl-value.is-word { font-family: ui-sans-serif, system-ui; font-weight: 700; background: linear-gradient(90deg, #f7c6e6, #ffd9a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes vdl-pop { from { opacity: 0; transform: translateY(5px) scale(0.85); } }

/* Speed: a glowing bar that slides to the value */
.vdl-track { position: relative; height: 8px; margin: 4px 0; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); }
.vdl-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #7b5cff, #d45bb6 60%, #f386a1); box-shadow: 0 0 14px -2px rgba(212, 91, 182, 0.7); transition: width 0.7s cubic-bezier(0.2, 0.9, 0.2, 1); overflow: hidden; }
.vdl-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-100%); animation: vdl-shine 3.2s ease-in-out infinite; }
@keyframes vdl-shine { 60%, 100% { transform: translateX(100%); } }
.vdl-ticks b { position: absolute; top: 50%; width: 2px; height: 4px; margin: -2px 0 0 -1px; border-radius: 1px; background: rgba(255, 255, 255, 0.22); }
.vdl-knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(212, 91, 182, 0.45), 0 4px 10px rgba(0, 0, 0, 0.5); transition: left 0.7s cubic-bezier(0.2, 0.9, 0.2, 1); pointer-events: none; }
.vdl-track input { position: absolute; inset: -8px 0; width: 100%; height: calc(100% + 16px); margin: 0; opacity: 0; cursor: pointer; }

/* Humour: four steps that light up in turn */
.vdl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 4px 0; }
.vdl-steps button { position: relative; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.07); cursor: pointer; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45); }
.vdl-steps button i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #d45bb6, #f386a1 70%, #ffc38a); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1) calc(var(--i) * 70ms); }
.vdl-steps button[data-on] i { transform: none; box-shadow: 0 0 12px -2px rgba(243, 134, 161, 0.8); }
.vdl-steps button:hover { background: rgba(255, 255, 255, 0.12); }

/* Changed by voice: a sweep of light and a glow ring for a moment */
.vdl-glow { position: absolute; inset: -6px -8px; border-radius: 12px; background: radial-gradient(60% 120% at 50% 50%, rgba(243, 134, 161, 0.28), transparent 70%); animation: vdl-glow 1.4s ease-out both; pointer-events: none; }
@keyframes vdl-glow { 0% { opacity: 0; transform: scale(0.96); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.03); } }
.vdl-glow ~ .vdl-track .vdl-fill, .vdl-glow ~ .vdl-steps button[data-on] i { animation: vdl-flash 1.4s ease-out; }
@keyframes vdl-flash { 20% { filter: brightness(1.5) saturate(1.3); } }
@media (prefers-reduced-motion: reduce) { .vdl-fill, .vdl-knob, .vdl-steps button i { transition: none; } .vdl-fill::after, .vdl-glow, .vdl-value { animation: none; } }
