*{box-sizing:border-box}:root{--ink:#18181b;--muted:#71717a;--line:#e4e4e7;--green:#18181b;--bg:#fff}body{color:var(--ink);background:var(--bg);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;padding:10px 14px;font-weight:600;transition:background .15s}button:hover:enabled{background:#f4f4f5}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--green);border-color:var(--green);color:#fff}button.primary:hover:enabled{background:#27272a}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #a1a1aa}input,select{color:var(--ink);background:#fff;border:1px solid #d4d4d8;border-radius:8px;min-width:0;padding:11px 12px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1px;margin-bottom:10px;font-size:30px;line-height:1.25}h2{margin-bottom:5px;font-size:17px}h3{font-size:14px}small,.small{font-size:12px;line-height:1.6}.muted{color:var(--muted)}.shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;flex-shrink:0;width:230px;padding:32px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:var(--ink);letter-spacing:-.8px;align-items:center;gap:12px;margin:0 10px 55px;font-size:25px;font-weight:700;text-decoration:none;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:13px;place-items:center;width:42px;height:42px;font-size:25px;display:grid}.brand small{color:var(--muted);letter-spacing:1.7px;font-size:9px;line-height:2;display:block}.nav-label{color:#a1a1aa;letter-spacing:1.8px;margin-left:12px;font-size:10px}.nav-item{text-align:left;width:100%;color:var(--muted);border:0;justify-content:space-between;align-items:center;margin:4px 0;padding:14px;display:flex}.nav-item span{opacity:.6;font-size:10px}.nav-item.active{color:var(--green);background:#f4f4f5}.sidebar-bottom{margin-top:auto;padding:20px 10px 0;font-size:12px}.sidebar-bottom p{color:var(--muted);margin:10px 0 0;font-size:11px;line-height:1.7}.status-dot{background:#52525b;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}main{width:calc(100% - 230px);margin-left:230px}header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:80px;padding:0 38px;display:flex}.breadcrumb{color:var(--muted);font-size:12px}.breadcrumb span{color:#d4d4d8;margin:0 12px}.header-right{align-items:center;gap:14px;display:flex}.text-button{background:0 0;border:0;font-size:12px}.content{max-width:1550px;margin:0 auto;padding:38px}.page-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:2px;color:var(--green);margin-bottom:12px;font-size:10px;font-weight:700}.page-title .muted{margin:0;font-size:13px;line-height:1.7}.badge{white-space:normal;overflow-wrap:anywhere;color:#3f3f46;text-transform:capitalize;background:#f4f4f5;border-radius:5px;max-width:230px;padding:5px 9px;font-size:10px;line-height:1.4;display:inline-block}.badge.amber{color:#906119;background:#fbf2df}.badge.neutral{color:var(--muted);border:1px solid var(--line);white-space:nowrap;background:#fff}.card{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.connect-card{text-align:center;max-width:480px;margin:60px auto;padding:36px}.connection-icon{width:48px;height:48px;color:var(--green);background:#f4f4f5;border-radius:14px;place-items:center;margin:0 auto 20px;font-size:27px;font-weight:700;display:grid}.connect-card form{text-align:left;gap:12px;margin:28px 0 18px;display:grid}.connect-card label{font-size:12px;font-weight:600}.connect-card input,.connect-card button{width:100%}.connect-card .small{margin-bottom:0}.integration-banner{color:#795e25;background:#fcf7e9;border:1px solid #eae0c2;border-radius:9px;gap:12px;margin-bottom:24px;padding:16px 18px;font-size:12px;display:flex}.integration-banner strong{margin-bottom:5px;font-size:13px;display:block}.integration-banner p{margin:0;line-height:1.6}.banner-icon{border:1px solid #a88c4d;border-radius:50%;flex-shrink:0;place-items:center;width:19px;height:19px;font-weight:700;display:grid}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:26px;display:grid}.stat{padding:22px}.stat>span{color:var(--muted);font-size:12px}.stat>strong{letter-spacing:-1px;margin:12px 0 7px;font-size:32px;display:block}.stat .stat-word{color:#9d7938;font-size:26px}.stat>small{color:#a1a1aa;font-size:11px}.section-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;display:flex}.section-heading p{margin-bottom:0}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-row{justify-content:space-between;align-items:center;gap:14px;padding:18px 24px;display:flex}.filter-row input{background:#fafafa;width:370px;font-size:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{letter-spacing:.7px;text-transform:uppercase;color:var(--muted);border-top:1px solid var(--line);background:#fafafa;padding:13px 22px;font-size:10px}td{vertical-align:middle;border-top:1px solid #f4f4f5;padding:19px 22px}td strong{font-size:12px}td small{color:var(--muted);margin-top:5px;font-size:11px;display:block}td.amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.empty{text-align:center;color:var(--muted);padding:65px 24px}.empty h3{color:var(--ink);margin-bottom:10px;font-size:16px;font-weight:500}.empty p{max-width:330px;margin:0 auto;font-size:12px;line-height:1.8}.empty-icon{color:#71717a;background:#f4f4f5;border-radius:16px;place-items:center;width:54px;height:54px;margin:0 auto 20px;font-size:30px;display:grid}.alert{overflow-wrap:anywhere;border-radius:8px;margin-bottom:20px;padding:14px 18px;font-size:13px;line-height:1.6}.alert.error{color:#963b28;background:#fff0ec;border:1px solid #f3d3c8}.alert.success{color:#3f3f46;background:#f4f4f5;border:1px solid #e4e4e7}.conversation-grid{grid-template-columns:minmax(270px,.85fr) minmax(0,1.55fr);align-items:start;gap:20px;display:grid}.conversation-list .section-heading,.conversation-detail .section-heading{padding:20px}.thread-item{text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;align-items:center;gap:12px;width:100%;padding:18px 20px;font-weight:400;display:flex}.thread-item.selected{box-shadow:inset 3px 0 var(--green);background:#f4f4f5}.avatar{color:#71717a;background:#f4f4f5;border-radius:50%;flex-shrink:0;place-items:center;width:33px;height:33px;font-size:10px;display:grid}.thread-copy{flex:1;min-width:0}.thread-copy strong{overflow-wrap:anywhere;font-size:12px;display:block}.thread-copy small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:10px;display:block}.thread-item .badge{max-width:95px;font-size:9px}.pagination{justify-content:space-between;align-items:center;gap:8px;padding:16px;display:flex}.pagination button{padding:7px 10px;font-size:11px}.compact{padding:40px 20px}.detail-empty{flex-direction:column;justify-content:center;min-height:430px;display:flex}.detail-actions{gap:8px;padding:16px 20px;display:flex}.detail-actions button{font-size:11px}.history-heading{justify-content:space-between;align-items:center;gap:10px;padding:12px 20px;display:flex}.history-heading h3{margin:0}.history-heading span{font-size:10px}.history-error,.promise{color:#866c32;background:#fbf6e9;border-radius:7px;margin:0 20px 18px;padding:14px;font-size:12px;line-height:1.7}.messages{border-block:1px solid var(--line);background:#fafafa;flex-direction:column;gap:14px;max-height:420px;padding:16px 20px;display:flex;overflow-y:auto}.message{border:1px solid var(--line);overflow-wrap:anywhere;background:#fff;border-radius:10px;align-self:flex-start;max-width:88%;padding:12px 14px}.message.outgoing{background:#f4f4f5;border-color:#e4e4e7;align-self:flex-end}.message>small{color:var(--muted);font-size:10px}.message p{white-space:pre-wrap;margin:6px 0 10px;font-size:13px;line-height:1.7}.message time{color:var(--muted);font-size:9px}.reply-action{border-bottom:1px solid var(--line);padding:20px}.reply-action p{line-height:1.7}.reply-action button{font-size:12px}.work-section{padding:20px}.work-section h3{margin-bottom:8px}.work-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:13px 0;display:flex}.work-row>div{flex:1;min-width:0}.work-row strong{font-size:11px}.work-row small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:10px;display:block}.work-row button{padding:6px 9px;font-size:10px}.work-row:last-child{border:0}footer{text-align:center;color:#a1a1aa;padding:28px 0 0;font-size:10px;line-height:1.8}footer span{padding:0 10px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:1500px){.content{padding:46px 48px}}@media (max-width:1100px){.sidebar{width:190px;padding-inline:14px}main{width:calc(100% - 190px);margin-left:190px}.content{padding:28px 22px}header{padding:0 22px}.page-title{align-items:flex-start}.page-title>.badge{display:none}h1{font-size:26px}.section-heading{flex-wrap:wrap;align-items:flex-start}.conversation-grid{grid-template-columns:1fr}.conversation-list{max-height:400px;overflow:auto}}@media (max-width:640px){.shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px;width:100%;padding:15px 18px;display:grid;position:static}.brand{grid-column:1/-1;margin:0 0 12px;font-size:22px}.brand-mark{width:36px;height:36px}.nav-label,.sidebar-bottom{display:none}.nav-item{margin:0;padding:10px;font-size:12px}main{width:100%;margin-left:0}header{height:56px;padding:0 18px}.content{padding:24px 16px}.page-title{margin-bottom:22px}h1{font-size:25px}.stats{gap:8px;margin-bottom:20px}.stat{padding:14px 10px}.stat>span{min-height:30px;font-size:10px;line-height:1.5;display:block}.stat>strong{font-size:25px}.stat .stat-word{font-size:19px}.stat>small{display:none}.section-heading{padding:18px}.actions{gap:6px}.actions button,.actions select{padding:9px;font-size:11px}.filter-row{padding:14px 18px}.filter-row input{width:100%}.filter-row>span{display:none}.integration-banner{padding:13px;font-size:11px}.connect-card{margin:20px 0;padding:28px 22px}.conversation-grid{gap:16px}.thread-item{padding:14px}.detail-actions{flex-wrap:wrap}.history-heading{flex-direction:column;align-items:flex-start}.breadcrumb{font-size:11px}.header-right{gap:4px}.empty{padding:45px 18px}}.test-settings{background:#fff;border-color:#d4d4d8;margin-bottom:24px;padding:22px 24px}.test-settings h2{margin-top:12px}.test-settings p{margin-bottom:0;line-height:1.7}.test-settings form{flex-wrap:wrap;align-items:end;gap:14px;margin:20px 0 14px;display:flex}.test-settings form>div{flex:1;min-width:180px}.test-settings label{margin-bottom:8px;font-size:12px;font-weight:600;display:block}.test-settings input{width:100%}@media (max-width:640px){.test-settings{padding:18px}.test-settings form>div{flex-basis:100%}.test-settings form>button{width:100%}}.phone-lookup{margin-bottom:20px;padding:20px 24px}.phone-lookup p{margin-bottom:0;line-height:1.7}.phone-lookup form{gap:10px;margin-top:16px;display:flex}.phone-lookup input{flex:1;max-width:330px}@media (max-width:640px){.phone-lookup form{flex-direction:column}.phone-lookup input{max-width:none}}.test-chat-compose{border-top:1px solid var(--line);padding:20px 24px}.test-chat-compose label{margin-bottom:10px;font-weight:600;display:block}.test-chat-compose .actions{flex-wrap:wrap;gap:10px;display:flex}.test-chat-compose input{flex:1;min-width:160px}.test-chat-compose p{margin:12px 0 0}.test-chat-workspace .messages{padding:20px}.conversation-tabs{flex-wrap:wrap;gap:8px;margin:0 0 20px;display:flex}.conversation-tabs [aria-selected=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
