/* Grok (grok.com) custom-connector walkthrough for Judaro. Prefix: grw-. Light theme, measured 12.11.2026.
   Mount: <div class="grw" data-grok-demo="menu|apps|form|signin|consent|connected|chat|disconnect"></div> */
@font-face{font-family:'X-VF';src:url('fonts/x-vf.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
/* Also loaded by grok.com (not needed by these demos, kept for completeness): */
@font-face{font-family:'X Mono';src:url('fonts/x-mono-vf.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'universalSans';src:url('fonts/UniversalSans_Text_400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'universalSans';src:url('fonts/UniversalSans_Text_550.woff2') format('woff2');font-weight:550;font-style:normal;font-display:swap}
.grw{
  --grw-page:#f9f8f7;--grw-surface:#fefefc;--grw-ink:#2c2c2b;--grw-ink2:rgba(44,44,44,.76);--grw-ink3:rgba(44,44,42,.62);--grw-ink4:rgba(43,43,43,.44);
  --grw-label:#636363;--grw-black:#050505;--grw-fill:rgba(38,26,0,.08);--grw-fill-strong:rgba(41,25,0,.12);--grw-hover:rgba(39,20,0,.05);--grw-sel:rgba(42,28,0,.07);
  --grw-line:#e6e5e3;--grw-line2:rgba(27,18,0,.11);--grw-hair:rgba(0,0,0,.06);--grw-sep:#f0efed;--grw-field:rgba(32,32,0,.03);
  --grw-blue:#1084fe;--grw-green:#05a95f;--grw-judaro:#22564f;
  width:100%;max-width:640px;margin:18px 0 28px;color:var(--grw-ink);font-family:'X-VF',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;font-weight:425;line-height:24px;letter-spacing:.0027em;direction:ltr;text-align:left;-webkit-font-smoothing:antialiased}
.grw *{box-sizing:border-box}
.grw-i{width:18px;height:18px;flex:none;fill:currentColor;display:block}
.grw-stage{position:relative;width:100%;overflow:hidden;border:1px solid var(--grw-line);border-radius:20px;background:var(--grw-surface);box-shadow:0 12px 40px rgba(4,4,3,.10),0 2px 8px rgba(4,4,3,.05);isolation:isolate}
.grw-stage.grw-page{background:var(--grw-page);box-shadow:0 10px 30px rgba(4,4,3,.06)}

/* ---------- generic buttons ---------- */
.grw-btn{height:28px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:1px 10px;border-radius:10px;background:var(--grw-fill);color:var(--grw-ink);font-size:15px;font-weight:525;line-height:24px;white-space:nowrap;flex:none}
.grw-btn.grw-dark{background:var(--grw-ink);color:#fff}
.grw-btn.grw-outline{background:transparent;border:1px solid var(--grw-line)}
.grw-pill{height:28px;display:inline-flex;align-items:center;padding:1px 10px;border-radius:999px;background:var(--grw-fill);font-size:14px;line-height:20px;white-space:nowrap;flex:none}
.grw-pill.grw-on{background:var(--grw-ink);color:#fff}
.grw-pill .grw-i{width:16px;height:16px;margin-left:2px}

/* ---------- home / composer ---------- */
.grw-home{padding:56px 24px 0;min-height:372px}
.grw-h1{margin:0 0 22px;text-align:center;font-size:26px;font-weight:525;line-height:34px;letter-spacing:0}
.grw-composer{position:relative;display:flex;align-items:center;gap:8px;height:58px;padding:12px;border:1px solid #dddcd9;border-radius:29px;background:var(--grw-surface)}
.grw-round{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;flex:none;color:var(--grw-ink3)}
.grw-round.grw-plus{background:var(--grw-fill);color:var(--grw-ink)}
.grw-round.grw-voice{background:var(--grw-fill);color:var(--grw-blue)}
.grw-round.grw-send{background:#2f7df6;color:#fff}
.grw-round.grw-stop{background:var(--grw-fill);color:var(--grw-ink)}
.grw-round.grw-stop i{width:10px;height:10px;border-radius:2.5px;background:currentColor}
.grw-round .grw-i{width:20px;height:20px}
.grw-input{flex:1;min-width:0;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;font-size:15px}
.grw-ph{color:var(--grw-ink4)}
.grw-model{display:inline-flex;align-items:center;gap:4px;padding:0 4px;font-weight:525;flex:none}
.grw-model .grw-i{width:16px;height:16px}
.grw-token{display:inline-flex;align-items:center;gap:5px;padding:0 4px;border-radius:6px;font-weight:525;flex:none}
.grw-token svg{width:15px;height:15px;flex:none}
.grw-typed{min-width:0;overflow:hidden;text-overflow:clip}

/* ---------- + menu ---------- */
.grw-menu{position:absolute;z-index:5;width:240px;padding:8px;border:1px solid var(--grw-line);border-radius:20px;background:var(--grw-surface);box-shadow:0 2px 6px rgba(60,40,10,.03),0 8px 12px rgba(60,40,10,.03)}
.grw-menu.grw-main{left:9px;top:52px}
.grw-menu.grw-sub{left:240px;top:165px;width:256px}
.grw-mi{height:32px;display:flex;align-items:center;gap:8px;padding:0 8px;border-radius:12px;font-size:14px;line-height:20px;letter-spacing:.007em}
.grw-mi .grw-i{width:16px;height:16px}
.grw-mi>svg:not(.grw-i){width:16px;height:16px;flex:none}
.grw-mi .grw-chev{margin-left:auto;width:14px;height:14px;color:var(--grw-ink3)}
.grw-mi.grw-hl.on,.grw-mi.grw-hover{background:var(--grw-hover)}
.grw-msep{height:1px;margin:6px 0;background:var(--grw-sep)}

/* ---------- settings: Connect Apps pane ---------- */
.grw-pane{display:flex;flex-direction:column;min-height:372px}
.grw-head{display:flex;align-items:center;gap:6px;height:62px;padding:20px 24px 20px;flex:none}
.grw-title{font-size:17px;font-weight:525;line-height:22px}
.grw-crumb{color:var(--grw-ink3)}
.grw-head .grw-i{width:16px;height:16px;color:var(--grw-ink3)}
.grw-count{margin-left:auto;display:inline-flex;align-items:center;gap:6px;height:24px;padding:4px 8px 4px 4px;border-radius:8px;color:var(--grw-ink3);font-size:12px;line-height:16px;white-space:nowrap}
.grw-count .grw-i{width:14px;height:14px}
.grw-mini{width:16px;height:16px;display:grid;place-items:center;border:1px solid var(--grw-line);border-radius:5px;background:var(--grw-surface);font-size:9px;line-height:1;color:var(--grw-ink3)}
.grw-search{display:flex;align-items:center;gap:10px;height:36px;margin:0 24px;padding:0 10px 0 11px;border:1px solid var(--grw-line2);border-radius:10px;background:var(--grw-field);color:var(--grw-ink4);font-size:14px;flex:none}
.grw-search .grw-i{width:16px;height:16px;color:var(--grw-ink3)}
.grw-chips{display:flex;gap:8px;margin:12px 24px 0;overflow:hidden;flex:none}
.grw-scroll{position:relative;margin-top:14px;padding:0 12px 20px;height:266px;overflow:hidden;border-top:1px solid transparent}
.grw-scroll.grw-auto{height:auto}
.grw-h2{margin:0;padding:8px 8px 6px 12px;font-size:15px;font-weight:525;line-height:22px}
.grw-grid{display:grid;grid-template-columns:1fr 1fr;margin-bottom:10px}
.grw-row{display:flex;align-items:center;gap:12px;min-width:0;height:64px;padding:12px;border-radius:24px}
.grw-row.grw-hl.on{background:var(--grw-hover)}
.grw-tile{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--grw-line);border-radius:12px;background:var(--grw-surface);color:var(--grw-ink3);font-size:14px;flex:none}
.grw-tile img{width:24px;height:24px;display:block;border-radius:4px}
.grw-h2{display:flex;align-items:center}
.grw-viewall{margin-left:auto;padding-right:4px;color:var(--grw-ink3);font-size:12px;font-weight:425;line-height:16px}
.grw-rtext{min-width:0;flex:1;display:flex;flex-direction:column}
.grw-rtext b{font-size:14px;font-weight:525;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grw-rtext small{font-size:12px;line-height:16px;color:var(--grw-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grw-ok{display:inline-flex;align-items:center;gap:4px;color:var(--grw-ink3);font-size:12px;line-height:16px;flex:none}
.grw-ok .grw-i{width:12px;height:12px;color:var(--grw-green)}
.grw-addwrap{display:flex;justify-content:center;padding:26px 0 8px}

/* ---------- Add MCP Server form ---------- */
.grw-form{padding:0 24px;flex:1}
.grw-lead{margin:0 0 16px;color:var(--grw-ink3);font-size:14px;line-height:20px}
.grw-label{display:block;margin-bottom:4px;color:var(--grw-ink3);font-size:14px;font-weight:525;line-height:20px}
.grw-field{display:flex;align-items:center;height:32px;margin-bottom:16px;padding:0 10px;border:1px solid var(--grw-line2);border-radius:10px;background:var(--grw-surface);font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;min-width:0}
.grw-field.grw-fx.on{border-color:rgba(16,132,254,.9)}
.grw-field .grw-phx{color:var(--grw-ink4)}
.grw-type:not(:empty)+.grw-phx{display:none}
.grw-field.grw-fx.on .grw-type::after{content:"";display:inline-block;width:1px;height:15px;margin-left:1px;background:var(--grw-ink);vertical-align:-2px;animation:grw-blink .9s steps(1) infinite}
.grw-kv{display:flex;align-items:center;gap:8px}
.grw-kv .grw-field{flex:1;margin-bottom:0}
.grw-trash{width:24px;height:24px;display:grid;place-items:center;color:var(--grw-ink4);flex:none}
.grw-trash .grw-i{width:16px;height:16px}
.grw-wait{min-height:20px;margin:28px 24px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--grw-ink3);font-size:14px;line-height:20px}
.grw-foot{display:flex;justify-content:flex-end;gap:8px;padding:12px 24px;border-top:1px solid var(--grw-hair);flex:none}
.grw-spin{width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:grw-spin .8s linear infinite}
.grw-btn.grw-busy{min-width:87px;background:#40403e}

/* ---------- connector detail ---------- */
.grw-detail{padding:4px 24px 26px}
.grw-detail .grw-tile{margin-bottom:16px}
.grw-name{margin:0;font-size:28px;font-weight:525;line-height:34px;letter-spacing:0}
.grw-metarow{display:flex;align-items:center;gap:8px;margin-top:2px}
.grw-kind{flex:1;color:var(--grw-ink4);font-size:13px;font-weight:525}
.grw-sub{margin:20px 0 8px;color:var(--grw-label);font-size:14px}
.grw-tools{display:flex;flex-wrap:wrap;gap:6px}
.grw-tool{height:24px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:9999px;background:rgba(0,0,0,.04);color:var(--grw-black);font-size:13px;line-height:18px}
.grw-tool .grw-i{width:12px;height:12px}
.grw-more{height:24px;margin-top:8px;display:inline-flex;align-items:center;padding:1px 10px;border-radius:999px;background:var(--grw-fill);font-size:15px;font-weight:525}
.grw-sublabel{margin:24px 0 2px;color:var(--grw-label);font-size:13px}
.grw-url{color:var(--grw-black);font-size:14px}
.grw-note{margin:24px 0 0;color:var(--grw-label);font-size:13px;line-height:24px}
.grw-note u{text-underline-offset:2px}

/* ---------- chat ---------- */
.grw-chat{padding:26px 24px 0;min-height:372px;display:flex;flex-direction:column}
.grw-bubble{align-self:flex-end;max-width:100%;display:flex;align-items:center;gap:6px;padding:12px 16px;border-radius:24px;background:rgba(51,34,0,.06);white-space:nowrap;overflow:hidden}
.grw-think{display:flex;align-items:center;gap:4px;margin-top:28px;color:var(--grw-ink2)}
.grw-think .grw-i{width:12px;height:12px;color:var(--grw-ink3)}
.grw-rule{height:1px;margin:12px 0 10px;background:var(--grw-hair)}
.grw-toolrow{display:flex;align-items:center;gap:8px;color:var(--grw-ink2)}
.grw-toolrow .grw-i{width:16px;height:16px;color:var(--grw-ink4)}
.grw-shimmer{background:linear-gradient(90deg,rgba(44,44,44,.76) 0%,rgba(44,44,44,.25) 50%,rgba(44,44,44,.76) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:grw-shimmer 1.4s linear infinite}
.grw-answer{margin-top:12px}
.grw-answer p{margin:0 0 12px;direction:rtl;text-align:right}
.grw-table{border:1px solid var(--grw-line);border-radius:16px;background:var(--grw-surface);overflow:hidden;direction:rtl}
.grw-tr{display:grid;grid-template-columns:1fr 1.5fr 1.6fr;border-top:1px solid var(--grw-hair)}
.grw-tr:first-child{border-top:0;font-weight:650}
.grw-tr span{padding:10px 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.grw-tr span:first-child,.grw-tr:not(:first-child) span:last-child{direction:ltr}
.grw-tr:not(:first-child) span:last-child{text-align:left}
.grw-chatbar{margin:auto -6px 14px;padding-top:18px}

/* ---------- Judaro sign-in popup (AuthKit) ---------- */
.grw-popwrap{position:relative;padding:18px 14px 104px;background:rgba(4,4,4,.2)}
.grw-pop{position:relative;z-index:2;width:100%;max-width:380px;margin:0 auto -64px;border-radius:12px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.28);overflow:hidden;font-family:'IBM Plex Sans Hebrew','X-VF',system-ui,sans-serif;color:#1b2733;letter-spacing:0}
.grw-popbar{display:flex;align-items:center;gap:5px;height:30px;padding:0 10px;background:#ecebe8;color:#6f6c66;font:11px/1 system-ui,sans-serif}
.grw-popbar i{width:9px;height:9px;border-radius:50%;background:#d2cfc8}
.grw-popbar span{flex:1;margin-left:6px;height:18px;padding:3px 8px;border-radius:5px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grw-auth{padding:20px 22px 16px;text-align:center}
.grw-jmark{display:block;width:26px;height:26px;margin:0 auto 6px}
.grw-auth h3{margin:0 0 12px;font-size:15px;font-weight:600;line-height:1.25}
.grw-box{padding:14px;border:1px solid #e2e4e2;border-radius:10px;text-align:left;box-shadow:0 2px 8px rgba(27,39,51,.04)}
.grw-auth[dir=rtl] .grw-box{text-align:right}
.grw-box>b{display:block;margin:0 2px 5px;font-size:11px;font-weight:500;line-height:1.4}
.grw-afield{display:flex;align-items:center;height:35px;margin-bottom:10px;padding:0 11px;border:1.5px solid #7fb5a9;border-radius:7px;font-size:12px;direction:ltr;overflow:hidden;white-space:nowrap}
.grw-auth[dir=rtl] .grw-afield .grw-phx{margin-left:auto;direction:rtl}
.grw-afield .grw-phx{color:#9a968f}
.grw-jbtn,.grw-sso{height:35px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;font-size:12.5px;font-weight:500;line-height:1}
.grw-jbtn{margin-bottom:12px;background:var(--grw-judaro);color:#fff}
.grw-sso{margin-top:7px;border:1px solid #dfe2df;background:#fff;color:#333b38}
.grw-sso svg{width:14px;height:14px}
.grw-ms{width:13px;height:13px;display:grid;grid-template-columns:1fr 1fr;gap:1px}
.grw-ms i:nth-child(1){background:#f25022}.grw-ms i:nth-child(2){background:#7fba00}.grw-ms i:nth-child(3){background:#00a4ef}.grw-ms i:nth-child(4){background:#ffb900}
.grw-or{display:flex;align-items:center;gap:8px;margin:0 0 5px;color:#9b9e9c;font-size:11px;line-height:1}
.grw-or::before,.grw-or::after{content:"";height:1px;flex:1;background:#e1e3e1}
.grw-signup{margin-top:10px;text-align:center;color:#535f6a;font-size:11px;line-height:1.3}
.grw-signup b{color:var(--grw-judaro);font-weight:500}
.grw-afoot{margin-top:12px;color:#8a8780;font-size:9.5px;line-height:1.3}
.grw-logos{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:10px}
.grw-logos img{width:34px;height:34px}
.grw-dots{display:inline-flex;gap:3px}.grw-dots i{width:4px;height:4px;border-radius:50%;background:#cfcfcb}
.grw-client{width:34px;height:34px;display:block}
.grw-client img{width:34px;height:34px;display:block;border-radius:8px}
.grw-client .grw-i{width:24px;height:24px}
.grw-perm p{margin:0 0 8px;font-size:12px;font-weight:600;line-height:1.35}
.grw-prow{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:#5d6662;font-size:11.5px;line-height:1.35}
.grw-ptile{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#f0f0ee;color:#555;flex:none}
.grw-ptile svg{width:16px;height:16px}
.grw-allow{height:36px;display:grid;place-items:center;margin-top:4px;border-radius:7px;background:var(--grw-judaro);color:#fff;font-size:12.5px;font-weight:500}
.grw-cancel{height:34px;display:grid;place-items:center;margin-top:8px;border:1px solid #dfe2df;border-radius:7px;font-size:12px}
.grw-under{position:absolute;left:0;right:0;bottom:0;background:var(--grw-surface)}

/* ---------- animation engine ---------- */
.grw-in{opacity:0;transform:translateY(-4px);transition:opacity .22s,transform .22s;pointer-events:none}
.grw-in.on{opacity:1;transform:none}
.grw-in[data-grw-off]:not(.on){transition-duration:.12s}
.grw-swap:not(.on){display:none!important}
.grw-swap.on{animation:grw-pop .3s ease-out}
.grw-press.on{animation:grw-press .32s ease}
.grw-cursor{position:absolute;z-index:20;left:0;top:0;width:14px;height:19px;opacity:0;pointer-events:none;filter:drop-shadow(0 0 .6px #fff) drop-shadow(0 0 .6px #fff) drop-shadow(0 1px 1px rgba(0,0,0,.3));transform:translate(var(--sx,0),var(--sy,0)) rotate(-12deg)}
.grw-cursor::before{content:"";display:block;width:13px;height:18px;background:var(--grw-judaro);clip-path:polygon(0 0,0 100%,28% 72%,45% 100%,60% 91%,43% 64%,79% 62%)}
.grw-cursor.on{animation:grw-pointer var(--dur,900ms) cubic-bezier(.22,1,.36,1) forwards}
.grw-cursor[data-grw-park].on{animation-name:grw-pointer-park}
.grw-cursor.on::after{content:"";position:absolute;left:-7px;top:-7px;width:18px;height:18px;border:2px solid rgba(34,86,79,.4);border-radius:50%;animation:grw-pulse var(--dur,900ms) ease-out forwards}
.grw-replay{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:5px 9px;border:1px solid #d8dddb;border-radius:99px;background:transparent;color:#6b7370;font:500 12px/1 system-ui,sans-serif;cursor:pointer}
.grw-replay:hover{border-color:#9aa5a2;color:#1b2733}
.grw-replay svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7}
@keyframes grw-pointer{0%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(-12deg)}15%{opacity:1}72%{opacity:1;transform:translate(var(--ex),var(--ey)) rotate(-12deg)}82%{opacity:1;transform:translate(var(--ex),var(--ey)) scale(.86) rotate(-12deg)}100%{opacity:0;transform:translate(var(--ex),var(--ey)) rotate(-12deg)}}
@keyframes grw-pointer-park{0%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(-12deg)}15%{opacity:1}72%{opacity:1;transform:translate(var(--ex),var(--ey)) rotate(-12deg)}82%{opacity:1;transform:translate(var(--ex),var(--ey)) scale(.86) rotate(-12deg)}100%{opacity:1;transform:translate(var(--ex),var(--ey)) rotate(-12deg)}}
@keyframes grw-pulse{0%,72%{opacity:0;transform:scale(.3)}80%{opacity:.8;transform:scale(.4)}100%{opacity:0;transform:scale(1.5)}}
@keyframes grw-press{40%{transform:scale(.95);filter:brightness(.93)}100%{transform:none}}
@keyframes grw-pop{0%{opacity:0;transform:translateY(4px)}100%{opacity:1;transform:none}}
@keyframes grw-blink{50%{opacity:0}}
@keyframes grw-spin{to{transform:rotate(360deg)}}
@keyframes grw-shimmer{to{background-position:-200% 0}}

@media(max-width:560px){
  .grw-grid{grid-template-columns:1fr}
  .grw-menu.grw-sub{left:auto;right:9px;top:200px;width:230px}
  .grw-h1{font-size:21px;line-height:28px}
  .grw-home{min-height:408px}
  .grw-head,.grw-form{padding-left:16px;padding-right:16px}
  .grw-search,.grw-chips{margin-left:16px;margin-right:16px}
  .grw-detail{padding-left:16px;padding-right:16px}
  .grw-metarow{flex-wrap:wrap}.grw-kind{flex-basis:100%}
  .grw-foot{padding:12px 16px}.grw-wait{margin-left:16px;margin-right:16px}
  .grw-home,.grw-chat{padding-left:14px;padding-right:14px}
  .grw-mic{display:none}
  .grw-tr span{padding:10px}
}
@media(prefers-reduced-motion:reduce){
  .grw-cursor{display:none}
  .grw-in,.grw-swap.on,.grw-press.on{transition:none;animation:none}
  .grw-spin,.grw-shimmer{animation:none}
}
