:root{--hub-panel:#fffffff0;--hub-line:#b9d0de7a;--hub-muted:#627489;--hub-danger:#a52f42;--hub-success:#08785a;--hub-warning:#926000}*{box-sizing:border-box}[hidden]{display:none!important}html,body{overflow-x:hidden}body{margin:0}.hub-shell{z-index:1;width:min(1380px,100% - 36px);margin:auto;padding:18px 0 68px;position:relative}.topbar{justify-content:space-between;align-items:center;gap:22px;margin-bottom:18px;display:flex}.topbar h1{margin:0 0 3px;font-size:22px}.topbar p{color:var(--hub-muted);margin:0;font-size:12px}.hub-top-actions{align-items:center;gap:10px;display:flex}.hub-role{color:#63337b;background:linear-gradient(135deg,#9d4eb21a,#23f5ef21);border:1px solid #9d4eb238;border-radius:999px;padding:10px 13px;font-size:11px;font-weight:800}.hub-notice{color:#d9fffd;background:#06404adb;border:1px solid #23f5ef29;border-radius:14px;margin-bottom:16px;padding:13px 16px;font-size:13px;display:none}.hub-notice.show{display:block}.hub-notice.error{color:#ffe7ec;background:#64142fe0;border-color:#ff82974d}.hub-notice.success{background:#07564be0}.hub-hero{border-radius:30px;grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr);align-items:center;gap:36px;min-height:290px;padding:42px!important;display:grid!important}.hub-hero h2{color:#fff;max-width:760px;margin:8px 0 14px;font-size:clamp(34px,4.4vw,58px);line-height:1.02}.hub-hero p{max-width:740px;line-height:1.6}.hub-hero-stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.hub-hero-stats article{backdrop-filter:blur(12px);background:#ffffff1a;border:1px solid #ffffff2b;border-radius:18px;padding:19px}.hub-hero-stats strong{color:#fff;font-size:27px;display:block}.hub-hero-stats span{color:#ffffffb8;margin-top:5px;font-size:11px;display:block}.hub-steps{grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0;display:grid}.hub-steps button{color:#ffffffad;cursor:pointer;background:#031d2bb3;border:1px solid #ffffff2e;border-radius:15px;justify-content:center;align-items:center;gap:10px;min-height:50px;font-weight:800;display:flex}.hub-steps button span{background:#ffffff1a;border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.hub-steps button.active{color:#fff;background:linear-gradient(110deg,#082e41,#6f2f91 75%,#23f5ef 160%);border-color:#23f5ef75;box-shadow:0 12px 30px #09112b47}.hub-steps button:disabled{opacity:.45;cursor:not-allowed}.hub-panel{background:var(--hub-panel);backdrop-filter:blur(16px);border:1px solid #ffffffa6;border-radius:24px;margin-bottom:18px;padding:26px;box-shadow:0 24px 62px #000a1847}.hub-section-head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;display:flex}.hub-section-head h2{letter-spacing:-.035em;margin:5px 0;font-size:25px}.hub-section-head p{color:var(--hub-muted);margin:0;font-size:13px;line-height:1.55}.hub-org-label{min-width:260px;color:var(--hub-muted);gap:6px;font-size:11px;font-weight:700;display:grid}.hub-panel input,.hub-panel select,.hub-panel textarea,.record-dialog input,.record-dialog textarea{color:#082e41;width:100%;font:inherit;background:#fff;border:1px solid #c9dbe6;border-radius:11px;padding:11px 12px}.hub-panel input:focus,.hub-panel select:focus,.hub-panel textarea:focus,.record-dialog input:focus,.record-dialog textarea:focus{border-color:#7161ca;outline:3px solid #23f5ef33}.hub-panel button,.record-dialog button{color:#fff;font:inherit;cursor:pointer;background:linear-gradient(108deg,#082e41,#9d4eb2 72%,#23f5ef 155%);border:0;border-radius:11px;padding:11px 16px;font-weight:800}.hub-panel button.secondary,.record-dialog button.secondary{color:#082e41;background:#f3f7fa;border:1px solid #d3e1e9}.hub-panel button:disabled,.record-dialog button:disabled{opacity:.48;cursor:not-allowed}.source-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:18px;display:grid}.drop-zone{text-align:center;cursor:pointer;background:radial-gradient(circle at 50% 0,#23f5ef1a,#0000 35%),linear-gradient(145deg,#f9fbfd,#f4effa);border:2px dashed #6f2f915c;border-radius:22px;align-content:center;place-items:center;min-height:300px;padding:34px;transition:all .2s;display:grid}.drop-zone:hover,.drop-zone.dragging{border-color:#23bfc3;transform:translateY(-2px);box-shadow:0 18px 42px #402a6c1f}.drop-zone .hub-icon{width:72px;height:72px;margin-bottom:18px}.drop-zone strong{font-size:22px}.drop-zone>span:not(.hub-icon){color:var(--hub-muted);margin-top:8px;font-size:13px}.drop-zone small{color:#7c8b9c;margin-top:18px;font-size:11px}.source-card{border:1px solid var(--hub-line);background:linear-gradient(150deg,#fff,#edf9faf2);border-radius:22px;align-items:flex-start;gap:18px;padding:24px;display:flex}.source-card .hub-icon{flex:none}.source-card strong{font-size:18px}.source-card p{color:var(--hub-muted);font-size:13px;line-height:1.6}.coming-soon{color:#6f2f91;background:#eee8f8;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800;display:inline-flex}.file-preview{background:#edf9f7;border:1px solid #cfe6e5;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:16px;display:flex}.file-preview>div{align-items:center;gap:14px;display:flex}.file-preview strong,.file-preview span{display:block}.file-preview span{color:var(--hub-muted);margin-top:4px;font-size:12px}.hub-icon,.icon{color:#082e41;background:linear-gradient(145deg,#23f5ef2e,#9d4eb229);border:1px solid #6f2f9129;border-radius:17px;place-items:center;width:52px;height:52px;display:grid}.hub-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:27px;height:27px}.catalog-fields{grid-template-columns:1fr 1.4fr;gap:14px;margin-bottom:18px;display:grid}.catalog-fields label{color:var(--hub-muted);gap:7px;font-size:11px;font-weight:700;display:grid}.mapping-summary{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.summary-chip{color:#516678;background:#eef3f7;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700}.summary-chip.ok{color:#08785a;background:#e5f8ef}.summary-chip.warning{color:#8e5d00;background:#fff3d9}.mapping-table-wrap,.record-table-wrap{border:1px solid #d8e5ec;border-radius:16px;overflow:auto}.mapping-table,.record-table{border-collapse:collapse;width:100%;min-width:840px}.mapping-table th,.mapping-table td,.record-table th,.record-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e5edf2;padding:11px 12px}.mapping-table th,.record-table th{color:#65778c;text-transform:uppercase;letter-spacing:.05em;font-size:10px}.mapping-table td,.record-table td{font-size:12px}.mapping-table tr:last-child td,.record-table tr:last-child td{border-bottom:0}.mapping-table code{color:#082e41;font-size:12px;font-weight:800}.sample-value{color:#6a7a8d;text-overflow:ellipsis;white-space:nowrap;max-width:320px;display:block;overflow:hidden}.field-state{color:#617183;background:#eef3f7;border-radius:999px;padding:6px 8px;font-size:10px;font-weight:800;display:inline-flex}.field-state.identity{color:#08785a;background:#e4f7ef}.field-state.custom{color:#6f2f91;background:#eee8f8}.hub-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.review-summary{grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px;display:grid}.review-summary article{background:#f7fafc;border:1px solid #d7e4eb;border-radius:16px;padding:16px}.review-summary strong{font-size:25px;display:block}.review-summary span{color:var(--hub-muted);font-size:10px}.review-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.segmented{background:#edf3f6;border-radius:12px;gap:5px;padding:4px;display:flex}.segmented button{color:#617286;background:0 0;padding:8px 12px}.segmented button.active{color:#fff;background:#082e41}.review-toolbar>span,.pager{color:var(--hub-muted);font-size:11px}.record-table input{min-width:95px;padding:8px;font-size:11px}.record-table input.identity-field{min-width:190px}.record-status{border-radius:999px;padding:6px 8px;font-size:10px;font-weight:800;display:inline-flex}.record-status.valid{color:#08785a;background:#e1f7eb}.record-status.invalid{color:#9b2f42;background:#fde9ed}.record-status.duplicate{color:#926000;background:#fff1d2}.record-edit{padding:8px 10px!important;font-size:10px!important}.pager{justify-content:center;gap:10px;margin-top:14px;display:flex}.publish-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:30px;display:grid}.publish-layout h2{margin:10px 0;font-size:32px}.publish-layout p,.publish-layout li{color:var(--hub-muted);font-size:13px;line-height:1.65}.publish-layout aside{background:linear-gradient(150deg,#fff,#eef8f7);border:1px solid #d4e3ea;border-radius:20px;padding:22px}.publish-layout aside h3{margin:0 0 14px}.publish-layout dl{margin:0 0 18px}.publish-layout dl div{border-bottom:1px solid #dce8ed;justify-content:space-between;gap:14px;padding:12px 0;display:flex}.publish-layout dt{color:var(--hub-muted);font-size:11px}.publish-layout dd{margin:0;font-weight:800}.publish-layout aside button{width:100%}.publish-icon{width:64px;height:64px}.history-panel{margin-top:24px}.history-list{gap:10px;display:grid}.history-row{background:#f8fafb;border:1px solid #dde8ee;border-radius:14px;grid-template-columns:minmax(0,1.5fr) minmax(120px,.5fr) repeat(3,minmax(90px,.32fr));align-items:center;gap:14px;padding:14px;display:grid}.history-row strong,.history-row span{display:block}.history-row span{color:var(--hub-muted);margin-top:3px;font-size:10px}.history-status{background:#edf2f6;border-radius:999px;justify-self:start;padding:6px 9px;font-size:10px;font-weight:800}.history-status.published,.history-status.ready{color:#08785a;background:#e2f7ec}.history-status.failed{color:#9b2f42;background:#fde9ed}.empty-state{text-align:center;color:var(--hub-muted);padding:22px}.record-dialog{background:0 0;border:0;border-radius:24px;width:min(900px,100% - 28px);padding:0}.record-dialog::backdrop{backdrop-filter:blur(8px);background:#010f1cc2}.record-dialog-card{background:#f7fafc;border:1px solid #ffffff73;border-radius:24px;overflow:hidden;box-shadow:0 32px 90px #00000061}.record-dialog header{color:#fff;background:linear-gradient(120deg,#031d2b,#082e41 55%,#6f2f91);justify-content:space-between;align-items:center;padding:22px 24px;display:flex}.record-dialog h2{margin:4px 0 0}.dialog-close{width:42px;height:42px;background:#ffffff14!important;border:1px solid #ffffff57!important;border-radius:50%!important;padding:0!important;font-size:24px!important}.record-form-grid{grid-template-columns:repeat(3,1fr);gap:13px;padding:22px 24px;display:grid}.record-form-grid label{color:var(--hub-muted);gap:6px;font-size:11px;font-weight:700;display:grid}.record-form-grid .wide{grid-column:1/-1}.record-form-grid small{font-weight:500}.dialog-validation{min-height:18px;color:var(--hub-danger);margin:0 24px;font-size:11px}.record-dialog footer{justify-content:flex-end;gap:10px;padding:18px 24px 24px;display:flex}.denied{text-align:center;background:#fffffff0;border:1px solid #ffffffa3;border-radius:24px;max-width:700px;margin:12vh auto;padding:40px}.denied h1{font-size:34px}.denied p{color:var(--hub-muted);line-height:1.6}.denied a{color:#087d79;font-weight:800}@media (width<=980px){.hub-hero,.source-grid,.publish-layout{grid-template-columns:1fr}.review-summary{grid-template-columns:repeat(3,1fr)}.hub-hero-stats{max-width:600px}.history-row,.record-form-grid{grid-template-columns:1fr 1fr}}@media (width<=700px){.hub-shell{width:min(100% - 20px,1380px);padding-top:10px}.topbar,.hub-section-head{flex-direction:column;align-items:stretch}.hub-top-actions{justify-content:space-between}.hub-org-label{min-width:0}.hub-hero{padding:28px 22px!important}.hub-hero h2{font-size:36px}.hub-steps{grid-template-columns:1fr 1fr}.hub-panel{padding:18px}.catalog-fields,.review-summary{grid-template-columns:1fr 1fr}.record-form-grid{grid-template-columns:1fr}.record-form-grid .wide{grid-column:auto}.history-row{grid-template-columns:1fr}.history-status{justify-self:start}}