/* RNS account area at app.rnsapps.com (core-03): the calm look (kit/src/admin/client/kit.css, served as /a/kit.css) with our own top bar
   instead of Shopify's chrome. k-* classes come from the design file's core.css (CORE-D1 to D4); the phone rules are ours. */
html,body{margin:0;height:100%;background:#f1f1f1}
[hidden]{display:none !important}   /* kit.css's .c-card{display:flex} would otherwise show a hidden step */
body{font:13px/20px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#303030;-webkit-font-smoothing:antialiased}
.c-app{min-height:100%;display:flex;flex-direction:column}
.k-top{height:56px;background:#fff;box-shadow:0 1px 0 #e3e3e3;display:flex;align-items:center;gap:12px;padding:0 16px;flex:none;position:sticky;top:0;z-index:4}
.k-mark{display:inline-grid;grid-template-columns:1fr 1fr;gap:2px;flex:none;width:20px;height:20px}
.k-mark i{border-radius:2px;display:block}
.k-word{font-weight:700;font-size:15px;letter-spacing:.02em}
.k-site{display:inline-flex;align-items:center;gap:8px;border:0;background:#f1f1f1;border-radius:8px;padding:6px 10px;font-weight:550;margin-left:8px;min-height:32px;max-width:280px}
.k-site select{border:0;background:transparent;font:inherit;font-weight:550;max-width:220px;min-height:28px}
.k-help{color:#303030 !important;font-weight:550}
.k-av{width:32px;height:32px;border-radius:50%;background:#e3e3e3;display:inline-grid;place-items:center;font-size:12px;font-weight:650;border:0;cursor:pointer}
.k-menu{position:relative}
.k-menu[open]>div{position:absolute;right:0;top:40px;background:#fff;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.16);padding:8px;min-width:220px;display:flex;flex-direction:column;gap:2px;z-index:6}
.k-menu summary{list-style:none}.k-menu summary::-webkit-details-marker{display:none}
.k-menu>div a,.k-menu>div button{display:block;text-align:left;border:0;background:none;padding:8px 10px;border-radius:8px;color:#303030;font:inherit;cursor:pointer;min-height:36px}
.k-menu>div a:hover,.k-menu>div button:hover{background:#f1f1f1}
.k-menu .who{padding:8px 10px;color:#616161;font-size:12px;word-break:break-all}
.grow{flex:1}
.k-code{font-family:"SF Mono",ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:18px;background:#f7f7f7;border-radius:10px;padding:12px 14px;box-shadow:inset 0 0 0 1px #e3e3e3;color:#303030;word-break:break-all}
.mono{font-family:"SF Mono",ui-monospace,Menlo,Consolas,monospace;font-size:12px}
.k-auth{min-height:100vh;display:flex;flex-direction:column;align-items:center;gap:24px;padding:56px 16px;background:#f1f1f1;box-sizing:border-box}
.k-auth .c-card{width:420px;max-width:100%;display:flex;flex-direction:column;gap:16px}
.k-otp{display:flex;gap:8px}
.k-otp input{width:48px;height:56px;border-radius:10px;border:0;box-shadow:inset 0 0 0 1px #c9c9c9;background:#fff;text-align:center;font-size:22px;font-weight:600;padding:0}
.k-otp input:focus{outline:none;box-shadow:inset 0 0 0 2px #303030}
.k-otp.err input{box-shadow:inset 0 0 0 1px #c4290f;background:#fffafa}
.k-check{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid #f0f0f0}
.k-check:first-child{border-top:0}
.k-check .acts{display:flex;gap:6px;flex:none}
.k-pick{border-radius:12px;box-shadow:inset 0 0 0 1px #dcdcdc;padding:12px;display:flex;flex-direction:column;gap:8px}
.c-app .c-input textarea,.c-app textarea.c-input{min-height:120px;resize:vertical;font-family:"SF Mono",ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:18px}
.c-app input.c-input,.c-app select.c-input,.c-app textarea.c-input{border:0;outline:none}
.c-app input.c-input:focus,.c-app select.c-input:focus,.c-app textarea.c-input:focus{box-shadow:inset 0 0 0 2px #303030}
.c-app .c-input.err{box-shadow:inset 0 0 0 1px #c4290f;background:#fffafa}
.c-app .c-err{color:#8e1f0b;display:flex;gap:6px;align-items:flex-start}
.c-app .c-err[hidden]{display:none}
.c-app .cap{font-size:12px;line-height:16px;color:#616161}
.c-app .muted{color:#616161}
.c-app .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.c-app .stack{display:flex;flex-direction:column}.c-app .g16{gap:16px}.c-app .g8{gap:8px}
.c-app .c-card{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.06);padding:16px}
.c-app .c-card.flush{padding:0;overflow:hidden}
.c-app .c-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.c-app .c-head h2{font-size:14px;font-weight:650}
.c-app h2{font-size:16px;line-height:24px;font-weight:650}
.c-app .k-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.c-app .k-num{width:110px}
.c-app .k-tools{display:flex;gap:8px;align-items:center;padding:12px;flex-wrap:wrap;border-bottom:1px solid #f0f0f0}
.c-app .k-tools .c-input{max-width:320px}
.c-app .k-bulk{display:flex;gap:8px;align-items:center;padding:10px 12px;background:#f6f9ff;border-bottom:1px solid #e3e3e3}
.c-app .k-bulk[hidden]{display:none}
.c-app .k-thumb{width:40px;height:40px;border-radius:8px;object-fit:cover;background:#f1f1f1;flex:none}
.c-app .c-table td .cap{display:block}
.c-app dialog{border:0;border-radius:16px;padding:20px;max-width:440px;width:calc(100% - 32px);box-shadow:0 16px 48px rgba(0,0,0,.24)}
.c-app dialog::backdrop{background:rgba(0,0,0,.32)}
.c-app dialog h2{margin-bottom:8px}
.c-app dialog .row{justify-content:flex-end;margin-top:16px}
.c-app .c-btn.crit{background:#c4290f;color:#fff;box-shadow:none}
.c-app .c-btn.plain{box-shadow:none;background:transparent;color:#005bd3}
.c-app .c-btn.lg{min-height:44px;font-size:14px}.c-app .c-btn.full{width:100%}
.c-app .k-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#1f1f1f;color:#fff;border-radius:10px;padding:10px 14px;z-index:9;display:flex;gap:8px;align-items:center}
.c-app .k-toast[hidden]{display:none}
.c-app .c-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.c-app .c-choice{text-align:left;display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #dcdcdc;color:#303030 !important;min-height:44px}
.c-app .c-choice.on{box-shadow:inset 0 0 0 2px #303030}
.c-app .k-steps li{padding:10px 0;border-top:1px solid #f0f0f0;display:flex;gap:10px;align-items:flex-start;list-style:none}
.c-app .k-steps{margin:0;padding:0}
.c-app .k-steps li:first-child{border-top:0}
.c-app .k-dot{width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #b5b5b5;flex:none;display:grid;place-items:center}
.c-app .k-dot.done{background:#29845a;box-shadow:none}
.c-app .k-menu-nav{display:none}
@media (max-width:768px){
  .c-shell{flex-direction:column}
  .c-nav{display:none;width:auto;border-right:0;border-bottom:1px solid #e3e3e3;background:#f7f7f7}
  .c-nav.open{display:block}
  .c-app .k-menu-nav{display:inline-grid;place-items:center;width:36px;height:36px;border:0;background:#f1f1f1;border-radius:8px}
  .c-title{padding:12px 16px 8px}
  .c-page{padding:4px 12px 48px}
  .k-site{max-width:150px;margin-left:0}
  .k-site select{max-width:110px}
  .k-help{display:none}
  .c-app .c-choices,.c-app .k-two{grid-template-columns:minmax(0,1fr)}
  .c-app .c-table .hide-s{display:none}
  .c-app .k-check{flex-wrap:wrap}
  .k-otp{gap:6px}.k-otp input{width:44px;height:52px}
}
/* the kit's phone table keeps two columns: the status badge rides under the product's name instead (UX gate, 390 px) */
.c-app .k-show-s{display:none}
@media (max-width:768px){.c-app .k-show-s{display:block;margin-top:4px}}
/* Settings: a website's own form keeps its Save button to the left (the first-time step's Continue stays full width) */
.c-app form[data-site-form][data-id] button[type=submit]{align-self:flex-start}
/* core-04 Install: numbered steps, radio rows, a 56 px icon tile */
.c-app .k-num-steps{counter-reset:k;margin-top:8px}
.c-app .k-num-steps li{counter-increment:k}
.c-app .k-num-steps li::before{content:counter(k);width:22px;height:22px;border-radius:50%;background:#f1f1f1;display:grid;place-items:center;font-size:12px;font-weight:650;flex:none}
.c-app .k-opt{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:10px;box-shadow:inset 0 0 0 1px #e3e3e3;cursor:pointer}
.c-app .k-opt input{margin-top:3px;accent-color:#303030}
.c-app .k-opt .t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.c-app .c-thumb.t56{width:56px;height:56px;border-radius:12px;display:grid;place-items:center;flex:none}
.c-app code{font-family:"SF Mono",ui-monospace,Menlo,Consolas,monospace;font-size:12px;background:#f1f1f1;border-radius:4px;padding:1px 4px}
/* core-04: the Visualizer editor's frame (/app/product): our top bar and menu around the kit's page */
body.k-kit{margin:0;background:#f1f1f1}
.k-frame{min-height:100vh;display:flex;flex-direction:column}
.k-frame .c-nav a{color:#303030;text-decoration:none}
.k-kitmain{flex:1;min-width:0}
.k-crumb{margin:12px 24px 0;font-size:13px}
.k-crumb a{color:#005bd3}
.k-loading{padding:24px;color:#616161}
@media (max-width:768px){.k-frame .k-menu-nav{display:inline-grid;place-items:center;width:36px;height:36px;border:0;background:#f1f1f1;border-radius:8px}.k-frame .c-nav{display:none}.k-frame .c-nav.open{display:block}.k-frame .c-shell{flex-direction:column}}
@media (min-width:769px){.k-frame .k-menu-nav{display:none}}
/* core-04 Install at 390 px: the builder tabs wrap instead of scrolling sideways (UX gate: no inner scroll boxes) */
@media (max-width:768px){.c-app .c-tabs{flex-wrap:wrap;overflow-x:visible}}
/* core-06: the Requests drawer over the live page (board CORE-D8) */
.c-app .c-scrim.k-fixed{position:fixed;inset:0;z-index:50;display:block}
.c-app .c-drawer.k-fixed{position:fixed;top:72px;right:16px;bottom:16px;width:min(480px,calc(100vw - 32px));z-index:51}
.c-app .c-drawer.k-fixed .b{display:flex;flex-direction:column;gap:16px;padding:16px 20px}
.c-app .c-drawer.k-fixed .f{display:flex;gap:8px;align-items:center;padding:12px 20px;border-top:1px solid var(--line-2)}
.c-app .c-drawer.k-fixed .f .grow{flex:1}
@media (max-width:768px){.c-app .c-drawer.k-fixed{top:8px;right:8px;bottom:8px;left:8px;width:auto}}
/* core-07: the Plan page (board CORE-D9): the app and billing switches are links; the menu's "Your apps" rows with their plan tag */
.c-app .c-seg a{border:0;background:transparent;border-radius:8px;padding:5px 12px;min-height:30px;font-weight:550;color:var(--text-3);text-decoration:none;display:inline-flex;align-items:center}
.c-app .c-seg a.on{background:#fff;color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.c-app .c-nav .k-app{display:flex;justify-content:space-between;align-items:center;gap:8px}
.c-app .c-nav .k-app .c-tag{font-size:11px;color:var(--text-2);background:#f1f1f1;border-radius:6px;padding:1px 6px;white-space:nowrap}
.c-app .c-plan .full{width:100%;justify-content:center}
@media (max-width:768px){.c-app .c-seg a{min-height:44px}.c-app .c-plans{grid-template-columns:1fr}}

/* core-09: app.rnsapps.com's public front page (Paddle's website review) */
.k-pub{min-height:100vh;background:#f1f1f1}
.k-pubmain{gap:32px;width:100%;max-width:1064px;margin:0 auto;padding:40px 32px 32px;box-sizing:border-box}
.k-hero{max-width:720px}
.k-hero h1{font-size:32px;line-height:40px;font-weight:650;letter-spacing:-.02em;margin:0}
.k-hero .row{gap:16px;flex-wrap:wrap;align-items:center}
.k-sec{margin:0}
.k-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.k-pub .c-plan h3{margin:0}
.k-pub .k-top .k-home,.k-pub .k-top .k-home .k-word{display:flex;align-items:center;gap:12px;color:var(--text,#303030);text-decoration:none}
.k-legalnav{display:flex;gap:16px}
.k-legalnav a{color:var(--text-2);text-decoration:none}
.k-legalnav a[aria-current]{color:var(--text);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.k-legalh1{font-size:28px;line-height:36px;font-weight:650;letter-spacing:-.02em;margin:0}
.k-toc{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline}
.k-legal{max-width:760px;line-height:1.6}
.k-legal [id]{scroll-margin-top:72px}
.k-legal h2{font-size:17px;margin:24px 0 8px}
.k-legal section:first-child h2{margin-top:0}
.k-legal p{margin:0 0 12px}
.k-legal ul,.k-legal ol{margin:0 0 12px;padding-left:20px;display:block}
.k-legal li{display:list-item;margin:0 0 8px}
.k-legal table{border-collapse:collapse;margin:0 0 12px;width:100%}
.k-legal th,.k-legal td{border-bottom:1px solid var(--line-2,#e3e3e3);padding:6px 12px 6px 0;text-align:left;vertical-align:top}
.k-legal .termlist{list-style:none;padding:0}
.k-legal .termlist li{margin:0 0 12px}
@media (max-width:768px){.k-pubmain{padding:24px 12px}.k-hero h1{font-size:26px;line-height:32px}}

/* core-08: Settings › Your data (board CORE-D11) */
.k-tablewrap{overflow-x:auto}
.k-keep th,.k-keep td{padding-right:16px;vertical-align:top}
.k-keep td:first-child{white-space:nowrap}
.k-keep td:last-child{min-width:120px}
@media (max-width:640px){.k-keep thead{display:none}.k-keep tr{display:block;padding:8px 0;border-bottom:1px solid var(--line-2)}.k-keep td{display:block;border:0;padding:2px 0}.k-keep td:first-child{white-space:normal}}
dialog[data-confirm-account] .c-field{margin:12px 0}
dialog[data-confirm-account] [data-ok]:disabled{opacity:.45;cursor:not-allowed}

/* core-09: the footer under every signed-in page (Terms · Privacy · Refunds) */
.k-foot{display:flex;gap:8px;flex-wrap:wrap;align-items:center;max-width:1064px;width:100%;margin:0 auto;padding:0 32px 24px}
.k-foot a{color:var(--text-2,#616161)}
.k-foot a:hover{color:var(--text,#303030)}
@media (max-width:768px){.k-foot{padding:0 12px 24px}}
