﻿/* Shared MageNative-style builder UI â€” loaded globally from root.tsx.
   Keeps typography, cards, inputs, buttons and grids consistent. */
.mn,.pn,.disc,.fs,.ig{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#202223;padding:0 16px 24px}
.mn h1,.pn h1,.disc h1,.fs h1,.ig h1{margin:0;font-size:22px}
.mn .sub,.pn .sub,.disc .sub,.fs .sub,.ig .sub{color:#6d7175;font-size:13px;margin:2px 0 6px}
.mn .top{position:sticky;top:0;z-index:30;background:#fff;padding:12px 0 8px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}
.mn .tabs,.mn .steps{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.mn .tab,.mn .step,.mn .btn,.pn .btn,.disc .btn,.fs .btn,.ig .btn{padding:7px 14px;border-radius:8px;border:0;background:#e3e3e3;cursor:pointer;font-size:13px;font-family:inherit;color:#202223;text-decoration:none;display:inline-block}
.fs .btn,.ig .btn{background:#303030;color:#fff}
.mn .tab.on,.mn .step.on{background:#303030;color:#fff;font-weight:600}
.mn .btn{background:#e3e3e3}
.mn .btn.dark,.pn .btn.dark,.disc .btn.dark{background:#303030;color:#fff}
.mn .btn:disabled,.pn .btn:disabled,.disc .btn:disabled,.fs .btn:disabled,.ig .btn:disabled{opacity:.4;cursor:not-allowed}
.mn .btn:hover:not(:disabled){background:#d4d4d4}
.mn .btn.dark:hover:not(:disabled){background:#1a1a1a}
.mn .tab:hover:not(.on){background:#f1f1f1}
.mn .card,.pn .card,.disc .card,.fs .card,.ig .card{background:#fff;border:1px solid #e1e3e5;border-radius:12px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.mn .themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.mn .theme{border:2px solid #e1e3e5;border-radius:12px;overflow:hidden;cursor:pointer;background:#fff}
.mn .theme.on{border-color:#005bd3}
.mn .modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:50}
.mn input[type=text],.mn input:not([type]),.mn select,.pn input,.pn select,.pn textarea,.disc input,.disc select,.fs input[type=text],.ig input[type=text]{padding:8px 10px;border:1px solid #c9cccf;border-radius:8px;width:100%;box-sizing:border-box;font:inherit;background:#fff;color:#202223}
.mn input[type=number],.mn input[type=color],.mn input[type=datetime-local],.pn input[type=datetime-local],.disc input[type=datetime-local],.disc input[type=number]{padding:8px 10px;border:1px solid #c9cccf;border-radius:8px;width:100%;box-sizing:border-box;font:inherit;background:#fff;color:#202223}
.mn input[type=color]{padding:2px;height:34px;cursor:pointer}
.mn input[type=checkbox],.pn input[type=checkbox],.disc input[type=checkbox]{width:16px;height:16px;accent-color:#008060}
.mn label,.pn label,.disc label,.fs label,.ig label{font-size:12px;color:#6d7175;display:block;margin-bottom:3px;font-weight:500}
.mn .row,.pn .row,.disc .row{display:flex;gap:10px;align-items:center;margin-bottom:8px;flex-wrap:wrap}
.mn .field,.pn .field,.disc .field{margin-bottom:12px}
.mn input:focus,.mn select:focus,.pn input:focus,.pn select:focus,.pn textarea:focus,.disc input:focus,.disc select:focus,.fs input:focus,.ig input:focus{outline:2px solid #005bd3;outline-offset:-1px}
.mn .swatch{width:28px;height:28px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #c9cccf;cursor:pointer;padding:0;flex:none}
.mn .swatch.on{box-shadow:0 0 0 2px #005bd3}
.pn table,.disc table{width:100%;border-collapse:collapse;font-size:13px}
.pn th,.pn td,.disc th,.disc td{text-align:left;padding:8px;border-bottom:1px solid #eee;vertical-align:top}
.fs .item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #eee}
.fs .item:first-of-type{border-top:0}
.fs .sw,.ig .sw{position:relative;width:38px;height:22px;border-radius:11px;background:#c9cccf;cursor:pointer;border:0;padding:0;flex:none}
.fs .sw.on,.ig .sw.on{background:#008060}
.fs .sw::after,.ig .sw::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.fs .sw.on::after,.ig .sw.on::after{left:18px}
.ig .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.ig .card.on{border-color:#008060}
.ig .head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.ig .note,.disc .note{background:#fff8e6;border:1px solid #ffe08a;border-radius:8px;padding:10px;font-size:13px;margin-bottom:12px}
/* ---- phone emulator: thin custom scrollbars, hidden until hover ---- */
.phone-screen{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#b9bec4 transparent;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.phone-screen::-webkit-scrollbar{width:5px}
.phone-screen::-webkit-scrollbar-track{background:transparent}
.phone-screen::-webkit-scrollbar-thumb{background:#c4c9cf;border-radius:3px}
.phone-screen:hover::-webkit-scrollbar-thumb{background:#9aa0a8}
.phone-screen{scrollbar-width:thin}
.hrow{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#b9bec4 transparent;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding:2px 12px 10px}
.hrow::-webkit-scrollbar{height:5px}
.hrow::-webkit-scrollbar-track{background:transparent}
.hrow::-webkit-scrollbar-thumb{background:#c4c9cf;border-radius:3px}
.hrow:hover::-webkit-scrollbar-thumb{background:#9aa0a8}
.hrow>*{scroll-snap-align:start;flex-shrink:0}
/* product titles: 2-line clamp so "pipe plug DINâ€¦" never clips mid-row */
.ptitle{font-size:12px;font-weight:600;margin-top:5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:32px;word-break:break-word}
/* canvas scroll controls */
.canvas-col{display:flex;flex-direction:column;align-items:center;gap:10px}
/* emulator modal: single clean sheet, no double-phone look */
.emu-modal{position:fixed;inset:0;background:rgba(17,17,17,.55);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:60;padding:16px;box-sizing:border-box}
.emu-sheet{background:#f6f6f7;border-radius:20px;max-height:94vh;width:auto;max-width:96vw;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.emu-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #e9eaeb;padding:14px 20px}
.emu-sheet-head b{font-size:16px;color:#1a1a1a}
.emu-sheet-body{padding:20px 28px;overflow:auto;display:flex;justify-content:center}
/* emulator device bar: compact segmented control */
.emu-bar{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;margin-bottom:14px}
/* build center (publish tab) */
.build-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #f0f0f0}
.build-row:last-of-type{border-bottom:0}
.build-app{display:flex;align-items:center;gap:12px}
.build-icon{font-size:26px}
.btn-primary-s{background:#008060;color:#fff;border:0;border-radius:8px;padding:9px 20px;font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap}
.btn-primary-s:disabled{opacity:.45;cursor:not-allowed}
.btn-primary-s:not(:disabled):hover{background:#006e52}
.btn-ghost-s{background:#fff;color:#202223;border:1px solid #c9cccf;border-radius:8px;padding:7px 14px;font-size:12.5px;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.build-ok{font-size:12.5px;color:#1a5c3a;background:#e3f2e7;border-radius:8px;padding:9px 12px;margin-top:10px;font-weight:500}
.build-list{margin-top:16px;display:flex;flex-direction:column;gap:8px}
.build-item{display:flex;align-items:center;gap:10px;border:1px solid #e9eaeb;border-radius:10px;padding:10px 12px;background:#fafbfb}
.build-item .build-icon{font-size:20px}
.build-status{font-size:11.5px;font-weight:700;border-radius:999px;padding:3px 11px;white-space:nowrap}
.emu-bar select{padding:7px 12px;border-radius:999px;border:1px solid #d2d5d9;background:#fff;font-size:13px;font-weight:600;color:#202223;cursor:pointer}
.emu-zooms{display:inline-flex;background:#e9eaeb;border-radius:999px;padding:3px;gap:2px}
.emu-zooms button{border:0;background:transparent;border-radius:999px;padding:6px 14px;font-size:12.5px;font-weight:600;color:#5c5f62;cursor:pointer}
.emu-zooms button.on{background:#fff;color:#1a1a1a;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.emu-zooms button:hover:not(.on){color:#1a1a1a}
.builder-2col{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
.builder-3col{display:grid;grid-template-columns:190px minmax(0,1fr) 260px;gap:12px;align-items:start}
.publish-2col{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start;margin-top:16px}
/* ---- Polished store-publish page (MageNative layout, refined) ---- */
.pub-page{max-width:1120px;margin:0 auto;padding:8px 4px 24px}
.pub-section{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;padding:26px 0;border-bottom:1px solid #e9eaeb}
.pub-left h3{margin:0 0 8px;font-size:15px;font-weight:700;color:#1a1a1a}
.pub-left p{margin:0;font-size:13.5px;line-height:1.55;color:#6d7175;max-width:260px}
.pub-card{background:#fff;border:1px solid #e1e3e5;border-radius:14px;padding:22px;box-shadow:0 1px 3px rgba(0,0,0,.07)}
.pub-field{margin-bottom:18px}
.pub-field label{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:500;color:#303030;margin-bottom:7px}
.pub-field label i{color:#d72c0d;font-style:normal;font-weight:700}
.pub-card input,.pub-card select,.pub-card textarea{padding:9px 12px;border:1px solid #8c9196;border-radius:8px;width:100%;box-sizing:border-box;font:inherit;font-size:13.5px;background:#fff;color:#202223;transition:border-color .12s, box-shadow .12s}
.pub-card textarea{resize:vertical;min-height:44px;padding-bottom:22px}
.pub-card input:focus,.pub-card select:focus,.pub-card textarea:focus{outline:none;border-color:#1a1a1a;box-shadow:0 0 0 1px #1a1a1a}
.pub-card input.invalid,.pub-card textarea.invalid{border-color:#d72c0d;box-shadow:0 0 0 1px #d72c0d}
.pub-hint{font-size:12.5px;color:#6d7175;margin-top:6px;line-height:1.45}
.pub-err{font-size:12.5px;color:#d72c0d;margin-top:5px;font-weight:500}
.input-wrap{position:relative}
.input-wrap input{padding-right:64px}
.input-wrap textarea{padding-right:12px}
.char-count{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#8c9196;pointer-events:none;white-space:nowrap}
.input-wrap .char-count{top:auto;bottom:8px;transform:none}
.phone-row{display:flex;gap:10px}
.phone-row select{flex:0 0 128px}
.phone-row input{flex:1}
.pill-btn{padding:7px 20px;border-radius:999px;border:1px solid #c9cccf;background:#fff;cursor:pointer;font-size:13px;font-weight:600;color:#202223;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.pill-btn:hover{border-color:#1a1a1a}
.kw-pill{margin-left:auto;font-size:11.5px;font-weight:500;color:#6d7175;background:#f1f1f1;border-radius:999px;padding:2px 10px}
.kw-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.kw-tag{font-size:12px;background:#eef7f2;color:#1a5c3a;border:1px solid #c9e5d3;border-radius:999px;padding:3px 11px;font-weight:500}
.pub-foot{text-align:center;font-size:12.5px;color:#6d7175;padding:22px 0 4px}
.pub-foot a{color:#006fbb;text-decoration:none;font-weight:500}
.pub-foot a:hover{text-decoration:underline}
/* publish header + progress */
.pub-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:4px 0 6px}
.pub-head h2{margin:0;font-size:19px;font-weight:700}
.pub-head p{margin:4px 0 0;font-size:13px;color:#6d7175}
.pub-progress{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e1e3e5;border-radius:12px;padding:10px 16px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.pub-ring{width:40px;height:40px;flex:none}
.pub-submit{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:20px;position:sticky;bottom:0;background:linear-gradient(transparent,#fff 30%);padding:14px 0 4px}
.pub-submit .btn-primary{background:#008060;color:#fff;border:0;border-radius:8px;padding:10px 26px;font-size:14px;font-weight:600;cursor:pointer}
.pub-submit .btn-primary:disabled{opacity:.45;cursor:not-allowed}
.pub-submit .btn-primary:not(:disabled):hover{background:#006e52}
.pub-submit .btn-ghost{background:#fff;color:#202223;border:1px solid #c9cccf;border-radius:8px;padding:10px 18px;font-size:13.5px;font-weight:500;cursor:pointer}
@media (max-width:860px){.pub-section{grid-template-columns:minmax(0,1fr);gap:12px}.pub-left p{max-width:none}.phone-row select{flex-basis:110px}}
/* ---- Theme gallery v2 (MageNative layout, Superfans polish) ---- */
.theme-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:4px}
.theme-head h2{margin:0;font-size:19px;font-weight:700}
.theme-head p{margin:4px 0 0;font-size:13px;color:#6d7175}
.theme-filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}
.theme-chip{padding:7px 16px;border-radius:999px;border:1px solid #d2d5d9;background:#fff;font-size:13px;font-weight:500;cursor:pointer;color:#303030}
.theme-chip.on{background:#1a1a1a;color:#fff;border-color:#1a1a1a}
.theme-chip:hover:not(.on){border-color:#1a1a1a}
.themes2{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin-top:14px}
.theme2{background:#fff;border:1.5px solid #e9eaeb;border-radius:16px;overflow:hidden;cursor:pointer;transition:border-color .15s, box-shadow .15s, transform .15s}
.theme2:hover{box-shadow:0 8px 26px rgba(0,0,0,.11);transform:translateY(-2px)}
.theme2.on{border-color:#005bd3;box-shadow:0 0 0 1.5px #005bd3, 0 8px 26px rgba(0,91,211,.14)}
.theme2-shot{position:relative;height:270px;overflow:hidden;background:#f6f6f7;border-bottom:1px solid #f0f0f0}
.theme2-custom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fafbfb;border-bottom:1px dashed #e1e3e5}
.theme2-plus{width:52px;height:52px;border:1.5px dashed #b5b9be;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:26px;color:#8c9196;background:#fff}
.theme2-build{font-size:13px;color:#6d7175;font-weight:500}
.theme-shot{height:100%;padding:10px;display:flex;flex-direction:column;gap:8px}
.theme-shot-top{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:6px 10px;color:#fff;font-size:10px;font-weight:700}
.theme-shot-icons{font-weight:400;opacity:.9}
.theme-shot-hero{position:relative;border-radius:10px;overflow:hidden;height:96px;flex:none;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.theme-shot-hero img{width:100%;height:100%;object-fit:cover;display:block}
.theme-shot-cta{position:absolute;left:8px;bottom:8px;color:#fff;font-size:9px;font-weight:700;border-radius:999px;padding:4px 12px}
.theme-shot-cats{display:flex;gap:6px}
.theme-shot-cats span{width:30px;height:30px;border-radius:50%;overflow:hidden;flex:none;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.theme-shot-cats img{width:100%;height:100%;object-fit:cover;display:block}
.theme-shot-row{display:flex;gap:8px;flex:1;min-height:0}
.theme-shot-card{flex:1;background:#fff;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.theme-shot-card img{width:100%;flex:1;min-height:0;object-fit:cover;display:block}
.theme-shot-card b{display:block;height:6px;margin:6px 8px 8px;border-radius:3px;opacity:.85}
.theme2-badge{position:absolute;top:10px;left:10px;background:#1a1a1a;color:#fff;font-size:10.5px;font-weight:700;border-radius:999px;padding:3px 11px;letter-spacing:.02em}
.theme2-tick{position:absolute;top:10px;right:10px;width:26px;height:26px;border-radius:50%;background:#005bd3;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.theme2-hover{position:absolute;inset:auto 0 0 0;display:flex;gap:8px;justify-content:center;padding:10px;background:linear-gradient(transparent,rgba(0,0,0,.55));opacity:0;transition:opacity .15s}
.theme2-shot:hover .theme2-hover{opacity:1}
.theme2-hover button{border:1px solid #fff;background:#fff;color:#1a1a1a;border-radius:999px;padding:6px 16px;font-size:12px;font-weight:700;cursor:pointer}
.theme2-hover button.ghost{background:transparent;color:#fff}
.theme2-meta{padding:14px 16px 16px}
.theme2-name{font-size:15px;font-weight:700;color:#1a1a1a}
.theme2-sub{font-size:12.5px;color:#6d7175;margin-top:3px;line-height:1.45}
.theme2-dot{width:16px;height:16px;border-radius:50%;flex:none;margin-top:3px;border:2px solid #fff;box-shadow:0 0 0 1px #d2d5d9}
.theme-modal{background:#fff;border-radius:16px;padding:0;max-height:92vh;max-width:640px;width:92vw;overflow:hidden}
.theme-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:18px 20px 0}
.theme-modal-body{display:flex;gap:20px;padding:16px 20px 22px;overflow:auto;max-height:calc(92vh - 80px)}
.theme-modal-side{flex:1;min-width:180px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
/* ---- customize step header ---- */
.custom-head{display:flex;align-items:center;gap:14px;background:#fff;border:1.5px solid #e9eaeb;border-left-width:5px;border-radius:12px;padding:12px 16px;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.custom-head-t{display:flex;flex-direction:column;gap:1px;flex:1}
.custom-head-t b{font-size:15px;color:#1a1a1a}
.custom-head-t span{font-size:12.5px;color:#6d7175}
.custom-dot{width:26px;height:26px;border-radius:50%;flex:none;border:3px solid #fff;box-shadow:0 0 0 1.5px #d2d5d9}
.theme-swatch-row{display:flex;gap:8px}
.theme-swatch{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #d2d5d9}
@media (max-width:560px){.theme-modal-body{flex-direction:column;align-items:center}}
/* ---- distinct per-theme card art ---- */
.ts-split{display:flex;gap:8px;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.10)}
.ts-split img{width:52%;height:104px;object-fit:cover;display:block}
.ts-split-t{flex:1;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:8px}
.ts-split-t b{font-size:12px;color:#1a1a1a}
.ts-split-t span{font-size:10px;color:#6d7175}
.ts-split-t em{font-style:normal;color:#fff;font-size:9px;font-weight:700;border-radius:999px;padding:4px 10px;margin-top:4px;text-align:center}
.ts-count{display:flex;justify-content:space-between;align-items:center;border-radius:8px;color:#fff;font-size:10px;padding:7px 10px}
.ts-count b{font-size:10px;letter-spacing:.03em}
.ts-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ts-tiles span{background:#fff;border-radius:8px;overflow:hidden;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,.08);padding-bottom:4px}
.ts-tiles img{width:100%;height:44px;object-fit:cover;display:block}
.ts-tiles b{font-size:8.5px;color:#333;font-weight:600}
.ts-wide{position:relative;border-radius:10px;overflow:hidden;height:92px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.ts-wide img{width:100%;height:100%;object-fit:cover;display:block}
.ts-wide span{position:absolute;left:8px;bottom:8px;color:#fff;font-size:9.5px;font-weight:700;border-radius:6px;padding:4px 10px}
.ts-offer{display:flex;justify-content:space-between;align-items:center;border-radius:10px;color:#fff;padding:10px 12px}
.ts-offer b{display:block;font-size:11px}
.ts-offer span{font-size:9.5px;opacity:.9}
.ts-offer em{font-style:normal;background:#fff;color:#1a1a1a;font-size:10px;font-weight:800;border-radius:999px;padding:6px 14px}
.ts-scroll{display:flex;gap:8px;overflow:hidden}
.ts-scroll span{position:relative;flex:1;border-radius:10px;overflow:hidden;height:96px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.ts-scroll img{width:100%;height:100%;object-fit:cover;display:block}
.ts-scroll b{position:absolute;top:6px;left:6px;background:#fff;font-size:8.5px;font-weight:800;border-radius:999px;padding:2px 8px;color:#1a1a1a}
.ts-chips{display:flex;gap:6px;flex-wrap:wrap}
.ts-chips span{font-size:9.5px;font-weight:700;border:1.5px solid;border-radius:999px;padding:3px 10px;background:#fff}
.ts-search{background:#fff;border-radius:999px;font-size:10px;color:#8c9196;padding:8px 12px;box-shadow:inset 0 0 0 1px #e5e5e5}
.ts-pills{display:flex;gap:8px}
.ts-pills span{flex:1;background:#fff;border-radius:10px;overflow:hidden;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,.08);padding-bottom:4px}
.ts-pills img{width:100%;height:44px;object-fit:cover;display:block}
.ts-pills b{font-size:9px;color:#333}
.ts-list{display:flex;flex-direction:column;gap:6px}
.ts-list>span{display:flex;gap:8px;align-items:center;background:#fff;border-radius:10px;padding:6px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.ts-list img{width:38px;height:38px;border-radius:8px;object-fit:cover}
.ts-list-t{flex:1;display:flex;justify-content:space-between;align-items:center}
.ts-list-t b{font-size:10.5px;color:#1a1a1a}
.ts-list-t em{font-style:normal;color:#fff;font-size:9px;font-weight:700;border-radius:999px;padding:4px 12px}
.ts-video{position:relative;border-radius:10px;overflow:hidden;height:100px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.ts-video img{width:100%;height:100%;object-fit:cover;display:block}
.ts-play{position:absolute;inset:0;margin:auto;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.92);color:#1a1a1a;font-size:12px;display:flex;align-items:center;justify-content:center}
.ts-video-t{position:absolute;left:8px;bottom:8px;color:#fff;font-size:10px;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.ts-avatars{display:flex;gap:6px}
.ts-avatars span{width:30px;height:30px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.ts-avatars img{width:100%;height:100%;object-fit:cover;display:block}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin-top:14px}
.dash-card{background:#fff;border:1px solid #e1e3e5;border-radius:12px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.dashboard{max-width:1480px;margin:0 auto;padding-top:8px}
.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0 22px;border-bottom:1px solid #e1e3e5}
.dashboard-hero-copy{min-width:0}
.dashboard-eyebrow{color:#616a75;font-size:11px;font-weight:700;letter-spacing:.09em;margin-bottom:5px}
.dashboard-hero h1{font-size:26px;line-height:1.25;letter-spacing:-.02em}
.dashboard-subtitle{margin:7px 0 0;color:#616a75;font-size:14px;line-height:1.5}
.dashboard-subtitle strong{color:#30343b;font-weight:600}
.dashboard-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.dashboard-actions .btn{font-size:14px;padding:9px 15px;border-radius:9px}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.dashboard-stat{display:flex;min-width:0;min-height:142px;flex-direction:column;gap:7px;padding:16px 17px;background:#fff;border:1px solid #e1e3e5;border-radius:12px;color:#202223;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.dashboard-stat:hover{border-color:#b5c5d8;box-shadow:0 4px 14px rgba(31,41,55,.08);transform:translateY(-1px)}
.dashboard-stat:focus-visible,.dashboard-check-action:focus-visible,.dashboard-tool:focus-visible{outline:3px solid #005bd3;outline-offset:2px}
.dashboard-stat-top{display:flex;align-items:center;gap:9px}
.dashboard-stat-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#f1f4f8;color:#335b88;font-size:17px;font-weight:700}
.dashboard-stat-icon.success{background:#eaf6ef;color:#008060}
.dashboard-stat-icon.attention{background:#fff4e5;color:#9a6700}
.dashboard-stat-icon.info{background:#edf4ff;color:#005bd3}
.dashboard-stat-icon.neutral{background:#f1f2f3;color:#616a75}
.dashboard-stat-label{color:#616a75;font-size:13px;font-weight:600}
.dashboard-stat-value{overflow:hidden;color:#202223;font-size:24px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.dashboard-stat-detail{overflow:hidden;color:#6d7175;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-progress{margin-top:0!important;padding:20px!important}
.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.dashboard-section-heading h2{margin:0;font-size:20px;line-height:1.3}
.dashboard-muted{margin:5px 0 0;color:#6d7175;font-size:13px;line-height:1.5}
.dashboard-progress-count{display:flex;align-items:baseline;gap:7px;flex:none;color:#616a75;font-size:13px}
.dashboard-progress-count strong{color:#202223;font-size:24px}
.dashboard-progress-track{height:8px;margin:16px 0 14px;overflow:hidden;border-radius:999px;background:#e8eaec}
.dashboard-progress-value{height:100%;border-radius:inherit;background:#008060;transition:width .28s ease}
.dashboard-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dashboard-check{display:flex;min-width:0;align-items:center;gap:12px;padding:13px;border:1px solid #e8eaec;border-radius:10px;background:#fff}
.dashboard-check.complete{background:#fbfdfb}
.dashboard-check-mark{display:grid;width:32px;height:32px;place-items:center;flex:none;border:1px solid #dfe3e7;border-radius:50%;color:#616a75;font-size:12px;font-weight:700}
.dashboard-check.complete .dashboard-check-mark{border-color:#b8dfc7;background:#eaf6ef;color:#008060;font-size:16px}
.dashboard-check-copy{flex:1;min-width:0}
.dashboard-check-title{color:#30343b;font-size:14px;font-weight:650}
.dashboard-check-copy p{margin:3px 0 0;color:#6d7175;font-size:12px;line-height:1.45}
.dashboard-check-action{display:flex;align-items:center;gap:7px;flex:none;color:#005bd3;font-size:12px;font-weight:600;text-decoration:none}
.dashboard-check-action:hover{text-decoration:underline}
.dashboard-check-action span{font-size:16px;line-height:1}
.dashboard-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.dashboard-tool{display:flex;min-width:0;align-items:center;gap:12px;padding:15px;background:#fff;border:1px solid #e1e3e5;border-radius:11px;color:#202223;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease}
.dashboard-tool:hover{border-color:#b5c5d8;box-shadow:0 3px 12px rgba(31,41,55,.07)}
.dashboard-tool-icon{display:grid;width:36px;height:36px;place-items:center;flex:none;border-radius:10px;background:#f1f4f8;color:#335b88;font-size:19px;font-weight:650}
.dashboard-tool>span:nth-child(2){display:grid;min-width:0;gap:3px}
.dashboard-tool strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-tool small{overflow:hidden;color:#6d7175;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-tool-arrow{margin-left:auto;color:#6d7175;font-size:18px}
.analytics-page{max-width:1480px;margin:0 auto;padding:10px 4px 28px;color:#202223}
.analytics-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.analytics-header h1{margin:0;font-size:25px;line-height:1.25}
.analytics-header p{margin:5px 0 0;color:#616a75;font-size:13px;line-height:1.45}
.analytics-range-form{display:flex;align-items:center;gap:8px;flex:none}
.analytics-range-form label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.analytics-range-form select{min-height:36px;padding:7px 11px;border:1px solid #d2d5d9;border-radius:9px;background:#fff;color:#202223;font:inherit;font-size:13px}
.analytics-tabs{display:flex;gap:7px;align-items:center;overflow-x:auto;margin:20px 0 14px;border-bottom:1px solid #e6e8ea}
.analytics-tabs a{padding:9px 13px;border-radius:9px 9px 0 0;color:#42474d;text-decoration:none;font-size:13px;white-space:nowrap}
.analytics-tabs a.active{background:#e9eaeb;color:#202223;font-weight:650}
.analytics-tabs a:hover{background:#f4f5f6}
.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.analytics-card{min-width:0;background:#fff;border:1px solid #e1e3e5;border-radius:13px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.analytics-kpi{padding:16px;min-height:155px;display:flex;flex-direction:column;gap:7px}
.analytics-kpi>span{color:#42474d;font-size:13px;font-weight:600}
.analytics-kpi>strong{font-size:23px;line-height:1.2;letter-spacing:-.02em}
.analytics-kpi>small{color:#6d7175;font-size:11px;line-height:1.35}
.analytics-spark{height:37px;margin-top:auto;overflow:hidden}
.analytics-spark .analytics-chart-wrap{height:100%;display:block}
.analytics-spark .analytics-chart{height:100%}
.analytics-spark .analytics-chart-scale,.analytics-spark .analytics-chart-dates{display:none}
.analytics-spark svg{overflow:visible}
.analytics-empty-spark{height:2px;margin-top:auto;background:#e7eefb;border-radius:4px}
.analytics-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;align-items:stretch}
.analytics-panel{padding:17px}
.analytics-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.analytics-card-heading h2{margin:0;font-size:16px;line-height:1.35}
.analytics-card-heading p{margin:4px 0 0;color:#6d7175;font-size:12px;line-height:1.4}
.analytics-legend{display:flex;align-items:center;justify-content:space-between;margin:17px 0 2px;color:#616a75;font-size:12px}
.analytics-legend span{display:flex;align-items:center;gap:7px}
.analytics-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#005bd3}
.analytics-legend strong{color:#202223;font-size:19px}
.analytics-chart-wrap{position:relative;min-width:0;padding-left:78px}
.analytics-chart-scale{position:absolute;left:0;top:0;bottom:22px;display:flex;flex-direction:column;justify-content:space-between;color:#7b8085;font-size:10px;white-space:nowrap}
.analytics-chart{height:190px;min-width:0}
.analytics-chart svg{width:100%;height:100%;overflow:visible}
.analytics-gridline{stroke:#e5e7e9;stroke-width:.7;vector-effect:non-scaling-stroke}
.analytics-line{fill:none;stroke:#005bd3;stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.analytics-chart-dates{display:flex;justify-content:space-between;margin:6px 0 0;color:#777d83;font-size:10px}
.analytics-panel-foot{margin-top:14px;padding-top:11px;border-top:1px solid #eff0f1;color:#6d7175;font-size:11px}
.analytics-large-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:20px 0 10px;font-size:24px;font-weight:700}
.analytics-large-value small{color:#008060;font-size:11px;font-weight:500}
.analytics-notice{margin:14px 0;padding:12px 14px;border:1px solid #f0d08c;border-radius:10px;background:#fff8e6;color:#664d03;font-size:13px;line-height:1.5}
.analytics-notice details{margin-top:6px}
.analytics-notice summary{cursor:pointer;font-weight:600}
.analytics-notice p{margin:5px 0 0;font-size:12px;overflow-wrap:anywhere}
.analytics-empty-state{display:flex;min-height:190px;flex-direction:column;align-items:center;justify-content:center;padding:12px 24px;text-align:center}
.analytics-empty-state>span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#f1f4f8;color:#005bd3;font-size:22px}
.analytics-empty-state strong{margin-top:10px;font-size:14px}
.analytics-empty-state p{max-width:420px;margin:6px 0 0;color:#6d7175;font-size:12px;line-height:1.5}
.analytics-empty-state.compact{min-height:0;padding:19px 8px 2px;text-align:left;align-items:flex-start}
.analytics-empty-state.compact strong{margin-top:0}
.analytics-journey-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
.analytics-journey-stats>div{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #e8eaec;border-radius:10px}
.analytics-journey-stats span{color:#6d7175;font-size:11px}
.analytics-journey-stats strong{font-size:19px}
@media(max-width:1050px){.analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.analytics-header{align-items:flex-start;flex-direction:column}.analytics-range-form{width:100%}.analytics-range-form select{width:100%}.analytics-panels{grid-template-columns:1fr}.analytics-chart{height:165px}}
@media(max-width:430px){.analytics-kpis{grid-template-columns:1fr}.analytics-kpi{min-height:128px}.analytics-page{padding-top:2px}.analytics-chart-wrap{padding-left:62px}}
@media(max-width:1050px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-tools{grid-template-columns:1fr}}
@media(max-width:760px){.dashboard{padding-top:0}.dashboard-hero{align-items:flex-start;flex-direction:column;padding:14px 0 18px}.dashboard-hero h1{font-size:22px}.dashboard-actions{width:100%}.dashboard-actions .btn{flex:1;text-align:center}.dashboard-checklist{grid-template-columns:1fr}.dashboard-check{align-items:flex-start;flex-wrap:wrap}.dashboard-check-action{margin-left:44px}.dashboard-section-heading{align-items:flex-start}.dashboard-progress{padding:15px!important}}
@media(max-width:420px){.dashboard-stats{grid-template-columns:1fr}.dashboard-stat{min-height:unset}.dashboard-progress-count{font-size:11px}.dashboard-progress-count strong{font-size:20px}}
@media (max-width:1100px){
  .builder-3col{grid-template-columns:170px minmax(0,1fr)}
  .builder-3col .builder-settings{grid-column:1/-1}
  .builder-2col{grid-template-columns:minmax(0,1fr) 320px}
}
@media (max-width:820px){
  .builder-2col,.publish-2col{grid-template-columns:minmax(0,1fr)}
  .builder-3col{grid-template-columns:minmax(0,1fr)}
  .mn .top{position:static}
}
/* publish guide + build guide (append to public/builder.css) */
.pub-steps-title{display:block;font-size:14px;margin-bottom:12px;color:#1a1a1a}
.pub-steps{margin:0;padding-left:20px;font-size:13.5px;line-height:1.6;color:#303030}
.pub-steps>li{margin-bottom:10px}
.pub-steps ul{margin:6px 0 0;padding-left:20px;list-style:disc;color:#5c5f62}
.pub-link{color:#006fbb;text-decoration:none;font-weight:500}
.pub-link:hover{text-decoration:underline}
.build-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.build-steps li{display:flex;gap:12px;align-items:flex-start;font-size:13.5px}
.build-num{flex:none;width:24px;height:24px;border-radius:50%;background:#008060;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
/* Integrations: keep the embedded admin content within its available width. */
.ig{box-sizing:border-box;width:100%;max-width:1180px;min-width:0;margin:0 auto}
.ig>*{min-width:0}
.ig .ig-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ig .ig-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0}
.ig .ig-success{color:#1a5c3a;font-size:13px}
.ig .ig-error{color:#b42318;font-size:13px}
.ig .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ig .card{min-width:0}
.ig .head{align-items:center}
.ig .ig-card-copy{flex:1;min-width:0}
.ig .ig-card-title{display:flex;align-items:center;gap:9px;min-width:0;font-weight:700}
.ig .ig-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:9px;background:#f1f4f8;color:#335b88}
.ig .ig-card-title>span:last-child{overflow-wrap:anywhere}
.ig .ig-field{margin-top:12px}
.ig .ig-field input{width:100%;min-width:0}
.ig .sw{min-height:22px}
@media(max-width:720px){.ig .grid{grid-template-columns:minmax(0,1fr)}.ig .ig-actions{justify-content:flex-start}}
/* Pricing plans */
.plans-page{box-sizing:border-box;width:100%;max-width:1120px;margin:0 auto;padding:10px 24px 32px;color:#202223;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.plans-heading{margin:0 auto 18px;max-width:900px}
.plans-eyebrow{color:#6d7175;font-size:11px;font-weight:700;letter-spacing:1.1px}
.plans-heading h1{margin:4px 0 5px;font-size:24px;line-height:1.25;color:#202223}
.plans-heading p,.plans-panel-heading p{margin:0;color:#6d7175;font-size:13px;line-height:1.55}
.plans-status{display:flex;align-items:center;gap:12px;max-width:900px;margin:0 auto 14px;padding:13px 15px;border:1px solid #e1e3e5;border-radius:10px;background:#fff}
.plans-status-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#eaf5ee;color:#16804a;font-weight:700}
.plans-status-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}
.plans-status-copy strong{font-size:14px}
.plans-status-copy span{color:#6d7175;font-size:12px;line-height:1.45}
.plans-manage-link{flex:none;color:#005bd3;font-size:12px;font-weight:600;text-decoration:none}
.plans-manage-link:hover{text-decoration:underline}
.plans-notice{display:flex;flex-direction:column;gap:3px;max-width:900px;margin:0 auto 14px;padding:11px 14px;border:1px solid #f0d08c;border-radius:8px;background:#fff8e6;color:#664d03;font-size:12px;line-height:1.5}
.plans-notice strong{font-size:13px}
.plans-panel{max-width:900px;margin:0 auto;padding:20px 20px 22px;border:1px solid #e1e3e5;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.plans-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 16px}
.plans-panel-heading h2{margin:0 0 3px;font-size:18px}
.plans-billing-note{color:#6d7175;font-size:11px;white-space:nowrap}
.plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.plans-card{position:relative;display:flex;min-width:0;flex-direction:column;padding:22px 18px 16px;border:1px solid #e1e3e5;border-radius:11px;background:#fff}
.plans-card.is-current{border:2px solid #303030;padding:21px 17px 15px}
.plans-badge{position:absolute;top:-12px;left:14px;padding:4px 10px;border-radius:999px;background:#303030;color:#fff;font-size:9px;font-weight:700;letter-spacing:.35px}
.plans-badge-popular{background:#e9f4ec;color:#236b3c}
.plans-card-heading h3{margin:0;font-size:16px;line-height:1.3}
.plans-card-heading p{min-height:37px;margin:5px 0 13px;color:#6d7175;font-size:11px;line-height:1.5}
.plans-price{display:flex;align-items:baseline;gap:6px;min-height:42px}
.plans-price strong{font-size:28px;line-height:1;font-weight:700;letter-spacing:-.7px}
.plans-price span{color:#6d7175;font-size:11px}
.plans-price-custom strong{font-size:24px;letter-spacing:-.3px}
.plans-includes{margin:10px 0 8px;padding-top:12px;border-top:1px solid #e9eaeb;color:#6d7175;font-size:11px;font-weight:700}
.plans-features{display:flex;flex:1;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}
.plans-features li{display:flex;align-items:flex-start;gap:8px;color:#45494c;font-size:11px;line-height:1.5}
.plans-features li span{flex:none;color:#269567;font-size:14px;font-weight:700;line-height:1.15}
.plans-card-footer{margin-top:20px}
.plans-button{display:flex;min-height:38px;align-items:center;justify-content:center;box-sizing:border-box;width:100%;padding:8px 10px;border:1px solid #202223;border-radius:7px;background:#202223;color:#fff;font:inherit;font-size:11px;font-weight:650;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}
.plans-button:hover:not(:disabled){border-color:#3a3a3a;background:#3a3a3a}
.plans-button:focus-visible,.plans-manage-link:focus-visible{outline:2px solid #005bd3;outline-offset:2px}
.plans-button:disabled{border-color:#c9cccf;background:#f1f2f3;color:#8c9196;cursor:not-allowed}
.plans-button-outline{border-color:#c9cccf;background:#fff;color:#202223}
.plans-button-outline:hover:not(:disabled){background:#f6f6f7}
.plans-current-action{display:grid;min-height:38px;place-items:center;color:#6d7175;font-size:11px;font-weight:600}
.plans-custom-note{margin:9px 0 0;color:#6d7175;font-size:10px;line-height:1.45}
@media(max-width:900px){.plans-page{padding-right:16px;padding-left:16px}.plans-panel{padding:18px 16px}.plans-grid{gap:10px}.plans-card{padding-right:13px;padding-left:13px}.plans-card.is-current{padding-right:12px;padding-left:12px}}
@media(max-width:680px){.plans-page{padding:4px 12px 24px}.plans-heading{margin-bottom:14px}.plans-heading h1{font-size:21px}.plans-status{align-items:flex-start;padding:11px}.plans-manage-link{margin-top:8px}.plans-panel{padding:16px 12px}.plans-panel-heading{align-items:flex-start;flex-direction:column}.plans-grid{grid-template-columns:minmax(0,1fr);gap:18px}.plans-card{min-height:0;padding:20px 17px 15px}.plans-card.is-current{padding:19px 16px 14px}.plans-card-heading p{min-height:0}.plans-features{gap:8px}.plans-card-footer{margin-top:16px}}