:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:14px;color:#182536;background:#f4f6f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}h1,h2,h3,h4,p{margin-top:0}h1{letter-spacing:-.055em;font-size:clamp(42px,5vw,69px);font-weight:740;line-height:1.08}h1 em{font-style:normal;color:#74b4e1}h2{font-size:27px;letter-spacing:-.04em;margin-bottom:8px}h3{letter-spacing:-.025em;margin-bottom:10px}.muted{color:#6c7a8a;line-height:1.6}.hint{color:#8b98a6;font-weight:400;font-size:12px}.eyebrow{letter-spacing:.19em;font-size:11px;color:#94b5d2;font-weight:750}.auth-layout{display:grid;grid-template-columns:minmax(350px,48%) 1fr;min-height:100vh}.hero-panel{background:radial-gradient(ellipse at 30% 35%,#23415d,#101c2d 66%,#0a1422);color:white;padding:45px 58px;display:flex;flex-direction:column;justify-content:space-between}.brand-mark,.side-brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:720;letter-spacing:-.035em}.mark-square{border-radius:12px;width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;background:#67aee1;color:#0e2238;font-size:26px;font-weight:850}.brand-soft{font-weight:350;color:#91a3b4}.hero-copy{max-width:550px}.hero-copy h1{margin:14px 0 22px}.hero-copy p{font-size:16px;color:#a7bbcd;line-height:1.8;max-width:420px}.hero-bottom{font-size:12px;color:#9eb4c6;display:flex;align-items:center;gap:10px}.status-pip{background:#33d19b;height:8px;width:8px;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #32c69423}.auth-side{display:flex;align-items:center;justify-content:center;padding:32px;background:#fff}.auth-card{width:min(400px,100%)}.mini-brand{letter-spacing:.14em;color:#256899;font-size:12px;font-weight:800;margin-bottom:52px}.mini-brand span{font-weight:500;color:#a4b0c0;margin-left:6px}.auth-card .muted{margin-bottom:28px}.auth-card label,.form-grid label,.modal-content label{font-weight:670;color:#465266;display:block;margin:18px 0 8px;font-size:12px}.auth-card input,.form-grid input,.form-grid select{background:#fff;width:100%;padding:13px 14px;border:1px solid #dbe2ec;border-radius:10px;color:#142233;outline:none;transition:.16s}.auth-card input:focus,.form-grid input:focus,.form-grid select:focus{border-color:#3e92ca;box-shadow:0 0 0 3px #469ad11d}.btn{border:0;padding:13px 17px;border-radius:10px;font-weight:730;display:inline-flex;align-items:center;justify-content:center;gap:9px}.btn.primary{background:#226fa8;color:white}.btn.primary:hover{background:#155a8e}.btn.secondary{background:#eaf0f7;color:#205780}.btn.secondary:hover{background:#dce9f3}.btn.danger{background:#ffedf0;color:#a62b44}.btn.small{font-size:11px;padding:7px 10px}.btn.full{width:100%;margin-top:18px}.auth-note,.auth-footer{font-size:12px;color:#8f9aa7;line-height:1.7}.auth-note{margin-top:24px}.auth-footer{margin-top:62px;text-align:center;border-top:1px solid #edf0f4;padding-top:22px}.qr-shell{display:flex;justify-content:center;padding:14px;background:#fff;border:1px solid #e4e9ef;border-radius:13px}.manual-key,.secret-value{border:1px solid #dce4ee;background:#f4f7fa;border-radius:9px;padding:12px;word-break:break-all;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#244b70;font-size:12px}.recovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.recovery-grid code{padding:9px;background:#f1f5fa;border-radius:7px;text-align:center;color:#214f7c}.workspace{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:#101d2d;color:#e6ecf3;display:flex;flex-direction:column;padding:26px 15px;min-height:100vh}.side-brand{padding:0 13px 40px;font-size:23px}.side-brand small{display:block;font-size:11px;font-weight:450;letter-spacing:.04em;color:#8fa6bb;margin-top:4px}.nav-label{font-size:10px;font-weight:750;color:#607a95;letter-spacing:.14em;margin:4px 16px 12px}nav{display:grid;gap:4px}.nav-item{border:0;border-radius:9px;background:none;color:#9db1c8;text-align:left;font-size:18px;display:flex;align-items:center;gap:14px;padding:13px 16px;width:100%}.nav-item span{font-size:13px}.nav-item.active{background:#24435e;color:#e9f6ff}.nav-item:hover{background:#1c3248}.side-notice{background:#1a2b3d;border:1px solid #2b4157;border-radius:10px;padding:16px;margin:36px 8px 15px}.side-notice strong{font-size:12px}.side-notice p{font-size:11px;line-height:1.8;color:#90a8bd;margin:8px 0 0}.side-footer{margin:auto 13px 6px;display:flex;align-items:center;gap:10px;color:#98abbc;font-size:12px}.main-area{display:flex;flex-direction:column;min-width:0}.topbar{min-height:74px;background:#fff;border-bottom:1px solid #e5e9f0;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.top-left,.top-right{display:flex;align-items:center;gap:15px}.top-left #menu-toggle{display:none}.breadcrumb{font-size:11px;font-weight:730;letter-spacing:.08em;color:#8290a1}.breadcrumb span{color:#c5cdd5;margin:0 9px}.breadcrumb strong{color:#1d3042;letter-spacing:0;font-size:13px}.top-right strong{font-size:12px}.environment{font-size:10px;font-weight:750;letter-spacing:.11em;padding:8px 10px;border:1px solid #dfe7ef;border-radius:7px;color:#6983a0}.avatar{height:32px;width:32px;border-radius:50%;background:#e7f0fb;color:#2169a6;font-weight:800;display:grid;place-items:center}.signout{background:none;border:0;color:#8c9ca9;padding:8px;font-weight:620}.signout:hover{color:#245e87}.content{max-width:1470px;width:100%;margin:0 auto;padding:42px 42px 60px;flex:1}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:30px}.page-head h1{font-size:31px;color:#182b40;margin:6px 0 6px}.page-head p{color:#72849a;margin:0;line-height:1.5}.section-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#3c8dbe}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.metric{background:white;border:1px solid #e6eaf0;border-radius:13px;padding:23px}.metric-label{font-size:12px;color:#708198;font-weight:600}.metric-number{font-size:32px;font-weight:750;color:#183047;letter-spacing:-.04em;margin:14px 0 5px}.metric-detail{color:#8a9baa;font-size:11px}.layout-two{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(275px,1fr);gap:20px}.panel{border:1px solid #e5eaf0;background:#fff;border-radius:13px;padding:23px;min-width:0;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel h3{font-size:16px;margin:0}.tag{display:inline-flex;align-items:center;background:#edf2f7;padding:5px 9px;border-radius:6px;color:#566b7c;font-size:10px;font-weight:750}.tag.good{background:#e6f6ef;color:#197d5e}.tag.warn{background:#fff6e5;color:#a77311}.tag.bad{background:#ffebed;color:#b12f44}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;min-width:540px}th{text-align:left;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8293a6;font-weight:800;padding:12px 10px;border-bottom:1px solid #e9edf2}td{padding:13px 10px;border-bottom:1px solid #eff2f5;color:#4a5d73;vertical-align:top}tr:last-child td{border-bottom:0}td code{font-size:11px;color:#21496b}.empty{padding:26px;text-align:center;color:#92a0ae;font-size:12px}.notice{background:#eef6fc;color:#356789;border:1px solid #d7eaf7;border-radius:10px;padding:14px 16px;font-size:12px;line-height:1.7;margin:14px 0}.notice.warn{background:#fff7eb;border-color:#fbe6c8;color:#9a691a}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}.form-grid label{margin:0 0 8px}.form-grid input,.form-grid select{padding:11px 12px}.form-grid .btn{height:43px}.inline-actions{display:flex;gap:6px;flex-wrap:wrap}.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}.toolbar input,.toolbar select{padding:10px 12px;border-radius:8px;border:1px solid #dce4ee;background:white;min-width:190px}.muted-small{color:#8292a3;font-size:11px;line-height:1.7}.monospace{font-family:ui-monospace,Consolas,monospace}.main-footer{color:#9aa6b4;text-align:center;font-size:11px;padding:17px}.toast{position:fixed;z-index:80;top:18px;right:20px;background:#19364d;color:#fff;padding:12px 18px;border-radius:9px;box-shadow:0 8px 35px #1b2c4022;max-width:370px;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1}.toast.error{background:#ab3750}dialog{border:0;border-radius:15px;padding:0;box-shadow:0 30px 90px #14283d45;width:min(480px,95vw)}dialog::backdrop{background:#071c30b3}.modal-content{padding:30px}.modal-content h3{font-size:23px}.modal-content p{color:#6e8398;line-height:1.6}.modal-icon{font-size:28px}.modal-content .btn{margin-top:10px}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.layout-two{grid-template-columns:1fr}.content{padding:34px 24px}.topbar{padding:0 24px}}@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.hero-panel{min-height:185px;padding:26px;gap:15px}.hero-copy h1{font-size:30px;margin:8px 0}.hero-copy p,.hero-bottom{display:none}.auth-side{padding:35px 22px}.mini-brand{margin-bottom:25px}.workspace{grid-template-columns:1fr}.sidebar{display:none;position:fixed;z-index:30;top:0;bottom:0;left:0;width:260px;box-shadow:9px 0 35px #10243d45}.workspace.menu-open .sidebar{display:flex}.top-left #menu-toggle{display:inline-block;background:none;border:0;font-size:22px}.topbar{min-height:62px;padding:0 16px}.top-right{gap:8px}.top-right .environment,.top-right strong{display:none}.content{padding:24px 14px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:26px}.metrics{gap:10px}.metric{padding:17px}.metric-number{font-size:26px}.form-grid{grid-template-columns:1fr}.panel{padding:17px}}
/* R05 — operações guiadas e legíveis */
.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0 24px}.ops-action{text-align:left;border:1px solid #dde7f2;border-radius:15px;background:#fff;padding:21px;display:flex;flex-direction:column;gap:10px;color:#1d364c;transition:transform .15s,border-color .15s,box-shadow .15s}.ops-action:hover{transform:translateY(-2px);border-color:#88b9dc;box-shadow:0 10px 30px #20364b10}.ops-action strong{font-size:16px}.ops-action p{color:#708397;font-size:12px;line-height:1.6;margin:0}.ops-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#e6f2fc;color:#1869a3;font-size:22px}.guide-card{padding:22px 24px;margin:18px 0;border-radius:14px;background:#fff;border:1px solid #e0e8ef}.guide-card h3{font-size:18px;color:#1b344a;margin:0 0 8px}.guide-card h4{font-size:13px;margin:22px 0 10px}.guide-card>p{line-height:1.55}.guide-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.guided-field{position:relative;display:flex;flex-direction:column;gap:7px;min-width:0}.guided-field>label{font-size:12px;font-weight:750;color:#476075}.guided-field>input,.guided-field>select{width:100%;padding:13px 12px;border:1px solid #cfdeeb;border-radius:10px;background:#fff;color:#13283b;min-height:42px;outline:none}.guided-field>input:focus,.guided-field>select:focus{border-color:#3280b7;box-shadow:0 0 0 3px #3c99d123}.guide-fields>.btn{align-self:end;min-height:42px}.required-marker{font-size:10px;color:#8a677a}.guide-result{padding:14px 16px;background:#edf4fa;border-radius:10px;margin:14px 0;font-size:13px;color:#355b7a}.guide-result.good{background:#e8f6ee;color:#1f754d}.guide-result.error{background:#fff0f0;color:#a33544}.route-item,.test-item{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #edf0f4;align-items:center}.route-item:last-child,.test-item:last-child{border-bottom:none}.route-item strong,.test-item strong{font-size:14px;color:#1b3449}.muted-small{font-size:12px;color:#74879a;line-height:1.6}.route-item p{margin:5px 0 0}.inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.test-state{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}.test-state small{color:#758899}.test-state .test-error{max-width:350px;color:#9d3d49}.workflow-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e9eff5;padding:14px 0}.workflow-row strong{margin-right:auto}.workflow-step{font-size:11px;background:#eff4f9;color:#426581;border-radius:9px;padding:7px}.guide-empty{padding:20px;color:#8292a2}.guide-card details{margin-top:14px}.guide-card summary{cursor:pointer;color:#2375aa;font-size:13px;font-weight:700}.guide-card> .btn{margin-top:14px;margin-right:12px}@media(max-width:1050px){.ops-grid,.guide-fields{grid-template-columns:1fr 1fr}}@media(max-width:720px){.ops-grid,.guide-fields{grid-template-columns:1fr}.route-item,.test-item{align-items:flex-start;flex-direction:column}.test-state{align-items:flex-start;text-align:left}.guide-card{padding:16px}.content{padding:24px 17px 38px}}
.approval-dialog{width:min(520px,calc(100vw - 30px));border:0;border-radius:16px;box-shadow:0 24px 80px #10253e44;padding:0}.approval-dialog::backdrop{background:#102236a0}.approval-dialog textarea{resize:vertical;min-height:90px;border:1px solid #cfdeeb;border-radius:10px;padding:12px;font:inherit;width:100%;color:#1d3247}.approval-dialog .modal-content{padding:25px}.approval-dialog .inline-actions{justify-content:flex-end;margin-top:16px}.response-outline{margin-top:10px;font-size:12px;color:#366f96}.response-outline summary{cursor:pointer}.response-outline p{max-width:550px;overflow-wrap:anywhere;margin:5px 0}

/* R06 — ficha de conexões legível, sem caixas nativas do navegador. */
.guide-card{border-color:#dbe6ee;box-shadow:0 4px 22px #16364b08}
.guided-field>label{font-size:13px}
.guide-card .btn{margin-top:8px}
.guide-card .guide-result{font-size:13px;line-height:1.6}
.approval-dialog .modal-content h3{font-size:20px}
.approval-dialog .inline-actions button{min-width:100px}
input[type=password]{font-size:16px;letter-spacing:.025em}

/* GPASI documentary model library, without raw JSON or endpoint paths in the UI */
.library-entry{border-bottom:1px solid #e9eff5;padding:0!important;margin:0!important}
.library-entry>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;font-size:14px;font-weight:700;color:#28465c}
.library-entry .library-body{padding:4px 0 17px}
.library-entry .library-body .table-wrap{margin:14px 0;max-height:390px;overflow:auto}
.guided-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#36566a}
.guided-check>input{min-width:17px;min-height:17px}
