/* GX Consultoria em Sistemas — identidade técnica empresarial (v4)
   Camada visual sobre a aplicação existente. Nenhum dado ou rotina de cadastro foi removido. */
:root{
  --bg:#f4f7fc;--surface:#fff;--ink:#152947;--muted:#71819a;--line:#e3eaf3;
  --navy:#092651;--teal:#1356c1;--tealDark:#0b3d96;--soft:#eef5ff;
  --radius:15px;--shadow:0 9px 30px rgba(27,54,99,.045);
  --gx-navy:#071b3d;--gx-blue:#0c45ac;--gx-cyan:#04b9e9;--gx-mint:#19d7a5;
  --gx-border:#e2e9f3;--gx-subtle:#f7f9fd;--gx-text:#172b49;
}
html{scroll-behavior:smooth}body{color:var(--ink);background:var(--bg);font-family:Inter,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;line-height:1.5;font-size:14px}
button,input,select,textarea{font-family:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #36bce0;outline-offset:3px}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{display:inline-block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}
/* Barra lateral: navegação e marca GX */
.sidebar{position:sticky;top:0;height:100vh;height:100dvh;min-height:640px;display:flex;flex-direction:column;overflow:auto;z-index:45;padding:22px 16px 16px;background:linear-gradient(165deg,#0b2e71 0%,#081d46 49%,#06152e 100%);color:#fff;border-right:1px solid #23426f}
.sidebar:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#12d8a9,#02b9f2,#397af2);pointer-events:none}
.sidebar-brand{padding:4px 7px 4px}.logo-panel{height:124px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));border:1px solid rgba(200,226,255,.13);border-radius:16px;overflow:hidden}.gx-logo{width:190px;height:121px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(2,8,30,.13))}.brand-rule{height:1px;background:rgba(230,243,255,.14);margin:18px 0}
.product-lockup{display:flex;align-items:center;gap:10px;padding:0 3px 10px}.product-lockup strong{display:block;line-height:1.2;font-size:15px;letter-spacing:-.2px;color:#f7faff}.product-lockup small{display:block;color:#a7c0dd;font-size:11px;margin-top:5px}.product-icon{display:grid;place-items:center;border-radius:11px;color:#b3f7f0;background:#0b4e8a;width:38px;height:38px;flex-shrink:0;border:1px solid rgba(59,186,226,.22)}
.nav-caption,.brands-caption{font-size:10px;font-weight:800;color:#789bc7;letter-spacing:1.65px;margin:23px 16px 10px}
.sidebar .tabs{border:0;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:5px}.sidebar .tab{display:flex;align-items:center;gap:12px;padding:12px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#b9cbe1;text-align:left;font-size:13px;font-weight:650;letter-spacing:0;min-height:47px;white-space:normal;width:100%;transition:background .18s,color .18s,border-color .18s}.sidebar .tab>.icon:first-child{color:#94b5de;width:19px;height:19px}.sidebar .tab>span{flex:1}.sidebar .tab .nav-chevron{width:13px;height:13px;opacity:0;transform:translateX(-4px);transition:opacity .2s,transform .2s}.sidebar .tab.active{color:#fff;background:linear-gradient(105deg,#1455b4,#0b438d);border-color:#3c7cce;box-shadow:inset 3px 0 #1bdcbe,0 6px 16px #03132e33}.sidebar .tab.active>.icon:first-child{color:#6af0d7}.sidebar .tab:hover{background:#ffffff12;color:#fff}.sidebar .tab.active .nav-chevron,.sidebar .tab:hover .nav-chevron{opacity:1;transform:none}
.sidebar-spacer{flex:1;min-height:24px}.sidebar-hint{display:flex;gap:11px;background:rgba(46,101,177,.19);border:1px solid rgba(110,166,237,.21);border-radius:12px;padding:12px;margin:0 2px 4px;color:#eaf5ff}.hint-icon{display:flex;color:#65dbdc;flex-shrink:0;margin-top:1px}.sidebar-hint b{font-size:11px}.sidebar-hint p{font-size:11px;color:#9eb5d4;margin:4px 0 0;line-height:1.5}.sidebar-brands .brands-caption{margin:20px 8px 10px}.partner-logos{display:grid;grid-template-columns:1fr 1fr;gap:8px}.partner{height:48px;display:flex;justify-content:center;align-items:center;border-radius:9px;padding:8px;border:1px solid #ffffff20;overflow:hidden}.partner img{max-width:100%;max-height:100%;object-fit:contain}.partner-imex{background:#1c304d}.partner-xpert{background:#f0f5ff}.sidebar-version{color:#7797bf;font-size:9px;letter-spacing:.8px;padding:22px 5px 2px;white-space:nowrap}.sidebar-version span{color:#27cbb9;margin:0 3px}
.sidebar-shade{display:none}
/* Topo do aplicativo */
.main-frame{min-width:0}.app-header{position:sticky;z-index:28;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--gx-border);box-shadow:none;min-height:77px;padding:14px clamp(20px,3.5vw,48px);display:flex;align-items:center;justify-content:space-between;gap:16px}
.header-leading,.header-actions{display:flex;align-items:center;gap:14px}.header-titles{display:flex;flex-direction:column;gap:3px}.breadcrumb{color:#8492aa;font-size:10px;letter-spacing:1.13px;font-weight:800}.breadcrumb span{color:#bac8d8;margin:0 6px}.header-titles strong{font-size:16px;line-height:1.3;color:var(--gx-text);letter-spacing:-.25px}.header-actions{gap:12px}.offline{padding:8px 10px;border:1px solid #def0ea;border-radius:100px;background:#f3fbf8;color:#327d68;font-size:11px;font-weight:700}.status-dot{background:#21c49a;box-shadow:0 0 0 3px #d6f8ea}.icon-button{width:41px;height:41px;display:grid;place-items:center;background:#f7f9fd;border:1px solid #e1e8f3;border-radius:10px;color:#45617f;padding:0;transition:background .2s}.icon-button:hover{background:#ebf3ff;color:#1252b2}.mobile-menu{display:none}.theme-icon-sun{display:none}.header-create{min-height:41px!important;box-shadow:0 5px 12px #145bb020}
/* Conteúdo */
.container{max-width:1550px;margin:auto;padding:clamp(20px,3vw,39px) clamp(20px,3.5vw,48px) 34px}
.welcome{position:relative;isolation:isolate;border-radius:20px;min-height:230px;background:linear-gradient(110deg,#09295f 0%,#0d46a1 61%,#0a64b1 100%);box-shadow:0 14px 35px rgba(16,66,128,.1);padding:32px 40px;display:flex;align-items:center;overflow:hidden;color:#fff}
.welcome:after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 82% 46%,rgba(23,222,199,.2),transparent 34%),repeating-linear-gradient(135deg,transparent,transparent 34px,rgba(255,255,255,.015) 35px,transparent 36px)}
.hero-content{position:relative;z-index:2;max-width:630px}.welcome .eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;letter-spacing:1.9px;font-weight:850;color:#91eee5}.hero-dot{width:7px;height:7px;border-radius:50%;background:#1adcb4;box-shadow:0 0 0 4px #1adcb51f}.welcome h1{font-size:clamp(26px,3vw,37px);line-height:1.16;letter-spacing:-1.3px;margin:14px 0 10px;font-weight:790}.welcome h1 span{color:#5ee8ed}.welcome p{font-size:13px;line-height:1.65;color:#c2d9f6;max-width:550px;margin:0}.hero-actions{display:flex;align-items:center;gap:21px;margin-top:22px}.hero-primary{border:0;border-radius:9px;padding:10px 14px;background:#fff;color:#114595;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:10px;min-height:40px}.hero-primary:hover{background:#eaf7ff}.hero-primary .icon:last-child{width:15px;height:15px}.hero-link{padding:8px 0;border:0;background:transparent;color:#dcf9ff;display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.hero-link:hover{color:#fff}.hero-link .icon{width:15px;height:15px}
.hero-visual{position:absolute;right:30px;top:0;bottom:0;width:300px;display:grid;place-items:center;opacity:.95}.hero-orbit{position:absolute;border:1px solid rgba(153,221,255,.24);width:320px;height:320px;border-radius:50%;transform:rotate(-20deg)}.hero-orbit-two{width:245px;height:245px;border-color:rgba(132,244,236,.17)}.hero-tile{position:relative;width:206px;height:169px;padding:15px 17px;border-radius:15px;background:linear-gradient(130deg,#ffffffed,#e0f8fff5);border:1px solid #fff;box-shadow:0 22px 48px #06194149;transform:rotate(-8deg);display:flex;flex-direction:column;gap:10px}.tile-header{display:flex;gap:5px;border-bottom:1px solid #d6e4f2;padding-bottom:10px}.tile-header span{display:block;width:7px;height:7px;background:#abc7e0;border-radius:50%}.tile-header span:first-child{background:#24d5af}.tile-header span:nth-child(2){background:#35c6ef}.tile-row{display:flex;align-items:center;justify-content:space-between}.tile-circle{width:25px;height:25px;display:grid;place-items:center;color:#0ea981;background:#d5f9eb;border-radius:50%}.tile-circle .icon{width:17px}.tile-line{height:8px;width:100%;background:#b7cee6;border-radius:10px}.tile-line.short{width:55%}.tile-line.mid{width:81%}.tile-line.small{width:61%}.tile-footer{margin-top:auto;padding:4px 2px 0;color:#245ba5;font-weight:850;font-size:9px;letter-spacing:1.1px;display:flex;align-items:center;gap:7px}.tile-footer .icon{width:13px;height:13px;color:#05b6be}
.content-titlebar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:30px 0 19px}.content-overline{font-size:10px;color:#3782ca;font-weight:850;letter-spacing:1.65px}.content-titlebar h2{font-size:25px;letter-spacing:-.9px;margin:4px 0 3px;line-height:1.2;color:#192d4d}.content-titlebar p{margin:0;color:#8795aa;font-size:12px}.desktop-keyboard{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#8b9aaf;padding-bottom:5px;white-space:nowrap}.desktop-keyboard .icon{width:16px;height:16px}.desktop-keyboard kbd{border:1px solid #dfe7f1;background:#fff;box-shadow:0 2px 0 #e5eaf3;border-radius:5px;font-family:inherit;padding:1px 5px;font-size:10px;color:#65768e}
.section{animation:fade .18s ease-out}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat{min-height:147px;background:#fff;padding:17px 19px;border-radius:14px;border:1px solid #e4ebf4;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start}.stat-heading{width:100%;display:flex;align-items:center;justify-content:space-between;gap:5px}.stat-symbol{height:35px;width:35px;border-radius:10px;display:grid;place-items:center}.stat-symbol .icon{width:18px;height:18px}.stat-symbol.blue{background:#eaf2ff;color:#216cce}.stat-symbol.green{background:#e5f9f2;color:#12a87c}.stat-symbol.violet{background:#f1eefe;color:#8161c9}.stat-symbol.orange{background:#fff3e7;color:#da8639}.stat-trend{color:#a1aec0;font-size:9px;font-weight:700;text-align:right}.stat>span{font-size:27px;font-weight:830;line-height:1.15;color:#162e53;letter-spacing:-1px;margin:13px 0 3px;font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:#7c8ba0}
.content-panel{border:1px solid #e1e9f4;background:#fff;box-shadow:var(--shadow);border-radius:17px;padding:24px 26px 28px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-header h3{margin:0 0 3px;font-size:17px;letter-spacing:-.45px;color:#152b4b}.panel-header p{font-size:12px;color:#8190a5;margin:0}
.toolbar{display:flex;gap:11px;align-items:stretch;flex-wrap:nowrap}.field-icon{flex:1;min-width:150px;position:relative}.field-icon .search-glass{position:absolute;z-index:1;left:15px;top:50%;transform:translateY(-50%);color:#7287a8;pointer-events:none;display:flex;align-items:center;justify-content:center;width:20px;height:20px}.field-icon .search-glass svg{display:block;width:19px;height:19px}.toolbar input,.toolbar select,.form-input,.form-select,.form-textarea{border:1px solid #dbe5f2;background:#fbfcff;color:#183357;border-radius:10px;min-height:45px;height:45px;padding:10px 13px}.toolbar .field-icon input{padding-left:46px;padding-right:12px}.toolbar input:focus,.toolbar select:focus,.form-input:focus,.form-select:focus,.form-textarea:focus{background:#fff;border-color:#247dde;box-shadow:0 0 0 3px #2277d61e}.toolbar select{width:220px;flex-shrink:0;color:#3f5371}.primary,.secondary,.danger,.file-button{border-radius:9px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:760;padding:10px 15px;text-align:center}.primary{background:linear-gradient(100deg,#0d51b9,#0b459d);border:1px solid #0a4cae;color:#fff;box-shadow:0 5px 12px #0e5cbb17}.primary:hover{background:#093b88}.secondary{background:#f9fbfe;border:1px solid #d8e3f1;color:#29558d}.secondary:hover{background:#eff5fe}.danger{background:#fff4f4;border:1px solid #f5d4d4;color:#b33945}.danger:hover{background:#ffe9e9}
.quick-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:13px 0 8px}.quick-filters>span{font-size:9px;font-weight:800;color:#a0aec1;letter-spacing:1.15px;margin-right:4px}.filter-chip{background:#f5f8fc;border:1px solid #e1e8f3;color:#60748f;padding:5px 10px;min-height:29px;font-size:10px;font-weight:730;border-radius:99px}.filter-chip:hover{background:#ecf4ff;color:#1258b3}.filter-chip.active{background:#e9f3ff;color:#0b53b7;border-color:#c5ddf9}
.filter-line{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:14px 1px}.filter-line .result-count{margin:0}.result-count{color:#8291a6;font-size:11px}.small-check{display:flex;align-items:center;gap:7px;font-weight:660;font-size:11px;color:#6c7d96}.small-check input{accent-color:#1057b8}
.list{display:grid;grid-template-columns:1fr;gap:9px}.entry{position:relative;display:block;background:#fff;border:1px solid #e4eaf3;padding:17px 19px;border-radius:12px;box-shadow:0 3px 9px #15365c05;transition:border-color .2s,box-shadow .2s,transform .2s;text-align:left}.entry:hover{border-color:#a6c9f1;box-shadow:0 10px 22px #204c8e12;transform:translateY(-1px)}.entry:focus-visible{outline:3px solid #2aa9dc;outline-offset:2px}.entry-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.pill{background:#edf5ff;border:1px solid #d4e8fe;color:#2461ad;border-radius:6px;font-size:10px;font-weight:800;padding:4px 9px}.entry h3{font-weight:790;color:#192e4d;line-height:1.4;font-size:13.5px;letter-spacing:-.08px;margin:10px 0 6px}.excerpt{font-size:12px;color:#6d7e94;line-height:1.56;margin:0}.entry-footer{color:#1258b4;font-size:11px;font-weight:800;margin-top:12px}.entry-footer .arrow{font-size:16px}.attachment-label{font-size:10px;color:#98a6b9}.manufacturer{font-size:11px;color:#677b9a;font-weight:700}.manual-marker{background:#f2f6fc;border:1px solid #e0e7f2;color:#657d9e}.manual-source{color:#99a8ba;font-size:10px}.source-card{background:#f6f9fe;border-color:#e0eaf6}.source-card .source-link{background:#0c51ad}.source-card .source-link:hover{background:#073b88}.loadmore{margin-top:21px}.empty{background:#fafdff;border:1px dashed #d6e2ef;color:#8394ad}
#manual-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#manual-list .entry{min-height:164px;display:flex;flex-direction:column}#manual-list .entry-footer{margin-top:auto;padding-top:12px}#manual-list .entry h3{font-size:13px}
.library-note{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;background:#edf6ff;border:1px solid #d7e9ff;border-radius:11px;margin:2px 0 17px;color:#3d6394}.library-note .icon{color:#237acb;margin-top:1px;flex-shrink:0}.library-note b{font-size:12px;display:block;margin-bottom:2px;color:#28568a}.library-note span{font-size:11px;line-height:1.65;display:block}.library-note code,.notice code{font-size:11px;background:#ffffff80;padding:1px 4px;border-radius:3px}
.manual-toolbar{margin-top:0}.manual-toolbar .field-icon{min-width:160px}.manual-toolbar select{width:175px}.manual-toolrow{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0;padding:12px 0;border-bottom:1px solid var(--line)}.manual-cache{display:flex;align-items:center;gap:9px;min-width:0;max-width:570px;background:transparent;border:0;padding:0;margin:0}.manual-cache button{flex-shrink:0;white-space:normal}.manual-cache .hint{font-size:10px;color:#8b99af;line-height:1.45;margin:0}.manual-toolrow .result-count{line-height:1.5;max-width:350px}
.backup-grid{gap:16px}.utility-card{background:#fff;border-color:#e3eaf3;border-radius:16px;box-shadow:var(--shadow);padding:26px;margin-bottom:0}.utility-icon{background:#eaf2ff;color:#1b5db4;border-radius:12px}.utility-icon .icon{width:24px;height:24px}.utility-card h3{font-size:16px;color:#1a3054}.utility-card p{font-size:12px;line-height:1.7;color:#71829b}.notice{padding:16px 18px;margin:17px 0;color:#776025;background:#fffaf0;border-color:#f3e4c1}.backup-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.backup-info-grid .utility-card h3{margin-top:2px}
.site-footer{margin-top:36px;padding:18px 0;border-top:1px solid #e1e8f1;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9aa7ba;font-size:10px}
/* Modais: mesmos elementos e funções, estilo GX */
.modal-backdrop{background:#05152dbb;backdrop-filter:blur(3px)}.modal{border:1px solid #dce5f1;border-radius:18px;box-shadow:0 30px 90px #071a3b6b;max-width:760px}.modal-bar{background:#f9fbff;border-bottom-color:#e3eaf3;padding:17px 23px}.modal-bar h2{font-size:16px;color:#1c3557}.close{background:#eaf0f8;color:#4e6280;border-radius:9px}.close:hover{background:#dae8f8}.modal-body{padding:24px}.detail-title{color:#193153}.detail-section h4{color:#677f9e}.detail-section .detail-text{color:#334a69}.solution{background:#f0f8ff;border-color:#d6e9fa}.solution .detail-text{color:#204c7c}.form-label{color:#3d5678;font-size:12px}.form-textarea{height:auto;min-height:105px}.photo{border-color:#e2eaf3}.pdf-line{background:#f4f8fe;color:#526b8c}.toast{background:#102b58;box-shadow:0 16px 45px #05163855}
/* Tema escuro opcional, sem alterar o armazenamento dos dados */
html[data-theme="dark"]{--bg:#0c1527;--surface:#121f35;--ink:#e8effa;--muted:#95a7c3;--line:#293954;--gx-border:#283b59;--gx-subtle:#17243a;--gx-text:#ecf3ff;--shadow:0 9px 30px #02091340}
html[data-theme="dark"] body,html[data-theme="dark"] .container{background:#0c1527;color:#e8effa}
html[data-theme="dark"] .app-header{background:#131f34f2;border-bottom-color:#2b3c58}
html[data-theme="dark"] .header-titles strong,html[data-theme="dark"] .content-titlebar h2,html[data-theme="dark"] .panel-header h3,html[data-theme="dark"] .entry h3,html[data-theme="dark"] .stat>span,html[data-theme="dark"] .utility-card h3,html[data-theme="dark"] .modal-bar h2,html[data-theme="dark"] .detail-title{color:#ecf3ff}
html[data-theme="dark"] .content-panel,html[data-theme="dark"] .stat,html[data-theme="dark"] .entry,html[data-theme="dark"] .utility-card,html[data-theme="dark"] .modal{background:#131f34;border-color:#2c3e5d}
html[data-theme="dark"] .toolbar input,html[data-theme="dark"] .toolbar select,html[data-theme="dark"] .form-input,html[data-theme="dark"] .form-select,html[data-theme="dark"] .form-textarea{background:#182741;border-color:#324665;color:#eef5ff}
html[data-theme="dark"] .toolbar input:focus,html[data-theme="dark"] .form-input:focus{background:#182d4a}
html[data-theme="dark"] .stat small,html[data-theme="dark"] .excerpt,html[data-theme="dark"] .content-titlebar p,html[data-theme="dark"] .panel-header p{color:#91a2bd}
html[data-theme="dark"] .secondary,html[data-theme="dark"] .filter-chip,html[data-theme="dark"] .icon-button{background:#1c2b47;border-color:#34496c;color:#aecaef}
html[data-theme="dark"] .filter-chip.active{background:#1d3b67;color:#97d2ff;border-color:#3867a4}
html[data-theme="dark"] .pill{background:#203d63;border-color:#345b86;color:#9fc9fb}
html[data-theme="dark"] .small-check,html[data-theme="dark"] .result-count,html[data-theme="dark"] .desktop-keyboard{color:#9aaac3}
html[data-theme="dark"] .library-note,html[data-theme="dark"] .source-card,html[data-theme="dark"] .solution{background:#182e4c;border-color:#294f7c;color:#b9daf7}
html[data-theme="dark"] .library-note b,html[data-theme="dark"] .solution .detail-text,html[data-theme="dark"] .detail-section .detail-text{color:#d6e9ff}
html[data-theme="dark"] .modal-bar{background:#18273f;border-color:#304262}
html[data-theme="dark"] .pdf-line{background:#20324d;color:#d1e1f5}html[data-theme="dark"] .close{background:#283d5e;color:#d6e5fc}
html[data-theme="dark"] .notice{background:#3a2f1b;border-color:#67512a;color:#f0d49b}
html[data-theme="dark"] .offline{background:#173d3a;border-color:#23584f;color:#a8e8d5}
html[data-theme="dark"] .desktop-keyboard kbd{background:#1c2c46;border-color:#435673;color:#cfdbec;box-shadow:0 2px 0 #152137}
html[data-theme="dark"] .theme-icon-moon{display:none}html[data-theme="dark"] .theme-icon-sun{display:inline-block}
/* Respostas de tela */
@media(max-width:1330px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.sidebar{padding-left:13px;padding-right:13px}.hero-visual{right:3px;width:235px}.hero-tile{transform:rotate(-6deg) scale(.88)}.welcome h1{font-size:30px}.welcome p{max-width:480px}.stat{padding:16px}.stat-trend{font-size:8px}}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-visual{opacity:.52;right:-35px}.manual-toolrow{align-items:flex-start;flex-direction:column}.manual-cache{max-width:none}.manual-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.manual-toolbar .field-icon{grid-column:1/-1}.manual-toolbar select{width:100%}}
@media(max-width:940px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;top:0;left:0;bottom:0;width:270px;height:100dvh;min-height:0;transform:translateX(-103%);transition:transform .24s ease;z-index:90;box-shadow:15px 0 45px #08172d3d}.sidebar.open{transform:translateX(0)}.sidebar-shade{display:block;position:fixed;inset:0;background:#031431b0;border:0;z-index:80;opacity:0;pointer-events:none;transition:opacity .22s}.sidebar.open+.sidebar-shade{opacity:1;pointer-events:auto}.mobile-menu{display:grid}.app-header{padding:12px 24px;min-height:69px}.container{padding:25px 24px 35px}.hero-visual{right:22px;opacity:.8}}
@media(max-width:650px){.app-header{padding:10px 15px;min-height:65px}.header-leading{gap:9px}.header-titles strong{font-size:13px}.breadcrumb{font-size:8px;letter-spacing:.7px}.header-actions{gap:7px}.header-create{padding:0!important;width:39px;min-width:39px;height:39px}.header-create span{display:none}.header-create .icon{width:19px}.icon-button{width:39px;height:39px}.offline{display:none}.container{padding:16px 13px 28px}.welcome{border-radius:15px;padding:25px 21px;min-height:215px}.welcome h1{font-size:26px;letter-spacing:-.75px;margin:10px 0}.welcome p{font-size:11px;max-width:390px}.hero-content{max-width:100%}.hero-visual{display:none}.hero-actions{gap:14px;margin-top:18px}.hero-link{font-size:11px}.hero-primary{font-size:11px;padding:9px 11px;gap:6px}.content-titlebar{margin:25px 2px 14px}.content-titlebar h2{font-size:21px}.desktop-keyboard{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:15px}.stat{min-height:126px;padding:12px 13px}.stat>span{font-size:24px;margin:10px 0 2px}.stat small{font-size:10px}.stat-heading .stat-trend{display:none}.stat-symbol{width:31px;height:31px}.content-panel{border-radius:14px;padding:17px 13px 18px}.panel-header{align-items:flex-start;margin-bottom:15px}.panel-header h3{font-size:14px}.panel-header p{font-size:11px}.panel-header .primary{width:auto;min-height:37px;padding:8px 10px;font-size:11px;flex-shrink:0}.toolbar{display:flex;flex-direction:column;gap:8px}.toolbar .field-icon{width:100%;min-width:0}.toolbar select{width:100%}.toolbar .field-icon input{min-height:43px;height:43px}.quick-filters{gap:6px}.quick-filters>span{flex-basis:100%;margin-bottom:1px}.filter-chip{font-size:10px}.filter-line{align-items:flex-start;gap:8px}.small-check{font-size:10px}.entry{padding:13px 14px}.entry h3{font-size:12px}.entry .excerpt{font-size:11px}.entry-footer{font-size:11px}.pill{font-size:9px;padding:3px 7px}#manual-list{grid-template-columns:1fr;gap:9px}#manual-list .entry{min-height:135px}.manual-toolbar{display:flex;flex-direction:column}.manual-toolrow{gap:10px}.manual-cache{display:flex;align-items:flex-start;flex-direction:column}.manual-cache button{width:100%;justify-content:center}.library-note{padding:12px;gap:9px}.backup-grid,.backup-info-grid{grid-template-columns:1fr;gap:12px}.utility-card{padding:19px}.site-footer{flex-direction:column;align-items:flex-start;margin-top:23px;font-size:10px}.modal-backdrop{padding:0;align-items:flex-end}.modal{border-radius:17px 17px 0 0;max-height:96vh}.modal-bar{padding:14px 16px}.modal-body{padding:18px 15px}.modal-bar h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Evita que a regra antiga .stat span aumente os rótulos dos cartões no desktop. */
.stat .stat-trend{font-size:9px!important;font-weight:700!important;line-height:1.25!important;letter-spacing:0!important;display:block!important;color:#a1aec0!important;margin:0!important;flex:1;text-align:right}
.stat .stat-symbol{font-size:initial!important;font-weight:initial!important;line-height:initial!important;margin:0!important;flex-shrink:0}
@media(max-width:650px){.stat .stat-trend{display:none!important}}


.product-lockup{display:none!important}.sidebar-hint{display:none!important}.brands-caption{display:none!important}
.hero-single{font-size:18px;line-height:1.7;max-width:620px;color:#eaf3ff;margin:18px 0 0;font-weight:500}
@media(max-width:650px){.hero-single{font-size:13px;line-height:1.65;max-width:100%;margin-top:14px}}
/* GX Base Técnica Online – autenticação e importação */
[hidden]{display:none!important}
.gx-auth-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:16px;background:radial-gradient(circle at 10% 10%,#194d9a,#081a3a 56%,#041027);overflow:auto}
.gx-login-box{background:#fff;color:#19365b;border:1px solid #dbe6f8;width:min(420px,100%);border-radius:22px;box-shadow:0 25px 80px #05112966;padding:30px 32px 26px}
.gx-login-logo{width:200px;max-height:120px;object-fit:contain;display:block;margin:0 auto 9px}
.gx-auth-title{text-align:center;font-size:20px;font-weight:800;color:#143869;letter-spacing:-.5px;margin-bottom:8px}
.gx-login-box>p{text-align:center;font-size:12px;color:#71829b;line-height:1.6;margin:0 0 22px}
.gx-login-box form{display:flex;flex-direction:column;gap:8px}
.gx-login-box label{font-size:12px;font-weight:700;color:#385475;margin-top:8px}
.gx-login-box input{background:#f8fbff;border:1px solid #cad7eb;border-radius:10px;height:46px;padding:10px 13px;color:#19395f;font-size:14px;min-width:0}
.gx-login-box input:focus{outline:2px solid #1c82de;outline-offset:1px}
.gx-login-box button{margin-top:17px;min-height:44px;justify-content:center}
#gx-auth-status{font-size:11px;color:#6c7e98;text-align:center;line-height:1.55;margin-top:8px}
.gx-migration-btn{white-space:nowrap;padding:8px 12px!important;font-size:11px!important}
.gx-import-overlay{background:#04142cc4;z-index:280}
.gx-import-box{width:min(680px,100%);background:white;color:#19395f;border-radius:18px;padding:25px;box-shadow:0 18px 70px #09142e88;max-height:95vh;overflow:auto}
.gx-import-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.gx-import-head h2{font-size:20px;font-weight:800;margin:0}
.gx-import-box p{font-size:13px;line-height:1.65;color:#647d9e}
.gx-import-field{display:block;padding:13px;border:1px dashed #aac0dd;border-radius:10px;background:#f7fbff;color:#335877;margin:12px 0;font-size:13px;font-weight:650}
.gx-import-field input{display:block;width:100%;max-width:100%;margin:8px 0 0;font-size:12px}
.gx-import-box .primary{min-height:38px}
.gx-import-box hr{border:0;border-top:1px solid #dde6f3;margin:22px 0}
#gx-import-status{background:#edf5ff;color:#215488;padding:13px 15px;border-radius:10px;margin-top:18px;line-height:1.5;font-size:12px;overflow-wrap:anywhere}
@media(max-width:700px){.gx-migration-btn{font-size:0!important;width:39px;min-width:39px;padding:0!important}.gx-migration-btn::before{content:'⇧';font-size:19px}.gx-login-box{padding:24px 20px}.gx-import-box{padding:18px}.gx-import-head h2{font-size:17px}}
