*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:#f3f3f3}
body{font-family:Inter,sans-serif;font-size:16px;line-height:24px;color:#0a0d14;letter-spacing:-.176px;-webkit-font-smoothing:antialiased;font-feature-settings:'cv09' 1,'ss11' 1,'calt' 0,'liga' 0}
h1,h2,p{margin:0}button,input{font:inherit;letter-spacing:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button,input{outline:none}button:focus-visible,input:focus-visible{outline:2px solid #939dcb;outline-offset:3px}
.viewport{width:100%;height:100%;overflow:auto;scrollbar-width:none;overflow-anchor:none}.viewport::-webkit-scrollbar{display:none}
.canvas{width:2000px;height:1500px;background:#f3f3f3;position:relative}
.wizard{position:absolute;left:1000px;top:750px;transform:translate(-50%,-50%);width:702px;border-radius:32px;background:white;box-shadow:none;border:0;outline:none;overflow:hidden}
.step-header{height:72px;display:flex;align-items:center;gap:12px;padding:20px 32px;font-weight:500;box-shadow:inset 0 -1px #e2e4e9}
.step-icon{width:28px;height:28px;display:block;flex:none}
.intro{padding:32px 32px 0;display:flex;flex-direction:column;gap:8px}
h1{font-size:18px;line-height:24px;letter-spacing:-.27px;font-weight:500}
.intro p{width:377px;color:#525866}
.content{padding:24px 32px;display:flex;flex-direction:column;gap:24px}
.field-group{display:flex;flex-direction:column;gap:8px}
h2{font-size:16px;line-height:24px;font-weight:500;letter-spacing:-.176px}
.field-group h2{position:relative;top:-.5px}
.selected-list{display:flex;gap:8px;flex-wrap:wrap;min-height:40px;align-items:center}
.selected-chip{height:40px;display:flex;gap:4px;align-items:center;padding:10px;border:0;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #e2e4e9,0 1px 2px #5258660f;color:#525866;font-size:14px;line-height:20px;font-weight:500;letter-spacing:-.084px;transition:background 180ms,transform 200ms cubic-bezier(.22,1,.36,1)}
.selected-chip>img,.selected-chip .close{width:20px;height:20px;display:block;flex:none}
.selected-chip .chip-name{padding:0 4px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selected-chip:hover{background:#f6f8fa}.selected-chip:active{transform:scale(.975)}
.custom-logo{width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:#edf0f7;color:#525866;border-radius:5px;font-size:11px;flex:none}
.empty-selected{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 10px 0 12px;border:1px dashed #e2e4e9;border-radius:10px;background:white;overflow:hidden;font-size:14px;line-height:20px;letter-spacing:-.084px;color:#868c98}
form{display:flex;gap:8px;width:100%}
input{min-width:0;flex:1;width:0;height:40px;background:#fff;border:1px solid #e2e4e9;border-radius:10px;padding:10px 12px;font-size:14px;line-height:20px;letter-spacing:-.084px;color:#0a0d14;box-shadow:0 1px 2px #e4e5e73d;transition:border-color 180ms,box-shadow 180ms}
input::placeholder{color:#868c98;opacity:1}input:hover{border-color:#caced7}input:focus{border-color:#a2aac2;box-shadow:0 0 0 3px #e9edfa}
.manual-add{width:80px;height:40px;display:flex;gap:4px;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;padding:10px;border:0;border-radius:10px;background:#f6f8fa;color:#868c98;font-size:14px;line-height:20px;letter-spacing:-.084px;font-weight:500;flex:none;transition:background 180ms,color 180ms,box-shadow 180ms,transform 180ms}
.manual-add img{width:20px;height:20px;display:block}.manual-add span{padding:0 4px}.manual-add:not(:disabled){color:#525866;background:white;box-shadow:inset 0 0 0 1px #e2e4e9,0 1px 2px #5258660f}.manual-add:not(:disabled):hover{background:#f6f8fa}.manual-add:not(:disabled):active{transform:scale(.975)}
.suggestions{width:638px;height:296px;position:relative;overflow:hidden;isolation:isolate;border-radius:20px;background:#f5f8ff;padding-top:24px;display:flex;flex-direction:column;gap:20px}
.glow{position:absolute;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:-1}.glow-one{width:617.213px;height:646.828px;left:-260px;top:-399px}.glow-two{width:728.371px;height:721.573px;left:88px;top:-149.5px}
.glow>div{width:495.102px;height:536.984px;position:relative;flex:none}.glow-one>div{transform:rotate(-165deg)}.glow-two>div{transform:rotate(51.59deg)}.glow img{position:absolute;left:-16.97%;top:-15.64%;width:133.94%;height:131.28%;display:block;max-width:none}
.suggestions-intro{position:relative;padding:0 24px;display:flex;flex-direction:column;gap:6px}.suggestions-intro p{color:#525866;white-space:nowrap}
.suggestions-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:4px;height:198px;padding:0 8px 8px}
.competitor{background:#fff;border-radius:8px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;min-width:0}.competitor:nth-child(1){border-top-left-radius:16px}.competitor:nth-child(2){border-top-right-radius:16px}.competitor:nth-child(5){border-bottom-left-radius:16px}
.company{display:flex;align-items:center;gap:4px;font-size:14px;line-height:20px;font-weight:500;letter-spacing:-.084px}.company-logo{width:32px;height:32px;display:flex;align-items:center;justify-content:center}.company-logo img{width:20px;height:20px;display:block}
.toggle-company{height:32px;display:flex;gap:2px;align-items:center;justify-content:center;border:0;padding:6px;background:white;box-shadow:inset 0 0 0 1px #e2e4e9,0 1px 2px #5258660f;border-radius:8px;color:#525866;font-size:14px;line-height:20px;font-weight:500;letter-spacing:-.084px;transition:background 180ms,box-shadow 180ms,transform 180ms}
.toggle-company img{width:20px;height:20px;display:block}.toggle-company span{padding:0 4px}.toggle-company[aria-pressed=true]{box-shadow:none;background:transparent}.toggle-company:hover{background:#f6f8fa}.toggle-company:active{transform:scale(.96)}
.confirm-footer{padding:0 32px 32px;display:flex;justify-content:flex-end}.confirm{height:40px;min-width:81px;padding:10px 14px;background:#20232d;border:0;color:white;border-radius:10px;font-size:14px;line-height:20px;letter-spacing:-.084px;font-weight:500;box-shadow:0 1px 2px #5258660f;transition:background 180ms,transform 180ms}.confirm:hover{background:#343844}.confirm:active{transform:scale(.975)}.confirm:disabled{background:#f6f8fa;color:#868c98;box-shadow:none}
.next-step{box-shadow:inset 0 1px #e2e4e9}.pending{position:relative}.pending>span{position:absolute;left:5px;top:4.5px;width:20px;height:20px;border:1px solid #e2e4e9;border-radius:50%;background:white}
.sr-only{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

.wizard-panels{position:relative;width:100%}
.wizard-panel{width:702px}
.wizard-panel[hidden]{display:none}
.completed-step{width:100%;border:0;border-radius:0;text-align:left;background:transparent;color:inherit;transition:background 180ms}
.completed-step:hover{background:#fafbfc}
.completed-step:focus-visible{outline-offset:-5px}
#tracking-title:focus{outline:none}
.tracking-content{padding:24px 32px}
.source-grid{width:638px;height:336px;border-radius:20px;background:#f6f8fa;padding:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,104px);gap:4px}
.source-card{border-radius:8px;background:#fff;padding:20px;display:flex;align-items:flex-start;min-width:0}
.source-card:first-child{border-top-left-radius:16px}.source-card:nth-child(2){border-top-right-radius:16px}.source-card:last-child{border-bottom-left-radius:16px}
.source-icon{width:32px;height:32px;flex:none;margin-right:12px;border-radius:8px;background:#ebf1ff;display:flex;align-items:center;justify-content:center}
.source-icon img{width:20px;height:20px;display:block}
.source-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:20px;letter-spacing:-.084px}
.source-copy h2{font-size:14px;line-height:20px;letter-spacing:-.084px;font-weight:500;white-space:nowrap}
.source-copy p{color:#525866}.secondary-source .source-copy p{color:#717182}
.source-toggle{width:38px;height:24px;flex:none;border:0;background:transparent;padding:0;position:relative;border-radius:96px}
.source-toggle:before{content:'';position:absolute;inset:10% 6.25%;border-radius:96px;background:#cdd0d5;transition:background 220ms ease}
.source-toggle span{position:absolute;left:4.75px;top:20%;width:14.25px;height:60%;border-radius:56px;background:white;transition:transform 260ms cubic-bezier(.22,1,.36,1)}
.source-toggle[aria-checked=true]:before{background:#253ea7}.source-toggle[aria-checked=true] span{transform:translateX(14.25px)}
.source-toggle:hover:before{filter:brightness(.96)}
.continue{min-width:89px}

/* --- Dot loader ---------------------------------------------------------
   Geometry and colours taken from the Figma icon (node 24:814): 3px dots on a
   2px grid, so the glyph is exactly 13x13. The design swaps dot COLOUR rather
   than fading opacity — #C1C4CD at rest, #3E4784 lit. Hosts override the pair
   through the two custom properties (the dark Confirm button needs light dots).
*/
.dot-loader{--dot-idle:#c1c4cd;--dot-active:#3e4784;display:grid;grid-template-columns:repeat(3,3px);grid-template-rows:repeat(3,3px);gap:2px}
.dot-loader i{width:3px;height:3px;border-radius:50%;background:var(--dot-idle);animation:dot-grid 1.08s linear infinite}
.dot-loader i:nth-child(1){animation-delay:0.00s}.dot-loader i:nth-child(2){animation-delay:0.96s}.dot-loader i:nth-child(3){animation-delay:0.48s}.dot-loader i:nth-child(4){animation-delay:0.36s}.dot-loader i:nth-child(5){animation-delay:0.72s}.dot-loader i:nth-child(6){animation-delay:0.12s}.dot-loader i:nth-child(7){animation-delay:0.60s}.dot-loader i:nth-child(8){animation-delay:0.24s}.dot-loader i:nth-child(9){animation-delay:0.84s}
@keyframes dot-grid{0%{background:var(--dot-active)}45%,100%{background:var(--dot-idle)}}
@media(prefers-reduced-motion:reduce){.dot-loader i{animation:none}.dot-loader i:nth-child(5){background:var(--dot-active)}}

/* --- Confirm: loader beside the label -----------------------------------
   Layout is animated in exactly one place (the button's width, from JS).
   Nothing inside transitions size, so the two never fight and stutter.      */
.confirm{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;transition:background 180ms,transform 180ms,box-shadow 180ms}
.confirm-label{display:inline-block}
.confirm-spinner{flex:none;width:0;height:13px;margin-right:0;opacity:0;overflow:hidden;--dot-idle:#ffffff59;--dot-active:#fff}
.confirm.is-loading{pointer-events:none}
.confirm.is-loading .confirm-spinner{width:13px;margin-right:8px}
/* The pressed state must not run while the width is easing. */
.confirm.is-loading:active{transform:none}

/* --- Add button: grows into its own fetching state ----------------------- */
/* Width is animated in one place (from JS); the loader and label snap, so the
   button and the shrinking input never fight over the same frame.           */
.manual-add .dot-loader{display:none;flex:none;width:13px;height:13px;padding:0}
.manual-add.is-fetching .dot-loader{display:grid}
.manual-add.is-fetching img{display:none}
/* Disabled guards the submit, but the button should still read as active. */
.manual-add.is-fetching{width:auto;pointer-events:none;color:#525866;background:#f6f8fa;box-shadow:none;gap:8px}

.manual-add.is-fetching .manual-add-label{color:#525866}

.manual-add .manual-add-label{padding-left:0}
