.jst-panel{padding:24px;max-width:1140px;margin:auto}.jst-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.jst-heading h2{margin:7px 0 9px;font-size:24px}.jst-heading p,.jst-panel p{color:#8a968e;line-height:1.8}.jst-state{padding:9px 13px;border-radius:20px;background:#fff1d9;color:#815918;white-space:nowrap;font-size:13px}.jst-state.ready{background:#e6f4ec;color:#287048}.jst-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.jst-step-grid article{border:1px solid #e1e8ee;border-radius:14px;padding:20px;min-width:0}.jst-step-grid article>b{display:grid;place-items:center;width:30px;height:30px;background:#edf3fa;color:#0f766e;border-radius:9px}.jst-panel h3{font-size:17px;margin:15px 0 9px}.jst-step-grid small{display:block;color:#8a968e;margin-top:14px}.jst-callback{display:block;overflow-wrap:anywhere;white-space:normal;font-size:13px;line-height:1.7;background:#f3f6f9;border-radius:8px;padding:10px;margin-bottom:12px}.jst-panel form{display:grid;gap:13px}.jst-panel label{display:grid;gap:7px;font-size:14px;color:#5c6a63}.jst-panel input,.jst-panel select{min-height:44px;max-width:100%;font-size:16px}.jst-panel .btn{min-height:44px;white-space:normal}.jst-sync-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;background:#f5f8fa;border:1px solid #e1e8ee;border-radius:14px}.jst-sync-card h3,.jst-sync-card p{margin:4px 0}.jst-note{font-size:13px;border-top:1px solid #e6ebef;padding-top:18px;margin-top:24px}.jst-feedback{padding:12px 15px;background:#eef5fc;color:#0b5a54;border-radius:9px;line-height:1.7;margin-top:14px}.jst-config{margin-top:22px}.jst-config summary{cursor:pointer;padding:12px 0;min-height:44px}.jst-config form{max-width:540px;margin-top:12px}.jst-check{display:flex!important;align-items:center;gap:10px!important;min-height:44px}.jst-check input{width:20px;height:20px;min-height:20px;flex:0 0 20px}.jst-sample{padding:22px;border:1px solid #f5f2ec;background:#fafdff;border-radius:13px;margin-top:20px}.jst-sample dl{margin:0;display:grid;gap:12px}.jst-sample dl div{display:flex;justify-content:space-between;gap:20px}.jst-sample dt{color:#8a968e}.jst-sample dd{margin:0;font-weight:600;overflow-wrap:anywhere}.jst-sample select{max-width:300px}@media(max-width:760px){.jst-panel{padding:16px}.jst-heading{display:block}.jst-state{display:inline-block;margin-top:8px}.jst-step-grid{grid-template-columns:1fr;gap:12px}.jst-step-grid article{padding:17px}.jst-sync-card{display:block;padding:16px}.jst-sync-card button{margin-top:12px;width:100%}.jst-sample{padding:15px}.jst-sample dl div{display:block}.jst-sample dd{margin-top:5px}.jst-panel p{font-size:14px}.jst-heading h2{font-size:22px}}

/* Distinct owned-app connection and existing merchant authorization. */
.jst-mode-section{margin:22px 0}.jst-mode-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.jst-mode-heading h3{margin:0}.jst-mode-heading>span{font-size:13px;color:#8a968e}.jst-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jst-mode-card{padding:16px 18px;border:1px solid #dfe7ed;border-radius:12px;background:#fff}.jst-mode-card.selected{border-color:#e3ded2;background:#f1f7fc;box-shadow:inset 3px 0 #0f766e}.jst-mode-card h3{margin:0}.jst-mode-card p{margin:7px 0 12px}.jst-step-grid.jst-step-grid-owned{grid-template-columns:repeat(2,minmax(0,1fr))}.jst-status-refresh{margin-top:12px}.jst-connection-hint{font-size:13px;margin-bottom:0}.jst-result-unknown{padding:15px 17px;border:1px solid #efcd90;border-radius:12px;background:#fff8e9;color:#7d551c}.jst-result-unknown>strong{font-size:16px}.jst-result-unknown p{margin:6px 0 0;color:#7d551c}.jst-recovery{margin-top:20px;border-top:1px solid #e6ebef;padding-top:12px}.jst-recovery p{font-size:13px}.jst-panel button:focus-visible,.jst-panel select:focus-visible,.jst-panel input:focus-visible{outline:3px solid #e4ae4a;outline-offset:3px}.jst-mode-card .btn:disabled{opacity:.65;cursor:default}
@media(max-width:760px){.jst-mode-heading{align-items:flex-start;flex-direction:column;gap:5px}.jst-mode-grid,.jst-step-grid.jst-step-grid-owned{grid-template-columns:1fr}.jst-mode-card{padding:15px}.jst-mode-card .btn{width:100%}.jst-result-unknown{padding:13px}.jst-heading{overflow-wrap:anywhere}}
