/* Adwisely demo — Shopify admin + Polaris-like embedded app, Noravelle example store */
:root{
  --bg:#f1f1f1; --surface:#fff; --surface2:#f7f7f7; --border:#e3e3e3; --border2:#d4d4d4;
  --text:#303030; --sub:#616161; --faint:#8a8a8a; --radius:12px;
  --succ-bg:#cdfee1; --succ:#0c5132; --succ-strong:#29845a;
  --att-bg:#ffeb78; --att:#4f4700; --warn-bg:#ffd6a4; --warn:#5e4200;
  --crit-bg:#fee9e8; --crit:#8e1f0b; --info-bg:#e0f0ff; --info:#00527c;
  --brand:#7b61ff; --magic:#8051ff; --magic-bg:#f3eefe;
  --ink:#1a1a1a;
  /* Noravelle brand */
  --nv-ink:#1F1B18; --nv-page:#F4F0EB; --nv-wall:#ECE8E3; --nv-accent:#8B5E3C; --nv-serif:"Cormorant Garamond", "Didot", Georgia, serif;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--ink);-webkit-font-smoothing:antialiased;overflow:hidden}
button{font:inherit;cursor:pointer;color:inherit}
img,video{display:block}
a{color:#005bd3;text-decoration:none}

/* ---------- Shopify admin chrome ---------- */
.topbar{height:56px;background:#1a1a1a;display:flex;align-items:center;gap:14px;padding:0 14px 0 16px;color:#e3e3e3}
.topbar .sh{display:flex;align-items:center;width:236px}
.topbar .sh img{height:24px;width:auto}
.topbar .search{flex:1;max-width:560px;margin:0 auto;height:34px;border-radius:10px;background:#303030;border:1px solid #4a4a4a;display:flex;align-items:center;gap:8px;padding:0 12px;color:#a8a8a8;font-size:13px}
.topbar .search kbd{font:11px Inter;color:#b5b5b5;background:#4a4a4a;border-radius:4px;padding:1px 5px}
.topbar .search kbd:first-of-type{margin-left:auto}
.topbar .right{display:flex;align-items:center;gap:12px;width:236px;justify-content:flex-end}
.topbar .bell{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#cfcfcf}
.topbar .store{display:flex;align-items:center;gap:8px;background:#303030;border-radius:10px;padding:4px 10px 4px 4px;font-size:13px;color:#fff}
.topbar .store b{width:26px;height:26px;border-radius:7px;background:#e8d9c8;color:#1F1B18;display:grid;place-items:center;font:600 12px var(--nv-serif)}
.shell{display:flex;height:calc(100vh - 56px);background:#ebebeb;border-top-left-radius:0}
.side{width:240px;flex:none;background:#ebebeb;padding:10px 8px;overflow:auto;font-size:13px;display:flex;flex-direction:column}
.side .side-foot{margin-top:auto;padding-top:18px}
.side .appic{width:20px;height:20px;border-radius:5px;flex:none}
.side .app-it{cursor:pointer}
.side .app-it .pin{margin-left:auto;font-size:16px;line-height:1;color:#303030}
.side .subs{position:relative;margin-left:19px;border-left:1.5px solid #c9c9c9;padding-left:0}
.side .subs .sub{padding-left:16px}
.side .it{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:8px;color:#303030;font-weight:550;cursor:default}
.side .it svg{width:18px;height:18px;flex:none;color:#4a4a4a}
.side .it.on{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.side .sec{margin:12px 10px 4px;font-size:12px;font-weight:650;color:#616161;display:flex;align-items:center;justify-content:space-between}
.side .sub{font-weight:500;color:#4a4a4a;cursor:pointer}
.side .sub.on{background:#fff;color:#303030;font-weight:650}
.side .app{display:flex;align-items:center;gap:10px}
.side .app i{width:20px;height:20px;border-radius:5px;background:linear-gradient(135deg,#7b61ff,#3cc8ff);flex:none}
.main{flex:1;overflow:auto;background:#f1f1f1;border-top-left-radius:12px;position:relative;scroll-behavior:smooth}
.appbar{position:sticky;top:0;z-index:20;height:50px;background:#f1f1f1;border-bottom:1px solid #e3e3e3;display:flex;align-items:center;gap:8px;padding:0 18px;font-weight:600;font-size:17px;letter-spacing:-.2px}
.appbar .appic{width:22px;height:22px;border-radius:5px;flex:none}
.appbar .dots{margin-left:auto;color:#616161;font-weight:700;letter-spacing:1px}

/* ---------- Polaris page ---------- */
.page{max-width:1000px;margin:0 auto;padding:22px 24px 120px}
.page.narrow{max-width:840px}
.page.wide{max-width:1200px}
.ph{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.ph .back{width:30px;height:30px;border-radius:8px;border:0;background:transparent;display:grid;place-items:center;color:#4a4a4a}
.ph .back:hover{background:#e3e3e3}
.ph h1{margin:0;font-size:20px;font-weight:700;color:#303030;letter-spacing:-.2px}
.ph .acts{margin-left:auto;display:flex;gap:8px;align-items:center}
.step{color:var(--sub);margin:-6px 0 14px}
.grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start}
.col{display:flex;flex-direction:column;gap:16px}
.card{background:var(--surface);border-radius:var(--radius);box-shadow:0 1px 0 rgba(26,26,26,.07),0 0 0 1px rgba(0,0,0,.06);padding:16px}
.card.flush{padding:0;overflow:hidden}
/* Tables scroll sideways inside their card on narrow screens, so Preview and Edit stay reachable */
.card.flush:has(> table.tbl){overflow-x:auto}
.card h2{margin:0;font-size:14px;font-weight:650;color:#303030}
.card h3{margin:0;font-size:13px;font-weight:650}
.muted{color:var(--sub)}
.small{font-size:12.5px}
.tiny{font-size:11.5px}
.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.row.nw{flex-wrap:nowrap}
.sp{margin-left:auto}
.stack{display:flex;flex-direction:column;gap:12px}
.divider{height:1px;background:var(--border);margin:14px -16px}
.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:550;border-radius:8px;padding:2px 8px;background:#e3e3e3;color:#4a4a4a;white-space:nowrap;line-height:18px}
.badge.info{background:var(--info-bg);color:var(--info)}
.badge.succ{background:var(--succ-bg);color:var(--succ)}
.badge.warn{background:var(--warn-bg);color:var(--warn)}
.badge.crit{background:var(--crit-bg);color:var(--crit)}
.badge.magic{background:var(--magic-bg);color:var(--magic)}
.badge.dot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.btn{border:0;border-radius:8px;padding:6px 12px;font-weight:600;font-size:13px;background:#fff;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);white-space:nowrap;line-height:20px}
.btn:hover{background:#f7f7f7}
.btn.primary{background:#303030;color:#fff;box-shadow:inset 0 -1px 0 #000,0 1px 0 rgba(0,0,0,.2)}
.btn.primary:hover{background:#1a1a1a}
.btn.primary[disabled]{background:#b5b5b5;box-shadow:none;cursor:default}
.btn.magic{background:var(--magic);color:#fff;box-shadow:inset 0 -1px 0 #5a2fd1}
.btn.plain{background:transparent;box-shadow:none;color:#005bd3;padding:4px 6px}
.btn.lg{padding:9px 16px;font-size:14px}
.btn .ext{font-size:11px;margin-left:2px}
.link{color:#005bd3;cursor:pointer}
.field{display:flex;flex-direction:column;gap:5px}
.field label{font-size:13px;color:#303030}
.input{border:1px solid #8a8a8a;border-radius:8px;padding:7px 10px;font:inherit;background:#fff;min-height:34px;width:100%}
.input.ta{min-height:84px;line-height:1.45}
.help{font-size:12.5px;color:var(--sub)}
.check{width:18px;height:18px;border-radius:50%;background:var(--succ-strong);display:inline-grid;place-items:center;flex:none}
.check::after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.circle{width:18px;height:18px;border-radius:50%;border:1.5px dashed #8a8a8a;flex:none}
.radio{width:18px;height:18px;border-radius:50%;border:1.5px solid #8a8a8a;display:inline-grid;place-items:center;flex:none;background:#fff}
.sel .radio{border-color:#303030}
.sel .radio::after{content:"";width:8px;height:8px;border-radius:50%;background:#303030}
.tip{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#8a8a8a;cursor:default;vertical-align:middle;outline:none}.tip svg{width:20px;height:20px}.tip:hover,.tip:focus-visible{color:#4a4a4a}
.banner{border-radius:12px;padding:12px 14px;display:flex;gap:10px;align-items:flex-start}
.banner.info{background:var(--info-bg);color:#00314b}
.banner.warn{background:#fff1e3;box-shadow:inset 0 0 0 1px #ffd6a4}
.banner.succ{background:#eafdf1;box-shadow:inset 0 0 0 1px #b4fed2}
.banner.magic{background:var(--magic-bg);box-shadow:inset 0 0 0 1px #e1d4fe}
.toast{position:fixed;left:50%;top:18px;transform:translateX(-50%) translateY(-12px);background:#1a1a1a;color:#fff;padding:10px 16px;border-radius:10px;font-weight:550;opacity:0;transition:.25s;z-index:200;pointer-events:none}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.metric{padding:12px 16px;border-right:1px solid var(--border)}
.metric:last-child{border-right:0}
.metric .l{font-size:12.5px;color:var(--sub);text-decoration:underline dotted #b5b5b5;text-underline-offset:3px}
.metric .v{font-size:22px;font-weight:700;color:#303030;margin-top:2px;letter-spacing:-.3px}
.metric .d{font-size:12px;color:var(--succ-strong);font-weight:600}
table.tbl{width:100%;border-collapse:collapse;font-size:13px}
table.tbl th{text-align:left;font-weight:600;color:var(--sub);font-size:12px;padding:8px 12px;background:var(--surface2);border-bottom:1px solid var(--border)}
table.tbl td{padding:10px 12px;border-bottom:1px solid #efefef}
table.tbl td.n,table.tbl th.n{text-align:right;font-variant-numeric:tabular-nums}
.prog{height:8px;border-radius:4px;background:#e3e3e3;overflow:hidden}
.prog i{display:block;height:100%;background:var(--magic);border-radius:4px;transition:width .5s}
.spinner{width:28px;height:28px;border-radius:50%;border:3px solid #e3e3e3;border-top-color:#303030;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{border:1px solid var(--border2);background:#fff;border-radius:999px;padding:4px 11px;font-size:12.5px;font-weight:550;color:#4a4a4a}
.chip[aria-pressed=true]{background:#303030;border-color:#303030;color:#fff}
.seg{display:inline-flex;background:#ececec;border-radius:10px;padding:3px;gap:2px}
.seg button{border:0;background:transparent;padding:5px 12px;border-radius:8px;font-weight:600;font-size:12.5px;color:#4a4a4a}
.seg button[aria-pressed=true]{background:#fff;color:#111;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.stat{background:#f6fef9;border-radius:10px;padding:10px 12px;box-shadow:inset 0 0 0 1px #c9f2da}
.stat .v{font-size:22px;font-weight:750;color:var(--succ);letter-spacing:-.4px}
.stat .l{font-size:12px;color:#305a45}
.fade-in{animation:fin .35s ease}
@keyframes fin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------- tiles / pickers ---------- */
.tiles{display:grid;gap:14px}
.tiles.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tiles.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tiles.c6{grid-template-columns:repeat(6,minmax(0,1fr))}
.tile{border:2px solid transparent;border-radius:12px;padding:6px;background:#f7f7f7;cursor:pointer;transition:.12s}
.tile:hover{background:#f0f0f0}
.tile.sel{border-color:#303030;background:#fff}
.tile video,.tile .media{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px;background:#e9e9e9;overflow:hidden}
.tile .lab{display:flex;align-items:center;gap:8px;margin:9px 4px 3px;font-weight:650;font-size:13.5px}
.tile .desc{margin:0 4px 6px 30px;font-size:12px;color:var(--sub)}
.thumb64{width:52px;height:65px;border-radius:8px;object-fit:cover;background:#eee;flex:none}

/* ---------- phones & ad mockups ---------- */
.phone{width:280px;flex:none;aspect-ratio:9/19.3;border-radius:40px;background:#111;padding:10px;box-shadow:0 18px 40px rgba(0,0,0,.22),inset 0 0 0 2px #333}
.phone .scr{position:relative;width:100%;height:100%;border-radius:31px;overflow:hidden;background:#fff}
.phone .notch{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:92px;height:24px;border-radius:14px;background:#000;z-index:9}
.phone.sm{width:210px;border-radius:32px;padding:8px}
.phone.sm .scr{border-radius:25px}
.phone.sm .notch{width:70px;height:18px;top:6px}
.sbar{height:38px;display:flex;align-items:flex-end;justify-content:space-between;padding:0 22px 4px;font:600 12px Inter;color:#111}
.ig{background:#fff;font:13px/1.38 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#0f0f0f}
.ig-top{display:flex;align-items:center;justify-content:space-between;padding:4px 12px 8px;font-weight:700;font-size:17px;letter-spacing:-.3px}
.ig-h{display:flex;align-items:center;gap:8px;padding:7px 10px}
.av{width:30px;height:30px;border-radius:50%;background:var(--nv-page);border:1px solid #e5ddd3;display:grid;place-items:center;flex:none;overflow:hidden}
.av b{font:600 13px var(--nv-serif);color:var(--nv-ink)}
.ig-name{font-weight:650;font-size:13px;line-height:1.1}
.ig-sp{font-size:11px;color:#737373}
.ig-dots{margin-left:auto;font-weight:700;letter-spacing:1px}
.ig-media{position:relative;aspect-ratio:4/5;background:#eee;overflow:hidden}
.ig-media.sq{aspect-ratio:1/1}
.ig-media > img,.ig-media > video{width:100%;height:100%;object-fit:cover}
.ig-cta{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;font-weight:650;font-size:13px;background:#f3f3f3;border-bottom:1px solid #ececec}
.ig-strip{display:flex;gap:6px;padding:8px 10px 2px;overflow:hidden}
.ig-prod{width:66px;flex:none}
.ig-prod img{width:66px;height:82px;object-fit:cover;border-radius:6px;background:#f2f2f2}
.ig-prod div{font-size:10.5px;line-height:1.2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ig-act{display:flex;gap:14px;padding:8px 12px 2px}
.ig-act svg{width:22px;height:22px}
.ig-act .bm{margin-left:auto}
.ig-cap{padding:4px 12px 12px;font-size:12.5px}
.ig-cap b{font-weight:650;margin-right:4px}
.ig-cap .hl{display:block;font-weight:650;margin-top:3px}
.reel{position:absolute;inset:0;background:#000}
.reel > video,.reel > img,.reel > .tpl{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;border-radius:0}
.reel .ui{position:absolute;left:0;right:0;bottom:0;padding:12px 12px 16px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.75) 45%);padding-top:40px;font-size:11.5px}
.reel .who{display:flex;align-items:center;gap:6px;font-weight:650}
.reel .who .av{width:22px;height:22px}
.reel .who .av b{font-size:10px}
.reel .shop{margin-top:8px;background:rgba(255,255,255,.95);color:#111;border-radius:7px;text-align:center;padding:7px;font-weight:650}
.reel .rside{position:absolute;right:8px;bottom:118px;display:flex;flex-direction:column;gap:16px;color:#fff}
.reel .rside svg{width:22px;height:22px}
.carousel{display:flex;transition:transform .6s ease;height:100%}
.carousel > *{flex:0 0 100%;height:100%}
.carousel > img{width:100%;height:100%;object-fit:cover}
.dots{display:flex;gap:4px;justify-content:center;padding:6px 0 0}
.dots i{width:6px;height:6px;border-radius:50%;background:#c7c7c7}
.dots i.on{background:#3897f0}

/* ---------- Noravelle branded templates (container units) ---------- */
.tpl{position:relative;width:100%;container-type:inline-size;overflow:hidden;border-radius:6px;background:var(--nv-page);color:var(--nv-ink);font-family:Inter,sans-serif;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.tpl.r11{aspect-ratio:1/1;--st:5%;--sb:10%}
.tpl.r45{aspect-ratio:4/5;--st:5%;--sb:11%}
.tpl.r916{aspect-ratio:9/16;--st:14%;--sb:30%}
.tpl img.ph{position:absolute;object-fit:cover}
.tpl .logo{position:absolute;height:2.6cqw;width:auto}
.tpl .serif{font-family:var(--nv-serif)}
.tpl s{opacity:.55}
.tpl .off{background:var(--nv-accent);color:#fff;font-weight:700;font-size:3cqw;padding:.5cqw 1.4cqw;border-radius:99cqw;letter-spacing:.1cqw}


/* ---------- messenger ---------- */
.msgr{position:fixed;right:22px;bottom:22px;z-index:150;width:370px;background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.22);overflow:hidden;display:none}
.msgr.open{display:block;animation:fin .35s ease}
.msgr .hd{background:#fff;color:#1a1a1a;padding:12px 44px 12px 14px;border-bottom:1px solid #eee}
.msgr .hd .who{display:flex;align-items:center;gap:10px}
.msgr .hd .pics{display:flex}
.msgr .hd .pics span{width:30px;height:30px;border-radius:50%;border:2px solid #fff;margin-right:-8px;display:grid;place-items:center;color:#fff;font-weight:700;font-size:12px}
.msgr .body{padding:14px;max-height:430px;overflow:auto;background:#fff;display:flex;flex-direction:column;gap:12px}
.bubble{background:#f2f3f5;border-radius:14px 14px 14px 4px;padding:10px 12px;font-size:13px;line-height:1.45;color:#1a1a1a}
.msg-row{display:flex;gap:8px;align-items:flex-end}
.msg-row .mpic{width:26px;height:26px;border-radius:50%;flex:none;display:grid;place-items:center;color:#fff;font-weight:700;font-size:11px}
.msgr .composer{margin:10px 12px 12px;border:1px solid #e3e3e3;background:#f6f6f6;border-radius:12px;padding:10px 12px;color:#8a8a8a;font-size:13px;cursor:default}
input.bare{border:0;outline:0;background:transparent;font:inherit;flex:1;min-width:0}
.bubble.me{align-self:flex-end;background:#303030;color:#fff}
.bubble .meta{font-size:11px;color:#8a8a8a;margin-top:4px}
.msgr .x{position:absolute;right:10px;top:14px;background:transparent;border:0;color:#4a4a4a;width:26px;height:26px;border-radius:50%;font-size:15px}
.launcher{position:fixed;right:22px;bottom:22px;z-index:140;width:54px;height:54px;border-radius:50%;background:#00a238;box-shadow:0 8px 24px rgba(0,0,0,.25);display:grid;place-items:center;color:#fff;border:0}
.launcher .n{position:absolute;top:-2px;right:-2px;background:#e51c00;color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:1px 6px}

/* ---------- full-screen stages (app store, hook, meta preview) ---------- */
.stage{position:fixed;inset:0;z-index:100;overflow:auto;background:#fff}
.stage.dark{background:#0f0f10;color:#fff}
.stage.meta{background:#f0f2f5}

/* ---------- Shopify App Store listing (logged-in look) ---------- */
.as-top{border-bottom:1px solid #e3e3e3;background:#fff;position:sticky;top:0;z-index:5}
.as-wrap{max-width:1140px;margin:0 auto;padding:0 28px}
.as-top .as-wrap{height:60px}
.as-search{flex:1;max-width:430px;height:40px;border-radius:999px;border:1px solid #d4d4d4;display:flex;align-items:center;gap:8px;padding:0 16px;color:#6b6b6b;margin-left:110px}
.as-ava{width:34px;height:34px;border-radius:8px;background:#e8d9c8;color:#1F1B18;display:grid;place-items:center;font:600 14px var(--nv-serif)}
.as-hero{display:grid;grid-template-columns:280px 1fr;gap:56px}
.as-icon{width:44px;height:44px;border-radius:9px}
.as-side h1{font-size:17px;line-height:1.25;margin:0;letter-spacing:-.1px;font-weight:650}
.as-sec{padding:14px 0 0;font-size:13px;color:#303030}
.as-l{font-size:12px;font-weight:650;color:#1a1a1a;margin-bottom:3px}
.as-install{width:100%;margin-top:24px;background:#1a1a1a;color:#fff;border:0;border-radius:12px;padding:12px;font-weight:600;font-size:14.5px}
.as-install:hover{background:#000}
.as-gal{display:grid;grid-template-columns:3.2fr 1fr;gap:12px}
.as-main{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#f1f1f1;box-shadow:0 0 0 1px #d4d4d4}
.as-cap{position:absolute;left:0;right:0;bottom:0;height:13%;background:#1a8c45;color:#fff;display:grid;place-items:center;font-weight:800;font-size:clamp(13px,1.4vw,21px)}
.as-thumbs{display:grid;grid-template-rows:1fr 1fr 1fr;gap:10px}
.as-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:8px;box-shadow:0 0 0 1px #d4d4d4}
.as-more{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border-radius:999px;padding:4px 12px;font-weight:550;font-size:13px;box-shadow:0 1px 3px rgba(0,0,0,.2);white-space:nowrap}
.as-h2{font-size:16px;line-height:1.35;margin:0}
.as-ul{margin:0;padding-left:20px;color:#303030;line-height:1.85;font-size:14.5px}
.as-info{display:grid;grid-template-columns:190px 1fr auto;gap:12px;padding:16px 0;border-top:1px solid #e3e3e3;font-size:14.5px;align-items:start}
.as-info b{font-size:12px}
.as-pill{background:#f1f1f1;border-radius:8px;padding:3px 9px;font-size:12px;font-weight:550;white-space:nowrap}
.as-plan{border:1px solid #e3e3e3;border-radius:14px;padding:18px}
.as-plan ul{margin:6px 0 0;padding-left:18px;font-size:13.5px;line-height:1.8}
.ins-row{padding:12px;border-radius:10px;gap:12px}
.ins-row:hover{background:#f7f7f7}
.ins-ic{width:32px;height:32px;border-radius:8px;background:#f1f1f1;display:grid;place-items:center;color:#4a4a4a;flex:none}
.ins-ic svg{width:18px;height:18px}

/* ---------- hook ---------- */
.hk-l{color:#fff;font-weight:650;margin-bottom:14px;letter-spacing:.02em;height:20px}
.hk-dots{display:flex;gap:8px;justify-content:center;margin-top:14px;height:12px}
.hk-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#444;padding:0}
.hk-dots button.on{background:#fff}
.hk-seg{display:inline-flex;background:#1f1f22;border:1px solid #333;border-radius:999px;padding:4px;gap:4px}
.hk-seg button{border:0;background:transparent;color:#bdbdbd;padding:9px 18px;border-radius:999px;font-weight:600;font-size:14px}
.hk-seg button[aria-pressed=true]{background:#fff;color:#111}

/* ---------- Concierge holiday plan page (ai-operations look) ---------- */
.stage.plan{background:#f1f1f1;color:#1a1a1a}
.bp{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.bp-wrap{max-width:940px;margin:0 auto;padding:30px 24px}
.bp-h1{font-size:32px;line-height:1.15;margin:14px 0 12px;letter-spacing:-.6px}
.bp-pill{background:#fff4ec;color:#9a3d0c;border-radius:999px;padding:5px 12px;font-size:13px;box-shadow:inset 0 0 0 1px #ffd9c2}
.bp-tile{background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.bp-card{background:#fff;border-radius:14px;padding:16px 18px;box-shadow:0 0 0 1px rgba(0,0,0,.06);margin-top:14px}
.bp-note{background:#f6f9fe;color:#1d4f8f;border-radius:10px;padding:9px 12px;font-size:13px;margin-top:10px}
.bp-tbl td{vertical-align:top}
.bp-room{background:#eafdf1;border-radius:10px;padding:10px 12px;font-size:13px;box-shadow:inset 0 0 0 1px #b4fed2}
.bp-btn{border:0;border-radius:9px;padding:7px 12px;font-weight:600;font-size:13px;background:#fff;color:#2a78d6;box-shadow:inset 0 0 0 1px #c9daf3}
.bp-primary{display:block;width:100%;margin-top:10px;border:0;border-radius:11px;padding:13px;font-weight:700;font-size:15px;background:#2a78d6;color:#fff}
.bp-link{color:#2a78d6;cursor:pointer}
.bp-step{display:flex;gap:10px;align-items:flex-start;background:#f7f7f7;border-radius:10px;padding:10px;margin-bottom:8px}
.bp-step > span{width:22px;height:22px;border-radius:50%;background:#eb6834;color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px;flex:none}
.bp-why{background:#faf8f5;border-radius:12px;padding:12px;box-shadow:inset 0 0 0 1px #efe9e1}

/* ---------- Home: setup guide, side column ---------- */
.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.mt-l{font-size:13px;font-weight:600;text-decoration:underline dotted #b5b5b5;text-underline-offset:3px}
.sg-step{border-radius:10px;padding:9px 10px;cursor:pointer}
.sg-step.open{background:#f1f1f1;cursor:default;padding:12px}
.sg-step:not(.open):hover{background:#f7f7f7}
.ring{width:16px;height:16px;border-radius:50%;background:conic-gradient(#303030 calc(var(--p) * 1%),#e3e3e3 0);display:inline-grid;place-items:center;flex:none}
.ring::after{content:"";width:10px;height:10px;border-radius:50%;background:#fff}
.card.dim{opacity:.55}
.pgbtn{border:0;background:#f1f1f1;border-radius:6px;width:24px;height:22px;font-weight:700;color:#4a4a4a}
.stage.fb{background:#f0f2f5}
/* ---------- Facebook carousel ad mock ---------- */
.fbad{border:1px solid #ececec;border-radius:10px;overflow:hidden;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.fbad .fb-track{display:flex;gap:8px;padding:0 12px;transition:transform .6s ease}
.fb-card{flex:0 0 80%;border:1px solid #e4e4e4;border-radius:8px;overflow:hidden;background:#fff}
.fb-card .tpl{border-radius:0;box-shadow:none}
.fb-meta{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#f7f7f7}
.fb-meta > div{flex:1;min-width:0}
.fb-t{font-weight:650;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-shop{background:#e4e6eb;border-radius:6px;padding:5px 9px;font-weight:650;font-size:12px;white-space:nowrap}

/* ---------- order matching rows + journey ---------- */
.om-row{cursor:pointer}
.om-row:hover td{background:#fafafa}
.om-row.open td{background:#f7f7f7;border-bottom:0}
.om-detail td{background:#f7f7f7;padding:0 16px 14px}
.om-box{background:#fff;border-radius:10px;padding:14px 16px;box-shadow:0 0 0 1px #ececec}
.om-lab{font-size:11.5px;font-weight:650;color:#616161;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
.pfm{width:24px;height:24px;border-radius:50%;color:#fff;display:inline-grid;place-items:center;font-weight:700;font-size:10.5px;flex:none}
.cpill{display:inline-block;border-radius:99px;padding:1px 9px;font-size:12px;box-shadow:inset 0 0 0 1px #8a8a8a}
.cpill.new{background:#303030;color:#fff;box-shadow:none}
.jrow{display:flex;align-items:flex-start}
.jn{display:flex;flex-direction:column;align-items:center;width:110px;text-align:center}
.jline{flex:none;width:26px;height:2px;background:#d4d4d4;margin-top:15px}
.jdot{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:12px;flex:none}
.jdot.v{width:12px;height:12px;background:#c9c9c9;margin:9px 0}
.jdot.M{background:#0866ff}.jdot.G{background:#e5a11b}
.jdot.o{background:#fff;color:#0866ff;box-shadow:inset 0 0 0 2px #0866ff}
.jdot.m{outline:3px solid rgba(8,102,255,.28);outline-offset:2px}
.jdot.G.m{outline-color:rgba(229,161,27,.35)}
.jdot.buy{background:#303030}
.jl{font-size:11.5px;margin-top:6px;line-height:1.3}
.jl span{color:#8a8a8a}
.jmatch{display:inline-block;margin-top:4px;font-size:10.5px;font-weight:650;color:#0c5132;background:#cdfee1;border-radius:6px;padding:0 6px}

/* ---------- Shopify admin 2026: dark sidebar, rounded app panel ---------- */
.adm{display:flex;height:100vh;background:#1a1a1a}
.adm .side{width:226px;flex:none;background:#1a1a1a;padding:10px 8px;overflow:auto;font-size:13px;display:flex;flex-direction:column;color:#e3e3e3}
.adm .side .bagic{width:28px;height:28px;border-radius:8px;display:grid;place-items:center}
.adm .side .side-tog{color:#8a8a8a;font-size:13px}
.adm .side-search{display:flex;align-items:center;gap:8px;background:#303030;border-radius:9px;padding:7px 10px;color:#a8a8a8;margin:0 2px 10px;font-size:13px}
.adm .side-search svg{width:15px;height:15px}
.adm .side .it{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:8px;color:#e3e3e3;font-weight:500;cursor:default}
.adm .side .it svg{width:17px;height:17px;flex:none;color:#b5b5b5}
.adm .side .it.on{background:#303030;color:#fff;font-weight:600;box-shadow:none}
.adm .side .sec{margin:12px 10px 4px;font-size:12.5px;font-weight:550;color:#b5b5b5;display:flex;align-items:center;gap:4px;justify-content:flex-start}
.adm .side .app-it{cursor:pointer}
.adm .side .app-it .pin{margin-left:auto;color:#b5b5b5}
.adm .side .subs{margin-left:0;border-left:0}
.adm .side .sub{padding-left:38px;color:#cfcfcf;font-weight:500;cursor:pointer}
.adm .side .sub.on{background:#303030;color:#fff;font-weight:600}
.adm .side .side-foot{margin-top:auto;padding-top:18px}
.adm .side .stav{width:22px;height:22px;border-radius:6px;background:#e8d9c8;color:#1F1B18;display:grid;place-items:center;font:600 11px var(--nv-serif);flex:none}
.adm .main{flex:1;overflow:auto;background:#f1f1f1;margin:8px 8px 8px 0;border-radius:12px;position:relative}
.adm .appbar{position:sticky;top:0;z-index:20;height:52px;background:#fff;border-bottom:1px solid #ebebeb;display:flex;align-items:center;gap:8px;padding:0 16px;font-weight:600;font-size:14px}
.adm .appbar .appic{width:20px;height:20px;border-radius:5px}
.adm .appbar .dots{margin-left:auto;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1px #e3e3e3;display:grid;place-items:center;font-size:12px;letter-spacing:0;color:#303030}
/* settings layout + install modal */
.adm .rail{width:52px;flex:none;background:#1a1a1a;display:flex;flex-direction:column;align-items:center;gap:16px;padding:14px 0;color:#8a8a8a}
.adm .rail svg{width:18px;height:18px}
.adm .setside{width:236px;flex:none;background:#1a1a1a;padding:12px 10px;color:#e3e3e3;font-size:13px;overflow:auto}
.adm .setside .it{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:8px;color:#e3e3e3}
.adm .setside .it svg{width:16px;height:16px;color:#b5b5b5}
.adm .setside .it.on{background:#303030;color:#fff;font-weight:600}
.modal-bg{position:absolute;inset:0;background:rgba(0,0,0,.45);display:grid;place-items:center;z-index:30}
.modal{width:620px;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35);padding:18px 18px 16px}
.acc-list{border:1px solid #e3e3e3;border-radius:12px;overflow:hidden}
.acc-row{display:flex;align-items:center;padding:12px 14px;border-bottom:1px solid #ebebeb}
.acc-row:last-child{border-bottom:0}
.rp-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#f7f7f7;border-radius:10px;margin-top:14px;padding:12px 0;text-align:center}
.rp-stats > div{border-right:1px solid #e3e3e3}
.rp-stats > div:last-child{border-right:0}
.rp-stats b{display:block;margin-top:6px}
.plan-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px;align-items:start}
.plan-card{display:flex;flex-direction:column}
.plan-price{min-height:92px}
.side-note{background:#fff;border-radius:12px;box-shadow:0 1px 0 rgba(26,26,26,.07),0 0 0 1px rgba(0,0,0,.06);padding:12px 14px}
.tpl-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
/* collection setup */
.crow{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;cursor:pointer}
.crow:hover{background:#f7f7f7}
.crow.picked{cursor:default;background:transparent;padding:4px 0}
.rrow{display:flex;gap:8px;align-items:flex-start;padding:7px 8px;border-radius:8px;cursor:pointer;font-size:13px}
.rrow:hover{background:#f7f7f7}
.cimg-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.cimg{cursor:pointer}
.cimg input{accent-color:#303030}
.ctiles{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ctiles img{width:100%;aspect-ratio:1;object-fit:cover;object-position:50% 20%;border-radius:6px}
.ctiles b{display:block;font-size:11px;margin-top:3px}
.cpn{position:absolute;right:8px;top:8px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;border-radius:99px;padding:2px 8px}
.carr{position:absolute;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 1px 4px rgba(0,0,0,.2);font-weight:700}
.carr.l{left:8px}.carr.r{right:8px}
.plan-card > .badge{align-self:flex-start}
.stav{width:22px;height:22px;border-radius:6px;background:#e8d9c8;color:#1F1B18;display:grid;place-items:center;font:600 11px var(--nv-serif);flex:none}
.rv-apps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.rv-app{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;box-shadow:inset 0 0 0 1px #e3e3e3}
.rv-app.on{background:#f6fef9;box-shadow:inset 0 0 0 1.5px #29845a}
.rv-logo{width:30px;height:30px;border-radius:8px;color:#fff;display:grid;place-items:center;font-weight:800;flex:none}
.hk-stats{display:grid;grid-template-columns:repeat(3,minmax(0,250px));gap:12px}
.hk-stats > div{border:1px solid #2c2c30;border-radius:14px;padding:12px 14px;background:#161618}
.hk-stats b{display:block;color:#fff;font-size:17px;letter-spacing:-.2px}
.hk-stats span{display:block;color:#bdbdbd;font-size:12.5px;margin-top:4px;line-height:1.35}
.hk-stats i{display:block;color:#7a7a7a;font-style:normal;font-size:11px;margin-top:6px}
.hl-card{box-shadow:0 0 0 2px #0866ff,0 4px 14px rgba(8,102,255,.12)}
.dim-card{opacity:.55}
.season-bottom{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:stretch}
.mini-phone{height:330px;display:flex;justify-content:center;margin-top:8px}
.mini-phone > .phone{transform:scale(.72);transform-origin:top center}
/* App Store gallery: thumbs never taller than the main image */
.as-gal{align-items:stretch}
.as-thumbs{position:relative;display:block}
.as-thumbs > *{position:absolute;left:0;right:0;height:calc((100% - 20px) / 3)}
.as-thumbs > :nth-child(1){top:0}
.as-thumbs > :nth-child(2){top:calc((100% - 20px) / 3 + 10px)}
.as-thumbs > :nth-child(3){top:calc((100% - 20px) / 3 * 2 + 20px)}
.as-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:8px;box-shadow:0 0 0 1px #d4d4d4}
/* presenter side notes: annotations, not app UI */
.hk-stats{grid-template-columns:repeat(2,minmax(0,300px))}
.crow.on{background:#f3f0ff;box-shadow:inset 0 0 0 1.5px #8051ff}
tr.kid td{background:#fafafa;border-bottom:1px solid #f0f0f0;padding-top:8px;padding-bottom:8px}
tr.kid:hover td{background:#f4f4f4}
.kid-line{width:10px;height:18px;border-left:1.5px solid #c9c9c9;border-bottom:1.5px solid #c9c9c9;border-bottom-left-radius:6px;margin-top:-10px;flex:none}
.hk-start{display:inline-flex;align-items:center;gap:10px;margin-top:4px;background:#07ae3a;color:#fff;border:0;border-radius:999px;padding:12px 22px 12px 14px;font-weight:700;font-size:16px;box-shadow:0 8px 24px rgba(7,174,58,.35);transition:transform .15s}
.hk-start:hover{transform:translateY(-1px);background:#06a035}
.hk-start img{width:26px;height:26px;border-radius:7px;background:#fff}
.hk-start span{font-size:18px}

/* ---------- Public demo (DEV-2875) ---------- */
.demobar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:130;display:flex;align-items:center;gap:14px;background:#1a1a1a;color:#fff;border-radius:999px;padding:8px 8px 8px 18px;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:13px;white-space:nowrap}
.demobar a{background:#fff;color:#111;border-radius:999px;padding:8px 16px;font-weight:650}
.demobar a:hover{background:#e8e8e8}
.gshop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gcard{border:1px solid #e3e3e3;border-radius:10px;padding:8px;background:#fff}
.gcard .gimg{aspect-ratio:1;border-radius:6px;overflow:hidden;background:#f1f1f1}
.gcard .gimg img{width:100%;height:100%;object-fit:cover}
.gcard .gp{margin-top:8px;font-size:15px}.gcard .gp s{color:#70757a;font-size:12.5px}
.gcard .gof{color:#188038;font-size:12px;font-weight:600}
.gcard .gt{font-size:13px;margin-top:2px;line-height:1.3}.gcard .gs{font-size:12px;color:#70757a;margin-top:2px}
.gsearch{background:#fff;border:1px solid #e3e3e3;border-radius:10px;padding:16px 18px;font-family:Arial,sans-serif}
.gsq{border:1px solid #dfe1e5;border-radius:24px;padding:9px 16px;font-size:15px;margin-bottom:14px;max-width:420px}
.gad .gtop{font-size:13px;color:#202124}.gad .gsp{font-weight:700;margin-right:4px}
.gad .ghl{color:#1a0dab;font-size:19px;margin:3px 0}.gad .gdesc{font-size:14px;color:#4d5156;line-height:1.5}
.gad .gsl{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;color:#1a0dab;font-size:14px}
.snd{position:absolute;left:10px;top:44px;z-index:5;background:rgba(0,0,0,.55);color:#fff;border:0;border-radius:999px;padding:5px 10px;font-size:11.5px;font-weight:600;backdrop-filter:blur(6px)}
@media (max-width:900px){.demobar{white-space:normal;border-radius:18px;width:calc(100% - 24px)}.gshop{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tbl tr.grp td{background:#f7f7f7;padding-top:6px;padding-bottom:6px}
.gtrack{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.gtrack .gcard{flex:0 0 150px}
.gptwin{background:#fff;padding:18px;font-family:Inter,sans-serif}
.gpu{background:#f4f4f4;border-radius:18px;padding:10px 14px;margin-left:auto;max-width:82%;font-size:14px}
.gpa{margin-top:16px;font-size:14px;line-height:1.55}.gpa p{margin:6px 0 10px}
.gpl{font-weight:650;display:flex;align-items:center;gap:6px}
.gpsp{font-size:11.5px;color:#6b6b6b;font-weight:600;margin-bottom:6px}
.gptrack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gptc{border:1px solid #e5e5e5;border-radius:12px;padding:8px;background:#fff}
.gptc img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px}
.gptc .gpn{font-size:12.5px;font-weight:600;margin-top:7px;line-height:1.25}.gptc .gpp{font-size:13px;margin-top:3px}.gptc .gpp s{color:#8a8a8a;font-size:11.5px}
.gptc .gs{font-size:11.5px;color:#6b6b6b;margin-top:2px}
.gptc .gpb{margin-top:8px;border:1px solid #d4d4d4;border-radius:999px;text-align:center;padding:5px;font-size:12px;font-weight:600}
.row-link{cursor:pointer}.row-link:hover td{background:#fafafa}.camp-link{color:#005bd3}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.side>.it,.side-search,.side-foot .it{cursor:default}
/* A status as the app writes it: a dot and the word, not a filled badge */
.sdot{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#303030;white-space:nowrap}
.sdot i{width:8px;height:8px;border-radius:50%;background:#8a8a8a;flex:none}
.sdot.succ i{background:#29845a}.sdot.info i{background:#005bd3}
/* Dynamic templates: one group, so the video, image and promo rows read as one feature */
.dt-group{margin-top:14px;padding:12px 14px;border:1px solid #e3e3e3;border-radius:10px;background:#fafafa}
.dt-head{margin-bottom:12px}
.pv-link{display:inline-flex;align-items:center;gap:2px}
.home-cards{align-items:stretch}.camp-card{display:flex;flex-direction:column}
/* Polaris Tooltip: white card, 8px corners, Polaris shadow-300 + bevel, a tail toward the icon */
.ptip{position:fixed;z-index:1000;display:none;max-width:275px;pointer-events:none;border-radius:8px;box-shadow:0 4px 6px -2px rgba(26,26,26,.2),0 1px 0 0 rgba(26,26,26,.07),inset 0 1px 0 0 rgba(208,208,208,.4),inset 1px 0 0 0 #ccc,inset -1px 0 0 0 #ccc,inset 0 -1px 0 0 #999}
.ptip-c{position:relative;z-index:1;background:#fff;color:#303030;border-radius:8px;padding:8px 12px;font-size:13px;line-height:20px;font-weight:450;text-align:center;word-break:break-word}
.ptip-t{position:absolute;bottom:-5px;width:12px;height:12px;background:#fff;transform:rotate(45deg);box-shadow:1px 1px 1px rgba(26,26,26,.18)}
.ptip.below .ptip-t{bottom:auto;top:-5px;box-shadow:-1px -1px 1px rgba(26,26,26,.12)}
/* The app's expand chevron before a campaign that has an ad breakdown */
.chev{border:0;background:transparent;width:22px;height:22px;border-radius:6px;margin:0 4px 0 -4px;cursor:pointer;color:#4a4a4a;font-size:13px;line-height:1;vertical-align:middle}
.chev:hover{background:#ebebeb}
/* Optimizer moves: a quiet word for what changed */
.opt-k{font-size:12px;font-weight:550;border-radius:6px;padding:1px 7px;white-space:nowrap;background:#f1f1f1;color:#4a4a4a}
.opt-k.up{background:#e3f5ea;color:#0c5132}.opt-k.back{background:#e8f0fe;color:#00429c}
/* Four phones side by side fit a laptop screen */
.ph-row{zoom:.84}
.reel-fit{zoom:.8}
@media (max-height:780px){.ph-row{zoom:.72}.reel-fit{zoom:.68}}
.tagic{width:28px;height:28px;border-radius:8px;background:#fff1e3;color:#8a4b00;display:grid;place-items:center;font-weight:750;flex:none}
.mpic{display:grid;place-items:center;border:1px solid #e3e3e3}
