:root{font-family:Inter,Arial,sans-serif;color:#14263f;background:#f5f8fc;font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:#176bc5;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button{background:#176bc5;color:#fff;border:1px solid #176bc5;border-radius:8px;padding:9px 14px;cursor:pointer;min-height:40px}button:hover{background:#0d58aa}button:disabled{opacity:.55;cursor:wait}.quiet{background:#fff;color:#176bc5;border-color:#cddced}.quiet:hover{background:#edf5ff}.top{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #dfe7f1;padding:13px clamp(16px,3vw,40px)}.brand{font-weight:750;font-size:16px;display:flex;align-items:center;gap:10px}.mark{display:grid;place-items:center;width:30px;height:30px;color:white;background:#176bc5;border-radius:8px;font-size:20px}main{padding:18px clamp(16px,3vw,40px) 36px;max-width:1800px;margin:auto}.notice{color:#376083;margin-bottom:12px}.error{color:#b42436!important}.tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-bottom:1px solid #dbe5f0;margin-bottom:20px}.tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#536d88;border-radius:0;padding:10px 13px}.tabs button.active{border-color:#176bc5;color:#123e70;font-weight:700}.tabs a{margin-left:auto}.heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:16px}.heading p{margin:4px 0 0;color:#536d88;max-width:900px}h1{font-size:23px;line-height:1.2;margin:0}h2{font-size:17px;margin:0 0 8px}h3{font-size:15px;margin:18px 0 8px}.card{background:#fff;border:1px solid #dfe7f1;border-radius:12px;padding:18px;margin:0 0 15px;box-shadow:0 2px 6px rgba(18,47,83,.03)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px}.wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:6px;font-weight:600;min-width:0}label small,.muted{color:#647a91;font-weight:400}input,textarea,select{width:100%;border:1px solid #c8d6e5;border-radius:8px;background:#fff;color:#14263f;padding:9px 10px;min-height:40px}textarea{resize:vertical}input:focus,textarea:focus,select:focus,button:focus-visible{outline:2px solid #79b4ef;outline-offset:1px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.copyline{display:flex;gap:9px;align-items:stretch}.copyline code,#webhookSecret{background:#f1f6fc;border:1px solid #dbe7f3;border-radius:8px;padding:10px;display:block;flex:1;overflow-wrap:anywhere;min-width:0}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}pre{background:#112e4f;color:#e8f4ff;border-radius:9px;padding:16px;overflow:auto;line-height:1.6}.formhead{display:flex;align-items:start;justify-content:space-between;gap:16px}.formhead h2{overflow-wrap:anywhere}.formhead p{margin:0}.maprow{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,1fr);align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid #edf1f6}.maprow strong,.maprow small{display:block;overflow-wrap:anywhere}.maprow small{color:#647a91;margin-top:3px}.empty{color:#647a91}.filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:14px}.filters label{min-width:160px}.tablewrap{overflow:auto;background:#fff;border:1px solid #dfe7f1;border-radius:10px}table{border-collapse:collapse;min-width:780px;width:100%}th,td{text-align:left;padding:10px 13px;border-bottom:1px solid #e8eef5;vertical-align:top}th{background:#f5f9fe;color:#536d88;font-size:12px;text-transform:uppercase;letter-spacing:.03em}td{overflow-wrap:anywhere}.detail td{padding-top:0;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.metric{background:#fff;border:1px solid #dfe7f1;border-radius:10px;padding:15px}.metric span,.metric strong{display:block}.metric span{color:#647a91}.metric strong{font-size:24px;color:#0c4d91}.chart{max-width:900px}.barrow{display:grid;grid-template-columns:minmax(120px,220px) 1fr 50px;gap:12px;align-items:center;padding:5px 0}.barrow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bartrack{height:13px;background:#e8f2fd;border-radius:6px;overflow:hidden}.bar{height:100%;background:#257bd2;border-radius:6px}.platform{display:grid;grid-template-columns:220px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #e8eef5}.platform span{color:#536d88}footer{display:flex;gap:16px;padding:15px clamp(16px,3vw,40px);border-top:1px solid #dfe7f1;color:#647a91;background:#fff}.public main{max-width:1100px;padding-top:45px}.hero{background:#eaf4ff;border:1px solid #d2e8fc;border-radius:20px;padding:clamp(24px,5vw,56px);margin-bottom:20px}.hero h1{font-size:clamp(28px,4.2vw,48px);max-width:800px}.hero p{font-size:17px;max-width:700px}.featuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.legal main{max-width:850px}.legal article{background:#fff;border:1px solid #dfe7f1;border-radius:12px;padding:clamp(20px,4vw,36px)}.legal h2{margin-top:24px}.legal p,.legal li{line-height:1.7}.legal .revision{color:#647a91}@media(max-width:700px){.top{align-items:start}.top>a{font-size:12px}.tabs a{margin-left:0;padding:10px}.grid,.maprow,.platform{grid-template-columns:1fr}.featuregrid,.metrics{grid-template-columns:repeat(2,1fr)}.heading,.formhead{flex-direction:column}.copyline{flex-direction:column}.filters label{flex:1 1 40%}.hero{padding:25px}footer{flex-wrap:wrap}}@media(max-width:420px){.featuregrid,.metrics{grid-template-columns:1fr}.barrow{grid-template-columns:100px 1fr 30px}.top .brand{font-size:14px}}
.expense{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e8eef5;padding:8px 0}.expense button{min-height:32px;padding:5px 10px}
.demo-badge{color:#176bc5;background:#e8f3ff;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:700}.buttonlink{display:inline-block;background:#176bc5;color:#fff;padding:11px 16px;border-radius:8px;font-weight:700}.buttonlink:hover{background:#0d58aa;color:#fff;text-decoration:none}
.companions{display:flex;gap:22px;flex-wrap:wrap;border:1px solid #dfe7f1;border-radius:8px;padding:10px 14px}.companions legend{font-weight:700;padding:0 6px}.companions label{display:flex;flex-direction:row;align-items:center;font-weight:500;gap:7px}.companions input[type=checkbox]{width:17px;height:17px;min-height:0;margin:0}.route-preview{display:block;color:#154e91;background:#ecf5ff;border:1px solid #d3e7fb;border-radius:8px;padding:9px 12px}.route-preview:empty{display:none}
[hidden]{display:none!important}
.maptargets{display:grid;gap:7px}.targetline{display:flex;gap:6px;align-items:center}.targetline select{flex:1;min-width:0}.targetline button{min-width:40px;padding:5px}.maptargets>button{justify-self:start;min-height:32px;padding:5px 10px}
@media(max-width:420px){.top{flex-wrap:wrap}.top .brand{width:100%;min-width:0}.demo-badge{margin-left:auto}}

/* Shared text hierarchy: readable Cyrillic, compact CRM workspace. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55;font-synthesis:none}
body{font-kerning:normal}main{padding-top:20px}.brand{font-weight:700;line-height:1.35;min-width:0}.mark{flex:0 0 30px}
h1{font-size:1.6rem;line-height:1.25;letter-spacing:-.02em}h2{font-size:1.2rem;line-height:1.35}h3{font-size:1rem;line-height:1.4}
p{margin:0 0 1rem}.heading{margin-bottom:20px}.heading p{max-width:76ch;line-height:1.55;margin-top:8px}.card>p{max-width:80ch}.card>h2+p{margin-top:8px}
small,.muted,.notice,footer{font-size:.875rem;line-height:1.5;color:#4e647d}.notice{max-width:95ch}.error{line-height:1.5}
label{font-weight:600;line-height:1.4}label small{font-weight:400}.grid{gap:18px 24px}.card{padding:20px}.formhead{margin-bottom:18px}.formhead h2{font-size:1.1rem}.formhead .muted{margin-top:5px}
input,textarea,select{font-size:1rem;line-height:1.4;min-height:44px}button{min-height:44px;font-weight:600;line-height:1.3}.tabs button{font-weight:500}.tabs button.active{font-weight:700}
.companions{gap:12px 24px}.companions label{min-height:32px}.route-preview{font-weight:600;line-height:1.5}.maprow{align-items:start;padding:16px 0}.maprow small{font-size:.875rem;line-height:1.45}.maptargets>button{font-size:.875rem}
.tablewrap{max-width:100%}table{font-size:.875rem;line-height:1.5;font-variant-numeric:tabular-nums}th{font-size:.8rem;text-transform:none;letter-spacing:0;font-weight:650;line-height:1.35;color:#3e5874;padding:12px 14px}td{padding:12px 14px}
#analytics th:nth-child(n+4),#analytics td:nth-child(n+4){text-align:right}#analytics td:nth-child(n+4){white-space:nowrap}#journal td:first-child{white-space:nowrap;font-size:.8rem}
.metric{padding:16px 18px}.metric span{font-size:.875rem;color:#4e647d}.metric strong{font-size:1.8rem;line-height:1.2;margin-top:7px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.barrow strong{font-variant-numeric:tabular-nums;text-align:right}.barrow span{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.platform{line-height:1.5}.status-tag{display:inline-block;padding:3px 8px;border-radius:6px;font-size:.8rem;font-weight:600;background:#edf3fa;color:#345573}.status-tag.ok{background:#e8f5ee;color:#216343}.status-tag.error,.status-tag.partial{background:#fff0eb;color:#98401d}
pre{font-size:.8rem}code{font-size:.85em}.copyline code{line-height:1.6}.filters label{flex:1 1 155px;max-width:250px}.filters button{align-self:end}footer{flex-wrap:wrap}
@media(max-width:700px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:16px}.heading{gap:12px}.maprow{gap:10px}.top{flex-wrap:wrap}.top .brand{width:100%}.top>a{font-size:.875rem}.demo-badge{margin-left:auto}}
@media(max-width:420px){main{padding:16px 12px 28px}.top{padding:12px}.tabs{gap:2px}.tabs button{padding:9px 10px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:12px}.metric strong{font-size:1.45rem}.filters label{max-width:none;min-width:0}.targetline button{flex:0 0 40px}.companions{gap:8px 14px}.heading h1{font-size:1.45rem}.expense{flex-wrap:wrap}}
/* Connection workspace and searchable controls. */
[hidden]{display:none!important}.site-context{display:flex;gap:12px;align-items:end;margin:0 0 20px}.site-context label{min-width:230px;max-width:440px;flex:1}.site-context button{margin-bottom:0}.site-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.site-tile{padding:24px;min-width:0}.site-tile h2{font-size:1.15rem}.site-tile p{overflow-wrap:anywhere}.site-tile .actions{margin-top:24px}.site-route{min-height:44px;color:#29486a}.text-button{background:none;border:0;color:#176bc5;padding:0;min-height:36px;margin-bottom:12px}.text-button:hover{background:none;text-decoration:underline}.steps{display:flex;list-style:none;padding:0;gap:12px;margin:20px 0}.steps li{flex:1;border-bottom:3px solid #dfe7f1;padding:10px 0;color:#6b7d93}.steps li.active{border-color:#176bc5;color:#134a85;font-weight:650}.route-editor{margin:24px 0}.route-editor>h2{margin:24px 0 14px}.route-editor .companions{margin:18px 0}.route-preview{display:block;margin:16px 0;padding:12px 16px;border-radius:8px;background:#edf5ff}.search-select{position:relative;min-width:0}.search-select>input{width:100%;padding-right:30px;background:#fff}.search-select:after{content:'⌄';position:absolute;right:12px;top:10px;color:#69819a;pointer-events:none}.select-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:40;background:white;border:1px solid #c8d8e8;box-shadow:0 8px 26px #17345122;border-radius:9px;max-height:270px;overflow:auto;padding:5px}.select-option{display:block;width:100%;background:#fff;border:0;color:#223a55;text-align:left;border-radius:5px;min-height:40px;padding:8px 10px;font-weight:400}.select-option:hover,.select-option.highlight,.select-option[aria-selected=true]{background:#edf5ff;color:#174e89}.select-option:disabled{opacity:.55;cursor:not-allowed}.select-empty{padding:8px}.recipient-picker{border:1px solid #dbe5ef;border-radius:10px;padding:14px;max-width:850px}.recipient-picker>input{width:100%}.recipient-chips{display:flex;flex-wrap:wrap;gap:8px}.recipient-chip{background:#eaf3ff;color:#195289;border-color:#cddff4;border-radius:20px;min-height:32px;padding:5px 12px;font-size:.875rem;margin-bottom:12px}.picker-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:10px 0}.picker-tabs button{background:transparent;color:#526b85;border:0;min-height:34px;padding:5px 10px;font-size:.875rem}.picker-tabs button.active{background:#eaf3ff;color:#155394}.recipient-options{max-height:230px;overflow:auto}.recipient-option{display:flex!important;align-items:center;gap:12px;cursor:pointer;padding:9px;border-radius:7px}.recipient-option:hover{background:#f3f7fc}.recipient-option>input{width:18px;min-height:18px;margin:0;flex:0 0 18px}.recipient-option span{display:flex;flex-direction:column;gap:2px}.recipient-option strong{font-weight:550}.recipient-option small{font-size:.8rem;color:#6b7d91}.recipient-picker>p{font-size:.8rem;line-height:1.5;margin:12px 0 0}.record-links{min-width:210px}.record-link{display:block;padding:3px 0;width:fit-content}.skeleton{background:linear-gradient(90deg,#e7edf5 25%,#f4f7fb 50%,#e7edf5 75%);background-size:200% 100%;animation:skeleton-pulse 1.6s ease infinite;border-radius:10px}.top-skeleton{height:64px;border-radius:0}.heading-skeleton{width:40%;height:34px;margin:24px 0}.skeleton-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tile-skeleton{height:170px}.form-skeleton{height:330px;margin-top:24px}@keyframes skeleton-pulse{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}.guide-search{max-width:620px;margin:18px 0}.guide-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.guide-tile{display:flex;align-items:center;gap:12px;text-align:left;min-height:90px;padding:18px;color:#223b58;background:#fff;border:1px solid #dae5ef}.guide-tile:hover{background:#f0f6ff;color:#174f8b;border-color:#8fb4dd}.guide-tile img{width:40px;height:40px;object-fit:contain;flex:0 0 40px}.guide-tile span{overflow-wrap:anywhere}.guide-detail{max-width:900px}.guide-detail li{margin:12px 0;line-height:1.65}.guide-detail .guide-brand{display:flex;gap:14px;align-items:center;margin-bottom:20px}.guide-brand img{width:48px;height:48px;object-fit:contain}.guide-detail .muted{font-size:.875rem}.guide-detail ol{padding-left:24px}.guide-detail h2{font-size:1.3rem}.guide-count{font-size:.875rem;color:#6c8096;margin-bottom:14px}
@media(max-width:700px){.site-context{align-items:stretch;flex-direction:column}.site-context label{max-width:none;min-width:0}.site-cards{grid-template-columns:1fr}.steps{gap:8px;font-size:.85rem}.skeleton-grid{grid-template-columns:1fr}.tile-skeleton:nth-child(n+2){display:none}.heading-skeleton{width:75%}.site-tile{padding:18px}.guide-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-tile{padding:12px;gap:10px;flex-direction:column;align-items:start}.guide-tile img{width:32px;height:32px}.recipient-picker{padding:10px}.picker-tabs button{padding:7px;font-size:.8rem}.top .brand{width:auto}.top>a{margin-left:auto}}
.recipient-option{flex-direction:row;text-align:left;justify-content:flex-start}.recipient-option>span{align-items:flex-start}.developer-help{margin-top:20px}
.recipient-option>span{min-width:0;overflow-wrap:anywhere}
/* Keep action rows distinct from fields and installation code. */
#newSiteForm>.actions{margin-top:24px}
#wizardCode>.actions,.formcard>.actions,.formcard .actions{margin-top:20px}
.actions>button{margin:0}.actions>span:empty{display:none}
.wizard-complete-actions{gap:12px}.wizard-complete-actions+p{margin:16px 0 0}
.copyline>button{flex-shrink:0}
.developer-help[open]>summary{margin-bottom:16px}
@media(max-width:600px){.wizard-complete-actions{align-items:stretch;flex-direction:column}.wizard-complete-actions>button{width:100%}#newSiteForm>.actions{row-gap:12px}}
.copyline{gap:12px}
/* Consistent spacing across forms, journal and instructions. */
.formhead>div{min-width:0}.formhead h2,.formhead p,.maprow strong,.maprow small{overflow-wrap:anywhere}
.maptargets{gap:12px}.targetline{gap:10px;align-items:flex-start}
.targetline>.search-select{flex:1;min-width:0}.targetline>button{flex:0 0 44px;min-width:44px;min-height:44px;padding:8px}
.maptargets>button{min-height:44px;padding:9px 12px}
#journal .filters{gap:12px;margin-bottom:20px}
.guide-brand h2{margin:0}.guide-detail h3{margin-top:24px;margin-bottom:12px}
.developer-help #webhookOutput{margin-top:20px;padding-top:16px;border-top:1px solid #dfe7f1}
.developer-help #webhookOutput p{margin-bottom:12px}
.guide-search{margin:20px 0}.guide-count{margin-bottom:16px}
@media(max-width:700px){.formhead{gap:16px}.formhead>button{align-self:flex-start}.maprow{gap:12px}.maptargets>button{max-width:100%}#journal .filters>button{min-width:120px}}
