@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/f639721981034f88-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/9766a7e9e2e0ad5a-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/b66cf8e69499582a-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/aa016aab0e6d1295-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/22a5144ee8d83bca-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Fallback;src:local("Arial");ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.00%;size-adjust:104.76%}.__className_246ccd{font-family:Geist,Geist Fallback;font-style:normal}.__variable_246ccd{--font-geist-sans:"Geist","Geist Fallback"}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/013b72fa676f92e0-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/b9408752a0c24fb9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/65f03d54ccadf4a8-s.woff2) format("woff2");unicode-range:u+2000-2001,u+2004-2008,u+200a,u+23b8-23bd,u+2500-259f}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e038a29029a234f2-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/2b5b02fc7e511755-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/7d4881bb7e1bf84d-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Mono Fallback;src:local("Arial");ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.00%;size-adjust:134.59%}.__className_c29908{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.__variable_c29908{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}:root{--sgi-navy:#1e3a5f;--sgi-blue:#2563eb;--sgi-blue-bright:#2563eb;--sgi-logo-bg:#f2f2f2;--sgi-light-gray:#f1f5f9;--sgi-white:#ffffff;--sgi-text-muted:#64748b;--sgi-border:#cbd5e1;--sgi-danger:#dc2626;--sgi-page-bg:linear-gradient(160deg,var(--sgi-light-gray) 0%,#e2e8f0 45%,#dbeafe 100%);--sgi-content-bg:var(--sgi-white);--sgi-text:var(--sgi-navy);--sgi-input-bg:var(--sgi-white);--sgi-modal-bg:rgba(255,255,255,0.1);--sgi-modal-overlay-bg:rgba(15,23,42,0.1);--sgi-modal-form-bg:var(--sgi-white);--sgi-modal-form-overlay-bg:rgba(15,23,42,0.55);--sgi-modal-form-input-bg:var(--sgi-white);--sgi-spinner-track:#cbd5e1;--sgi-spinner-head:var(--sgi-blue-bright);--sgi-details-text:#334155;--sgi-version-color:var(--sgi-blue);--sgi-link-color:var(--sgi-blue);--sgi-focus-glow:rgba(37,99,235,0.15);--sgi-shell-sidebar-bg:var(--sgi-navy);--sgi-shell-sidebar-border:#152a45;--sgi-shell-topbar-bg:var(--sgi-navy);--sgi-shell-topbar-border:#152a45;--sgi-shell-accent:var(--sgi-blue);--sgi-shell-text:var(--sgi-white);--sgi-shell-text-muted:rgba(255,255,255,0.85);--sgi-shell-divider:rgba(255,255,255,0.12);--sgi-shell-item-hover:rgba(255,255,255,0.12);--sgi-shell-item-active:rgba(255,255,255,0.18);--sgi-shell-icon-bg:rgba(255,255,255,0.12);--sgi-shell-icon-border:transparent;--sgi-shell-icon-color:var(--sgi-white);--sgi-shell-item-color:rgba(255,255,255,0.9);--sgi-shell-item-hover-color:var(--sgi-white);--sgi-shell-item-active-color:var(--sgi-white);--sgi-shell-item-border-hover:transparent;--sgi-shell-item-border-active:transparent;--sgi-shell-badge-bg:var(--sgi-blue);--sgi-shell-badge-color:var(--sgi-white);--sgi-shell-badge-border:rgba(255,255,255,0.35);--sgi-card-shadow:0 12px 30px rgba(30,58,95,0.08);--sgi-table-header-solid-bg:#e2e8f0;--sgi-btn-primary-bg:var(--sgi-blue);--sgi-btn-primary-color:var(--sgi-white);--sgi-btn-primary-border:var(--sgi-blue);--sgi-checkbox-bg:var(--sgi-white);--sgi-checkbox-border:var(--sgi-border);--sgi-checkbox-checked-bg:var(--sgi-blue);--sgi-checkbox-checked-border:var(--sgi-blue);--sgi-checkbox-check-color:var(--sgi-white)}html[data-theme=claro-lilas]{--sgi-navy:#5c5470;--sgi-blue:#9b87c4;--sgi-blue-bright:#a895c9;--sgi-page-bg:linear-gradient(160deg,#faf9fc,#f4f2f7 45%,#ebe8f0);--sgi-text:#45404f;--sgi-border:#d8d2e4;--sgi-focus-glow:rgba(155,135,196,0.14);--sgi-version-color:#8b7aad;--sgi-link-color:#8b7aad;--sgi-shell-sidebar-bg:var(--sgi-navy);--sgi-shell-sidebar-border:#6d6580;--sgi-shell-topbar-bg:var(--sgi-navy);--sgi-shell-topbar-border:#6d6580;--sgi-shell-accent:#c4b8d9;--sgi-shell-badge-bg:#9b87c4;--sgi-card-shadow:0 12px 30px rgba(92,84,112,0.07);--sgi-btn-primary-bg:#9b87c4;--sgi-btn-primary-border:#9b87c4;--sgi-checkbox-checked-bg:#9b87c4;--sgi-checkbox-checked-border:#9b87c4;--sgi-table-header-solid-bg:#ebe6f2}html[data-theme=claro-cinza]{--sgi-navy:#3f4756;--sgi-blue:#64748b;--sgi-blue-bright:#475569;--sgi-page-bg:linear-gradient(160deg,#f8fafc,#f1f5f9 45%,#e2e8f0);--sgi-text:#1e293b;--sgi-border:#cbd5e1;--sgi-focus-glow:rgba(100,116,139,0.14);--sgi-version-color:#64748b;--sgi-link-color:#475569;--sgi-shell-sidebar-bg:var(--sgi-navy);--sgi-shell-sidebar-border:#525c6e;--sgi-shell-topbar-bg:var(--sgi-navy);--sgi-shell-topbar-border:#525c6e;--sgi-shell-accent:#94a3b8;--sgi-shell-badge-bg:#64748b;--sgi-card-shadow:0 12px 30px rgba(63,71,86,0.08);--sgi-btn-primary-bg:#64748b;--sgi-btn-primary-border:#64748b;--sgi-checkbox-checked-bg:#64748b;--sgi-checkbox-checked-border:#64748b;--sgi-table-header-solid-bg:#e2e8f0}html[data-theme=escuro]{--sgi-blue:#38bdf8;--sgi-blue-bright:#38bdf8;--sgi-glass-blue:rgba(56,189,248,0.1);--sgi-modal-details-bg:rgba(56,189,248,0.08);--sgi-table-header-bg:rgba(56,189,248,0.08);--sgi-modal-form-shadow:0 24px 48px rgba(0,0,0,0.45),0 0 0 1px rgba(56,189,248,0.35);--sgi-light-gray:#0a0f18;--sgi-white:#050810;--sgi-logo-bg:var(--sgi-glass-blue);--sgi-text-muted:#64748b;--sgi-border:#38bdf8;--sgi-page-bg:#050810;--sgi-content-bg:#0a0f18;--sgi-text:#cbd5e1;--sgi-input-bg:rgba(5,8,16,0.45);--sgi-modal-bg:var(--sgi-glass-blue);--sgi-modal-overlay-bg:rgba(5,8,16,0.1);--sgi-modal-form-bg:#0a0f18;--sgi-modal-form-overlay-bg:rgba(5,8,16,0.82);--sgi-modal-form-input-bg:#111827;--sgi-spinner-track:rgba(56,189,248,0.2);--sgi-spinner-head:#38bdf8;--sgi-details-text:#94a3b8;--sgi-version-color:#38bdf8;--sgi-link-color:#38bdf8;--sgi-focus-glow:rgba(56,189,248,0.22);--sgi-shell-sidebar-bg:var(--sgi-glass-blue);--sgi-shell-sidebar-border:#38bdf8;--sgi-shell-topbar-bg:var(--sgi-glass-blue);--sgi-shell-topbar-border:#38bdf8;--sgi-shell-accent:#38bdf8;--sgi-shell-text:#e2e8f0;--sgi-shell-text-muted:#64748b;--sgi-shell-divider:rgba(56,189,248,0.35);--sgi-shell-item-hover:rgba(56,189,248,0.08);--sgi-shell-item-active:rgba(56,189,248,0.14);--sgi-shell-icon-bg:transparent;--sgi-shell-icon-border:var(--sgi-shell-divider);--sgi-shell-icon-color:var(--sgi-shell-accent);--sgi-shell-item-color:var(--sgi-shell-text);--sgi-shell-item-hover-color:var(--sgi-shell-accent);--sgi-shell-item-active-color:var(--sgi-shell-accent);--sgi-shell-item-border-hover:var(--sgi-shell-sidebar-border);--sgi-shell-item-border-active:var(--sgi-shell-sidebar-border);--sgi-shell-badge-bg:transparent;--sgi-shell-badge-color:var(--sgi-shell-accent);--sgi-shell-badge-border:var(--sgi-shell-sidebar-border);--sgi-card-shadow:0 0 0 1px rgba(56,189,248,0.25),0 0 20px rgba(56,189,248,0.06);--sgi-btn-primary-bg:rgba(56,189,248,0.32);--sgi-btn-primary-color:#f0f9ff;--sgi-btn-primary-border:#38bdf8;--sgi-btn-primary-hover-bg:rgba(56,189,248,0.48);--sgi-btn-primary-shadow:0 0 16px rgba(56,189,248,0.28);--sgi-checkbox-bg:rgba(5,8,16,0.45);--sgi-checkbox-border:#38bdf8;--sgi-checkbox-checked-bg:rgba(56,189,248,0.12);--sgi-checkbox-checked-border:#38bdf8;--sgi-checkbox-check-color:#38bdf8;--sgi-table-header-solid-bg:#121a28}html[data-theme=escuro-roxo]{--sgi-blue:#9d8ec7;--sgi-blue-bright:#b0a3d4;--sgi-glass-blue:rgba(157,142,199,0.08);--sgi-modal-details-bg:rgba(157,142,199,0.06);--sgi-table-header-bg:rgba(157,142,199,0.06);--sgi-modal-form-shadow:0 24px 48px rgba(0,0,0,0.45),0 0 0 1px rgba(157,142,199,0.22);--sgi-light-gray:#0b0a0e;--sgi-white:#08070b;--sgi-logo-bg:var(--sgi-glass-blue);--sgi-text-muted:#64748b;--sgi-border:#8b7fad;--sgi-page-bg:#08070b;--sgi-content-bg:#0e0d12;--sgi-text:#cbd5e1;--sgi-input-bg:rgba(8,7,11,0.45);--sgi-modal-bg:var(--sgi-glass-blue);--sgi-modal-overlay-bg:rgba(8,7,11,0.1);--sgi-modal-form-bg:#0e0d12;--sgi-modal-form-overlay-bg:rgba(8,7,11,0.82);--sgi-modal-form-input-bg:#16141c;--sgi-spinner-track:rgba(157,142,199,0.15);--sgi-spinner-head:#9d8ec7;--sgi-details-text:#94a3b8;--sgi-version-color:#9d8ec7;--sgi-link-color:#9d8ec7;--sgi-focus-glow:rgba(157,142,199,0.16);--sgi-shell-sidebar-bg:var(--sgi-glass-blue);--sgi-shell-sidebar-border:#8b7fad;--sgi-shell-topbar-bg:var(--sgi-glass-blue);--sgi-shell-topbar-border:#8b7fad;--sgi-shell-accent:#9d8ec7;--sgi-shell-text:#e2e8f0;--sgi-shell-text-muted:#64748b;--sgi-shell-divider:rgba(157,142,199,0.22);--sgi-shell-item-hover:rgba(157,142,199,0.06);--sgi-shell-item-active:rgba(157,142,199,0.1);--sgi-shell-icon-bg:transparent;--sgi-shell-icon-border:var(--sgi-shell-divider);--sgi-shell-icon-color:var(--sgi-shell-accent);--sgi-shell-item-color:var(--sgi-shell-text);--sgi-shell-item-hover-color:var(--sgi-shell-accent);--sgi-shell-item-active-color:var(--sgi-shell-accent);--sgi-shell-item-border-hover:var(--sgi-shell-sidebar-border);--sgi-shell-item-border-active:var(--sgi-shell-sidebar-border);--sgi-shell-badge-bg:transparent;--sgi-shell-badge-color:var(--sgi-shell-accent);--sgi-shell-badge-border:var(--sgi-shell-sidebar-border);--sgi-card-shadow:0 0 0 1px rgba(157,142,199,0.16),0 0 20px rgba(157,142,199,0.04);--sgi-btn-primary-bg:rgba(157,142,199,0.24);--sgi-btn-primary-color:#f5f3ff;--sgi-btn-primary-border:#8b7fad;--sgi-btn-primary-hover-bg:rgba(157,142,199,0.36);--sgi-btn-primary-shadow:0 0 16px rgba(157,142,199,0.18);--sgi-checkbox-bg:rgba(8,7,11,0.45);--sgi-checkbox-border:#8b7fad;--sgi-checkbox-checked-bg:rgba(157,142,199,0.1);--sgi-checkbox-checked-border:#8b7fad;--sgi-checkbox-check-color:#9d8ec7;--sgi-table-header-solid-bg:#16141c}html[data-theme=escuro-cinza]{--sgi-blue:#94a3b8;--sgi-blue-bright:#cbd5e1;--sgi-glass-blue:rgba(148,163,184,0.08);--sgi-modal-details-bg:rgba(148,163,184,0.06);--sgi-table-header-bg:rgba(148,163,184,0.06);--sgi-modal-form-shadow:0 24px 48px rgba(0,0,0,0.45),0 0 0 1px rgba(148,163,184,0.22);--sgi-light-gray:#0f1115;--sgi-white:#0c0e12;--sgi-logo-bg:var(--sgi-glass-blue);--sgi-text-muted:#64748b;--sgi-border:#64748b;--sgi-page-bg:#0c0e12;--sgi-content-bg:#121418;--sgi-text:#cbd5e1;--sgi-input-bg:rgba(12,14,18,0.45);--sgi-modal-bg:var(--sgi-glass-blue);--sgi-modal-overlay-bg:rgba(12,14,18,0.1);--sgi-modal-form-bg:#121418;--sgi-modal-form-overlay-bg:rgba(12,14,18,0.82);--sgi-modal-form-input-bg:#1a1d24;--sgi-spinner-track:rgba(148,163,184,0.15);--sgi-spinner-head:#94a3b8;--sgi-details-text:#94a3b8;--sgi-version-color:#94a3b8;--sgi-link-color:#94a3b8;--sgi-focus-glow:rgba(148,163,184,0.16);--sgi-shell-sidebar-bg:var(--sgi-glass-blue);--sgi-shell-sidebar-border:#64748b;--sgi-shell-topbar-bg:var(--sgi-glass-blue);--sgi-shell-topbar-border:#64748b;--sgi-shell-accent:#94a3b8;--sgi-shell-text:#e2e8f0;--sgi-shell-text-muted:#64748b;--sgi-shell-divider:rgba(148,163,184,0.22);--sgi-shell-item-hover:rgba(148,163,184,0.06);--sgi-shell-item-active:rgba(148,163,184,0.1);--sgi-shell-icon-bg:transparent;--sgi-shell-icon-border:var(--sgi-shell-divider);--sgi-shell-icon-color:var(--sgi-shell-accent);--sgi-shell-item-color:var(--sgi-shell-text);--sgi-shell-item-hover-color:var(--sgi-shell-accent);--sgi-shell-item-active-color:var(--sgi-shell-accent);--sgi-shell-item-border-hover:var(--sgi-shell-sidebar-border);--sgi-shell-item-border-active:var(--sgi-shell-sidebar-border);--sgi-shell-badge-bg:transparent;--sgi-shell-badge-color:var(--sgi-shell-accent);--sgi-shell-badge-border:var(--sgi-shell-sidebar-border);--sgi-card-shadow:0 0 0 1px rgba(148,163,184,0.16),0 0 20px rgba(148,163,184,0.04);--sgi-btn-primary-bg:rgba(148,163,184,0.24);--sgi-btn-primary-color:#f8fafc;--sgi-btn-primary-border:#64748b;--sgi-btn-primary-hover-bg:rgba(148,163,184,0.36);--sgi-btn-primary-shadow:0 0 16px rgba(148,163,184,0.18);--sgi-checkbox-bg:rgba(12,14,18,0.45);--sgi-checkbox-border:#64748b;--sgi-checkbox-checked-bg:rgba(148,163,184,0.1);--sgi-checkbox-checked-border:#64748b;--sgi-checkbox-check-color:#94a3b8;--sgi-table-header-solid-bg:#1a1d24}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:var(--font-geist-sans),Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;background:var(--sgi-page-bg);color:var(--sgi-text)}.sgi-auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.sgi-auth-card{width:100%;max-width:420px;background:var(--sgi-logo-bg);border:1px solid var(--sgi-border);border-radius:16px;box-shadow:var(--sgi-card-shadow);padding:32px 28px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.sgi-auth-header{display:flex;flex-direction:column;align-items:center;margin-bottom:24px}.sgi-logo{width:auto;height:auto;max-width:260px}html[data-theme^=escuro] .sgi-logo-dark{filter:brightness(1.15)}.sgi-version{margin:8px 0 0;font-size:.875rem;font-weight:600;color:var(--sgi-version-color);letter-spacing:.04em}.sgi-form{display:flex;flex-direction:column;gap:12px}.sgi-form-title{margin:0 0 4px;font-size:1.25rem;text-align:center;color:var(--sgi-text)}.sgi-form-hint{margin:0 0 8px;text-align:center;font-size:.9rem;color:var(--sgi-text-muted)}.sgi-label{font-size:.875rem;font-weight:600}.sgi-input,.sgi-label{display:block;color:var(--sgi-text)}.sgi-input{width:100%;padding:12px 14px;border:1px solid var(--sgi-border);border-radius:10px;font-size:1rem;background:var(--sgi-input-bg);transition:border-color .2s,box-shadow .2s}.sgi-input:focus{outline:none;border-color:var(--sgi-blue-bright);box-shadow:0 0 0 3px var(--sgi-focus-glow)}.sgi-caixa-alta-input,.sgi-caixa-alta-input::placeholder{text-transform:uppercase}.sgi-password-field{position:relative}.sgi-input-password{width:100%;padding-right:44px}.sgi-password-toggle{position:absolute;top:50%;right:10px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;padding:4px;border:none;background:none;color:var(--sgi-text-muted);cursor:pointer}.sgi-checkbox-row,.sgi-password-toggle:hover{color:var(--sgi-text)}.sgi-checkbox-row{display:flex;align-items:center;gap:10px;font-size:.9rem;margin-top:4px;cursor:pointer;user-select:none}.sgi-checkbox,.sgi-checkbox-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;flex-shrink:0;border:2px solid var(--sgi-checkbox-border);border-radius:5px;background:var(--sgi-checkbox-bg);cursor:pointer;position:relative;transition:border-color .15s,background .15s,box-shadow .15s}.sgi-checkbox-row input[type=checkbox]:checked,.sgi-checkbox:checked{background:var(--sgi-checkbox-checked-bg);border-color:var(--sgi-checkbox-checked-border)}.sgi-checkbox-row input[type=checkbox]:checked:after,.sgi-checkbox:checked:after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid var(--sgi-checkbox-check-color);border-width:0 2px 2px 0;transform:rotate(45deg)}.sgi-checkbox-row input[type=checkbox]:focus-visible,.sgi-checkbox:focus-visible{outline:none;box-shadow:0 0 0 3px var(--sgi-focus-glow)}.sgi-checkbox-row input[type=checkbox]:disabled,.sgi-checkbox:disabled{opacity:.5;cursor:not-allowed}.sgi-btn{border:none;border-radius:10px;padding:12px 18px;font-size:.95rem;font-weight:600;cursor:pointer;transition:transform .15s,opacity .15s}.sgi-btn:hover{opacity:.92}.sgi-btn:active{transform:scale(.98)}.sgi-btn-primary{background:var(--sgi-btn-primary-bg);color:var(--sgi-btn-primary-color);border:1px solid var(--sgi-btn-primary-border);box-shadow:var(--sgi-btn-primary-shadow,none)}.sgi-btn-secondary{background:var(--sgi-light-gray);color:var(--sgi-text);border:1px solid var(--sgi-border)}.sgi-btn-danger{background:transparent;color:var(--sgi-danger);border:1px solid var(--sgi-danger)}.sgi-btn-danger:hover{background:rgba(220,38,38,.08);opacity:1}html[data-theme^=escuro] .sgi-btn-danger{background:rgba(220,38,38,.12);color:#fca5a5;border-color:#f87171}html[data-theme^=escuro] .sgi-btn-danger:hover{background:rgba(220,38,38,.22)}.sgi-btn-full{width:100%;margin-top:8px}.sgi-btn-row{display:flex;gap:12px;margin-top:8px}.sgi-btn-row .sgi-btn{flex:1}.sgi-link-row{text-align:center;margin:8px 0 0;color:var(--sgi-text);font-size:.95rem}.sgi-link{background:none;border:none;color:var(--sgi-link-color);font-size:.95rem;font-weight:600;cursor:pointer;text-decoration:underline;padding:0}.sgi-code-inputs{display:flex;justify-content:center;gap:10px;margin:8px 0 12px}.sgi-code-input{width:44px;height:52px;text-align:center;font-size:1.4rem;font-weight:700;border:1px solid var(--sgi-border);border-radius:10px;color:var(--sgi-text);background:var(--sgi-input-bg)}.sgi-code-input:focus{outline:none;border-color:var(--sgi-blue-bright);box-shadow:0 0 0 3px var(--sgi-focus-glow)}.sgi-modal-overlay{position:fixed;inset:0;background:var(--sgi-modal-overlay-bg);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}.sgi-modal{width:100%;max-width:480px;background:var(--sgi-modal-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--sgi-border);border-radius:16px;padding:28px 24px;box-shadow:var(--sgi-card-shadow)}.sgi-modal-wait{text-align:center}.sgi-modal-error{max-width:640px}.sgi-modal-title{margin:0 0 8px;font-size:1.25rem;color:var(--sgi-text)}.sgi-modal-subtitle{margin:0;color:var(--sgi-text-muted)}.sgi-modal-summary{margin:0 0 16px;color:var(--sgi-text);line-height:1.5}.sgi-modal-details{margin:0 0 20px;padding:14px;background:var(--sgi-light-gray);border:1px solid var(--sgi-border);border-radius:10px;font-family:var(--font-geist-mono),monospace;font-size:.78rem;line-height:1.45;white-space:pre-wrap;overflow-x:auto;max-height:280px;color:var(--sgi-details-text)}.sgi-text-danger{color:var(--sgi-danger)}.sgi-spinner{width:44px;height:44px;margin:0 auto 16px;border:4px solid var(--sgi-spinner-track);border-top-color:var(--sgi-spinner-head);border-radius:50%;animation:sgi-spin .8s linear infinite;will-change:transform}@keyframes sgi-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sgi-app-shell{min-height:100vh;padding:24px}.sgi-app-header{display:flex;align-items:baseline;gap:12px;margin-bottom:24px}.sgi-app-header h1{margin:0;color:var(--sgi-text)}.sgi-app-content{background:var(--sgi-content-bg);border:1px solid var(--sgi-border);border-radius:16px;padding:24px;box-shadow:var(--sgi-card-shadow)}.sgi-shell{--sgi-sidebar-width:240px;--sgi-sidebar-collapsed-width:72px;--sgi-shell-gap:12px;min-height:100vh;padding:var(--sgi-shell-gap);background:var(--sgi-page-bg)}.sgi-shell,.sgi-shell-main{display:flex;gap:var(--sgi-shell-gap)}.sgi-shell-main{flex:1;min-width:0;flex-direction:column}.sgi-shell-backdrop{display:none;position:fixed;inset:0;z-index:40;border:none;background:rgba(15,23,42,.45);cursor:pointer}.sgi-sidebar{width:var(--sgi-sidebar-width);flex-shrink:0;background:var(--sgi-shell-sidebar-bg);border:1px solid var(--sgi-shell-sidebar-border);border-radius:16px;box-shadow:var(--sgi-card-shadow);display:flex;flex-direction:column;overflow:hidden;transition:width .25s ease;color:var(--sgi-shell-text);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.sgi-sidebar-collapsed{width:var(--sgi-sidebar-collapsed-width)}.sgi-sidebar-header{display:flex;justify-content:flex-end;padding:12px;border-bottom:1px solid var(--sgi-shell-divider)}.sgi-sidebar-toggle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--sgi-shell-sidebar-border);border-radius:10px;background:transparent;color:var(--sgi-shell-text);cursor:pointer;transition:background .15s,box-shadow .15s}.sgi-sidebar-toggle:hover{background:var(--sgi-shell-item-hover);box-shadow:0 0 10px var(--sgi-focus-glow)}.sgi-sidebar-chevron-collapsed{transform:rotate(180deg)}.sgi-sidebar-nav{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:4px}.sgi-sidebar-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--sgi-shell-item-color);font-size:.9rem;font-weight:500;text-align:left;cursor:pointer;transition:background .15s,color .15s,border-color .15s,box-shadow .15s;white-space:nowrap;overflow:hidden;text-decoration:none}.sgi-sidebar-item-active{background:var(--sgi-shell-item-active);color:var(--sgi-shell-item-active-color);border-color:var(--sgi-shell-item-border-active);box-shadow:0 0 12px var(--sgi-focus-glow)}.sgi-sidebar-item:hover{background:var(--sgi-shell-item-hover);color:var(--sgi-shell-item-hover-color);border-color:var(--sgi-shell-item-border-hover)}.sgi-sidebar-item-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--sgi-shell-icon-bg);border:1px solid var(--sgi-shell-icon-border);color:var(--sgi-shell-icon-color)}.sgi-sidebar-item-icon svg{display:block}.sgi-sidebar-item-label{overflow:hidden;text-overflow:ellipsis}.sgi-sidebar-collapsed .sgi-sidebar-item-label{opacity:0;width:0}.sgi-sidebar-collapsed .sgi-sidebar-item{justify-content:center;padding:10px 8px}.sgi-sidebar-user{gap:12px;margin-top:auto;padding:12px;border-top:1px solid var(--sgi-shell-divider)}.sgi-sidebar-user,.sgi-sidebar-user-badge{display:flex;align-items:center;flex-shrink:0}.sgi-sidebar-user-badge{width:40px;height:40px;justify-content:center;border-radius:50%;background:var(--sgi-shell-badge-bg);color:var(--sgi-shell-badge-color);font-weight:700;font-size:.85rem;border:2px solid var(--sgi-shell-badge-border)}.sgi-sidebar-user-info{display:flex;flex-direction:column;gap:2px;min-width:0;overflow:hidden}.sgi-sidebar-user-name{font-size:.875rem;font-weight:600;color:var(--sgi-shell-text)}.sgi-sidebar-user-name,.sgi-sidebar-user-profile{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sgi-sidebar-user-profile{display:block;font-size:.75rem;font-weight:500;color:var(--sgi-shell-text-muted);line-height:1.3}.sgi-sidebar-collapsed .sgi-sidebar-user{justify-content:center;padding:12px 8px}.sgi-sidebar-collapsed .sgi-sidebar-user-info{opacity:0;width:0;overflow:hidden}.sgi-topbar{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--sgi-shell-topbar-bg);border:1px solid var(--sgi-shell-topbar-border);border-radius:16px;box-shadow:var(--sgi-card-shadow);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.sgi-topbar-menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--sgi-shell-topbar-border);border-radius:10px;background:transparent;color:var(--sgi-shell-text);cursor:pointer}.sgi-topbar-brand{display:flex;flex-direction:column;gap:2px}.sgi-topbar-title{margin:0;font-size:1.35rem;font-weight:700;color:var(--sgi-shell-text);line-height:1.2}.sgi-topbar-version{margin:0;font-size:.8rem;font-weight:600;color:var(--sgi-shell-accent);letter-spacing:.04em}.sgi-shell-content{flex:1;background:var(--sgi-content-bg);border:1px solid var(--sgi-border);border-radius:16px;box-shadow:var(--sgi-card-shadow);overflow:hidden;min-height:0;color:var(--sgi-text)}.sgi-home{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 120px);padding:24px}.sgi-home-watermark{width:auto;height:auto;max-width:min(480px,80vw);max-height:min(360px,50vh);object-fit:contain;opacity:.85}@media (max-width:768px){.sgi-shell{padding:8px;gap:8px}.sgi-topbar-menu-btn{display:flex}.sgi-sidebar{position:fixed;top:8px;left:8px;bottom:8px;z-index:50;transform:translateX(calc(-100% - 16px));transition:transform .25s ease,width .25s ease}.sgi-sidebar-mobile-open{transform:translateX(0)}.sgi-shell-mobile-open .sgi-shell-backdrop{display:block}.sgi-sidebar-collapsed{width:var(--sgi-sidebar-width)}.sgi-sidebar-collapsed .sgi-sidebar-item-label{opacity:1;width:auto}.sgi-sidebar-collapsed .sgi-sidebar-item{justify-content:flex-start;padding:10px 12px}.sgi-sidebar-collapsed .sgi-sidebar-user-info{opacity:1;width:auto}.sgi-sidebar-collapsed .sgi-sidebar-user{justify-content:flex-start;padding:14px 12px}.sgi-home{min-height:calc(100vh - 100px)}.sgi-shell-content:has(.sgi-clientes-page){flex:none;min-height:auto}.sgi-clientes-page{flex:none;max-width:640px;min-height:auto;padding:16px}.sgi-clientes-search-grid{grid-template-columns:1fr}.sgi-clientes-table-wrap{--sgi-clientes-row-height:40px;--sgi-clientes-visible-rows:10;flex:none;height:calc(var(--sgi-clientes-row-height) * (var(--sgi-clientes-visible-rows) + 1));max-height:calc(var(--sgi-clientes-row-height) * (var(--sgi-clientes-visible-rows) + 1))}}.sgi-sidebar-config-group,.sgi-sidebar-menu-group,.sgi-sidebar-submenu{display:flex;flex-direction:column;gap:2px}.sgi-sidebar-submenu{padding-left:12px;margin-left:22px;border-left:1px solid var(--sgi-shell-divider)}.sgi-sidebar-subitem{display:block;padding:8px 12px;border-radius:8px;border:1px solid transparent;color:var(--sgi-shell-text-muted);font-size:.85rem;text-decoration:none;transition:background .15s,border-color .15s,color .15s}.sgi-sidebar-subitem:hover{background:var(--sgi-shell-item-hover)}.sgi-sidebar-subitem-active,.sgi-sidebar-subitem:hover{color:var(--sgi-shell-accent);border-color:var(--sgi-shell-sidebar-border)}.sgi-sidebar-subitem-active{background:var(--sgi-shell-item-active);font-weight:600}.sgi-sidebar-sub-chevron{margin-left:auto;flex-shrink:0;transition:transform .2s}.sgi-sidebar-sub-chevron-open{transform:rotate(90deg)}.sgi-sidebar-logout{margin-top:4px;color:var(--sgi-shell-text)}.sgi-sidebar-logout:hover{background:rgba(220,38,38,.12);color:#f87171;border-color:#f87171}.sgi-config-page{padding:24px;max-width:640px}.sgi-config-title{margin:0 0 20px;font-size:1.4rem;color:var(--sgi-text)}.sgi-config-subtitle{margin:0 0 12px;font-size:1rem;color:var(--sgi-text)}.sgi-config-section{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--sgi-border)}.sgi-config-section:last-child{border-bottom:none}.sgi-tabs{display:flex;gap:8px;margin-bottom:20px}.sgi-tab{padding:8px 16px;border:1px solid var(--sgi-border);border-radius:8px;background:var(--sgi-content-bg);color:var(--sgi-text);cursor:pointer;font-weight:600}.sgi-tab-active{background:var(--sgi-btn-primary-bg);color:var(--sgi-btn-primary-color);border-color:var(--sgi-btn-primary-border);box-shadow:0 0 10px var(--sgi-focus-glow)}.sgi-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.sgi-theme-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:2px solid var(--sgi-border);border-radius:12px;background:var(--sgi-content-bg);color:var(--sgi-text);text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.sgi-theme-card span{font-size:.85rem;color:var(--sgi-text-muted)}.sgi-theme-card-active{border-color:var(--sgi-blue-bright);box-shadow:0 0 0 1px var(--sgi-blue-bright),0 0 16px var(--sgi-focus-glow)}.sgi-theme-preview{height:64px;border-radius:8px;border:1px solid var(--sgi-border)}.sgi-theme-preview-claro{background:linear-gradient(160deg,#f1f5f9,#e2e8f0 45%,#dbeafe)}.sgi-theme-preview-claro-lilas{background:linear-gradient(160deg,#faf9fc,#f4f2f7 45%,#ebe8f0);border-color:#d8d2e4}.sgi-theme-preview-claro-cinza{background:linear-gradient(160deg,#f8fafc,#f1f5f9 45%,#e2e8f0);border-color:#cbd5e1}.sgi-theme-preview-escuro{background:#050810;border-color:#38bdf8;box-shadow:inset 0 0 12px rgba(56,189,248,.08)}.sgi-theme-preview-escuro-roxo{background:#08070b;border-color:#8b7fad;box-shadow:inset 0 0 12px rgba(157,142,199,.06)}.sgi-theme-preview-escuro-cinza{background:#0c0e12;border-color:#64748b;box-shadow:inset 0 0 12px rgba(148,163,184,.06)}.sgi-config-hint{margin:-12px 0 20px;color:var(--sgi-text-muted);font-size:.9rem;line-height:1.5}.sgi-users-auth{max-width:420px}.sgi-users-table-wrap{border:1px solid var(--sgi-border);border-radius:12px;overflow:hidden;background:var(--sgi-content-bg);outline:none}.sgi-users-table-wrap:focus-visible{box-shadow:0 0 0 2px var(--sgi-focus-glow)}.sgi-users-table{width:100%;border-collapse:collapse;font-size:.9rem}.sgi-users-table td,.sgi-users-table th{padding:12px 14px;text-align:left;border-bottom:1px solid var(--sgi-border)}.sgi-users-table th{font-weight:600;color:var(--sgi-text-muted);background:var(--sgi-light-gray)}.sgi-users-table tbody tr{cursor:pointer;transition:background .12s}.sgi-users-table tbody tr:hover{background:var(--sgi-shell-item-hover)}.sgi-users-row-selected{background:var(--sgi-shell-item-active)!important}.sgi-users-row-inactive{opacity:.82}.sgi-user-status-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:.8rem;font-weight:600;border:1px solid transparent}.sgi-user-status-active{color:#166534;background:rgba(22,101,52,.1);border-color:rgba(22,101,52,.25)}.sgi-user-status-inactive{color:var(--sgi-danger);background:rgba(220,38,38,.08);border-color:rgba(220,38,38,.25)}html[data-theme^=escuro] .sgi-user-status-active{color:#86efac;background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35)}html[data-theme^=escuro] .sgi-user-status-inactive{color:#fca5a5;background:rgba(220,38,38,.14);border-color:rgba(248,113,113,.4)}.sgi-users-table-hint{padding:10px 14px}.sgi-shell-content:has(.sgi-clientes-page){display:flex;flex-direction:column;flex:1;min-height:0}.sgi-clientes-page{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;padding:16px 20px 20px;box-sizing:border-box}.sgi-clientes-header{flex-shrink:0}.sgi-clientes-header .sgi-config-title{margin-bottom:16px}.sgi-clientes-header .sgi-config-hint{margin:0 0 16px}.sgi-clientes-empty-hint{margin:0;padding:12px 0}.sgi-clientes-results{display:flex;flex-direction:column;flex-shrink:0;gap:8px}.sgi-clientes-table-wrap{--sgi-clientes-row-height:42px;--sgi-clientes-visible-rows:10;flex:0 0 auto;height:calc(var(--sgi-clientes-row-height) * (var(--sgi-clientes-visible-rows) + 1));max-height:calc(var(--sgi-clientes-row-height) * (var(--sgi-clientes-visible-rows) + 1));overflow:auto;overscroll-behavior:contain}.sgi-clientes-table-wrap.sgi-users-table-wrap{overflow:auto}.sgi-clientes-table thead th{position:sticky;top:0;z-index:2;background-color:var(--sgi-table-header-solid-bg);box-shadow:inset 0 -1px 0 var(--sgi-border)}.sgi-clientes-table thead th:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--sgi-border);pointer-events:none}html[data-theme^=escuro] .sgi-clientes-table thead th{background-color:var(--sgi-table-header-solid-bg)}.sgi-table-sort-btn{display:inline-flex;align-items:center;gap:6px;width:100%;padding:0;border:none;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer;white-space:nowrap}.sgi-table-sort-btn:hover{color:var(--sgi-text)}.sgi-table-sort-btn:focus-visible{outline:2px solid var(--sgi-blue-bright);outline-offset:2px;border-radius:4px}.sgi-table-sort-btn-active{color:var(--sgi-text)}.sgi-table-sort-indicator{flex-shrink:0;font-size:.72rem;line-height:1;opacity:.45}.sgi-table-sort-btn-active .sgi-table-sort-indicator{opacity:1;color:var(--sgi-blue-bright)}.sgi-clientes-table tbody tr{height:var(--sgi-clientes-row-height)}.sgi-clientes-table td,.sgi-clientes-table th{height:var(--sgi-clientes-row-height);box-sizing:border-box;vertical-align:middle}.sgi-clientes-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;margin-bottom:0}.sgi-clientes-search{flex-shrink:0;margin-bottom:12px;padding-bottom:16px}.sgi-clientes-search-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 16px}.sgi-clientes-search-field{display:flex;flex-direction:column;gap:6px}.sgi-autocomplete{position:relative}.sgi-autocomplete-list{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;max-height:220px;overflow-y:auto;margin:0;padding:6px 0;list-style:none;border:1px solid var(--sgi-border);border-radius:10px;background:var(--sgi-content-bg);box-shadow:var(--sgi-card-shadow)}.sgi-autocomplete-option{padding:8px 12px;font-size:.92rem;color:var(--sgi-text);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sgi-autocomplete-option-active,.sgi-autocomplete-option:hover{background:var(--sgi-shell-item-hover);color:var(--sgi-text)}.sgi-clientes-search .sgi-btn-row{margin-top:4px}.sgi-data-table-scroll{overflow-x:auto}.sgi-clientes-table{min-width:2200px}.sgi-clientes-table td,.sgi-clientes-table th{white-space:nowrap;max-width:280px;overflow:hidden;text-overflow:ellipsis}.sgi-modal-form{max-width:480px;width:calc(100% - 32px);max-height:min(90vh,720px);overflow-y:auto;background:var(--sgi-modal-form-bg);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 24px 48px rgba(15,23,42,.22)}.sgi-modal-overlay-form{background:var(--sgi-modal-form-overlay-bg);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.sgi-modal-form .sgi-input,.sgi-modal-form select.sgi-input{background:var(--sgi-modal-form-input-bg)}html[data-theme^=escuro] .sgi-modal-form{box-shadow:var(--sgi-modal-form-shadow)}.sgi-modal-form .sgi-btn-row{margin-top:16px;flex-wrap:wrap}.sgi-modal-form .sgi-btn-row .sgi-btn-danger{margin-right:auto}html[data-theme^=escuro] .sgi-users-table th{background:var(--sgi-table-header-bg)}html[data-theme^=escuro] .sgi-users-table-wrap{border-color:var(--sgi-shell-sidebar-border)}.sgi-field-group{display:flex;flex-direction:column;gap:8px}.sgi-field-hint{margin:0;font-size:.82rem;color:var(--sgi-text-muted)}.sgi-status-capsule{display:inline-flex;padding:4px;border-radius:999px;border:1px solid var(--sgi-border);background:var(--sgi-light-gray);gap:4px}.sgi-status-capsule-option{border:none;border-radius:999px;padding:8px 18px;font-size:.875rem;font-weight:600;cursor:pointer;background:transparent;color:var(--sgi-text-muted);transition:background .15s,color .15s}.sgi-status-capsule-option:disabled{cursor:default}.sgi-status-capsule-option-selected{background:var(--sgi-blue);color:var(--sgi-white)}.sgi-status-capsule-inactive .sgi-status-capsule-option-selected{background:var(--sgi-text-muted);color:var(--sgi-white);border:none;box-shadow:none}select.sgi-input{cursor:pointer}select.sgi-input:disabled{cursor:not-allowed;opacity:.75}html[data-theme^=escuro] .sgi-btn-primary:hover{background:var(--sgi-btn-primary-hover-bg);box-shadow:0 0 20px var(--sgi-focus-glow);opacity:1}html[data-theme^=escuro] .sgi-btn-secondary{background:transparent;border-color:var(--sgi-border)}html[data-theme^=escuro] .sgi-btn-secondary:hover,html[data-theme^=escuro] .sgi-checkbox-row input[type=checkbox]:checked,html[data-theme^=escuro] .sgi-checkbox:checked{box-shadow:0 0 10px var(--sgi-focus-glow)}html[data-theme^=escuro] .sgi-modal-details{background:var(--sgi-modal-details-bg)}html[data-theme^=escuro] .sgi-status-capsule{background:var(--sgi-glass-blue)}html[data-theme^=escuro] .sgi-spinner{border-color:var(--sgi-spinner-track);border-top-color:var(--sgi-spinner-head)}html[data-theme^=escuro] .sgi-status-capsule-option-selected{background:transparent;color:var(--sgi-blue-bright);border:1px solid var(--sgi-blue-bright);box-shadow:0 0 10px var(--sgi-focus-glow)}html[data-theme^=escuro] .sgi-status-capsule-inactive .sgi-status-capsule-option-selected{background:transparent;color:var(--sgi-text-muted);border:1px solid var(--sgi-text-muted);box-shadow:none}html[data-theme^=escuro] .sgi-home-watermark{opacity:.45;filter:brightness(1.2)}html[data-theme^=claro] .sgi-sidebar-item.sgi-sidebar-item-active,html[data-theme^=claro] .sgi-sidebar-item:active,html[data-theme^=claro] .sgi-sidebar-item:focus-visible,html[data-theme^=claro] .sgi-sidebar-item:hover{color:#ffffff;border-color:transparent;box-shadow:none}html[data-theme^=claro] .sgi-sidebar-item.sgi-sidebar-item-active .sgi-sidebar-item-icon,html[data-theme^=claro] .sgi-sidebar-item.sgi-sidebar-item-active .sgi-sidebar-item-label,html[data-theme^=claro] .sgi-sidebar-item:hover .sgi-sidebar-item-icon,html[data-theme^=claro] .sgi-sidebar-item:hover .sgi-sidebar-item-label{color:#ffffff}html[data-theme^=claro] .sgi-sidebar-subitem{color:rgba(255,255,255,.85)}html[data-theme^=claro] .sgi-sidebar-subitem.sgi-sidebar-subitem-active,html[data-theme^=claro] .sgi-sidebar-subitem:hover{color:#ffffff;background:var(--sgi-shell-item-hover);border-color:transparent;box-shadow:none}html[data-theme^=claro] .sgi-sidebar-subitem.sgi-sidebar-subitem-active{background:var(--sgi-shell-item-active)}html[data-theme^=escuro] .sgi-sidebar-item-active{box-shadow:0 0 14px var(--sgi-focus-glow)}@media (display-mode:standalone){.sgi-shell{padding:max(var(--sgi-shell-gap),env(safe-area-inset-top)) max(var(--sgi-shell-gap),env(safe-area-inset-right)) max(var(--sgi-shell-gap),env(safe-area-inset-bottom)) max(var(--sgi-shell-gap),env(safe-area-inset-left))}}.sgi-app-shell--cards{display:flex;flex-direction:column;min-height:100vh;background:var(--sgi-page-bg);color:var(--sgi-text)}.sgi-cards-topo{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0;padding:max(10px,env(safe-area-inset-top)) 16px 10px;background:var(--sgi-shell-topbar-bg);border-bottom:1px solid var(--sgi-shell-topbar-border);color:var(--sgi-shell-text);z-index:40}.sgi-cards-topo__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sgi-cards-topo__user{font-size:.9rem;font-weight:600;color:var(--sgi-shell-text)}.sgi-cards-topo__version{font-size:.75rem;font-weight:600;color:var(--sgi-shell-accent)}.sgi-voltar-menu{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border-radius:10px;border:1px solid var(--sgi-shell-divider);background:var(--sgi-shell-item-hover);color:var(--sgi-shell-text);text-decoration:none;font-size:.9rem;font-weight:600}.sgi-voltar-menu:hover{background:var(--sgi-shell-item-active)}.sgi-voltar-menu__seta{font-size:1.1rem;line-height:1}.sgi-main{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;padding:16px 20px 24px;box-sizing:border-box}.sgi-main--menu-cards{max-width:1100px;margin:0 auto;width:100%}.sgi-main--workspace{display:flex;flex-direction:column;min-height:0;padding-top:8px}.sgi-menu-cards__cabecalho{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.sgi-menu-cards__logo{width:auto;height:48px;object-fit:contain}.sgi-menu-cards__subtitulo{margin:8px 0 0;font-size:.95rem;color:var(--sgi-text-muted)}.sgi-menu-cards__acoes-topo{display:flex;flex-wrap:wrap;gap:8px}.sgi-menu-cards__btn-secundario{min-height:40px;padding:8px 14px;border-radius:10px;border:1px solid var(--sgi-border);background:var(--sgi-content-bg);color:var(--sgi-text-muted);font-size:.85rem;cursor:pointer}.sgi-cards-topo .sgi-menu-cards__btn-secundario{border-color:var(--sgi-shell-divider);background:transparent;color:var(--sgi-shell-text)}.sgi-menu-cards__btn-secundario:hover{color:var(--sgi-text)}.sgi-menu-cards__titulo{margin:12px 0 4px;font-size:1.75rem;font-weight:700;color:var(--sgi-text)}.sgi-menu-cards__ajuda{margin:0 0 24px;font-size:.95rem;color:var(--sgi-text-muted)}.sgi-menu-cards__grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.sgi-menu-cards__card{position:relative;display:flex;align-items:flex-start;gap:14px;width:100%;min-height:108px;padding:18px 16px;border-radius:14px;border:1px solid var(--sgi-border);border-left:4px solid var(--sgi-menu-card-accent,var(--sgi-blue));background:var(--sgi-content-bg);text-align:left;font:inherit;color:inherit;cursor:pointer;box-shadow:var(--sgi-card-shadow);transition:transform .15s ease,box-shadow .15s ease}.sgi-menu-cards__card:hover{transform:translateY(-2px)}.sgi-menu-cards__card-icone{flex-shrink:0;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.35rem;background:color-mix(in srgb,var(--sgi-menu-card-accent,var(--sgi-blue)) 14%,var(--sgi-content-bg))}.sgi-menu-cards__card-texto{display:flex;flex-direction:column;gap:4px;min-width:0}.sgi-menu-cards__card-label{font-size:1.05rem;font-weight:700;color:var(--sgi-text)}.sgi-menu-cards__card-desc{font-size:.82rem;line-height:1.35;color:var(--sgi-text-muted)}.sgi-menu-cards__rodape{margin-top:36px;padding-top:20px;border-top:1px solid var(--sgi-border);display:flex;justify-content:flex-end}.sgi-menu-cards__versao{font-size:.75rem;color:var(--sgi-text-muted);font-weight:600}@media (max-width:560px){.sgi-menu-cards__grade{grid-template-columns:1fr}}.sgi-workspace{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;height:100%}.sgi-workspace__guias{display:flex;flex-wrap:nowrap;align-items:stretch;gap:4px;padding:0 0 8px;margin:0 0 4px;border-bottom:1px solid var(--sgi-border);overflow-x:auto;flex-shrink:0}.sgi-workspace__guia{display:flex;align-items:center;max-width:220px;flex-shrink:0;border:1px solid var(--sgi-border);border-radius:10px 10px 0 0;background:var(--sgi-light-gray);overflow:hidden}.sgi-workspace__guia--ativa{background:var(--sgi-content-bg);border-bottom-color:var(--sgi-content-bg);box-shadow:inset 0 -2px 0 var(--sgi-blue)}.sgi-workspace__guia-btn{display:flex;align-items:center;gap:8px;min-width:0;flex:1;padding:8px 6px 8px 12px;border:none;background:transparent;color:var(--sgi-text);cursor:pointer;font:inherit;text-align:left}.sgi-workspace__guia-icone{flex-shrink:0;font-size:.95rem;line-height:1}.sgi-workspace__guia-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:600}.sgi-workspace__guia-fechar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:4px;border:none;border-radius:6px;background:transparent;color:var(--sgi-text-muted);cursor:pointer;flex-shrink:0;font-size:1.1rem;line-height:1}.sgi-workspace__guia-fechar:hover{background:var(--sgi-shell-item-hover);color:var(--sgi-text)}.sgi-workspace__corpo{position:relative}.sgi-workspace__corpo,.sgi-workspace__painel{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}.sgi-workspace__painel{overflow:auto;background:var(--sgi-content-bg);border:1px solid var(--sgi-border);border-radius:12px}.sgi-workspace__painel[hidden]{display:none!important}.sgi-workspace__painel--ativo{display:flex}.sgi-workspace__carregando{margin:24px;color:var(--sgi-text-muted)}.sgi-app-shell--workspace .sgi-cards-topo{flex-shrink:0}