:root{--ink:#252343;--muted:#8a89a6;--purple:#5a54b7;--purple-dark:#393475;--soft:#edeaff;--canvas:#f5f6ff;--line:#e6e7f3;--green:#23bd83;--red:#f07889;--shadow:0 18px 50px rgba(68,60,141,.11)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 92% 4%,#d9d2ff 0,transparent 25%),var(--canvas);color:var(--ink);font:14px/1.5 Inter,Segoe UI,Arial,sans-serif}.shell{min-height:100vh;padding:18px;display:flex;gap:18px}.rail{width:76px;flex:0 0 76px;border-radius:25px;background:linear-gradient(180deg,#635cc2,#49449e 68%,#3d397e);color:#fff;display:flex;flex-direction:column;align-items:center;padding:18px 10px;box-shadow:var(--shadow);position:sticky;top:18px;height:calc(100vh - 36px);z-index:20}.brand{width:46px;height:46px;border:0;border-radius:16px;background:#fff;color:var(--purple);display:grid;place-items:center;font-size:21px;font-weight:900;margin-bottom:28px;cursor:pointer}.nav{display:grid;gap:10px}.nav a{width:48px;height:46px;border-radius:15px;color:#dfddff;text-decoration:none;display:grid;place-items:center;font-size:19px}.nav a:hover,.nav a.active{background:#fff;color:var(--purple)}.spacer{flex:1}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f6c4b9;color:#58479d;font-weight:900}.drawer{position:fixed;z-index:30;top:18px;left:112px;width:272px;min-height:calc(100vh - 36px);background:#fff;border-radius:25px;padding:24px 17px;box-shadow:0 22px 60px rgba(42,34,106,.22);transform:translateX(-22px);opacity:0;visibility:hidden;transition:.23s ease}.drawer.open{transform:translateX(0);opacity:1;visibility:visible}.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:1px 6px 22px}.drawer-head strong{font-size:19px}.drawer-close{width:32px;height:32px;border:0;border-radius:10px;background:var(--soft);color:var(--purple);font-size:18px;cursor:pointer}.drawer-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#aaa8c0;font-weight:800;padding:12px 10px 7px}.drawer-nav{display:grid;gap:5px}.drawer-link{display:flex;align-items:center;gap:12px;border-radius:13px;padding:12px 11px;color:#555372;text-decoration:none;font-weight:700}.drawer-link:hover,.drawer-link.active{background:var(--soft);color:var(--purple)}.drawer-note{margin-top:20px;padding:15px;background:linear-gradient(135deg,#f0edff,#fff4fb);border-radius:16px;color:#615d87;font-size:12px}.drawer-note strong{display:block;color:var(--purple-dark);margin-bottom:4px}.main{min-width:0;flex:1;max-width:1220px;margin:auto}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;color:var(--muted)}.top strong{color:var(--ink)}.profile{font-weight:800}.card{background:#fff;border:1px solid #fff;border-radius:22px;padding:24px;box-shadow:0 8px 22px rgba(68,60,141,.08);margin-bottom:16px}.hero{background:linear-gradient(110deg,#504ba2,#7067cf 65%,#938be2);color:#fff;border-radius:25px;padding:30px;margin-bottom:16px}.eyebrow{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#ddd9ff;font-weight:800}.hero h1{font-size:34px;line-height:1.1;margin:8px 0}.hero p{margin:0;color:#eeeaff}.head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.head h2{margin:0;font-size:20px}.sub{margin:4px 0 0;color:var(--muted);font-size:12px}.btn{border:0;border-radius:11px;padding:10px 14px;font-weight:800;cursor:pointer}.primary{background:var(--purple);color:#fff}.secondary{background:var(--soft);color:var(--purple)}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.metric{background:#fbfbff;border:1px solid var(--line);border-radius:14px;padding:14px}.metric small{display:block;color:var(--muted);text-transform:uppercase;font-size:10px;letter-spacing:.08em}.metric strong{display:block;margin-top:5px}.status{display:flex;align-items:center;gap:7px}.status i{width:8px;height:8px;border-radius:50%;background:var(--red)}.status.ok i{background:var(--green)}.list{display:grid;gap:8px;margin-top:14px}.row{display:flex;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fbfbff}.row small{color:var(--muted)}.steps{display:grid;gap:10px}.step{display:flex;gap:12px;align-items:flex-start;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fbfbff}.num{width:26px;height:26px;border-radius:9px;background:var(--soft);color:var(--purple);display:grid;place-items:center;font-weight:900}.footer{color:var(--muted);font-size:11px;padding:10px 4px}@media(max-width:720px){.shell{padding:10px;gap:10px}.rail{width:58px;flex-basis:58px;padding:13px 6px;top:10px;height:calc(100vh - 20px);border-radius:19px}.brand{width:38px;height:38px}.nav a{width:42px;height:42px}.drawer{left:78px;top:10px;min-height:calc(100vh - 20px);width:min(272px,calc(100vw - 92px));border-radius:20px}.grid{grid-template-columns:repeat(2,1fr)}.hero{padding:22px 20px}.hero h1{font-size:27px}.card{padding:18px}}
/* Wider tablet breakpoint: prevent cramped cards and table overflow */
@media(max-width:1000px){.connection-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.account-table{overflow:hidden}.account-table table{min-width:0!important;width:100%}.account-table th:nth-child(4),.account-table td:nth-child(4),.account-table th:nth-child(5),.account-table td:nth-child(5){display:none}.card{margin-bottom:20px}}
@media(max-width:560px){.connection-summary{gap:14px}.account-table th:nth-child(3),.account-table td:nth-child(3){display:none}}
/* Keep the first registry card visually separated from summary cards */
.connection-summary + .card{margin-top:20px}
/* Control Panel dropdown */
.nav a svg,.rail-btn svg,.rail-control-toggle svg,.drawer-toggle svg{width:20px;height:20px;display:block;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.drawer-toggle{position:relative;justify-content:flex-start;width:100%;font:inherit;cursor:pointer;border:0;background:transparent}.drawer-toggle .drawer-chevron{margin-left:auto;font-size:16px;color:#8b87b2;transition:transform .2s ease}.drawer-toggle[aria-expanded="true"] .drawer-chevron{transform:rotate(180deg)}.drawer-subnav{display:grid;gap:3px;margin:0 0 5px 14px;padding:4px 0 4px 12px;border-left:2px solid #eeeaff}.drawer-sublink{display:flex;align-items:center;gap:10px;padding:10px 9px;border-radius:11px;color:#77739a;text-decoration:none;font-size:13px;font-weight:700;border:0;background:transparent;font-family:inherit;cursor:pointer}.drawer-sublink:hover,.drawer-sublink.active{background:#f1efff;color:#5147bd}.drawer-subnav[hidden]{display:none}
.rail-control-toggle{width:48px;height:46px;border:0;border-radius:15px;background:transparent;color:#dfddff;display:grid;place-items:center;font:inherit;font-size:19px;cursor:pointer}.rail-control-toggle:hover,.rail-control-toggle.active{background:#fff;color:var(--purple)}
.drawer-sublink-toggle{position:relative;justify-content:flex-start;width:100%;font:inherit;cursor:pointer;background:transparent}.drawer-sublink-toggle .drawer-chevron{margin-left:auto;color:#8b87b2;transition:transform .2s ease}.drawer-sublink-toggle[aria-expanded="true"] .drawer-chevron{transform:rotate(180deg)}.settings-subnav{display:grid;gap:3px;margin:0 0 4px 16px;padding-left:10px;border-left:2px solid #eeeaff}.settings-subnav[hidden]{display:none}
strong,b,.btn,.drawer-link,.drawer-sublink,.profile,.eyebrow,.brand,.avatar,.num{font-weight:500!important}
.shopify-ui h1,.shopify-ui h2,.shopify-ui h3,.shopify-ui h4,.shopify-ui h5,.shopify-ui h6,.shopify-ui strong,.shopify-ui b,.shopify-ui .btn,.shopify-ui .drawer-link,.shopify-ui .drawer-sublink{font-weight:500!important}
h1,h2,h3,h4,h5,h6{font-weight:500!important}
