:root{color:#20221f;font-synthesis:none;text-rendering:optimizelegibility;--ink:#20221f;--ink-soft:#5d615b;--ink-muted:#8c9088;--paper:#f7f7f4;--surface:#fff;--surface-soft:#f1f2ed;--surface-warm:#eeeee8;--line:#dedfd8;--line-strong:#c9cbc2;--dark:#1c1e1c;--dark-soft:#2a2d29;--acid:#d8ff70;--acid-strong:#a8da35;--acid-dark:#4c6414;--blue:#3b82f6;--blue-soft:#e9f2ff;--red:#c7473c;--red-soft:#fff0ed;--green:#2f7e62;--green-soft:#e9f6ee;--shadow-xs:0 1px 2px #1719160d;--shadow-sm:0 5px 20px #17191612;--shadow-lg:0 24px 80px #17191624;--radius-sm:10px;--radius:16px;--radius-lg:24px;background:#f7f7f4;font-family:Avenir Next,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--paper);min-width:320px;min-height:100vh;color:var(--ink);margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}svg{width:20px;height:20px}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}input:not([type=checkbox]):not([type=radio]),textarea{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);outline:none;width:100%;padding:10px 13px;font-size:13px;transition:border-color .15s,box-shadow .15s}input:not([type=checkbox]):not([type=radio]):focus,textarea:focus{border-color:#8b9d5f;box-shadow:0 0 0 3px #b6db5738}.button{border:1px solid var(--line-strong);background:var(--surface);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:13px;font-weight:650;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s;display:inline-flex}.button:hover:not(:disabled){box-shadow:var(--shadow-xs);border-color:#aeb0a8;transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.5}.button.primary{background:var(--dark);color:#f8f8f4;border-color:var(--dark)}.button.primary:hover:not(:disabled){background:#2b2d29;box-shadow:0 8px 20px #1c1e1c29}.button.ghost{background:0 0;border-color:#0000}.button.ghost:hover:not(:disabled){background:var(--surface-soft);border-color:var(--line);box-shadow:none}.button.danger{color:var(--red);background:var(--red-soft);border-color:#e8c2bd}.button.small{border-radius:8px;min-height:32px;padding:0 11px;font-size:12px}.button.large{border-radius:12px;min-height:48px;padding:0 22px;font-size:14px}.button svg{width:16px;height:16px}.brand{align-items:center;gap:10px;display:inline-flex}.brand-mark{background:var(--dark);width:32px;height:32px;color:var(--acid);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.brand-mark svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.brand-text{line-height:1.15;display:grid}.brand-text strong{letter-spacing:-.02em;font-size:15px}.brand-text small{color:var(--ink-muted);font-size:11px;font-weight:600}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-xs)}.spinner{border:2px solid;border-right-color:#0000;border-radius:999px;width:14px;height:14px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-screen{background:var(--paper);place-content:center;place-items:center;gap:18px;min-height:100vh;display:grid}.loading-track{background:var(--line);border-radius:9px;width:160px;height:2px;overflow:hidden}.loading-track span{background:var(--dark);width:55%;height:100%;animation:1.2s ease-in-out infinite alternate loading;display:block}@keyframes loading{0%{transform:translate(-100%)}to{transform:translate(180%)}}.auth-screen{background:radial-gradient(circle at 50% -10%, #eff7dc, transparent 48%), var(--paper);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-dialog{border:1px solid var(--line);width:min(460px,100%);box-shadow:var(--shadow-lg);background:#fffffdfa;border-radius:23px;padding:38px}.auth-heading{margin:28px 0 24px}.auth-heading h1{margin-bottom:9px;font-family:Iowan Old Style,Palatino Linotype,Georgia,serif;font-size:36px;font-weight:500;line-height:1.08}.auth-heading p{color:var(--ink-soft);margin:0;font-size:13px;line-height:1.6}.auth-dialog form{gap:15px;display:grid}.auth-dialog label{color:var(--ink-soft);gap:7px;font-size:12px;font-weight:600;display:grid}.auth-dialog form>.button{width:100%;margin-top:6px}.form-error{color:#9b352d;background:var(--red-soft);border:1px solid #efd1cd;border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.5}.app-shell{background:var(--paper);grid-template-columns:256px minmax(0,1fr);min-height:100vh;display:grid}.app-sidebar{z-index:20;border-right:1px solid var(--line);background:#efefeb;flex-direction:column;height:100vh;padding:19px 13px 14px;display:flex;position:sticky;top:0}.sidebar-brand{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 8px 16px;display:flex}.sidebar-section{flex-direction:column;flex:1;gap:18px;padding:20px 2px;display:flex}.sidebar-label{color:#71766c;letter-spacing:.13em;text-transform:uppercase;margin:0 10px 8px;font-size:10px;font-weight:700;display:block}.primary-nav{gap:4px;display:grid}.primary-nav button{color:#5c6158;text-align:left;background:0 0;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 11px;font-size:13.5px;display:flex}.primary-nav button>span{align-items:center;gap:10px;display:inline-flex}.primary-nav button:hover{color:var(--ink);background:#ffffff8c}.primary-nav button.active{color:var(--ink);box-shadow:var(--shadow-xs);background:#fff;font-weight:650}.primary-nav svg{width:17px;height:17px}.nav-pill{background:var(--surface-soft);color:var(--ink-muted);font-variant-numeric:tabular-nums;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700}.primary-nav button.active .nav-pill{color:var(--acid-dark);background:#edf4dc}.sidebar-footer{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.sidebar-security-note{border:1px solid var(--line);color:var(--ink-soft);background:#ffffffa6;border-radius:10px;padding:10px 11px;font-size:11.5px;line-height:1.5}.sidebar-security-note strong{color:var(--ink);align-items:center;gap:6px;margin-bottom:3px;font-size:12px;display:flex}.sidebar-security-note svg{width:14px;height:14px;color:var(--acid-dark)}.app-main{min-width:0}.mobile-topbar{display:none}.page{width:100%;max-width:1320px;margin:0 auto;padding:44px clamp(24px,4vw,68px) 128px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 24px;margin-bottom:26px;display:flex}.page-title{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.page-header h1{margin:0;font-family:Iowan Old Style,Palatino Linotype,Georgia,serif;font-size:clamp(30px,3vw,38px);font-weight:500;line-height:1.08}.page-description{max-width:720px;color:var(--ink-soft);margin:8px 0 0;font-size:14px;line-height:1.6}.page-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stack{gap:18px;min-width:0;display:grid}.panel{min-width:0;overflow:hidden}.panel-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 16px;padding:20px 22px 0;display:flex}.panel-header h3{margin:0;font-size:16px;font-weight:650}.panel-header p{color:var(--ink-soft);max-width:700px;margin:4px 0 0;font-size:13px;line-height:1.55}.panel-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel-body{min-width:0;padding:16px 22px 22px}.panel.flush .panel-body{padding:14px 0 0}.panel.flush .panel-body>.empty-state{margin:0 22px 22px}.badge{color:#5d615b;white-space:nowrap;background:#f3f4ef;border:1px solid #e2e3dc;border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:3px 9px;font-size:12px;font-weight:650;line-height:1.4;display:inline-flex}.badge>i{background:currentColor;border-radius:50%;width:6px;height:6px}.badge.success{color:#27705a;background:#e9f6ee;border-color:#c3e3cf}.badge.warning{color:#85620f;background:#fff6dc;border-color:#ecd9a0}.badge.danger{color:#ad3a30;background:#fff0ed;border-color:#efc8c2}.badge.info{color:#2f5ea8;background:#edf4ff;border-color:#c9dbf8}.badge.accent{color:#4c6414;background:#f1f8e1;border-color:#d3e5a6}.callout{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:13px 16px;font-size:13px;line-height:1.6;display:flex}.callout>div:first-child{flex:320px;min-width:0}.callout strong{color:var(--ink)}.callout p{margin:0}.callout.warning{color:#6f5414;background:#fff8e4;border-color:#eedca8}.callout.danger{color:#9b352d;background:var(--red-soft);border-color:#efd1cd}.callout.accent{color:#4d5f22;background:#f5f9ea;border-color:#d9e7b6}.callout.success{color:#285f4b;background:#eef8f2;border-color:#cbe6d6}.callout-action{align-items:center;gap:8px;display:flex}.stat-grid{gap:12px;display:grid}.stat-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-tile{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-content:start;gap:6px;min-width:0;padding:16px 18px;display:grid}.stat-label{color:var(--ink-soft);font-size:12.5px;font-weight:600}.stat-value{font-variant-numeric:tabular-nums;letter-spacing:-.03em;font-size:26px;font-weight:650;line-height:1.15}.stat-detail{color:var(--ink-muted);font-size:12px;line-height:1.45}.stat-tile.positive .stat-value{color:#4f7a1c}.endpoint-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.endpoint-box{border:1px solid var(--line);background:#fafbf8;border-radius:12px;gap:8px;padding:15px 16px;display:grid}.endpoint-box>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.endpoint-box>header span{color:#666b61;letter-spacing:.1em;text-transform:uppercase;font-size:11px;font-weight:700}.endpoint-value-row{border:1px solid var(--line);background:var(--surface);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;display:flex}.endpoint-value-row code{color:var(--ink);overflow-wrap:anywhere;font-size:13px;font-weight:600}.endpoint-box small{color:var(--ink-muted);font-size:12px;line-height:1.45}.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.step-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-content:start;gap:6px;padding:15px 16px;display:grid}.step-num{width:23px;height:23px;color:var(--acid-dark);background:#eaf3d0;border-radius:7px;place-items:center;font-size:12px;font-weight:800;display:inline-grid}.step-card strong{font-size:13.5px}.step-card p{color:var(--ink-soft);margin:0;font-size:12.5px;line-height:1.55}.segmented{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;flex-wrap:wrap;padding:3px;display:inline-flex}.segmented button{min-height:32px;color:var(--ink-muted);background:0 0;border-radius:7px;padding:0 12px;font-size:12.5px;font-weight:650}.segmented button.active{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-xs)}.custom-select{width:100%;position:relative}.custom-select-trigger{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 10px 8px 12px;display:grid}.custom-select-trigger:hover:not(:disabled){border-color:var(--line-strong);background:#fcfcfa}.custom-select.open .custom-select-trigger{border-color:#8b9d5f;box-shadow:0 0 0 3px #b6db5733}.custom-select-trigger>span{overflow-wrap:anywhere;min-width:0;font-size:13px}.custom-select-trigger .placeholder{color:var(--ink-muted)}.custom-select-trigger svg{width:14px;height:14px;color:var(--ink-muted);transition:transform .15s}.custom-select.open .custom-select-trigger svg{transform:rotate(180deg)}.custom-select-menu{z-index:90;border:1px solid var(--line);background:#fffffdfc;border-radius:11px;flex-direction:column;gap:4px;max-height:min(320px,100vh - 16px);padding:5px;display:flex;position:fixed;overflow:hidden;box-shadow:0 18px 55px #1719162e}.custom-select-options{gap:2px;min-height:0;display:grid;overflow:auto}.custom-select-options>button{text-align:left;background:0 0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 9px;display:grid}.custom-select-options>button.active:not(:disabled){background:var(--surface-soft)}.custom-select-options>button.selected{color:#4f6518;background:#f3f8e7}.custom-select-options>button>span{gap:2px;min-width:0;display:grid}.custom-select-menu strong{overflow-wrap:anywhere;font-size:13px}.custom-select-menu small{color:var(--ink-muted);font-size:11.5px}.custom-select-menu svg{color:#668122;width:14px;height:14px}.custom-select-search{border:1px solid var(--line);border-radius:7px;flex-shrink:0;width:100%;min-height:38px;padding:8px 10px}.custom-select-empty{color:var(--ink-muted);margin:0;padding:8px;font-size:13px}.filter-bar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.search-box{flex:260px;max-width:420px;position:relative}.search-box svg{width:15px;height:15px;color:var(--ink-muted);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.search-box input{padding-left:34px!important}.table-scroll{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table th{border-bottom:1px solid var(--line);color:var(--ink-muted);text-align:left;white-space:nowrap;background:#fafaf7;padding:10px 16px;font-size:12px;font-weight:600}.data-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:13px 16px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafbf6}.data-table .end{text-align:right}.connection-cards{gap:14px;display:grid}.connection-item{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-xs);border-radius:14px;overflow:hidden}.connection-item.draft{border-color:#b5ca79;box-shadow:0 8px 30px #4c641414}.connection-item-header{background:#fafbf8;border-bottom:1px solid #0000;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.connection-item.expanded .connection-item-header{border-bottom-color:var(--line)}.connection-item-title{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.connection-item-title strong{font-size:15px}.connection-item-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.connection-editor{gap:18px;padding:20px;display:grid}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field-block{align-content:start;gap:6px;min-width:0;display:grid}.field-block.full{grid-column:1/-1}.field-block>span{color:var(--ink-soft);font-size:12px;font-weight:600}.field-block>span em{color:var(--ink-muted);margin-left:5px;font-style:normal;font-weight:400}.field-block>small{color:var(--ink-muted);font-size:11.5px;line-height:1.45}.field-error-text{font-weight:500;color:var(--red)!important}.switch{cursor:pointer;align-items:center;gap:8px;font-size:13px;font-weight:600;display:inline-flex}.switch input{appearance:none;cursor:pointer;background:#cfd4c8;border-radius:999px;width:34px;height:19px;margin:0;transition:background .15s;position:relative}.switch input:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:2.5px;left:2.5px;box-shadow:0 1px 2px #0003}.switch input:checked{background:var(--green)}.switch input:checked:after{transform:translate(15px)}.exposure-panel{border:1px solid var(--line);background:#fafbf8;border-radius:12px;gap:14px;padding:16px;display:grid}.exposure-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.catalog-preview-chips{flex-wrap:wrap;gap:6px;max-height:112px;display:flex;overflow:auto}.catalog-chip{border:1px solid var(--line);background:var(--surface);color:var(--ink-soft);border-radius:6px;padding:3px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px}.mapping-rows{gap:8px;display:grid}.mapping-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:minmax(160px,1fr) minmax(160px,1.2fr) 150px auto;align-items:center;gap:8px;padding:10px;display:grid}.mapping-adder{gap:10px;display:grid}.mapping-adder-catalog{max-width:440px}.mapping-adder-custom{grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) auto;align-items:center;gap:8px;display:grid}.health-box{border:1px solid var(--line);background:#fafbf8;border-radius:12px;gap:12px;padding:15px 16px;display:grid}.health-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.health-result{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:4px;padding:12px 14px;font-size:12.5px;display:grid}.health-result.success{background:#f3f8e7;border-color:#cde0a0}.health-result.failure{background:var(--red-soft);border-color:#ecc8c2}.health-result-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;display:flex}.secret-reveal-card{background:#f5fae8;border:1px solid #b7cf75;border-radius:14px;gap:12px;padding:18px 20px;display:grid}.secret-reveal-value{background:#fff;border:1px solid #d2e0ac;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;display:flex}.secret-reveal-value code{overflow-wrap:anywhere;font-size:13px;font-weight:600}.code-snippet{background:var(--dark);color:#e5e8e0;border-radius:10px;margin:0;padding:13px 15px;font-size:12px;line-height:1.65;overflow-x:auto}.empty-state{text-align:center;place-content:center;place-items:center;min-height:250px;padding:42px 24px;display:grid}.empty-state.compact{min-height:180px;padding:30px 20px}.empty-icon{color:#607522;background:#eaf3d0;border-radius:14px;place-items:center;width:46px;height:46px;margin-bottom:14px;display:grid}.empty-state h2{margin-bottom:6px;font-size:18px}.empty-state p{max-width:440px;color:var(--ink-soft);margin-bottom:18px;font-size:13.5px;line-height:1.6}.toast-viewport{z-index:100;gap:8px;width:min(360px,100vw - 44px);display:grid;position:fixed;bottom:22px;right:22px}.toast{color:#f5f6f2;background:var(--dark);box-shadow:var(--shadow-lg);border:1px solid #3a3d38;border-radius:11px;align-items:center;gap:10px;padding:12px 14px;font-size:13px;display:flex}.toast>span{width:19px;height:19px;color:var(--dark);background:var(--acid);border-radius:50%;flex-shrink:0;place-items:center;font-size:12px;font-weight:800;display:grid}.toast.error>span{color:#fff;background:var(--red)}.route-stack{flex-wrap:wrap;gap:6px;display:flex}.route-pill{border:1px solid var(--line);background:#fafbf8;border-radius:7px;align-items:center;gap:6px;padding:3px 8px;font-size:12px;display:inline-flex}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}@media (width<=960px){.app-shell{display:block}.app-sidebar{display:none}.app-sidebar.mobile-open{width:270px;box-shadow:var(--shadow-lg);display:flex;position:fixed;inset:0 auto 0 0}.mobile-topbar{border-bottom:1px solid var(--line);background:#efefeb;justify-content:space-between;align-items:center;height:58px;padding:0 16px;display:flex}.endpoint-grid,.steps-grid,.stat-grid.cols-4,.form-grid-2,.mapping-row,.mapping-adder-custom,.health-controls{grid-template-columns:1fr}}
