:root{color-scheme:light;--navy:#142d42;--navy-dark:#112536;--teal:#178f8e;--teal-dark:#0c7777;--teal-pale:#e2f3ef;--ink:#203547;--muted:#677788;--border:#e0e7ec;--surface:#fff;--bg:#f3f6f8;--amber:#a86621;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 "Segoe UI",Inter,Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}pre{white-space:pre-wrap;overflow-wrap:anywhere}h1,h2,h3,p{margin-top:0}h2{font-size:22px;line-height:1.24;letter-spacing:-.45px;color:var(--navy-dark)}h3{font-size:16px;color:var(--navy-dark)}.wrap{max-width:1320px;margin:0 auto;padding:0 28px}
.site-header{height:78px;background:#fff;border-bottom:1px solid var(--border);position:relative;z-index:10}.site-header-inner{height:100%;display:flex;align-items:center;gap:34px}.brand{display:inline-flex;align-items:center;gap:11px;min-width:245px}.brand:hover{text-decoration:none}.brand-mark{height:36px;width:36px;display:grid;place-items:center;color:var(--teal)}.brand-mark svg{width:33px;height:33px}.brand-name{display:flex;flex-direction:column;line-height:1.03;letter-spacing:1.45px}.brand-name strong{font-size:17px;color:#122f43;font-weight:800}.brand-name small{margin-top:5px;font-size:9px;font-weight:750;letter-spacing:2px;color:#6a7a88}.site-nav{display:flex;gap:30px;margin:auto;font-size:13px;font-weight:650;color:#617385}.site-nav a:hover{color:var(--teal);text-decoration:none}.status-pill{white-space:nowrap;border:1px solid #c8e5de;background:#effaf6;color:#257769;font-weight:750;font-size:10px;letter-spacing:.75px;padding:9px 13px;border-radius:99px}.status-dot,.meta-dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:#3fb18b;margin-right:6px}
.hero{margin:35px 0 24px;padding:34px 42px;background:linear-gradient(128deg,#112c42 0%,#1a4355 56%,#17646a 100%);border-radius:19px;color:#fff;display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:34px;box-shadow:0 10px 26px #1c405b16}.eyebrow{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:2px;font-weight:800;color:#8ce4d6}.eyebrow-line{width:20px;height:2px;background:#70d6c8}.hero h1{font-size:clamp(27px,2.85vw,42px);line-height:1.18;letter-spacing:-1px;margin:17px 0 14px;font-weight:750}.hero h1 em{font-style:normal;color:#84ded2}.hero-copy>p{max-width:525px;color:#d2e1e5;line-height:1.7;font-size:13.5px;margin-bottom:19px}.hero-meta{color:#a7c3cc;font-size:10.5px;letter-spacing:.12px}.hero-meta .meta-dot{background:#6de2be}.meta-separator{padding:0 8px;color:#66909f}.hero-flow{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;border:1px solid #ffffff1e;border-radius:14px;padding:29px 12px 16px;background:#ffffff08}.flow-tile{min-width:116px;flex:1;max-width:158px;min-height:120px;background:#ffffff10;border:1px solid #ffffff20;border-radius:10px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:11px;padding:12px 5px}.flow-tile-active{border-color:#71d6c0;background:#64c9b218}.flow-icon{display:grid;place-items:center;width:30px;height:30px;color:#c1e4e9}.flow-tile-active .flow-icon{color:#82e4d5}.flow-icon svg{width:25px;height:25px}.flow-tile strong,.flow-tile small{display:block;line-height:1.35}.flow-tile strong{font-size:12px;color:#fff}.flow-tile small{font-size:10px;color:#a5c7ce;margin-top:5px}.flow-arrow{color:#76d6ca;font-size:20px}.flow-hint{text-align:center;width:100%;margin:3px 0 0;color:#a9c3cb;font-size:9.5px}
.message{border-radius:10px;padding:12px 17px;margin-bottom:20px;font-size:13px;font-weight:600;border:1px solid #cae5d7;background:#effaf5;color:#28795d}.message.error{background:#fff1ee;color:#a33a2a;border-color:#f6d1c8}.message[hidden]{display:none}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0 25px}.stat{min-height:122px;background:#fff;border:1px solid var(--border);border-radius:13px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;box-shadow:0 3px 10px #122d4210}.stat-accent{background:#edf8f5;border-color:#cbe7df}.stat-label{font-size:10px;letter-spacing:1.1px;font-weight:800;color:#83919e}.stat strong{font-size:31px;color:var(--navy-dark);line-height:1.13;letter-spacing:-.8px;font-weight:760}.stat .stat-text{font-size:20px;letter-spacing:-.45px;overflow-wrap:anywhere}.stat-accent strong{color:#087f76}.stat-caption{color:#8996a2;font-size:11px}
.workspace{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(370px,1fr);gap:22px;align-items:start}.workspace-main{display:grid;gap:22px}.workspace-sidebar{display:grid;gap:18px;position:sticky;top:18px}.panel{border:1px solid var(--border);background:#fff;border-radius:15px;padding:25px 26px 27px;box-shadow:0 4px 16px #142d4210;scroll-margin-top:30px}.section-top{display:flex;align-items:center;gap:10px;margin-bottom:15px}.step-index{font-size:11px;font-weight:800;color:var(--teal);border:1px solid #a8dcd3;background:#ebf8f4;width:27px;height:27px;border-radius:7px;display:grid;place-items:center}.section-eyebrow{font-size:10px;letter-spacing:1.25px;color:#778895;font-weight:800;white-space:nowrap}.section-rule{height:1px;background:#e9edf0;flex:1;margin-left:5px}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:19px}.panel-heading h2{margin-bottom:5px}.panel-heading p{font-size:12.5px;color:#788896;max-width:530px;margin-bottom:0}.tag{white-space:nowrap;color:#5e7a90;background:#edf3f7;border-radius:7px;font-size:10px;font-weight:750;letter-spacing:.4px;padding:6px 10px;margin-top:4px}.tag-teal{color:#187f75;background:#e5f5f0}.button{border:1px solid transparent;padding:11px 16px;border-radius:8px;display:inline-flex;gap:4px;justify-content:center;align-items:center;transition:background .16s ease,box-shadow .16s ease,transform .1s ease;font-weight:750;font-size:12.5px;white-space:nowrap;line-height:1.2}.button:hover{text-decoration:none}.button:focus-visible,.field-check input:focus-visible+span,a:focus-visible,summary:focus-visible{outline:3px solid #6bb8ec;outline-offset:2px}.button:not(:disabled):active{transform:translateY(1px)}.button-primary{color:#fff;background:#138c86;border-color:#138c86}.button-primary:hover:not(:disabled){background:#08756f}.button-outline{color:#2b606c;border-color:#c5dce0;background:white}.button-outline:hover:not(:disabled){background:#edf7f7}.button-plain{color:#597483;background:transparent}.button-plain:hover{background:#eaf1f4}.button-sm{padding:8px 12px;font-size:11.5px}.button-lg{padding:13px 22px;font-size:13px}
.source-file{display:flex;align-items:center;gap:14px;border-radius:11px;padding:15px 16px;background:#f4f8fa;border:1px solid #e1ebef}.source-file-icon{display:grid;place-items:center;background:white;border:1px solid #d9e6ec;width:45px;height:45px;flex:none;border-radius:10px;color:#418b8d}.source-file-icon svg{width:22px;height:22px}.source-file-details{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.source-file-details strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-file-details span{color:#7f909c;font-size:11px}.file-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}#fileInput{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.source-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:17px 0 14px}.fact{padding:2px 0;min-width:0}.fact span{display:block;color:#8696a3;font-size:10.5px;font-weight:650}.fact strong{color:#254455;font-size:14px;font-weight:720;overflow-wrap:anywhere}.code-details{border-top:1px solid #e7ecef;margin-top:1px;padding-top:14px}.code-details summary{cursor:pointer;color:#46807d;font-size:12px;font-weight:750}.code-details summary span{margin-left:5px}.code-block{margin:13px 0 0;border:1px solid #dce5e9;background:#f7fafb;color:#24475a;padding:15px;border-radius:9px;font:11px/1.62 Consolas,"Cascadia Code",monospace;max-height:330px;overflow:auto}.skeleton{color:#93a0aa;padding:10px;font-size:12px}
.query-cards{display:grid;grid-template-columns:1fr 1fr;gap:13px}.query-card{border:1px solid #e0e9ed;border-radius:11px;background:#fcfdfd;padding:15px;min-width:0}.query-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:7px}.query-icon{width:27px;height:27px;border-radius:7px;background:#e9f6f2;color:#148778;font-size:13px;font-weight:800;display:grid;place-items:center}.query-count{font-size:10px;white-space:nowrap;font-weight:750;color:#367d75;background:#edf8f4;padding:3px 7px;border-radius:99px}.query-card h3{font-size:13.5px;margin:8px 0 3px}.query-card>p{font-size:11px;color:#80909d;min-height:34px;margin-bottom:8px}.query-table{width:100%;border-collapse:collapse;margin:9px 0;font-size:10px;line-height:1.45;display:block;max-height:185px;overflow:auto}.query-table th{color:#81919e;text-align:left;font-weight:650;font-size:9px;border-bottom:1px solid #e5edef;padding:7px 8px 6px 0;white-space:nowrap}.query-table td{border-bottom:1px solid #eef3f5;padding:7px 8px 7px 0;max-width:215px;overflow-wrap:anywhere;vertical-align:top}.query-table tr:last-child td{border-bottom:0}.query-code{border-top:1px solid #e9eeee;padding-top:8px}.query-code summary{cursor:pointer;color:#23887c;font-size:10.5px;font-weight:800}.query-code pre{background:#f2f7f8;border:1px solid #e3ecee;border-radius:7px;padding:10px;font-size:10px;line-height:1.6;max-height:210px;overflow:auto}
.field-list{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field-check{display:flex;gap:11px;align-items:center;border:1px solid #dfe9ed;padding:12px 14px;border-radius:9px;cursor:pointer;position:relative;transition:background .16s,border-color .16s}.field-check:has(input:checked){border-color:#82c7bb;background:#f0faf7}.field-check:has(input:disabled){opacity:.48;cursor:not-allowed}.field-check input{width:16px;height:16px;accent-color:#128f82;flex:none;margin:0}.field-check span{display:flex;flex-direction:column;gap:1px;min-width:0}.field-check strong{font-size:12px;color:#233f4d}.field-check small{font-size:10px;color:#8798a1;line-height:1.35}.static-fields{margin-top:15px;background:#f5f8fa;border:1px solid #e4ebef;border-radius:9px;padding:11px 13px;display:flex;align-items:start;gap:10px;color:#788896}.static-fields>span{border-radius:50%;background:#cfdee6;width:17px;height:17px;line-height:17px;text-align:center;color:#456679;font-size:11px;font-weight:800;flex:none}.static-fields p{font-size:11px;line-height:1.6;margin:0}.static-fields strong{color:#536d7c}.create-actions{display:flex;align-items:center;gap:14px;margin-top:17px}.note-inline{font-size:11px;color:#8796a2}
.output-panel h2{margin:0 0 7px}.output-description{font-size:12px;line-height:1.65;color:#788997;margin-bottom:18px}.result-state{background:#f0f5f7;border:1px solid #e0e9ed;border-radius:7px;font-size:11px;color:#657f8c;padding:9px 11px;display:flex;align-items:center;gap:9px}.result-state.ready{color:#198270;background:#eaf8f2;border-color:#cde6db}.result-state.stale{background:#fff7ea;color:#97662c;border-color:#eee1c7}.result-state-dot{width:7px;height:7px;border-radius:50%;background:#88a5b2;flex:none}.result-state.ready .result-state-dot{background:#32ae88}.result-state.stale .result-state-dot{background:#d8a34e}.include-summary{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 16px;min-height:30px;align-items:center}.result-chip{font-size:10px;font-weight:720;border:1px solid #cce4db;background:#e9f8f2;padding:5px 7px;border-radius:5px;color:#267a67}.muted{color:#94a0aa;font-size:11px}.code-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;gap:7px}.code-head strong{color:#486575;font-size:11px}.code-head span{color:#98a6ad;font-family:Consolas,monospace;font-size:10px}.result-code{max-height:465px;min-height:200px;background:#122b3c;border:1px solid #0c2434;color:#bfe3dc;font-size:10.5px;margin:0;line-height:1.65}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0}.result-actions .button{white-space:normal;padding:11px 9px}.warning-box{display:flex;align-items:start;gap:10px;border-radius:9px;background:#fff8eb;border:1px solid #eedfc2;margin-top:19px;padding:13px}.warning-box .warning-icon{display:grid;place-items:center;border:1px solid #d5b77a;border-radius:50%;flex:none;width:20px;height:20px;font-weight:800;font-size:12px;color:#a1762d}.warning-box p{margin:0;color:#82643a;font-size:10.5px;line-height:1.64}.warning-box strong{color:#704f25}.roadmap-panel{padding:20px 23px}.roadmap-panel h3{margin-bottom:17px}.roadmap{list-style:none;counter-reset:r;display:grid;gap:0;padding:0;margin:0}.roadmap li{display:flex;align-items:start;gap:12px;min-height:56px;position:relative}.roadmap li:not(:last-child):before{content:"";height:31px;border-left:1px dashed #c4d4dd;position:absolute;top:26px;left:12px}.roadmap li>span{width:25px;height:25px;border-radius:50%;background:#edf3f6;color:#738999;display:grid;place-items:center;font-size:11px;font-weight:800;flex:none}.roadmap li.roadmap-now>span{background:#ddf3eb;color:#0f8772}.roadmap li>div{font-size:12px;font-weight:680;color:#445e6d;line-height:1.3;padding-top:3px}.roadmap li small{display:block;color:#93a0a9;font-size:10px;font-weight:500;margin-top:5px}.footer{padding-top:25px;padding-bottom:34px;display:flex;justify-content:space-between;gap:15px;color:#8c9aa6;font-size:10.5px}.footer a{color:#418d8a;font-weight:700}
@media(max-width:1110px){.hero{grid-template-columns:1fr;gap:25px}.hero-flow{max-width:650px}.workspace{grid-template-columns:minmax(0,1fr) minmax(300px,.78fr)}.source-file{flex-wrap:wrap}.file-actions{margin-left:auto}.site-nav{gap:17px}}@media(max-width:850px){.workspace{grid-template-columns:1fr}.workspace-sidebar{position:static;grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.site-nav{display:none}.site-header-inner{justify-content:space-between}.source-file{flex-wrap:nowrap}.panel{padding:22px}}@media(max-width:550px){.wrap{padding-left:15px;padding-right:15px}.site-header{height:70px}.brand{min-width:auto}.brand-name strong{font-size:14px}.brand-name small{font-size:8px}.status-pill{font-size:8px;padding:7px}.hero{margin-top:17px;padding:28px 20px}.hero h1{font-size:30px}.hero-flow{padding:15px 8px}.flow-tile{min-width:85px;min-height:106px}.flow-tile strong{font-size:10px}.flow-tile small{font-size:9px}.flow-arrow{font-size:15px}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:26px}.stat .stat-text{font-size:15px}.panel-heading{flex-wrap:wrap}.query-cards,.field-list{grid-template-columns:1fr}.source-file{flex-wrap:wrap}.source-file-details{min-width:calc(100% - 65px)}.file-actions{width:100%;justify-content:flex-start}.source-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.result-actions{grid-template-columns:1fr}.footer{flex-wrap:wrap}}

/* EDC v3 adapter, kept independent from the local transformation workspace. */
.edc-connection{margin:16px 0 22px;padding:23px 28px}
.edc-row{display:flex;gap:20px;align-items:center;justify-content:space-between}
.edc-information{flex:1;min-width:0}
.edc-information h2{margin:0 0 6px}
.edc-information p{font-size:12px;color:#7b8996;margin:0}
.edc-meta{display:flex;gap:11px;flex-wrap:wrap;margin-top:12px;align-items:center}
.edc-label{font-size:11px;font-weight:750;color:#13766f;background:#e9f6f1;border-radius:6px;padding:5px 9px}
.edc-source-asset{font-size:11px;color:#778997;overflow-wrap:anywhere}
.edc-trace{margin-top:15px;background:#f2f6f8;border:1px solid #e5ecef;border-radius:8px;padding:11px 13px;color:#607786;font-size:11.5px;line-height:1.55;overflow-wrap:anywhere}
.edc-publication{margin-top:20px;padding:16px;border:1px solid #cbe2df;border-radius:10px;background:#f2faf8}
.edc-publication h3{margin:0 0 5px;font-size:13px}
.edc-publication p{font-size:11px;color:#68848b;line-height:1.55;margin:0 0 13px}
.edc-publication button{width:100%;white-space:normal}
.edc-publish-status{font-size:10.5px;overflow-wrap:anywhere;margin-top:11px;color:#53717a;line-height:1.5}
@media(max-width:640px){.edc-connection{padding:17px}.edc-row{flex-direction:column;align-items:stretch}.edc-row>button{width:100%}}
.user-menu{display:flex;align-items:center;gap:8px}.user-menu[hidden]{display:none}.user-menu form{margin:0}.user-chip{display:flex;flex-direction:column;line-height:1.15;text-align:right}.user-chip strong{font-size:12px;color:var(--navy-dark)}.user-chip small{font-size:10px;color:var(--muted)}.login-main{min-height:calc(100vh - 160px);display:grid;place-items:center;padding-top:40px;padding-bottom:40px}.login-card{max-width:560px;width:100%}.login-card h1{font-size:30px;letter-spacing:-.8px;color:var(--navy-dark);margin-bottom:10px}.login-card p{color:#5f7282;font-size:13.5px}.login-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.login-note{font-size:11.5px!important;color:#8996a2!important;margin:0}@media(max-width:550px){.user-chip{display:none}.login-actions .button{width:100%}}
