.external-portal{margin:0;min-height:100dvh;height:auto;overflow:auto;--portal-environment-height:0px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text-primary);-webkit-font-smoothing:antialiased;--portal-accent:#15803d;--portal-accent-hover:#166534;--portal-soft:rgba(22,163,74,.08);--portal-ring:rgba(22,163,74,.22);--portal-canvas:#f4f7f8;--portal-surface:rgba(255,255,255,.94);--portal-inset:#f7f9fb;--portal-line:rgba(32,54,77,.11);--portal-muted:#607086;--portal-shadow:0 16px 48px -20px rgba(22,41,64,.22),0 2px 8px rgba(22,41,64,.04);background:var(--portal-canvas)}[data-theme=dark] .external-portal{--portal-accent:#4ade80;--portal-accent-hover:#86efac;--portal-soft:rgba(74,222,128,.09);--portal-ring:rgba(74,222,128,.22);--portal-canvas:#0c121d;--portal-surface:rgba(20,30,45,.95);--portal-inset:#111b29;--portal-line:rgba(172,193,218,.13);--portal-muted:#a1aec0;--portal-shadow:0 20px 56px -18px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.035)}.external-portal[data-ambiente=sandbox]{--portal-accent:#a96508;--portal-accent-hover:#875006;--portal-soft:rgba(217,119,6,.09);--portal-ring:rgba(217,119,6,.24)}[data-theme=dark] .external-portal[data-ambiente=sandbox]{--portal-accent:#fbbf24;--portal-accent-hover:#fcd34d;--portal-soft:rgba(251,191,36,.09);--portal-ring:rgba(251,191,36,.24)}.external-portal *,.external-portal *:before,.external-portal *:after{box-sizing:border-box}.external-portal [hidden]{display:none!important}.external-portal a{color:inherit;text-decoration:none}.external-portal button,.external-portal input,.external-portal select,.external-portal textarea{font:inherit}.external-portal button,.external-portal select{cursor:pointer}.external-portal button,.external-portal a{touch-action:manipulation}.external-portal button:disabled{opacity:.65;cursor:wait}.external-portal :focus-visible{outline:3px solid var(--portal-accent);outline-offset:3px}.external-portal svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.portal-muted{font-size:13px;color:var(--portal-muted);line-height:1.7}.portal-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.4px;color:var(--portal-muted)}.external-brand{display:flex;align-items:center;gap:11px;min-width:0}.external-brand img{width:44px;height:44px;flex-shrink:0}.portal-brand-lockup{display:flex;flex-direction:column;gap:5px;min-width:0}.portal-brand-title{display:flex;align-items:center;white-space:nowrap;font-size:21px;font-weight:800;letter-spacing:-.8px;line-height:1.15}.brand-app{color:var(--portal-accent)}.erp-product{color:var(--text-primary);margin-left:2px}.portal-brand-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.portal-sandbox-badge{display:inline-flex;align-items:center;padding:2px 7px;border:1px dashed color-mix(in srgb,var(--portal-accent) 50%,transparent);border-radius:5px;background:var(--portal-soft);color:var(--portal-accent);font-size:9px;font-weight:800;letter-spacing:1.2px;line-height:1.4;text-transform:uppercase}.portal-brand-kind{font-size:11px;font-weight:650;color:var(--portal-muted);letter-spacing:.5px}.external-brand .ai-badge{display:inline-flex;align-items:center;gap:3px;margin-left:8px;padding:3px 6px;border-radius:20px;font-size:9px;letter-spacing:0;line-height:1}.external-brand .ai-badge svg{width:11px;height:11px}.portal-theme,.portal-icon-button{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--portal-line);border-radius:11px;background:var(--portal-surface);color:var(--portal-muted);transition:color .16s,background .16s,border-color .16s}.portal-theme:hover,.portal-icon-button:hover{color:var(--portal-accent);border-color:var(--portal-ring);background:var(--portal-soft)}.portal-theme{position:fixed;top:24px;right:30px;z-index:25}.portal-environment{position:relative;top:0;z-index:40;display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 20px;min-height:36px;border-bottom:1px solid var(--portal-ring);background:var(--portal-soft);font-size:11px;color:var(--text-secondary)}.portal-environment strong{color:var(--portal-accent);font-size:10px;letter-spacing:1.5px}@media(min-width:761px){.external-portal.portal-session-active .portal-environment{position:sticky}}.external-portal[data-ambiente=sandbox] .portal-theme{top:calc(var(--portal-environment-height) + 24px)}.portal-login{position:relative;isolation:isolate;min-height:calc(100dvh - var(--portal-environment-height));display:grid;grid-template-rows:auto 1fr auto;background:radial-gradient(ellipse at 50% 38%,var(--portal-soft),transparent 64%)}.portal-login:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(var(--portal-line) .6px,transparent .6px);background-size:22px 22px;mask-image:radial-gradient(ellipse at center,#000,transparent 65%)}.login-story{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1180px;width:100%;margin:0 auto;padding:25px 78px 20px 28px}.login-story .external-brand img{width:52px;height:52px}.login-story .portal-brand-title{font-size:23px}.private-access{display:flex;align-items:center;gap:7px;color:var(--portal-muted);font-size:12px}.private-access svg{width:15px;height:15px;color:var(--portal-accent)}.login-form-side{display:flex;align-items:center;justify-content:center;padding:24px 24px 38px}.login-form-wrap{width:100%;max-width:430px;padding:32px 34px 24px;border:1px solid var(--portal-line);border-radius:20px;background:var(--portal-surface);box-shadow:var(--portal-shadow);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.login-product-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:20px;border:1px solid var(--portal-ring);border-radius:13px;background:var(--portal-soft);color:var(--portal-accent)}.login-product-icon svg{width:23px;height:23px}.portal-product-name{font-size:34px;font-weight:750;line-height:1.2;letter-spacing:-1.1px;margin-top:5px}.login-purpose{margin:10px 0 24px;font-size:13px;line-height:1.65;color:var(--portal-muted)}.login-form-wrap h2{font-size:17px;font-weight:650;letter-spacing:-.3px;margin:0 0 5px}.login-form-wrap #login-description{margin:0;font-size:12px}.login-form-wrap form{margin-top:22px}.login-form-wrap .portal-primary{width:100%;margin-top:23px;min-height:46px}.login-form-wrap .portal-text-button{margin:15px auto 0;display:block;font-size:12px}.login-help{margin-top:23px;border-top:1px solid var(--portal-line);padding-top:18px;font-size:12px;color:var(--portal-muted)}.login-help summary{cursor:pointer;color:var(--text-secondary);font-weight:550}.login-help p{line-height:1.75;margin:10px 0 0}.login-security{margin:17px 0 0;font-size:10px;line-height:1.6;color:var(--portal-muted)}.portal-login-footer{display:flex;justify-content:center;gap:12px;padding:16px 24px 22px;color:var(--portal-muted);font-size:11px}.portal-login-footer span{border-left:1px solid var(--portal-line);padding-left:12px}.portal-app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100dvh - var(--portal-environment-height))}.portal-sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:26px 16px 20px;border-right:1px solid var(--portal-line);background:var(--portal-surface)}.portal-sidebar .external-brand{gap:9px;margin:0 2px}.portal-sidebar .external-brand img{width:38px;height:38px}.portal-sidebar .portal-brand-title{font-size:17px}.portal-sidebar .ai-badge{font-size:8px;margin-left:5px;padding:3px 4px}.portal-sidebar .ai-badge svg{width:9px;height:9px}.portal-sidebar .portal-brand-kind{font-size:16px;letter-spacing:-.3px;color:var(--text-primary);font-weight:700}.sidebar-caption{font-size:9px;letter-spacing:1.2px;color:var(--portal-muted);margin:32px 12px 14px}.portal-sidebar nav{display:flex;flex-direction:column;gap:5px}.portal-sidebar nav a{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid transparent;border-radius:10px;color:var(--portal-muted);font-size:12px;font-weight:550;transition:background .16s,color .16s,border-color .16s}.portal-sidebar nav a:hover{background:var(--portal-inset);color:var(--text-primary)}.portal-sidebar nav a.active{background:var(--portal-soft);border-color:var(--portal-ring);color:var(--portal-accent);font-weight:700}.portal-sidebar nav a svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--portal-line);color:var(--portal-muted);font-size:10px}.connection-dot{display:flex;align-items:center;gap:7px;margin-bottom:8px}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--portal-accent);display:inline-block}.sidebar-bottom small{font-size:10px}.portal-workspace{display:flex;flex-direction:column;min-width:0}.portal-topbar{position:sticky;top:0;z-index:15;display:flex;align-items:center;gap:24px;min-height:78px;padding:16px 82px 16px 32px;border-bottom:1px solid var(--portal-line);background:var(--portal-surface);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.topbar-location{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.topbar-location span{font-size:10px;color:var(--portal-muted)}.topbar-location strong{font-size:13px;font-weight:650}.company-context{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0;max-width:380px}.company-context>div{min-width:0}.company-context img{width:32px;height:32px;object-fit:contain}.company-context small{font-size:8px;letter-spacing:1px;color:var(--portal-muted);display:block}.external-portal .company-context select{padding:4px 20px 2px 0;max-width:100%;border:0;box-shadow:none;background:transparent;font-size:12px;font-weight:600;border-radius:3px}.portal-user{display:flex;align-items:center;gap:10px;flex-shrink:0}.user-avatar{width:34px;height:34px;border-radius:50%;background:var(--portal-soft);border:1px solid var(--portal-ring);color:var(--portal-accent);display:grid;place-items:center;font-size:11px;font-weight:700}.portal-user strong{display:block;font-size:11px;font-weight:650}.portal-user small{display:block;font-size:10px;color:var(--portal-muted);margin-top:4px}.portal-user .portal-icon-button{border:0;background:transparent}.portal-main{flex:1;padding:32px;max-width:1450px;width:100%;margin:0 auto;min-width:0;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-context{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:10px}.page-context .portal-eyebrow{font-size:9px;letter-spacing:.5px}.portal-product-tag{font-size:10px;font-weight:650;color:var(--portal-accent)}.portal-product-tag:after{content:"/";color:var(--portal-muted);padding-left:9px}.page-heading h1{font-size:28px;font-weight:720;letter-spacing:-.9px;line-height:1.2;margin:0 0 8px}.page-heading p{font-size:12px;line-height:1.65;color:var(--portal-muted);margin:0}.welcome-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--portal-ring);border-radius:16px;padding:25px 28px;margin-bottom:20px;background:linear-gradient(110deg,var(--portal-soft),transparent),var(--portal-surface)}.welcome-banner h2{font-size:24px;letter-spacing:-.6px;margin:7px 0 8px;font-weight:700}.welcome-banner p{font-size:12px;line-height:1.75;color:var(--portal-muted);max-width:650px;margin:0}.welcome-banner .portal-eyebrow{color:var(--portal-accent);font-size:9px}.banner-action{display:flex;flex-direction:column;gap:9px;align-items:flex-end;flex-shrink:0}.banner-action small{font-size:10px;color:var(--portal-muted)}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric-card{border:1px solid var(--portal-line);border-radius:14px;background:var(--portal-surface);padding:20px;min-width:0;transition:border-color .18s,box-shadow .18s}.metric-card:hover{border-color:var(--portal-ring);box-shadow:0 5px 16px #1629400a}.metric-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-label{font-size:12px;font-weight:550;color:var(--portal-muted)}.metric-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--portal-soft);color:var(--portal-accent)}.metric-symbol svg{width:16px;height:16px}.metric-card:nth-child(2) .metric-symbol{color:var(--warning);background:var(--warning-soft)}.metric-value{font-size:28px;letter-spacing:-.7px;font-weight:720;line-height:1.25;margin-top:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric-sub{font-size:10px;line-height:1.6;color:var(--portal-muted);margin-top:8px}.portal-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:20px}.portal-panel{border:1px solid var(--portal-line);background:var(--portal-surface);border-radius:14px;overflow:hidden;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid var(--portal-line)}.panel-heading h2{font-size:14px;font-weight:650;margin:0;letter-spacing:-.2px}.panel-heading a{font-size:11px;color:var(--portal-accent);font-weight:650}.portal-table-wrap{overflow:auto;width:100%;scrollbar-width:thin}.portal-table{font-family:inherit;width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}.portal-table th{font-size:10px;font-weight:650;color:var(--portal-muted);padding:14px 20px;border-bottom:1px solid var(--portal-line);background:var(--portal-inset)}.portal-table td{padding:19px 20px;border-bottom:1px solid var(--portal-line);height:66px;line-height:1.5}.portal-table td strong{font-weight:600}.portal-table td small{display:block;color:var(--portal-muted);font-size:10px;max-width:390px;white-space:normal;margin-top:5px}.portal-table tbody tr{transition:background .15s}.portal-table tbody tr:hover{background:var(--portal-soft)}.portal-table tr:last-child td{border-bottom:0}.portal-table .amount{text-align:right;font-variant-numeric:tabular-nums}.portal-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--portal-line);border-radius:6px;background:var(--portal-inset);color:var(--text-secondary);font-size:10px;font-weight:550;padding:4px 7px;text-transform:capitalize}.portal-badge:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.portal-badge.aceptada,.portal-badge.cobrada,.portal-badge.pagada,.portal-badge.confirmada,.portal-badge.resuelto{color:var(--success);background:var(--success-soft);border-color:var(--success-ring)}.portal-badge.observada,.portal-badge.pendiente,.portal-badge.parcial,.portal-badge.cobrada_parcial,.portal-badge.abierto{color:var(--warning);background:var(--warning-soft);border-color:var(--warning-ring)}.portal-badge.rechazada,.portal-badge.vencida{color:var(--danger);background:var(--danger-soft);border-color:var(--danger-ring)}.quick-action{display:flex;align-items:center;gap:13px;padding:20px 22px;border-bottom:1px solid var(--portal-line);transition:background .16s}.quick-action:hover{background:var(--portal-soft)}.quick-action:last-child{border-bottom:0}.action-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--portal-inset);color:var(--portal-accent);flex-shrink:0}.action-symbol svg{width:18px;height:18px}.quick-action strong{display:block;font-size:12px;font-weight:600}.quick-action small{display:block;font-size:10px;color:var(--portal-muted);line-height:1.6;margin-top:4px}.quick-action>svg{margin-left:auto;width:15px;height:15px;color:var(--portal-muted)}.portal-empty{padding:54px 24px;text-align:center;font-size:12px;color:var(--portal-muted);line-height:1.8}.empty-symbol{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 17px;border:1px solid var(--portal-line);background:var(--portal-inset);border-radius:14px;color:var(--portal-accent)}.empty-symbol svg{width:23px;height:23px}.portal-empty strong{display:block;color:var(--text-primary);font-size:15px;font-weight:650;margin-bottom:6px}.portal-toolbar{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--portal-line)}.portal-toolbar input{max-width:400px}.portal-toolbar select{max-width:210px}.portal-results-count{padding:10px 20px;border-bottom:1px solid var(--portal-line);font-size:10px;color:var(--portal-muted)}.external-portal label{display:block;font-size:12px;font-weight:600;margin:17px 0 7px;color:var(--text-secondary)}.external-portal input,.external-portal select,.external-portal textarea{width:100%;min-width:0;border:1px solid var(--portal-line);border-radius:9px;padding:11px 12px;min-height:43px;background:var(--portal-inset);color:var(--text-primary);font-size:13px;transition:border-color .16s,box-shadow .16s}.external-portal input:focus,.external-portal select:focus,.external-portal textarea:focus{outline:none;border-color:var(--portal-accent);box-shadow:0 0 0 3px var(--portal-ring);background:var(--portal-surface)}.external-portal input:hover:not(:focus),.external-portal select:hover:not(:focus),.external-portal textarea:hover:not(:focus){border-color:var(--border-strong)}.external-portal textarea{min-height:100px;resize:vertical;line-height:1.7}.password-wrap{position:relative}.password-wrap input{padding-right:76px}.password-wrap button{position:absolute;right:6px;top:5px;bottom:5px;border:0;border-radius:6px;padding:0 8px;background:transparent;color:var(--portal-muted);font-size:11px}.password-wrap button:hover{background:var(--portal-soft);color:var(--portal-accent)}.portal-primary,.portal-secondary,.portal-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;padding:11px 16px;min-height:42px;font-size:12px;font-weight:650;line-height:1.35;transition:background .16s,box-shadow .16s,transform .16s}.external-portal .portal-primary{color:#fff;background:linear-gradient(180deg,#20ad57,#15803d);border-color:#16823e;box-shadow:inset 0 1px #ffffff26,0 4px 9px #16a34a1f}.external-portal[data-ambiente=sandbox] .portal-primary{background:linear-gradient(180deg,#bd7b12,#925908);border-color:#925908}.portal-primary:hover{filter:brightness(1.07);box-shadow:0 5px 14px var(--portal-ring)}.portal-primary:active,.portal-secondary:active{transform:translateY(1px)}.portal-secondary{color:var(--text-secondary);background:var(--portal-surface);border-color:var(--portal-line)}.portal-secondary:hover{background:var(--portal-inset);border-color:var(--border-strong)}.portal-danger{color:var(--danger);background:var(--danger-soft);border-color:var(--danger-ring)}.portal-text-button,.portal-link{border:0;background:transparent;padding:0;color:var(--portal-accent);font-size:12px;font-weight:550}.portal-text-button:hover,.portal-link:hover{text-decoration:underline}.portal-primary svg{width:16px;height:16px}.portal-primary[aria-busy=true]:before{content:"";width:14px;height:14px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:portal-spin .7s linear infinite}.portal-error{border:1px solid var(--danger-ring);background:var(--danger-soft);border-radius:9px;padding:11px 13px;color:var(--danger);font-size:12px;line-height:1.6;margin-top:16px}.access-option{display:block;width:100%;text-align:left;padding:15px;border:1px solid var(--portal-line);background:var(--portal-inset);border-radius:10px;margin-top:10px;color:var(--text-primary)}.access-option:hover{border-color:var(--portal-accent);background:var(--portal-soft)}.access-option strong,.access-option small{display:block}.access-option strong{font-size:13px;font-weight:600}.access-option small{font-size:11px;color:var(--portal-muted);margin-top:5px}.portal-modal-open{overflow:hidden}.external-portal .portal-dialog{position:fixed;margin:auto;width:min(660px,calc(100vw - 32px));max-width:none;max-height:88dvh;padding:0;border:1px solid var(--portal-line);border-radius:18px;background:var(--portal-surface);color:var(--text-primary);box-shadow:0 28px 100px #0004;overflow:auto}.portal-dialog::backdrop{background:#050c1891;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.dialog-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:13px;padding:22px 24px;border-bottom:1px solid var(--portal-line);background:var(--portal-surface);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.dialog-symbol{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:var(--portal-soft);color:var(--portal-accent);flex-shrink:0}.dialog-head>div{min-width:0;flex:1}.dialog-head h2{font-size:18px;line-height:1.3;font-weight:650;letter-spacing:-.4px;margin:0}.dialog-head p{font-size:11px;color:var(--portal-muted);line-height:1.6;margin:5px 0 0}.dialog-head .portal-icon-button{width:32px;height:32px;background:transparent;border:0;flex-shrink:0}.dialog-head .portal-icon-button svg{width:17px;height:17px}.portal-form{padding:0 24px;max-width:none}.portal-form>label:first-child{margin-top:23px}.portal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.portal-form-hint{font-size:11px;color:var(--portal-muted);line-height:1.8;margin:21px 0 8px;padding:12px 14px;border:1px solid var(--portal-ring);background:var(--portal-soft);border-radius:9px}.form-section-title{font-size:11px;font-weight:700;margin:24px 0 4px;letter-spacing:.2px;color:var(--text-primary)}.dialog-actions{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:18px 24px;margin:24px -24px 0;background:var(--portal-surface);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid var(--portal-line);z-index:2}.external-portal input[type=file]{font-size:11px;padding:8px;min-height:49px;background:var(--portal-inset);border-style:dashed}.external-portal input[type=file]::file-selector-button{font:inherit;color:var(--text-primary);background:var(--portal-surface);border:1px solid var(--portal-line);padding:8px 11px;border-radius:6px;margin-right:9px;cursor:pointer}.dialog-discard{margin:20px 24px 0;padding:16px;border:1px solid var(--warning-ring);border-radius:10px;background:var(--warning-soft);font-size:12px}.dialog-discard p{color:var(--portal-muted);line-height:1.7;margin:5px 0 13px}.dialog-discard>div{display:flex;gap:8px;flex-wrap:wrap}.portal-detail-grid{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:5px 24px 24px;gap:0 25px}.portal-detail-grid>div{padding:21px 0;border-bottom:1px solid var(--portal-line);min-width:0}.portal-detail-grid dt{font-size:11px;color:var(--portal-muted);margin-bottom:7px}.portal-detail-grid dd{margin:0;font-size:13px;line-height:1.6;font-weight:550;overflow-wrap:anywhere}.ticket-message{margin:15px 0;padding:15px 16px;background:var(--portal-inset);border:1px solid var(--portal-line);border-radius:10px;font-size:12px;line-height:1.8;white-space:pre-wrap}.ticket-message strong{display:block;color:var(--portal-accent);font-size:10px;margin-bottom:6px}.portal-form>h3{margin-top:22px;font-size:16px}.portal-form:has(>h3):not(:has(form)){padding-bottom:24px}.portal-toasts{position:fixed;bottom:24px;right:24px;z-index:100;display:flex;flex-direction:column;gap:10px;width:min(390px,calc(100vw - 32px));pointer-events:none}.portal-toasts:empty{display:none}.portal-toasts .toast{--toast-accent:var(--portal-accent);display:flex;align-items:flex-start;position:relative;gap:11px;padding:15px 12px 15px 15px;min-height:70px;max-width:none;width:100%;background:var(--portal-surface);border:1px solid var(--portal-line);border-left:3px solid var(--toast-accent);border-radius:12px;color:var(--text-primary);box-shadow:var(--portal-shadow);overflow:hidden;pointer-events:auto;animation:portal-enter .2s ease-out;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.portal-toasts .toast.error{--toast-accent:var(--danger)}.portal-toasts .toast.warning{--toast-accent:var(--warning)}.portal-toasts .toast-icon{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;color:var(--toast-accent)}.portal-toasts .toast-icon svg{width:19px;height:19px}.toast-copy{flex:1;min-width:0}.toast-copy strong{display:block;font-size:12px;font-weight:700;margin-bottom:4px}.portal-toasts .toast-msg{display:block;font-size:12px;line-height:1.6;color:var(--portal-muted);overflow-wrap:anywhere}.portal-toasts .toast-close{border:0;padding:4px;background:transparent;display:grid;place-items:center;color:var(--portal-muted);width:25px;height:25px;border-radius:6px;flex-shrink:0}.portal-toasts .toast-close:hover{background:var(--portal-inset);color:var(--text-primary)}.portal-toasts .toast-close svg{width:14px;height:14px}.portal-toasts .toast-progress{position:absolute;inset:auto 0 0;height:2px;background:var(--toast-accent);opacity:.35;transform-origin:left;animation:portal-toast-progress 6.5s linear forwards}.portal-toasts .toast:hover .toast-progress,.portal-toasts .toast:focus-within .toast-progress{animation-play-state:paused}.portal-dialog .portal-toasts{position:sticky;bottom:14px;right:auto;float:right;margin:0 16px 14px;width:min(390px,calc(100% - 32px))}.portal-loading{display:flex;flex-direction:column;gap:14px;padding:24px;border:1px solid var(--portal-line);border-radius:14px;background:var(--portal-surface)}.portal-loading>span{display:block;height:13px;border-radius:5px;background:var(--portal-line);max-width:280px;animation:portal-pulse 1s ease-in-out infinite alternate}.portal-loading>span:nth-child(2){max-width:70%;height:38px;margin:15px 0}.portal-loading>span:nth-child(3){max-width:90%}.portal-loading small{font-size:11px;color:var(--portal-muted)}.workspace-footer{display:flex;justify-content:space-between;gap:16px;padding:22px 32px;color:var(--portal-muted);font-size:10px}@keyframes portal-spin{to{transform:rotate(360deg)}}@keyframes portal-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes portal-toast-progress{to{transform:scaleX(0)}}@keyframes portal-pulse{0%{opacity:.5}to{opacity:1}}@media(prefers-reduced-motion:no-preference){.portal-main>.page-heading,.portal-main>.metric-grid,.portal-main>.portal-panel,.portal-main>.welcome-banner,.portal-main>.portal-columns{animation:portal-enter .18s ease-out}}@media(min-width:761px){.external-portal[data-ambiente=sandbox] .portal-topbar{top:var(--portal-environment-height)}.external-portal[data-ambiente=sandbox] .portal-sidebar{top:var(--portal-environment-height);height:calc(100dvh - var(--portal-environment-height))}}@media(max-width:1180px){.portal-app{grid-template-columns:232px minmax(0,1fr)}.portal-sidebar .portal-brand-title{font-size:16px}.portal-columns{grid-template-columns:1fr}.portal-user>div{display:none}.portal-main{padding:26px}.portal-topbar{padding-left:26px}.metric-value{font-size:24px}.topbar-location{max-width:130px}}@media(max-width:760px){.portal-theme{top:19px;right:18px;width:34px;height:34px}.external-portal[data-ambiente=sandbox] .portal-theme{top:calc(var(--portal-environment-height) + 19px)}.login-story{padding:20px 65px 12px 22px}.private-access{display:none}.login-story .external-brand img{width:42px;height:42px}.login-story .portal-brand-title{font-size:19px}.portal-brand-kind{font-size:11px}.login-form-side{padding:22px 18px 28px;align-items:center}.login-form-wrap{padding:28px 25px 23px;border-radius:17px;max-width:430px}.portal-product-name{font-size:31px}.login-product-icon{margin-bottom:17px}.login-purpose{font-size:12px;margin-bottom:23px}.portal-login-footer{font-size:10px;gap:8px}.portal-login-footer span{padding-left:8px}.portal-environment{padding:9px 16px;font-size:10px;gap:7px}.portal-environment span{max-width:230px}.portal-environment strong{font-size:9px}.portal-app{display:flex;flex-direction:column}.portal-sidebar{position:static;height:auto;padding:20px 18px 0;border-right:0;border-bottom:1px solid var(--portal-line)}.portal-sidebar .external-brand{margin:0 42px 0 2px}.portal-sidebar .portal-brand-kind{font-size:19px}.sidebar-caption{display:none}.portal-sidebar nav{flex-direction:row;overflow:auto;gap:5px;margin:20px -18px 0;padding:0 16px 12px;scrollbar-width:thin}.portal-sidebar nav a{white-space:nowrap;padding:10px;font-size:11px;min-height:40px}.portal-sidebar nav a svg{width:15px;height:15px}.sidebar-bottom{display:none}.portal-topbar{position:static;min-height:72px;padding:14px 18px;gap:12px}.topbar-location{display:none}.company-context{margin-left:0;flex:1;max-width:none}.portal-user .user-avatar{display:none}.portal-main{padding:25px 18px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:15px;margin-bottom:21px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px}.page-context .portal-eyebrow{line-height:1.5}.welcome-banner{flex-direction:column;align-items:flex-start;padding:22px;gap:18px}.welcome-banner h2{font-size:23px}.banner-action{align-items:flex-start;width:100%}.banner-action .portal-primary{width:100%}.banner-action small{display:none}.metric-grid{grid-template-columns:1fr;gap:12px}.metric-card{padding:19px 20px}.metric-value{font-size:28px;margin-top:10px}.metric-sub{margin-top:5px}.panel-heading{padding:18px}.portal-table th,.portal-table td{padding-left:16px;padding-right:16px}.portal-columns{gap:18px}.quick-action{padding:19px 18px}.portal-toolbar{padding:16px;flex-wrap:wrap;gap:10px}.portal-toolbar input,.portal-toolbar select{max-width:none}.portal-results-count{padding-left:16px}.external-portal input,.external-portal select,.external-portal textarea{font-size:16px}.external-portal .company-context select,.external-portal input[type=file]{font-size:11px}.portal-form-grid{grid-template-columns:1fr}.external-portal .portal-dialog{width:100%;max-height:94dvh;max-width:none;border-radius:18px 18px 0 0;margin:auto 0 0;border-bottom:0}.dialog-head{padding:20px}.dialog-head h2{font-size:17px}.dialog-head p{font-size:11px}.dialog-symbol{width:34px;height:34px}.dialog-symbol svg{width:18px;height:18px}.portal-form{padding-left:20px;padding-right:20px}.dialog-actions{margin-left:-20px;margin-right:-20px;padding:15px 20px;gap:8px}.dialog-actions .portal-primary{flex:1}.portal-detail-grid{grid-template-columns:1fr;padding-left:20px;padding-right:20px}.dialog-discard{margin-left:20px;margin-right:20px}.workspace-footer{padding:19px 18px;flex-wrap:wrap;line-height:1.6}.portal-toasts{bottom:16px;right:16px}.portal-empty{padding:42px 20px}.portal-dialog .portal-toasts{bottom:8px}}@media(max-width:350px){.login-story{padding-left:17px}.login-story .external-brand{gap:8px}.login-story .external-brand img{width:32px;height:32px}.login-story .portal-brand-title{font-size:17px}.external-brand .ai-badge{margin-left:5px;padding:3px 4px;font-size:8px}.login-form-side{padding:18px 12px 24px}.login-form-wrap{padding:25px 20px 21px}.portal-product-name{font-size:29px}.portal-sidebar .portal-brand-title{font-size:17px}.portal-sidebar .external-brand img{width:34px;height:34px}.portal-login-footer{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.external-portal *,.external-portal *:before,.external-portal *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.portal-security{display:flex;align-items:center;gap:18px;margin-top:22px;padding:24px}.security-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--portal-soft);color:var(--portal-accent);border:1px solid var(--portal-ring);border-radius:12px;flex-shrink:0}.portal-security>div:nth-child(2){flex:1;min-width:0}.portal-security h2{font-size:15px;font-weight:650;margin:0 0 7px}.portal-security p{font-size:12px;line-height:1.7;color:var(--portal-muted);margin:0}.portal-security .portal-secondary{flex-shrink:0}@media(max-width:760px){.portal-security{flex-wrap:wrap;padding:22px}.portal-security>div:nth-child(2){flex-basis:calc(100% - 60px)}.portal-security .portal-secondary{width:100%}}.portal-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.portal-filter-field{display:flex;flex-direction:column;gap:4px;min-width:140px;flex:1 1 150px}.portal-filter-field:first-child{flex:2 1 220px}.portal-preferences{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto;order:2}.portal-preferences .portal-theme{position:static!important;width:36px;height:36px}.portal-preferences .lang-btn{height:36px;border-color:var(--portal-line);background:var(--portal-surface);border-radius:10px;color:var(--portal-muted)}.portal-preferences .lang-globe{width:16px;height:16px;color:var(--portal-accent);stroke:currentColor}.portal-preferences .lang-chevron{width:13px;height:13px}.portal-preferences .lang-dropdown{background:var(--portal-surface);backdrop-filter:blur(24px);border-color:var(--portal-line);min-width:160px}.portal-preferences .lang-option.active{color:var(--portal-accent);background:var(--portal-soft)}.login-story{padding-right:28px;flex-wrap:wrap}.login-story .external-brand{order:0}.login-story .private-access{order:1;margin-left:auto}.portal-topbar{padding-right:32px;gap:18px}.portal-topbar .portal-preferences{margin-left:0}@media(max-width:760px){.login-story{padding:20px 22px 12px;gap:18px}.login-story .portal-preferences{margin-left:auto}.portal-topbar{flex-wrap:wrap;padding:14px 18px}.company-context{flex-basis:calc(100% - 60px)}.portal-topbar .portal-preferences{margin-left:auto}.portal-sidebar .external-brand{margin-right:0}.login-story .private-access{display:none}}@media(max-width:480px){.login-story .portal-preferences{width:100%;justify-content:flex-end;border-top:1px solid var(--portal-line);padding-top:14px}.login-story{gap:14px}.login-form-side{padding-top:12px}}.portal-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap}.portal-pager button[disabled]{opacity:.5;cursor:not-allowed}@media(max-width:480px){.portal-pager{justify-content:center}}
