/* EGCA Vault UI v0.2 — identidade visual EGCA Tecnologia (jul/2026). */
:root{--orange:#FF4E1A;--yellow:#FFBE00;--blue:#00589F;--green:#04B229;--gray:#8A8A8A;--ink:#202938;--muted:#687482;--line:#e4e9ef;--canvas:#f7f9fc;--white:#fff;--radius:16px;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #00589f55;outline-offset:2px}[hidden]{display:none!important}.brand-stripe{display:flex;height:5px;width:100%}.brand-stripe i:nth-child(1){background:var(--orange);flex:1}.brand-stripe i:nth-child(2){background:var(--yellow);flex:1}.brand-stripe i:nth-child(3){background:var(--blue);flex:1}.brand-stripe i:nth-child(4){background:var(--green);flex:1}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{max-width:1370px;margin:auto;padding:15px 32px;min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:21px;min-width:0}.brand-logo{display:block;width:180px;height:auto;object-fit:contain}.brand-divider{height:42px;width:1px;background:var(--line)}.product-name{display:flex;flex-direction:column;gap:3px}.product-name strong{font-size:22px;letter-spacing:-.8px;color:var(--ink)}.product-name small{font-size:11px;color:var(--muted)}.header-right{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:12px}#identity{font-weight:650;color:var(--ink)}.environment-tag{border:1px solid #ffd899;background:#fffbef;border-radius:99px;padding:8px 12px;color:#735516;white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-right:7px}main{max-width:1370px;margin:auto;padding:36px 32px 65px}.login-shell{min-height:calc(100vh - 185px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,450px);align-items:center;gap:clamp(35px,7vw,112px);padding:20px clamp(0px,2vw,40px)}.login-intro{max-width:630px}.eyebrow,.form-eyebrow{color:var(--blue);font-size:11px;letter-spacing:1.6px;font-weight:800}.eyebrow-line{display:inline-block;height:3px;width:25px;vertical-align:middle;background:var(--orange);margin-right:9px}.login-intro h1{font-size:clamp(42px,5vw,66px);letter-spacing:-2.7px;line-height:1.13;margin:26px 0 22px}.login-intro h1 em{font-style:normal;color:var(--blue)}.login-intro>p{font-size:17px;line-height:1.7;max-width:550px;color:var(--muted)}.login-features{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:35px}.login-features>span{font-size:12px;font-weight:650}.feature-symbol{color:var(--green);font-size:16px;margin-right:5px}.brand-footer{font-size:12px;margin-top:60px;color:var(--gray)}.brand-footer b{color:var(--ink)}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 30px #182c470a}.login-card{padding:38px;box-shadow:0 26px 80px #16375c10;max-width:450px;width:100%}.login-icon{height:48px;width:48px;border-radius:13px;background:#eaf3fa;color:var(--blue);display:grid;place-items:center;font-size:32px;font-weight:800;margin-bottom:24px}.login-card h2{font-size:26px;letter-spacing:-.8px;margin:10px 0}.login-card>p{font-size:13px;line-height:1.6;margin:0 0 26px;color:var(--muted)}label{display:block;font-size:12px;font-weight:700;color:#3d4b59;margin:15px 0}input,select,textarea{width:100%;display:block;padding:12px 13px;border:1px solid #d5dde7;border-radius:9px;margin-top:8px;color:var(--ink);background:#fff;font-weight:500;font-size:13px;transition:border-color .16s,box-shadow .16s}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #00589f12;outline:none}input::placeholder{color:#9aa5b3}textarea{min-height:86px;resize:vertical}button:not(.nav):not(.card){border:0;border-radius:9px;padding:11px 16px;background:var(--blue);color:white;font-weight:750;font-size:12px;transition:background .14s,transform .14s}button:not(.nav):not(.card):hover{background:#004778}button:not(.nav):not(.card):active{transform:translateY(1px)}button.secondary:not(.nav){background:#edf3f8;color:var(--blue)}button.secondary:not(.nav):hover{background:#dcebf5}button.danger:not(.nav){background:#a32938;color:white}button:disabled{opacity:.5;cursor:not-allowed}.full-width{width:100%}.primary{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:25px}.primary span{font-size:18px}.login-card .form-assurance{font-size:11px;margin:20px 0 0;text-align:center;color:#8d99a5}.page-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-bar h1{font-size:34px;letter-spacing:-1.3px;margin:8px 0 4px}.page-bar p,.section-title p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.5}.page-bar-right{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.org-picker{margin:0;color:var(--muted);font-size:11px}.org-picker select{width:250px;margin-top:5px}.role-badge{border-radius:99px;padding:9px 13px;background:#e8f3fa;color:var(--blue);font-size:12px;font-weight:700}.dashboard-layout{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start;gap:25px}.sidebar{padding:22px 14px;position:sticky;top:18px}.sidebar-heading{padding:0 13px 13px;color:#8793a2;font-size:10px;font-weight:800;letter-spacing:1.3px}.sidebar nav{display:grid;gap:6px}.nav{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;color:#5f6d7c;padding:13px 14px;text-align:left;font-size:13px;font-weight:650;border-radius:10px}.nav:hover{background:#f3f7fa}.nav.active{background:#e9f3fb;color:var(--blue)}.nav-icon{font-size:19px;width:21px;line-height:1}.sidebar-actions{padding:20px 7px 16px;border-top:1px solid var(--line);margin-top:23px}.security-notice{background:#fff8ec;border:1px solid #ffe7bb;border-radius:12px;padding:14px;margin:7px}.security-notice strong{font-size:12px;color:#79551b}.security-notice p{margin:6px 0 0;color:#866e48;line-height:1.5;font-size:11px}.content{min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.section-title h2{font-size:27px;letter-spacing:-.7px;margin:6px 0}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.card{background:var(--white);border:1px solid var(--line);border-radius:14px;min-height:148px;padding:20px;cursor:pointer;box-shadow:0 6px 22px #16294208;text-align:left;color:var(--ink);transition:transform .18s,border-color .18s,box-shadow .18s}.card:before{content:'';display:block;height:4px;width:34px;background:var(--blue);border-radius:3px;margin-bottom:14px}.card:nth-child(4n + 2):before{background:var(--orange)}.card:nth-child(4n + 3):before{background:var(--yellow)}.card:nth-child(4n + 4):before{background:var(--green)}.card:hover{border-color:#9bbbd3;transform:translateY(-3px);box-shadow:0 12px 32px #16294214}.card strong{display:block;font-size:16px;margin:13px 0 7px;line-height:1.4;overflow-wrap:anywhere}.card small{font-size:12px;color:var(--muted)}.pill{font-size:10px;padding:5px 9px;background:#edf4fa;color:var(--blue);border-radius:99px;font-weight:700}.surface-panel{padding:23px}.surface-panel:empty:after{content:'Nenhum registro disponível';color:var(--muted)}#detail{margin-top:28px}#detail>.section-title{border-top:1px solid var(--line);padding-top:24px}#detail h2{font-size:22px}.row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}.row:last-child{border:0}.row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.actions{display:flex;gap:7px;flex-wrap:wrap}.actions button{padding:8px 10px!important}.secret{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#edf5fa;border-radius:8px;padding:15px;overflow-wrap:anywhere;margin:10px 0}.table-scroll{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table td,.table th{padding:13px 10px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.table th{font-size:11px;color:#7e8b99;text-transform:uppercase;letter-spacing:.4px}.muted{color:var(--muted)}.security-settings{max-width:700px}.security-settings h3{margin-top:0;font-size:16px}.security-settings form{max-width:430px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}dialog{border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 95px #071c3660;padding:28px;width:min(510px,calc(100vw - 32px));max-height:85vh;overflow-y:auto}dialog::backdrop{background:#1428409c}dialog h2{letter-spacing:-.5px;margin:0 0 20px;font-size:22px}dialog menu{padding:15px 0 0;margin:0;display:flex;justify-content:flex-end;gap:9px}#toast{position:fixed;right:20px;bottom:20px;display:none;padding:14px 18px;background:#21334b;color:white;border-left:4px solid var(--yellow);border-radius:10px;max-width:min(400px,calc(100vw - 40px));font-size:13px;box-shadow:0 15px 40px #0002;z-index:100}
@media(max-width:960px){.login-shell{grid-template-columns:1fr;gap:24px;padding:10px 0}.login-intro{max-width:none}.login-intro h1{font-size:42px}.brand-footer{margin-top:20px}.login-card{max-width:560px;margin:0 auto}.dashboard-layout{grid-template-columns:210px minmax(0,1fr)}.page-bar{align-items:start;flex-direction:column}}
@media(max-width:680px){.header-inner{padding:12px 18px;min-height:70px}.brand{gap:12px}.brand-logo{width:120px}.brand-divider{height:32px}.product-name strong{font-size:19px}.product-name small{display:none}.environment-tag{display:none}main{padding:24px 16px 50px}.login-shell{min-height:auto}.login-intro h1{font-size:35px;letter-spacing:-1.2px}.login-intro>p{font-size:14px}.login-features{margin-top:20px;gap:9px}.login-features>span{font-size:11px}.brand-footer{display:none}.login-card{padding:25px 20px}.dashboard-layout{display:block}.sidebar{position:static;margin-bottom:22px}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nav{font-size:11px;gap:7px;padding:12px 8px}.sidebar-actions{margin-top:14px}.page-bar h1{font-size:28px}.page-bar-right,.org-picker{width:100%}.org-picker select{width:100%}.section-title{align-items:flex-start;flex-wrap:wrap}.section-title h2{font-size:23px}.cards{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.card{padding:16px}.surface-panel{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
