﻿:root{
  --bg:#eef2f6;
  --card:#ffffff;
  --line:#d9e0e7;
  --text:#15263b;
  --muted:#6f7f91;
  --nav:#0e2239;
  --nav-2:#122c49;
  --primary:#1d6be7;
  --primary-dark:#1657bf;
  --warning-bg:#fff5d9;
  --warning:#9a6d00;
  --danger:#e65545;
  --success:#21a652;
  --shadow:0 16px 40px rgba(8,23,43,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

/* auth */
/* v1.0.9 - login Master Dobra inspirado no layout de referencia */
.auth-body.auth-v109{margin:0;min-height:100vh;padding:0;background:#fff;overflow:hidden;color:#5d6670}
.login-shell{width:100vw;height:100vh;min-height:620px;display:flex;background:#fff;overflow:hidden}
.login-panel{position:relative;flex:0 0 25%;min-width:390px;max-width:480px;height:100%;background:#fff;z-index:2}
.login-brand{position:absolute;left:46px;top:21.6%;display:flex;align-items:center;gap:13px;white-space:nowrap}
.login-brand-logo{width:47px;height:47px;object-fit:contain;display:block}
.login-brand-name{font-size:27px;line-height:1;font-weight:600;letter-spacing:-.7px;color:#0b3b66}
.login-form-area{position:absolute;left:46px;right:46px;top:47.4%;transform:translateY(-2px)}
.login-form-area-setup{top:43%}
.login-form{display:block;width:100%}
.login-field-wrap{position:relative;margin-bottom:18px}
.login-input{display:block;width:100%;height:46px;border:1px solid #d7dadd;border-radius:6px;background:#fff;padding:0 46px 0 14px;color:#3e4853;font-family:Segoe UI,Arial,sans-serif;font-size:14px;outline:none;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.login-input::placeholder{color:#949aa1;opacity:1}
.login-input:focus{border-color:#9dbbd7;box-shadow:0 0 0 2px rgba(49,119,178,.08)}
.login-input-error{border-color:#ff4141!important;box-shadow:none!important}
.password-input-wrap{position:relative}
.password-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;background:transparent;padding:6px;color:#7c858d;display:flex;align-items:center;justify-content:center;cursor:pointer}
.password-eye:hover{color:#52606d}
.password-eye svg{width:19px;height:19px;fill:currentColor;display:block}
.password-eye .eye-closed{display:none}
.password-eye.showing .eye-open{display:none}
.password-eye.showing .eye-closed{display:block}
.login-field-error{position:absolute;right:1px;top:48px;height:14px;color:#f03434;font-size:10px;line-height:14px;font-weight:500;text-transform:uppercase;visibility:hidden;white-space:nowrap}
.login-field-error.visible{visibility:visible}
.server-error{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.login-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:29px}
.forgot-password{color:#69737d;font-size:13px;white-space:nowrap;text-decoration:none}
.forgot-password:hover{color:#3b75aa;text-decoration:underline}
.setup-caption:hover{text-decoration:none;color:#69737d}
.login-submit{width:122px;height:47px;border:0;border-radius:4px;background:#3378b7;color:#fff;font-size:13px;font-weight:500;letter-spacing:.1px;cursor:pointer;transition:background .15s,transform .05s}
.login-submit:hover{background:#2d6da8}
.login-submit:active{transform:translateY(1px)}
.login-hero{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;background:#183246}
.login-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;filter:saturate(1.03) contrast(1.02)}
/* Preserva a pequena marca DF usada no menu interno do sistema. */
.logo-box{width:38px;height:38px;border-radius:12px;background:var(--nav);color:#fff;display:grid;place-items:center;font-weight:800}
@media (max-width:980px){
  .login-panel{flex-basis:390px;min-width:390px}
  .login-brand{left:36px}
  .login-form-area{left:36px;right:36px}
}
@media (max-width:760px){
  .auth-body.auth-v109{overflow:auto;background:#f7f8fa}
  .login-shell{min-height:100vh;height:auto;display:block;background:#f7f8fa}
  .login-panel{width:100%;min-width:0;max-width:none;min-height:100vh}
  .login-hero{display:none}
  .login-brand{top:18%;left:9%;right:9%;justify-content:flex-start}
  .login-form-area,.login-form-area-setup{top:42%;left:9%;right:9%}
}

/* layout */
.app-shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}
.sidebar{background:linear-gradient(180deg,var(--nav) 0%,#0a1b2d 100%);padding:18px 16px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}
.brand{display:flex;gap:12px;align-items:center;margin:2px 2px 18px}
.brand small{display:block;color:#89a0b7;letter-spacing:.12em;font-size:11px;margin-top:2px}
.side-block{padding:14px 4px 16px;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:16px}
.tiny-label{display:block;color:#8aa0b8;font-size:11px;text-transform:uppercase;letter-spacing:.14em;margin-bottom:8px}
.company-select{width:100%;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);padding:0 12px;color:#fff}
.empty-side{color:#c8d4e0;font-size:14px}
.menu{display:grid;gap:8px}
.menu-link{padding:12px 14px;border-radius:12px;color:#dbe7f3;font-weight:600}
.menu-link.active,.menu-link:hover{background:rgba(255,255,255,.08);color:#fff}
.sidebar-foot{padding:6px 4px 2px;color:#93a8bd}
.version{font-size:12px;margin-bottom:8px}
.logout-link{color:#fff;font-size:14px}
main{padding:26px 28px 42px;overflow:auto}
.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.page-head h1{margin:0;font-size:36px;line-height:1.1}
.page-head p{margin:6px 0 0;color:var(--muted)}
.top-actions{display:flex;gap:10px;flex-wrap:wrap}

.btn{height:40px;border-radius:10px;border:1px solid var(--line);padding:0 14px;background:#fff;color:var(--text);font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn:hover{filter:brightness(.98)}
.btn.light{background:#f7f9fb}
.btn.ghost{background:#fff}
.btn.small{height:34px;padding:0 12px;font-size:13px}
.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.button-row.right{justify-content:flex-end}

.alert-banner{display:flex;align-items:center;gap:14px;background:var(--warning-bg);color:var(--warning);border:1px solid #e7ca73;border-radius:16px;padding:12px 14px;margin-bottom:18px}
.alert-banner.compact{padding:10px 14px}

.card{background:var(--card);border:1px solid #e7edf3;border-radius:20px;padding:18px 18px 20px;box-shadow:0 6px 18px rgba(8,23,43,.03)}
.empty-state-card{max-width:620px;margin:60px auto;padding:40px}
.empty-state-card h1{margin-top:0}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.stat-card{background:#fff;border:1px solid #e7edf3;border-radius:20px;padding:20px}
.stat-card span{display:block;color:var(--muted);font-size:14px;margin-bottom:12px}
.stat-card strong{display:block;font-size:42px;line-height:1;margin-bottom:10px}
.stat-card small{color:#90a0b1}
.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin-bottom:18px}
.dashboard-grid.single-left{grid-template-columns:1.1fr .9fr}
.section-title{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:10px}
.section-title h2{margin:0;font-size:18px}
.tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#edf2f7;color:#52657b}
.tag.warn{background:#fff1c9;color:#956600}
.tag.muted{background:#eef3f8;color:#607288}
.info-list{display:grid;gap:0}
.info-list>div{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #edf1f5}
.info-list>div:last-child{border-bottom:none}
.info-list span{color:var(--muted)}
.info-list strong{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.small-list>div{grid-template-columns:150px 1fr}
.table-card{padding:0}
.table-title{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 18px 0;gap:14px}
.table-title h2{margin:0}
.table-title p{margin:4px 0 0;color:var(--muted)}

/* notes */
.notes-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.toolbar-search{flex:1;min-width:260px}
.toolbar-search input{width:100%;background:#fff}
.toolbar-side{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.date-box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 10px;height:44px}
.date-box input{height:36px;border:none;padding:0 4px;background:transparent;min-width:132px}
.panel-wrap{position:relative}
.dropdown-panel{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow);display:none;min-width:320px;z-index:20}
.dropdown-panel.open{display:block}
.simple-list{min-width:220px;padding:8px}
.simple-list button{display:block;width:100%;text-align:left;border:none;background:#fff;border-radius:10px;padding:10px 12px}
.simple-list button:hover{background:#f3f6fa}
.panel-grid{display:grid;gap:12px}
.panel-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}
.notes-card{overflow:visible}
.table-wrap{overflow:visible}
.manifest-table{width:100%;border-collapse:collapse;font-size:14px}
.manifest-table th{padding:14px 12px;color:#4b6077;border-bottom:1px solid var(--line);font-size:13px;text-transform:uppercase;letter-spacing:.04em;background:#fff;position:sticky;top:0;z-index:1}
.manifest-table td{padding:12px;border-bottom:1px solid #e7edf3;vertical-align:middle}
.manifest-row{transition:background .15s}
.manifest-row:hover{background:#f1f3f5}
.manifest-row.row-devolucao td{color:inherit}
.expander{width:28px;color:#6e8094;font-size:16px}
.doc-link{font-weight:700;color:#214f8d;text-decoration:underline;text-underline-offset:2px}
.danger-text{color:var(--danger)!important}
.money{text-align:left}
.type-badge{font-weight:600;color:#24374d}
.type-badge.devolucao{color:var(--danger)}
.status-pill{height:30px;min-width:110px;border-radius:10px;border:1px solid #b7d6ff;background:#fff;color:#0f7bdc;padding:0 14px;font-weight:700}
.status-pill.ok{border-color:#63d07b;color:#22a545;background:#fff}
.status-badge{display:inline-flex;border:1px solid var(--line);padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px}
.status-badge.ok{color:#22a545;border-color:#5fd17b}
.status-badge.info{color:#0f7bdc;border-color:#b7d6ff}
.status-badge.neutral{color:#66788f;border-color:#ced8e3}
.actions-cell{white-space:nowrap;text-align:right;position:relative;overflow:visible}
.mini-icon-btn{height:28px;min-width:28px;border:none;background:transparent;color:#475d76;font-size:15px;border-radius:8px;padding:0 6px}
.mini-icon-btn:hover{background:#e9edf2}
.mini-icon-btn.dots{font-size:18px;letter-spacing:1px}
.more-actions-cell{display:inline-block;position:relative}
.row-menu{position:absolute;right:0;bottom:calc(100% + 6px);top:auto;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);display:none;overflow:visible;z-index:99999}
.row-menu.open{display:block}
.row-menu button,.row-menu a{display:block;width:100%;text-align:left;padding:11px 14px;background:#fff;border:none;border-bottom:1px solid #edf1f5;color:#44586f}
.row-menu button:last-child,.row-menu a:last-child{border-bottom:none}
.row-menu button:hover,.row-menu a:hover{background:#f4f7fa}
.empty-table{text-align:center;color:var(--muted);padding:26px}
.compact-table td small{color:var(--muted)}
.compact-table th,.compact-table td{padding:12px 16px}

.bulk-footer{position:fixed;left:220px;right:0;bottom:0;background:#e3e7eb;border-top:1px solid #ced6de;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:15}
.bulk-left,.bulk-right{display:flex;align-items:center;gap:10px;color:#465a71;text-transform:uppercase;font-size:13px}
.bulk-count-box{width:22px;height:22px;border-radius:6px;background:#f9ab28;color:#17273c;display:grid;place-items:center;font-size:12px}
.bulk-icon-actions{display:flex;align-items:center;gap:14px}
.icon-only-btn{width:34px;height:34px;border:none;border-radius:50%;background:transparent;font-size:18px;position:relative;color:#22384f}
.icon-only-btn:hover{background:#f4f6f8}
.icon-only-btn[data-tip]:hover::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#0f2136;color:#fff;padding:6px 10px;border-radius:8px;font-size:12px;white-space:nowrap}

/* modals */
.modal-overlay{position:fixed;inset:0;background:rgba(14,22,34,.46);display:none;align-items:center;justify-content:center;padding:20px;z-index:40}
.modal-overlay.show{display:flex}
.modal-overlay.large{padding:24px}
.modal-card{background:#fff;border-radius:18px;box-shadow:var(--shadow);padding:20px;position:relative;max-width:520px;width:min(100%,520px)}
.small-modal{max-width:500px}
.close-x{position:absolute;right:14px;top:10px;border:none;background:transparent;font-size:26px;color:#7b8da0}
.modal-card h3{margin:0 0 12px}
.modal-card .muted{color:var(--muted)}
.danfe-modal-shell{width:min(98vw,1650px);max-width:1650px;height:min(98vh,1060px);max-height:98vh;padding:0;display:flex;flex-direction:column;overflow:hidden}
.danfe-frame-wrap{flex:1;background:#f0f3f6;padding:6px}
#danfeFrame{width:100%;height:100%;border:none;background:#fff;border-radius:14px}
.danfe-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 16px;border-top:1px solid #e7edf3;background:#fff}

.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid-form .full{grid-column:1/-1}

.toast{position:fixed;right:22px;bottom:22px;background:#10243b;color:#fff;padding:14px 16px;border-radius:14px;box-shadow:var(--shadow);display:none;max-width:480px;z-index:60}
.toast.show{display:block}

@media (max-width: 1180px){
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-grid{grid-template-columns:1fr}
}
@media (max-width: 920px){
  .app-shell{grid-template-columns:1fr}
  .sidebar{position:sticky;top:0;z-index:25}
  .bulk-footer{left:0;flex-wrap:wrap}
}
@media (max-width: 720px){
  main{padding:18px}
  .page-head{flex-direction:column}
  .stats-grid{grid-template-columns:1fr}
  .grid-form{grid-template-columns:1fr}
  .info-list>div{grid-template-columns:1fr}
}

/* DANFE */
.danfe-body{background:#eef2f6;padding:16px;color:#111}
.danfe-body.embed{padding:0;background:#fff}
.danfe-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.danfe-view{display:flex;justify-content:center}
.danfe-paper{width:100%;max-width:1320px;background:#fff;border:1px solid #2b2b2b;padding:14px}
.danfe-grid-head{display:grid;grid-template-columns:1.1fr .55fr 1.05fr;border:1px solid #2b2b2b;border-bottom:none}
.paper-box{border-right:1px solid #2b2b2b;padding:6px 8px;min-height:108px}
.paper-box:last-child{border-right:none}
.paper-company-name{font-weight:700;font-size:14px;text-transform:uppercase;margin-bottom:5px}
.paper-company-address{font-size:11px;line-height:1.25}
.center-box,.access-box{text-align:center}
.paper-title{font-size:28px;font-weight:700;letter-spacing:.04em;line-height:1}
.paper-subtitle{font-size:11px;margin:4px 0 5px}
.entrada-saida{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:11px;line-height:1.15}
.entrada-saida strong{display:inline-flex;width:40px;height:30px;align-items:center;justify-content:center;border:1px solid #2b2b2b;font-size:20px;margin-top:2px}
.paper-number{font-weight:700;font-size:24px;margin-top:5px;line-height:1}
.paper-series{font-size:12px;margin-top:2px}
.fake-barcode{height:44px;background:repeating-linear-gradient(90deg,#000 0,#000 3px,#fff 3px,#fff 6px);margin-bottom:5px}
.paper-row{display:grid;border:1px solid #2b2b2b;border-top:none}
.paper-row.two-cols{grid-template-columns:1.4fr .6fr}
.paper-row.three-cols{grid-template-columns:1.2fr 1fr 1fr}
.paper-row.four-cols{grid-template-columns:1.35fr .75fr .45fr .55fr}
.paper-row.five-cols{grid-template-columns:1fr 1fr .45fr .8fr .55fr}
.paper-field{padding:4px 8px;min-height:50px;border-right:1px solid #2b2b2b;display:flex;flex-direction:column;justify-content:space-between}
.paper-field:last-child{border-right:none}
.paper-field.wide{grid-column:1 / span 2}
.paper-field.large-box{min-height:130px}
.fixed-height .paper-field{min-height:130px}
.field-label{font-size:10px;line-height:1.2;text-transform:uppercase}
.field-value{font-size:14px;line-height:1.25;font-weight:600}
.field-label.center,.field-value.center{text-align:center}
.mono{font-family:Consolas,Monaco,monospace;word-break:break-all}
.section-strip{border:1px solid #2b2b2b;border-top:none;padding:3px 8px;font-size:11px;font-weight:700;background:#f7f7f7}
.danfe-items-table{width:100%;border-collapse:collapse;border:1px solid #2b2b2b;border-top:none;font-size:12px}
.danfe-items-table th,.danfe-items-table td{border:1px solid #2b2b2b;padding:4px 6px;text-align:center}
.danfe-items-table thead th{background:#f7f7f7}
.danfe-items-table td.left{text-align:left}
@media print{
  .sidebar,.page-head,.notes-toolbar,.bulk-footer,.toast,.modal-overlay,.danfe-topbar{display:none!important}
  .app-shell{display:block}
  main{padding:0}
  body,html{background:#fff}
}

@media (min-width: 1200px){
  .danfe-modal-shell{width:min(98vw,1700px);height:min(98vh,1100px);}
}

.modal-overlay.large{padding:8px}

/* v0.9.12 - DANFE fiel ao modelo PDF */
#danfeFrame{width:100%;height:100%;border:none;background:#fff}
.modal-overlay.large{padding:2px}
.danfe-modal-shell{width:min(1388px, calc(100vw - 8px));max-width:1388px;height:min(96vh,1080px);max-height:96vh;padding:0;display:flex;flex-direction:column;overflow:hidden}
.danfe-frame-wrap{flex:1;background:#fff;padding:0;overflow:auto;display:flex;justify-content:center}
.danfe-modal-actions{padding:10px 16px;border-top:1px solid #e7edf3;background:#fff}
.row-menu{position:absolute;right:0;top:calc(100% + 4px);bottom:auto;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);display:none;overflow:visible;z-index:99999}
.actions-cell,.more-actions-cell,.manifest-table,.table-wrap,.notes-card{overflow:visible}

.danfe-body.embed{padding:0;background:#fff}
.danfe-view.exact-model{justify-content:flex-start;padding:0;margin:0}
.danfe-a4{width:100%;display:flex;justify-content:center;padding:0;margin:0}
.danfe-sheet{width:1360px;max-width:calc(100vw - 16px);min-height:1720px;background:#fff;padding:18px 18px 12px 18px;color:#111;font-family:Arial,Helvetica,sans-serif}
.d-border{border:1px solid #2c2c2c}
.d-no-top{border-top:none}
.d-cell{border-right:1px solid #2c2c2c;padding:4px 6px 3px 6px;position:relative}
.d-cell:last-child{border-right:none}
.head-grid{display:grid;grid-template-columns:40% 19.8% 40.2%}
.emit-box{min-height:180px;padding:24px 14px 10px 128px}
.emit-title,.emit-legal{font-weight:700;text-transform:uppercase;font-size:18px;line-height:1.1}
.emit-legal{margin-top:3px}
.emit-lines{font-size:13px;line-height:1.45;margin-top:10px}
.danfe-center{min-height:180px;text-align:center;padding:6px 8px}
.danfe-main-title{font-size:23px;font-weight:700;line-height:1;margin-top:2px}
.danfe-subtitle{font-size:12px;margin-top:10px}
.entrada-row{display:grid;grid-template-columns:1fr 74px;align-items:center;gap:10px;margin:12px auto 8px;max-width:170px}
.entrada-lines{font-size:13px;line-height:1.6;text-align:left}
.entrada-box{border:1px solid #2c2c2c;height:54px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}
.numero-linha{font-size:18px;font-weight:700;line-height:1.1;margin-top:10px}
.serie-linha{font-size:16px;line-height:1.2;margin-top:8px}
.access-wrap{min-height:180px;padding:6px 0 0 0;text-align:center}
.barcode-box{padding:3px 20px 0}
.fake-barcode{height:64px;background:repeating-linear-gradient(90deg,#000 0,#000 2px,#fff 2px,#fff 5px,#000 5px,#000 7px,#fff 7px,#fff 8px);margin:0}
.access-title,.consult-title{font-size:10px;font-weight:700;line-height:1.05;margin-top:3px}
.access-key{font-size:14px;font-weight:700;line-height:1.15;padding:2px 12px 1px 12px;border-top:1px solid #2c2c2c;border-bottom:1px solid #2c2c2c;margin-top:2px}
.consult-site{font-size:13px;line-height:1.15;margin-top:5px;padding:0 8px}

.row-2{display:grid;grid-template-columns:66.2% 33.8%}
.row-3{display:grid;grid-template-columns:24% 40% 36%}
.box .label{font-size:10px;line-height:1.05;font-weight:700;text-transform:uppercase;margin-bottom:2px}
.box .value{font-size:12px;line-height:1.15;min-height:16px}
.box .value.right{text-align:right;font-size:15px}
.box .value.strong{font-weight:700}
.natureza-box .value{font-size:16px;text-transform:uppercase}
.protocolo-box .value{font-size:18px}
.section-label{padding:3px 6px;font-size:11px;font-weight:700;background:#fff}

.dest-grid{display:grid;grid-template-columns:18% 18% 18% 17% 7% 11% 11%}
.dest-grid .box,.tax-grid .box,.transp-grid .box,.additional-grid .box{border-bottom:1px solid #2c2c2c}
.dest-grid .emissao-box,.dest-grid .datein-box,.dest-grid .hour-box,.tax-grid .box:nth-last-child(-n+6),.transp-grid .col-qtd,.transp-grid .col-esp,.transp-grid .col-marca,.transp-grid .col-num,.transp-grid .col-pb,.transp-grid .col-pl,.additional-grid .box{border-bottom:none}
.dest-grid .box{min-height:36px}
.dest-grid .razao-box{grid-column:1 / span 4}
.dest-grid .cnpj-box{grid-column:5 / span 2}
.dest-grid .emissao-box{grid-column:7}
.dest-grid .end-box{grid-column:1 / span 4}
.dest-grid .bairro-box{grid-column:5}
.dest-grid .cep-box{grid-column:6}
.dest-grid .datein-box{grid-column:7}
.dest-grid .mun-box{grid-column:1 / span 3}
.dest-grid .fone-box{grid-column:4}
.dest-grid .uf-box{grid-column:5}
.dest-grid .ie-box{grid-column:6}
.dest-grid .hour-box{grid-column:7}

.tax-grid{display:grid;grid-template-columns:repeat(6,1fr)}
.tax-grid .box{min-height:42px}

.transp-grid{display:grid;grid-template-columns:23% 17% 3.5% 18% 7% 12% 7% 12.5%}
.transp-grid .box{min-height:34px}
.transp-grid .col-rs{grid-column:1 / span 2}
.transp-grid .col-frete{grid-column:3 / span 2}
.transp-grid .col-ufv{grid-column:5}
.transp-grid .col-placa{grid-column:6}
.transp-grid .col-antt{grid-column:7}
.transp-grid .col-cnpj{grid-column:8}
.transp-grid .col-end{grid-column:1 / span 4}
.transp-grid .col-munt{grid-column:5 / span 2}
.transp-grid .col-uf2{grid-column:7}
.transp-grid .col-iet{grid-column:8}
.transp-grid .col-qtd{grid-column:1 / span 2}
.transp-grid .col-esp{grid-column:3 / span 2}
.transp-grid .col-marca{grid-column:5}
.transp-grid .col-num{grid-column:6}
.transp-grid .col-pb{grid-column:7}
.transp-grid .col-pl{grid-column:8}

.products-table{width:100%;border-collapse:collapse;font-size:11px}
.products-table th,.products-table td{border-right:1px solid #2c2c2c;border-bottom:1px solid #2c2c2c;padding:3px 4px;text-align:center;vertical-align:middle}
.products-table th:last-child,.products-table td:last-child{border-right:none}
.products-table thead th{font-size:10px;font-weight:700;background:#fff;line-height:1.05}
.products-table td.left{text-align:left}
.products-table .w-cod{width:48px}.products-table .w-desc{width:340px}.products-table .w-ncm{width:92px}.products-table .w-cst{width:96px}.products-table .w-cfop{width:54px}.products-table .w-un{width:40px}.products-table .w-qtd{width:48px}.products-table .w-vu{width:78px}.products-table .w-vt{width:94px}.products-table .w-bc{width:74px}.products-table .w-pi{width:60px}.products-table .w-vi{width:84px}.products-table .w-pipi{width:54px}.products-table .w-vipi{width:74px}

.additional-grid{display:grid;grid-template-columns:69% 31%}
.additional-grid .box{min-height:150px}
.additional-grid .multiline{white-space:pre-wrap;line-height:1.35;font-size:12px;font-weight:400}
.danfe-footer-note{text-align:right;font-size:10px;margin-top:6px;color:#444}

@media print{
  body,html{background:#fff!important}
  .danfe-body{padding:0;background:#fff}
  .danfe-view.exact-model{justify-content:flex-start}
  .danfe-sheet{padding:14px 14px 8px 14px;width:auto;min-height:auto}
}

/* =========================================================
   CENTRAL DF-e 1.0 - Manifestação principal inspirada no fluxo real
   ========================================================= */
.manifest-pro-page{margin:0;background:#f2f4f7;color:#202b38;font-family:Arial,Helvetica,sans-serif;font-size:13px;overflow-y:scroll}
.manifest-pro-page *{box-sizing:border-box}
.gm-app{min-height:100vh;background:#f3f4f6}
.gm-cert-alert{height:38px;background:#e43b3e;color:#fff;display:flex;align-items:center;gap:10px;padding:0 16px;font-size:13px}
.gm-alert-icon{font-size:12px;color:#fff}
.gm-global-header{height:54px;background:#e4e7eb;border-bottom:1px solid #d2d6dc;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:relative;z-index:15}
.gm-header-left,.gm-header-right{display:flex;align-items:center;gap:18px}
.gm-header-right{font-size:12px;color:#26374b}
.gm-icon-plain{border:0;background:transparent;font-size:20px;color:#485663;padding:4px 8px;cursor:pointer}
.gm-brand-mark{display:flex;align-items:center;gap:2px;color:#3a4757;font-size:13px;white-space:nowrap}
.gm-brand-mark i{width:15px;height:15px;display:inline-block;background:linear-gradient(135deg,#f5a623 0 48%,transparent 49%),linear-gradient(315deg,#1d74b7 0 48%,transparent 49%);margin-right:4px}
.gm-brand-mark b{font-size:13px}.gm-brand-mark span{font-weight:400;color:#737d86}
.gm-head-icon{font-size:16px;color:#34465a}.gm-user-diamond{width:32px;height:32px;display:grid;place-items:center;transform:rotate(45deg);background:#1c73b8;color:#fff;text-decoration:none;border-radius:4px;font-weight:700}.gm-user-diamond::first-letter{transform:rotate(-45deg)}
.gm-main{padding:20px 20px 64px;background:#f6f7f9;min-height:calc(100vh - 92px)}
.gm-title-row h1{font-size:28px;line-height:1;margin:0 0 15px;color:#263342;font-weight:500}
.gm-actions-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}
.gm-action-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.gm-btn,.gm-nav-btn{font:inherit;cursor:pointer}
.gm-btn.orange{background:#f7a623;border:1px solid #df9319;color:#27313b;border-radius:4px;padding:6px 9px;font-size:11px;font-weight:700;box-shadow:inset 0 1px rgba(255,255,255,.35)}
.gm-btn.orange:hover{background:#ffa918}
.gm-nav-btn{border:0;background:transparent;color:#243546;text-decoration:none;font-size:11px;font-weight:700;padding:6px 0}
.gm-nav-btn:hover{text-decoration:underline}
.gm-certificate-pill{background:#f6a51f;color:#fff;border-radius:2px;padding:6px 10px;font-size:11px;font-weight:700;white-space:nowrap}
.gm-floating-panel{display:none;position:absolute;background:#fff;border:1px solid #cfd4da;box-shadow:0 5px 15px rgba(0,0,0,.18);z-index:250;border-radius:3px;padding:6px}
.gm-floating-panel.open{display:block}.gm-reports-panel{left:460px;top:130px;width:180px}.gm-reports-panel button{width:100%;display:block;border:0;background:#fff;padding:8px;text-align:left;cursor:pointer}.gm-reports-panel button:hover{background:#f0f1f3}
.gm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px;position:relative;z-index:20}
.gm-search-wrap{flex:1;display:flex;align-items:center;background:#e5e8ec;border-radius:3px;height:35px;min-width:300px}
.gm-search-icon{font-size:21px;color:#7a8793;padding:0 9px;line-height:1}
.gm-search-wrap input{flex:1;height:35px;border:0!important;background:transparent!important;outline:0!important;color:#344353;padding:0 10px 0 0;font-size:13px}
.gm-toolbar-right{display:flex;align-items:center;gap:10px}
.gm-panel-anchor{position:relative}
.gm-date-range{height:35px;min-width:280px;border:0;background:#e5e8ec;border-radius:3px;display:flex;align-items:center;gap:12px;justify-content:center;color:#536171;cursor:pointer;padding:0 14px;font-size:12px}
.gm-date-range span{font-size:17px}.gm-date-range b{font-weight:400}
.gm-toolbar-btn{height:35px;border:1px solid #c8cdd3;background:#fff;border-radius:4px;padding:0 13px;color:#263544;cursor:pointer;font-size:12px;position:relative}
.gm-toolbar-btn:hover{background:#f3f4f5}.gm-filter-trigger i{position:absolute;width:7px;height:7px;border-radius:50%;background:#e53935;right:3px;top:2px}
.gm-popover{display:none;position:absolute;right:0;top:calc(100% + 5px);background:#fff;border:1px solid #c9ced4;border-radius:4px;box-shadow:0 4px 16px rgba(0,0,0,.2);z-index:400}.gm-popover.open{display:block}
.gm-options-popover{width:120px;padding:4px}.gm-options-popover button{width:100%;border:0;background:#fff;padding:9px 12px;text-align:left;cursor:pointer;font-size:12px}.gm-options-popover button:hover{background:#f1f2f3}
.gm-filter-popover{width:295px;padding:0 12px 12px;max-height:520px}.gm-filter-head{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:9px 0}.gm-filter-head>button:first-child{border:0;background:transparent;cursor:pointer;font-size:12px}.gm-filter-head .gm-btn{padding:5px 9px}
.gm-filter-group{margin:10px 0;position:relative}.gm-filter-group>label{display:block;font-size:10px;font-weight:700;color:#3b4652;margin-bottom:5px}
.gm-multi-control{width:100%;height:34px;border:1px solid #d4d7db;background:#eef0f2;border-radius:4px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;color:#6b737b;cursor:pointer;text-align:left;font-size:11px}
.gm-multi-list{display:none;position:absolute;left:0;right:0;top:57px;background:#fff;border:1px solid #d0d3d7;box-shadow:0 3px 9px rgba(0,0,0,.2);max-height:245px;overflow:auto;z-index:410;padding:5px}.gm-multi-list.open{display:block}.gm-multi-list.tall{max-height:270px}.gm-multi-list label{display:flex;align-items:center;gap:7px;padding:5px 4px;font-size:11px;cursor:pointer}.gm-multi-list label:hover{background:#f6f6f6}.gm-multi-list input{accent-color:#f3a21d}
/* v1.0.19 - selecionar/desmarcar todos nos filtros da Manifestacao */
.gm-multi-list .gm-select-all-row{border-bottom:1px solid #e2e4e7;margin-bottom:3px;padding-bottom:7px}
.gm-multi-list .gm-select-all-row strong{font-weight:600;color:#3f474f}
.theme-dark .gm-multi-list .gm-select-all-row{border-bottom-color:#4c4f53}
.theme-dark .gm-multi-list .gm-select-all-row strong{color:#f0f0f0}
.gm-date-popover{width:410px;padding:10px}.gm-pop-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.gm-pop-title button{border:0;background:transparent;cursor:pointer;font-size:12px}.orange-text{color:#e69515;font-weight:700}.gm-date-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gm-date-inputs label{font-size:10px;color:#65717e}.gm-date-inputs input{width:100%;height:34px;border:1px solid #cfd4da;border-radius:3px;margin-top:3px;padding:0 7px}.gm-quick-dates{display:flex;gap:6px;margin:9px 0}.gm-quick-dates button{border:1px solid #d3d6da;background:#fff;padding:5px 9px;border-radius:3px;font-size:10px;cursor:pointer}.gm-date-help{font-size:10px;color:#7f8891}
.gm-table-shell{background:#fff;border-top:1px solid #e0e3e7;overflow:visible;position:relative;z-index:5}
.gm-notes-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;color:#29384a}
.gm-notes-table th{height:36px;border-bottom:1px solid #dce0e4;padding:4px 8px;text-align:left;font-size:10px;font-weight:700;background:#fff;color:#334355;white-space:nowrap}
.gm-notes-table .w-check{width:34px}.gm-notes-table .w-expand{width:25px}.gm-notes-table .issuer-col{width:34%}.gm-notes-table .money-col{width:110px}.gm-notes-table .status-col{width:145px}.gm-notes-table .w-actions{width:74px}.gm-notes-table th:nth-child(3){width:76px}.gm-notes-table th:nth-child(4){width:94px}.gm-notes-table th:nth-child(6){width:45px}.gm-notes-table th:nth-child(8){width:105px}
.gm-notes-table td{height:47px;border-bottom:1px solid #e1e4e8;padding:4px 8px;vertical-align:middle;background:#fff;overflow:visible}.gm-note-row{transition:background .08s}.gm-note-row:hover td{background:#eef0f2}.gm-note-row.is-return td,.gm-note-row.is-return a,.gm-note-row.is-return strong{color:#e14143}.gm-note-row input[type=checkbox],#checkAll{width:18px;height:18px;accent-color:#f3a21d}.gm-expand-btn{border:0;background:transparent;cursor:pointer;color:#34495d;font-size:13px;padding:4px;transition:transform .12s}.gm-expand-btn.open{transform:rotate(90deg)}.gm-doc-link{color:#1f3448;text-decoration:underline;font-weight:500}.gm-issuer strong{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-issuer small{display:block;color:#96a0aa;margin-top:2px;font-size:10px}.gm-money{text-align:right!important;font-variant-numeric:tabular-nums}
.gm-status{width:116px;height:28px;border-radius:6px;background:#fff;font-size:10px;font-weight:700;cursor:pointer}.gm-status.none{width:128px;border:1px solid #aeb5bc;color:#7b858e;background:#f4f5f6}.gm-status.none:hover{background:#e9ecef;color:#5d6872}.gm-status.science{border:1px solid #04bfe6;color:#05b8de;cursor:default}.gm-status.confirmed{border:1px solid #35cf70;color:#27ba5f;cursor:default}.gm-status.unknown{width:128px;border:1px solid #e6a23c;color:#c98316;background:#fffaf0;cursor:default}.gm-status.not-realized{width:128px;border:1px solid #d96b6b;color:#c94f4f;background:#fff7f7;cursor:default}.gm-status:disabled{opacity:1}.gm-row-actions{white-space:nowrap;text-align:right;position:relative}.gm-action-icon{border:0;background:transparent;height:26px;min-width:27px;color:#44596d;cursor:pointer;font-size:13px;border-radius:3px}.gm-action-icon:hover{background:#e4e7ea}.gm-action-icon.confirm{position:relative;display:inline-grid;place-items:center;width:26px;height:26px;min-width:26px;padding:0;border-radius:6px;background:#f2f3f5;color:transparent;font-size:0;vertical-align:middle}.gm-action-icon.confirm:hover{background:#e7eaee}.gm-action-icon.confirm::before{content:'';width:14px;height:14px;border-radius:50%;background:#44596d;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}.gm-action-icon.confirm::after{content:'✓';position:absolute;left:50%;top:50%;transform:translate(-50%,-53%);font-size:10px;line-height:1;color:#f5d26a;font-weight:700}.gm-action-icon.nfse-open{position:relative;display:inline-grid;place-items:center;width:26px;height:26px;min-width:26px;padding:0;border-radius:6px;background:#f2f3f5;color:transparent;font-size:0;vertical-align:middle}.gm-action-icon.nfse-open:hover{background:#e7eaee}.gm-action-icon.nfse-open::before{content:'';width:13px;height:14px;border-radius:2px;background:#44596d;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}.gm-action-icon.nfse-open::after{content:'≡';position:absolute;left:50%;top:50%;transform:translate(-50%,-53%);font-size:9px;line-height:1;color:#f5d26a;font-weight:700}.gm-row-menu-anchor{display:inline-block;position:relative}.gm-action-icon.dots{font-weight:700;letter-spacing:1px}.gm-row-menu{display:none;position:absolute;right:0;top:25px;width:155px;background:#fff;border:1px solid #c7ccd1;box-shadow:0 4px 12px rgba(0,0,0,.22);z-index:900;border-radius:2px;overflow:hidden}.gm-row-menu.open{display:block}.gm-row-menu button,.gm-row-menu a{display:block;width:100%;border:0;background:#fff;color:#4b5662;padding:7px 10px;text-decoration:none;text-align:left;font-size:11px;cursor:pointer}.gm-row-menu button:hover,.gm-row-menu a:hover{background:#eceff1}.gm-row-menu button:disabled{color:#b7bcc1;cursor:not-allowed}
.gm-detail-row td{padding:0!important;background:#f0f1f2!important;border-bottom:1px solid #d6dadf}.gm-item-detail{padding:10px 25px;background:#eef0f2}.gm-item-table{width:100%;border-collapse:collapse;font-size:10px}.gm-item-table th{text-align:left;background:transparent;border:0;padding:3px 9px;color:#596673;font-size:9px}.gm-item-table td{height:30px!important;background:transparent!important;border:0!important;padding:3px 9px!important}.gm-item-table .item-purpose-pill{display:inline-flex;align-items:center;gap:5px;background:#71853b;color:#fff;padding:3px 7px;border-radius:9px;font-size:8px;font-weight:700;text-transform:uppercase}.gm-item-table .item-purpose-empty{color:#555;font-size:9px}.gm-loading-line{padding:13px;color:#6b7783}.gm-empty{text-align:center;padding:35px!important;color:#7e8994}
.gm-bulk-bar{position:fixed;left:0;right:0;bottom:0;height:52px;background:#dfe2e6;border-top:1px solid #c7ccd2;display:flex;align-items:center;justify-content:space-between;z-index:800;padding:0 16px}.gm-bulk-left,.gm-bulk-center,.gm-bulk-right{display:flex;align-items:center}.gm-bulk-left{gap:8px;font-size:11px;color:#4d5b69}.gm-bulk-left b{width:21px;height:21px;display:grid;place-items:center;background:#f6a51f;border-radius:3px;color:#1d2b38}.gm-bulk-center{gap:14px}.gm-bulk-right{font-size:9px;color:#586675}.gm-bulk-icon{width:36px;height:36px;border:0;background:transparent;border-radius:4px;cursor:pointer;font-size:20px;color:#45596c;position:relative}.gm-bulk-icon:hover{background:#f5a622;color:#233342}.gm-bulk-icon[data-tip]:hover::after{content:attr(data-tip);position:absolute;bottom:41px;left:50%;transform:translateX(-50%);background:#16191d;color:#fff;padding:5px 8px;font-size:9px;border-radius:2px;white-space:nowrap}
.gm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.56);display:none;align-items:center;justify-content:center;padding:18px;z-index:1000}.gm-overlay.show{display:flex}.gm-overlay.gm-above{z-index:1300}.gm-modal{background:#fff;border-radius:8px;box-shadow:0 8px 28px rgba(0,0,0,.32);padding:18px;position:relative;width:min(95vw,600px);color:#3a434d}.gm-modal-sm{width:min(95vw,480px)}.gm-modal-confirm{width:min(95vw,520px)}.gm-modal h3{font-size:18px;font-weight:500;margin:0 0 18px}.gm-modal p{font-size:12px;line-height:1.5}.gm-modal-x{position:absolute;top:9px;right:12px;border:0;background:transparent;color:#c4c6c8;font-size:22px;cursor:pointer}.gm-form-label{display:grid;gap:5px;font-size:11px;color:#515e6b;margin:12px 0}.gm-form-label input,.gm-form-label select,.gm-form-label textarea{width:100%;border:1px solid #cfd4da;border-radius:3px;padding:8px;font:inherit;background:#fff}.gm-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.gm-secondary,.gm-primary{border-radius:4px;padding:8px 14px;font-size:11px;cursor:pointer}.gm-secondary{background:#f2f3f4;border:1px solid #cbd0d5;color:#3f4c59}.gm-primary{background:#f5a623;border:1px solid #dc9218;color:#313b44;font-weight:700}.gm-primary:disabled{opacity:.55;cursor:not-allowed}
.gm-toast{display:none;position:fixed;right:18px;top:82px;min-width:320px;max-width:440px;padding:14px 18px;background:#bdf6d4;color:#20743f;border-left:4px solid #51d68a;box-shadow:0 4px 14px rgba(0,0,0,.18);z-index:1500;font-size:12px}.gm-toast.show{display:block}.gm-toast.error{background:#ffd1d1;color:#952f31;border-color:#e14c4f}
.gm-sync-card{width:350px;background:#fff;border-radius:8px;text-align:center;padding:24px 25px;box-shadow:0 8px 30px rgba(0,0,0,.35)}.gm-sync-art{position:relative;margin:0 auto 10px;width:85px;height:75px}.gm-sync-art span{font-size:62px;color:#28333e}.gm-sync-art i{position:absolute;right:0;bottom:2px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f5a623;font-style:normal;font-size:22px}.gm-sync-card h3{font-size:14px;margin:5px 0}.gm-sync-card p{font-size:10px;color:#777;line-height:1.4}.gm-sync-stats{margin:12px 0;border-radius:5px;background:#f2f3f5;text-align:left;padding:7px 12px;font-size:10px}.gm-sync-stats div{display:flex;justify-content:space-between;padding:4px}.gm-progress{height:8px;background:#eceff1;border-radius:5px;overflow:hidden;margin-top:10px}.gm-progress i{display:block;height:100%;width:36%;background:#f4a51f;animation:gmprogress 1.1s linear infinite}@keyframes gmprogress{0%{transform:translateX(-110%)}100%{transform:translateX(300%)}}.gm-sync-card small{display:block;margin-top:6px;color:#9a9a9a}
.gm-purpose-modal{width:min(96vw,900px);padding:18px}.gm-purpose-general{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0f2;padding-bottom:12px}.gm-purpose-general b{font-size:10px;display:block}.gm-purpose-general small{font-size:9px;color:#7d858c;display:block;margin-top:4px}.gm-purpose-select-wrap{width:210px;display:grid;gap:5px}.gm-purpose-select-wrap input,.gm-purpose-select-wrap select{height:30px;border:1px solid #d1d5d9;border-radius:3px;padding:0 7px;font-size:10px}.gm-purpose-table-wrap{max-height:340px;overflow:auto}.gm-purpose-table{width:100%;border-collapse:collapse;font-size:10px}.gm-purpose-table th{height:32px;text-align:left;color:#525f6d;font-size:9px;border-bottom:1px solid #e1e4e8}.gm-purpose-table td{height:37px;border-bottom:1px solid #edf0f2;padding:4px}.gm-purpose-table select{width:100%;height:28px;border:1px solid #d4d7db;border-radius:2px;font-size:9px}.gm-saving-card{width:350px;background:#fff;border-radius:8px;text-align:center;padding:28px}.gm-gears{font-size:58px;color:#eda31e}.gm-saving-card h3{font-size:14px}.gm-saving-card p{font-size:10px;color:#777}
.gm-danfe-overlay{padding:10px}.gm-danfe-modal{width:min(790px,96vw);max-height:96vh;background:#fff;border-radius:8px;box-shadow:0 9px 35px rgba(0,0,0,.4);display:flex;flex-direction:column;overflow:hidden}.gm-danfe-title{height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #e2e5e8}.gm-danfe-title h3{font-size:16px;margin:0;font-weight:500}.gm-danfe-title button{border:0;background:transparent;font-size:24px;color:#c1c5c9;cursor:pointer}.gm-danfe-frame-wrap{background:#fff;overflow:auto;flex:1;min-height:200px}.gm-danfe-frame-wrap iframe{border:0;width:100%;height:calc(96vh - 112px);display:block;background:#fff}.gm-danfe-actions{height:60px;flex:0 0 60px;display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:0 14px;border-top:1px solid #e1e4e7;background:#fff}.gm-danfe-actions .gm-primary{font-size:12px}.gm-print-selected{display:none}

/* DANFE 1.0 - linhas completas, código 128 real e A4 */
.danfe-document{margin:0;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif}.danfe-document *{box-sizing:border-box}.danfe-standalone-toolbar{display:flex;justify-content:space-between;padding:10px;background:#f1f3f5}.danfe-standalone-toolbar a,.danfe-standalone-toolbar button{border:1px solid #c8cdd2;background:#fff;padding:7px 12px;border-radius:4px;text-decoration:none;color:#263746}
.danfe-page{width:760px;max-width:100%;margin:10px auto 12px;background:#fff;font-size:9px;line-height:1.1}.df-table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid #111;border-bottom:0}.df-table:last-child{border-bottom:1px solid #111}.df-table td,.df-table th{border-right:1px solid #111;border-bottom:1px solid #111;padding:2px 4px;vertical-align:top}.df-table tr:last-child td{border-bottom:0}.df-table td:last-child,.df-table th:last-child{border-right:0}.df-table span,.df-label{display:block;font-size:6.7px;font-weight:700;text-transform:uppercase;line-height:1.1}.df-table strong{display:block;font-size:10px;font-weight:400;line-height:1.15;margin-top:2px}.df-head{height:118px}.df-head td{border-bottom:0}.df-emitter{padding:15px 8px 6px 82px!important}.df-emitter-name,.df-emitter-legal{font-size:12px;font-weight:700;text-transform:uppercase;line-height:1.1}.df-emitter-legal{margin-top:2px}.df-address{font-size:8.5px;line-height:1.35;margin-top:7px}.df-danfe-center{text-align:center;padding:7px 5px!important}.df-title{font-size:22px;font-weight:700}.df-subtitle{font-size:7.5px;margin:7px 0}.df-entry-grid{display:grid;grid-template-columns:1fr 48px;align-items:center;text-align:left;font-size:9px;max-width:132px;margin:6px auto 5px}.df-entry-grid b{height:32px;border:1px solid #111;display:grid;place-items:center;font-size:14px}.df-number{font-size:14px;font-weight:700;margin-top:8px}.df-series{font-size:10px;margin-top:5px}.df-access{padding:6px 0 0!important;text-align:center}.df-barcode{width:90%;height:48px;display:block;margin:0 auto 3px}.df-label.center{text-align:center}.df-key{border-top:1px solid #111;border-bottom:1px solid #111;font-size:9px;font-weight:700;padding:3px 5px;line-height:1.15;word-break:break-all}.df-auth-label{margin-top:4px}.df-auth-site{font-size:8.5px;margin-top:4px}.df-section{height:14px;border:1px solid #111;border-top:0;padding:2px 4px 1px;font-size:7px;font-weight:700}.df-fields td{height:30px}.df-fields.two strong{font-size:11px}.df-dest td{height:27px}.df-tax td{height:30px}.df-tax strong{text-align:right;font-size:10px}.df-tax .df-total{font-weight:700}.df-transp td{height:28px}.df-products{font-size:7px}.df-products th{font-size:6.5px;padding:2px;text-align:center;background:#f7f7f7;vertical-align:middle}.df-products td{font-size:7px;padding:2px;text-align:center}.df-products th:nth-child(1){width:7%}.df-products th:nth-child(2){width:24%}.df-products th:nth-child(3){width:8%}.df-products th:nth-child(4){width:8%}.df-products th:nth-child(5){width:6%}.df-products th:nth-child(6){width:4%}.df-products th:nth-child(7){width:5%}.df-products th:nth-child(8){width:8%}.df-products th:nth-child(9){width:8%}.df-products th:nth-child(10){width:7%}.df-products th:nth-child(11){width:5%}.df-products th:nth-child(12){width:7%}.df-products th:nth-child(13){width:5%}.df-products th:nth-child(14){width:6%}.df-products .left{text-align:left}.df-additional td{height:110px}.df-additional td>div{font-size:8px;line-height:1.35;margin-top:3px;white-space:pre-wrap}.danfe-page.dense{font-size:8px}.danfe-page.dense .df-products td{font-size:6.4px;padding:1.5px}.danfe-page.dense-2 .df-products td{font-size:5.8px;padding:1px}.danfe-page.dense-2 .df-additional td{height:70px}

@media (max-width:900px){.gm-header-right strong{display:none}.gm-main{padding:14px 10px 70px}.gm-actions-row{align-items:flex-start}.gm-action-links{gap:8px}.gm-toolbar{align-items:stretch;flex-direction:column}.gm-toolbar-right{justify-content:flex-end}.gm-date-range{min-width:220px}.gm-notes-table{min-width:1050px}.gm-table-shell{overflow-x:auto}.gm-bulk-right{display:none}.gm-danfe-modal{width:min(950px,99vw)}}

@media print{
  @page{size:A4 portrait;margin:4mm}
  body.danfe-document{background:#fff!important;margin:0!important;padding:0!important}
  .danfe-standalone-toolbar{display:none!important}
  .danfe-page{width:202mm!important;max-width:none!important;margin:0!important;font-size:7.4pt!important;page-break-inside:avoid!important;break-inside:avoid!important}
  .df-head{height:31mm!important}
  .df-emitter{padding-left:24mm!important}
  .df-barcode{height:12mm!important}
  .df-table span,.df-label{font-size:5.2pt!important}.df-table strong{font-size:7.4pt!important}.df-emitter-name,.df-emitter-legal{font-size:9pt!important}.df-address{font-size:6.5pt!important}.df-title{font-size:17pt!important}.df-subtitle{font-size:5.7pt!important}.df-number{font-size:10.5pt!important}.df-series{font-size:7.5pt!important}.df-key{font-size:6.8pt!important}.df-products th{font-size:4.7pt!important}.df-products td{font-size:5.2pt!important}.df-additional td{height:25mm!important}
}
.gm-row-menu.up{top:auto;bottom:26px}
@media print{body.manifest-pro-page .gm-cert-alert,body.manifest-pro-page .gm-global-header,body.manifest-pro-page .gm-actions-row,body.manifest-pro-page .gm-toolbar,body.manifest-pro-page .gm-bulk-bar,body.manifest-pro-page .gm-row-actions{display:none!important}.manifest-pro-page .gm-main{padding:0}.manifest-pro-page .gm-notes-table{font-size:9pt}.manifest-pro-page .gm-notes-table td{height:auto;padding:4px}.manifest-pro-page .gm-note-row:hover td{background:#fff}}
.selected-print-toolbar{position:sticky;top:0;z-index:10;background:#eceff2;padding:8px;display:flex;gap:8px;justify-content:flex-end}.selected-print-toolbar button{padding:7px 12px;border:1px solid #c7ccd1;background:#fff;border-radius:4px}.selected-danfe-print .danfe-page{margin-bottom:18px}@media print{.selected-print-toolbar{display:none!important}.selected-danfe-print .danfe-page{page-break-after:always;margin:0!important}.selected-danfe-print .danfe-page:last-child{page-break-after:auto}}
.gm-inline-panel{display:inline-block}.gm-reports-panel{left:0!important;right:auto!important;top:calc(100% + 3px)!important;width:180px;padding:5px}.gm-reports-panel button{width:100%;border:0;background:#fff;padding:8px;text-align:left;font-size:11px;cursor:pointer}.gm-reports-panel button:hover{background:#f0f1f3}
.gm-row-actions .gm-action-icon{opacity:0;transition:opacity .08s}.gm-note-row:hover .gm-row-actions .gm-action-icon,.gm-row-menu-anchor:focus-within .gm-action-icon,.gm-row-menu-anchor .gm-row-menu.open~.gm-action-icon{opacity:1}.gm-purpose-indicator{display:inline-block;color:#efa023;font-size:17px;vertical-align:middle;margin-right:2px}.gm-info-dot{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#344b60;color:#fff;font-size:9px;font-weight:700}

/* v1.0.2 - correcao abertura DANFE e digitacao do periodo */
.gm-date-edit{position:relative;display:flex;align-items:center;width:100%}
.gm-date-edit>input[type=text]{padding-right:31px!important;font-variant-numeric:tabular-nums}
.gm-calendar-btn{position:absolute;right:3px;bottom:3px;width:27px;height:28px;border:0;background:transparent;color:#65717e;cursor:pointer;font-size:13px;display:grid;place-items:center;border-radius:3px;z-index:2}
.gm-calendar-btn:hover{background:#eef0f2}
.gm-native-date{position:absolute!important;right:2px!important;bottom:2px!important;width:28px!important;height:28px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important}
.gm-doc-link{cursor:pointer}

/* v1.0.3 - DANFE somente em modal sobreposto; sem abertura automatica em nova aba */

/* v1.0.5 - DANFE modal aproximadamente 20 por cento mais largo */
body.gm-modal-open{overflow:hidden}
.gm-doc-link-btn{appearance:none;-webkit-appearance:none;border:0;background:transparent;padding:0;margin:0;font:inherit;color:inherit;text-decoration:underline;font-weight:500;cursor:pointer}
.gm-danfe-overlay{z-index:1600;padding:14px;background:rgba(0,0,0,.60)}
.gm-danfe-modal{width:min(950px,calc(100vw - 28px));height:min(94vh,900px);max-height:calc(100vh - 28px);background:#fff;border-radius:8px;box-shadow:0 12px 42px rgba(0,0,0,.46);display:flex;flex-direction:column;overflow:hidden}
.gm-danfe-frame-wrap{background:#fff;overflow:auto;flex:1;min-height:0}
.gm-danfe-frame-wrap iframe{border:0;width:100%;height:100%;min-height:0;display:block;background:#fff}
.gm-danfe-overlay:not(.show){pointer-events:none}


/* v1.0.6 - reforco das linhas do DANFE */
.danfe-document .df-table{border-collapse:collapse!important;border:1px solid #111!important;border-spacing:0!important}
.danfe-document .df-table td,.danfe-document .df-table th{border:1px solid #111!important}
.danfe-document .df-table tr:last-child td,.danfe-document .df-table tr:last-child th{border-bottom:1px solid #111!important}
.danfe-document .df-table td:last-child,.danfe-document .df-table th:last-child{border-right:1px solid #111!important}
.danfe-document .df-head td{border-bottom:1px solid #111!important}
.danfe-document .df-table + .df-table,.danfe-document .df-section + .df-table,.danfe-document .df-table + .df-section{margin-top:-1px}
.danfe-document .df-section{border:1px solid #111!important;margin-top:-1px}
.danfe-document .df-split-cell{display:grid;grid-template-columns:1fr 1.55fr;height:100%;margin:-2px -4px}
.danfe-document .df-split-cell>div{padding:2px 4px;min-width:0}
.danfe-document .df-split-cell>div+div{border-left:1px solid #111}
.danfe-document .df-split-host,.danfe-document .df-transport-split{padding:2px 4px!important}


/* v1.0.7 - ordenacao visual e funcional igual ao Gestao Manifesto */
.gm-notes-table th.sortable{cursor:pointer;user-select:none;-webkit-user-select:none;outline:none}
.gm-notes-table th.sortable:focus-visible{box-shadow:inset 0 0 0 1px #8ea0b1}
.gm-sort-icon{display:inline-block!important;position:relative;width:8px;height:10px;margin-left:4px;vertical-align:-1px;font-size:0!important;color:transparent!important}
.gm-sort-icon:before,.gm-sort-icon:after{content:"";position:absolute;left:1px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;opacity:.82}
.gm-sort-icon:before{top:0;border-bottom:4px solid #526273}
.gm-sort-icon:after{bottom:0;border-top:4px solid #526273}
.gm-notes-table th.sort-asc .gm-sort-icon:before{border-bottom-color:#263746;opacity:1}
.gm-notes-table th.sort-asc .gm-sort-icon:after{opacity:.16}
.gm-notes-table th.sort-desc .gm-sort-icon:before{opacity:.16}
.gm-notes-table th.sort-desc .gm-sort-icon:after{border-top-color:#263746;opacity:1}
.gm-sort-loading{display:none;position:fixed;inset:0;z-index:7800;background:rgba(55,59,62,.34);align-items:center;justify-content:center;pointer-events:auto}
.gm-sort-loading.show{display:flex}
.gm-sort-spinner{width:34px;height:34px;border:4px solid rgba(240,158,17,.24);border-right-color:#ee9b13;border-bottom-color:#ee9b13;border-radius:50%;animation:gmSortSpin .72s linear infinite}
@keyframes gmSortSpin{to{transform:rotate(360deg)}}


/* v1.0.8 - menu superior simplificado: removidos Integracao ao Estoque, Empresas e Relatorios */

/* v1.0.10 - painel inicial inspirado no video de referencia */
.dash-ref-page{margin:0;min-height:100vh;background:#eef0f3;color:#333;font-family:Segoe UI,Arial,sans-serif;overflow-x:hidden}
.dash-ref-page *{box-sizing:border-box}
.dash-ref-app{min-height:100vh;background:#eef0f3}
.dash-ref-cert-alert{height:40px;background:#e53a3d;color:#fff;display:flex;align-items:center;gap:10px;padding:0 14px;font-size:13px;position:sticky;top:0;z-index:90;box-shadow:0 1px 1px rgba(0,0,0,.05)}
.dash-ref-warning-icon{font-size:13px;color:#fff}
.dash-ref-header{height:56px;background:#f0f1f2;border-bottom:1px solid #d7d9dc;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:80;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.dash-ref-cert-alert + .dash-ref-header{top:40px}
.dash-ref-header-left,.dash-ref-header-right{display:flex;align-items:center}
.dash-ref-header-left{gap:18px}
.dash-ref-header-right{gap:17px;min-width:0}
.dash-ref-hamburger{border:0;background:transparent;color:#333;width:27px;height:34px;font-size:23px;line-height:1;padding:0;display:grid;place-items:center;cursor:default}
.dash-ref-brand{display:inline-flex;align-items:center;gap:3px;color:#40474e;text-decoration:none;font-size:13px;letter-spacing:-.1px}
.dash-ref-brand-symbol{width:17px;height:17px;margin-right:4px;background:linear-gradient(135deg,#f3a126 0 49%,transparent 50%),linear-gradient(315deg,#2876b5 0 49%,transparent 50%);display:inline-block}
.dash-ref-brand b{font-size:13px}.dash-ref-brand span{color:#6f777e;font-size:12px}
.dash-ref-head-icon{color:#36424d;font-size:17px;line-height:1;display:inline-grid;place-items:center;min-width:18px}
.dash-ref-bell{font-size:15px;transform:rotate(180deg)}
.dash-ref-company-switch{border:0;background:transparent;color:#39434c;font-size:12px;padding:8px 4px;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.dash-ref-company-switch:hover{text-decoration:underline}
.dash-ref-user-diamond{width:29px;height:29px;background:#2076b7;color:#fff;border-radius:3px;display:grid;place-items:center;text-decoration:none;font-weight:700;font-size:10px;transform:rotate(45deg);box-shadow:0 1px 2px rgba(0,0,0,.15)}
.dash-ref-user-diamond{color:transparent;position:relative}.dash-ref-user-diamond:after{content:'DF';position:absolute;color:#fff;transform:rotate(-45deg);font-size:10px}
.dash-ref-content{padding:18px 12px 24px;min-height:calc(100vh - 56px)}
.dash-ref-top-grid{display:grid;grid-template-columns:minmax(270px,24%) minmax(480px,1fr) minmax(270px,24%);gap:30px;align-items:start}
.dash-ref-card{background:#fff;border:1px solid #e0e2e5;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.dash-ref-donut-card{min-height:416px;padding:15px 17px 17px}
.dash-ref-chart-card{height:250px;padding:14px 16px 13px;min-width:0}
.dash-ref-card-heading h2{font-size:15px;line-height:1.2;margin:0 0 3px;font-weight:500;color:#35383c}
.dash-ref-card-heading p{font-size:11px;color:#9a9da1;margin:0}
.dash-ref-donut-area{height:304px;display:grid;place-items:center;margin-top:-2px}
.dash-ref-donut{width:288px;height:288px;border-radius:50%;position:relative;background:#dfe3e7;box-shadow:inset 0 0 0 1px rgba(0,0,0,.02)}
.dash-ref-donut-hole{position:absolute;width:58%;height:58%;background:#fff;border-radius:50%;left:21%;top:21%;display:grid;place-items:center;box-shadow:0 0 0 1px rgba(0,0,0,.01)}
.dash-ref-donut-hole strong{font-size:15px;font-weight:600;color:#34383c}
.dash-ref-legend{display:flex;justify-content:center;align-content:center;flex-wrap:wrap;gap:5px 6px;margin:0 auto;max-width:280px}
.dash-ref-legend-pill{display:inline-flex;align-items:center;justify-content:center;min-height:19px;padding:1px 7px;border:1px solid currentColor;border-radius:12px;background:#fff;font-size:9px;line-height:1.15;white-space:nowrap;color:#40505b}
.dash-ref-legend-pill.blue{color:#3181b8}.dash-ref-legend-pill.green{color:#38ad60}.dash-ref-legend-pill.dark{color:#485057}.dash-ref-legend-pill.yellow{color:#b59e1c}.dash-ref-legend-pill.red{color:#c84b45}.dash-ref-legend-pill.gray{color:#7d848a}.dash-ref-legend-pill.lime{color:#9aaf15}.dash-ref-legend-pill.charcoal{color:#59626d}
.dash-ref-chart-heading{margin-bottom:7px}
.dash-ref-chart-wrap{height:185px;position:relative;padding:8px 5px 28px 58px}
.dash-ref-y-axis{position:absolute;left:0;top:8px;bottom:29px;width:53px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding-right:7px;color:#60666b;font-size:9px}
.dash-ref-bars{height:100%;display:grid;grid-template-columns:repeat(7,minmax(35px,1fr));align-items:stretch;border-left:1px solid #dadde0;border-bottom:1px solid #dadde0;background:repeating-linear-gradient(to bottom,#eef0f2 0,#eef0f2 1px,transparent 1px,transparent 20%);gap:13px;padding:0 10px}
.dash-ref-bar-group{height:100%;display:flex;flex-direction:column;align-items:stretch;min-width:0}
.dash-ref-bar-plot{flex:1;display:flex;align-items:flex-end;justify-content:center;min-height:0}
.dash-ref-bar{width:min(34px,72%);min-height:0;border:0;background:#e54142;padding:0;border-radius:0;box-shadow:none;transition:filter .12s;cursor:default}
.dash-ref-bar:hover{filter:brightness(.92)}
.dash-ref-bar-label{font-size:9px;color:#5e6367;text-align:center;margin-top:7px;white-space:nowrap}
.dash-ref-bar-tooltip{display:none;position:absolute;z-index:10;background:rgba(42,47,52,.95);color:#fff;border-radius:3px;padding:6px 8px;font-size:10px;min-width:112px;box-shadow:0 4px 12px rgba(0,0,0,.22);pointer-events:none}
.dash-ref-bar-tooltip.show{display:grid;gap:2px}.dash-ref-bar-tooltip b{font-size:10px}.dash-ref-bar-tooltip span{font-weight:600}.dash-ref-bar-tooltip small{font-size:9px;color:#d8dde1}
.dash-ref-menu{display:grid;gap:12px}
.dash-ref-menu-item{height:51px;width:100%;border:1px solid #d5b05a;border-radius:3px;background:#fff;box-shadow:0 3px 7px rgba(0,0,0,.12);display:flex;align-items:center;gap:13px;padding:0 22px;text-decoration:none;color:#3e4145;font-size:12px;text-align:left;transition:background .08s,color .08s,border-color .08s}
.dash-ref-menu-item:hover,.dash-ref-menu-item:focus{background:#f9a927;color:#fff;border-color:#e0a02b;outline:none}
.dash-ref-menu-icon{font-size:17px;width:18px;text-align:center;font-weight:700}
.dash-ref-menu-item b{font-weight:500}
.dash-ref-companies-card{margin-top:31px;padding:15px 18px 14px;width:calc(76% - 15px);min-height:154px}
.dash-ref-company-table-wrap{overflow-x:auto;margin-top:18px}
.dash-ref-company-table{width:100%;border-collapse:collapse;font-size:11px;color:#52565a}
.dash-ref-company-table th{text-align:left;font-size:10px;color:#585b5e;padding:0 0 10px;font-weight:600;border-bottom:1px solid #f0f1f2}
.dash-ref-company-table td{padding:8px 0;border-bottom:1px solid #f1f2f3;vertical-align:middle}
.dash-ref-company-table tr:last-child td{border-bottom:0}
.dash-ref-company-table th:nth-child(1){width:52%}.dash-ref-company-table th:nth-child(2){width:19%}.dash-ref-company-table th:nth-child(3){width:17%}.dash-ref-company-table th:nth-child(4){width:12%}
.dash-ref-company-row-link{border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:pointer}
.dash-ref-company-row-link strong{display:block;font-size:11px;font-weight:500}.dash-ref-company-row-link small{display:block;font-size:9px;color:#8a8e92;margin-top:2px}
.dash-ref-company-table .warn-date{color:#d6cc49;font-weight:600}.dash-ref-company-table tr.is-active .dash-ref-company-row-link strong{color:#25292c}
.dash-ref-empty{text-align:center!important;color:#8e9398;padding:25px!important}
.dash-ref-modal-open{overflow:hidden}
.dash-ref-overlay{position:fixed;inset:0;background:rgba(0,0,0,.57);z-index:2500;display:none;align-items:flex-start;justify-content:center;padding:90px 16px 20px;overflow:auto}
.dash-ref-overlay.show{display:flex}
.dash-ref-modal{position:relative;background:#fff;border-radius:12px;box-shadow:0 16px 45px rgba(0,0,0,.38);width:min(1120px,calc(100vw - 32px));padding:18px 17px 14px;color:#4b4f53}
.dash-ref-modal h3{margin:0 0 2px;font-size:16px;font-weight:500;color:#35383b}
.dash-ref-modal-subtitle{margin:0 0 24px;font-size:10px;color:#a1a4a7}
.dash-ref-modal-x{position:absolute;right:10px;top:8px;width:26px;height:26px;border:0;background:transparent;color:#bbb;font-size:19px}
.dash-ref-company-search{height:31px;background:#f5f5f5;border:1px solid #e5dc91;display:flex;align-items:center;padding:0 8px;margin-bottom:10px}
.dash-ref-company-search span{font-size:17px;color:#6f7479;margin-right:6px}.dash-ref-company-search input{border:0;outline:none;background:transparent;width:100%;font-size:11px;color:#555}
.dash-ref-switch-table{width:100%;border-collapse:collapse;font-size:11px}.dash-ref-switch-table th{text-align:left;color:#676b6f;font-size:10px;font-weight:500;padding:7px 9px;border-bottom:1px solid #ededed}.dash-ref-switch-table td{padding:7px 9px;border-bottom:1px solid #eee;vertical-align:middle}.dash-ref-switch-table td strong{display:block;font-size:11px;font-weight:500}.dash-ref-switch-table td small{display:block;font-size:9px;color:#9b9ea1;margin-top:2px}.dash-ref-switch-table th:nth-child(1){width:34%}.dash-ref-switch-table th:nth-child(2){width:22%}.dash-ref-switch-table th:nth-child(3){width:16%}.dash-ref-switch-table th:nth-child(4){width:15%}.dash-ref-switch-table th:nth-child(5){width:13%}
.dash-ref-cert-state.ok{color:#d4ca2d;font-weight:700}.dash-ref-cert-state.missing{color:#aaa}.dash-ref-switch-action{text-align:right}
.dash-ref-selected-company,.dash-ref-select-company{display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:29px;border-radius:2px;padding:0 10px;font-size:10px;text-decoration:none}.dash-ref-selected-company{background:#42c96b;color:#fff}.dash-ref-select-company{background:#eceeef;color:#565b60;border:1px solid #dedfe1}.dash-ref-select-company:hover{background:#dddfe1}
.dash-ref-modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:45px}.dash-ref-close-btn,.dash-ref-import-btn{min-width:62px;height:31px;border-radius:2px;border:1px solid #ddd;background:#efefef;color:#565a5e;font-size:10px}.dash-ref-import-btn{background:#f2a326;border-color:#e39a28;color:#fff;padding:0 14px}.dash-ref-import-btn:disabled{opacity:.55;cursor:wait}
.dash-ref-import-modal{width:min(690px,calc(100vw - 32px));padding:20px}.dash-ref-import-modal .dash-ref-modal-footer{margin-top:18px}.dash-ref-upload-box{height:150px;border:1px dashed #c6c9cc;background:#fafafa;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;border-radius:4px;color:#5e6469}.dash-ref-upload-box:hover{background:#f5f6f6}.dash-ref-upload-box input{display:none}.dash-ref-upload-icon{font-size:28px;color:#f0a12b;margin-bottom:5px}.dash-ref-upload-box strong{font-size:13px}.dash-ref-upload-box small{font-size:10px;color:#8b8f93;margin-top:4px}.dash-ref-upload-selection{font-size:10px;color:#777;margin-top:8px}.dash-ref-import-result{min-height:18px;margin-top:8px;font-size:11px}.dash-ref-import-result.working{color:#8a6b1a}.dash-ref-import-result.success{color:#23814a}.dash-ref-import-result.error{color:#c8473d}
@media(max-width:1100px){.dash-ref-top-grid{grid-template-columns:310px 1fr}.dash-ref-menu{grid-column:1/-1;grid-template-columns:1fr 1fr}.dash-ref-companies-card{width:100%}.dash-ref-header-right{gap:10px}.dash-ref-company-switch{max-width:360px}.dash-ref-chart-card{height:290px}}
@media(max-width:760px){.dash-ref-header{padding:0 10px}.dash-ref-header-right .dash-ref-head-icon{display:none}.dash-ref-company-switch{max-width:180px;font-size:10px}.dash-ref-brand b,.dash-ref-brand span{display:none}.dash-ref-content{padding:10px}.dash-ref-top-grid{grid-template-columns:1fr;gap:12px}.dash-ref-donut-card,.dash-ref-chart-card{height:auto;min-height:0}.dash-ref-menu{grid-column:auto;grid-template-columns:1fr}.dash-ref-companies-card{margin-top:12px}.dash-ref-chart-wrap{height:230px}.dash-ref-donut-area{height:280px}.dash-ref-donut{width:255px;height:255px}.dash-ref-overlay{padding-top:40px}.dash-ref-switch-table{min-width:720px}.dash-ref-switch-table-wrap{overflow-x:auto}}

/* v1.0.11 - cadastros laterais, empresas e certificado digital */
.admin-ref-page{background:#fff;color:#3d4044;font-family:Arial,Helvetica,sans-serif}
.admin-ref-content{min-height:calc(100vh - 56px);background:#fff}
.admin-ref-company-head{color:#555b60;text-decoration:none;font-size:12px;white-space:nowrap;max-width:440px;overflow:hidden;text-overflow:ellipsis}
.admin-ref-sidebar{position:fixed;left:0;top:0;width:254px;height:100vh;background:#e7e8eb;z-index:2200;transform:translateX(-102%);transition:transform .14s ease;box-shadow:2px 0 5px rgba(0,0,0,.08);overflow:auto}
.admin-has-alert .admin-ref-sidebar{top:40px;height:calc(100vh - 40px)}
.admin-ref-sidebar.show{transform:translateX(0)}
.admin-ref-sidebar-brand{height:56px;background:#fff;display:flex;align-items:center;gap:6px;padding:0 18px;border-bottom:1px solid #dedfe2;color:#52565a;font-size:15px}
.admin-ref-sidebar-brand .dash-ref-brand-symbol{margin-right:3px}
.admin-ref-sidebar-brand b{font-size:15px}.admin-ref-sidebar-brand span:last-child{font-size:14px;color:#73777b}
.admin-ref-menu-root{width:100%;height:46px;border:0;border-bottom:1px solid rgba(0,0,0,.03);background:#e7e8eb;display:grid;grid-template-columns:24px 1fr 18px;align-items:center;text-align:left;padding:0 18px;color:#52575b;font-size:12px;cursor:pointer}
.admin-ref-menu-root:hover{background:#dedfe2}.admin-ref-root-icon{font-size:17px;color:#3d464c}.admin-ref-arrow{font-size:18px;transform:rotate(0deg);transition:transform .12s}.admin-ref-arrow.open{transform:rotate(90deg)}
.admin-ref-submenu{display:none;background:#fff}.admin-ref-submenu.show{display:block}.admin-ref-submenu a{display:block;height:40px;line-height:40px;padding-left:48px;color:#4f555a;text-decoration:none;font-size:12px;border-bottom:1px solid #f1f1f1}.admin-ref-submenu a:hover,.admin-ref-submenu a.is-active{background:#f2f3f5;color:#27323a}
.admin-ref-pagehead{min-height:103px;background:#f0f1f4;padding:18px 9px 12px;border-bottom:1px solid #ececef}
.admin-ref-pagehead h1{font-size:28px;line-height:1;margin:0 0 20px;font-weight:500;color:#363a3d}
.admin-ref-page-actions{display:flex;align-items:center;gap:18px}.admin-ref-back{font-size:12px;color:#4f555a;text-decoration:none}.admin-ref-new{height:24px;padding:0 8px;border:0;border-radius:5px;background:#f5a824;color:#3e4145;font-size:11px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.admin-ref-list-area{padding:19px 9px 30px;background:#fff}.admin-ref-search-row{display:flex;align-items:center;gap:18px;margin-bottom:12px}.admin-ref-search{height:35px;background:#f1f2f5;border-radius:5px;display:flex;align-items:center;flex:1;padding:0 10px;color:#757b80}.admin-ref-search input{border:0;outline:0;background:transparent;width:100%;font-size:12px;padding-left:6px}.admin-ref-filter-btn{height:35px;border:0;background:transparent;color:#444a4f;font-size:12px}
.admin-ref-table-wrap{overflow-x:auto}.admin-ref-table{width:100%;border-collapse:collapse;color:#4b5054;font-size:12px}.admin-ref-table th{height:35px;text-align:left;border-bottom:1px solid #e4e5e7;padding:0 8px;font-size:11px;font-weight:600;color:#51575b}.admin-ref-table td{height:48px;border-bottom:1px solid #ececef;padding:6px 8px;vertical-align:middle}.admin-ref-table tbody tr:hover{background:#f7f7f8}.admin-ref-table td strong{display:block;font-size:12px;font-weight:500;color:#3f4549}.admin-ref-table td small{display:block;font-size:10px;color:#999da1;margin-top:3px}.admin-ref-actions-col{width:86px}.admin-ref-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;opacity:.22;transition:opacity .1s}.admin-ref-table tr:hover .admin-ref-row-actions{opacity:1}.admin-ref-row-actions form{margin:0}.admin-ref-icon-btn{border:0;background:transparent;color:#6f777d;font-size:18px;padding:2px;cursor:pointer}.admin-ref-icon-btn.danger{color:#d14b4b}.admin-ref-icon-btn:hover{color:#222}.admin-ref-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:16px;color:#81868a;font-size:11px}.admin-ref-pagination label{justify-self:end}.admin-ref-pagination select{height:31px;border:0;background:#f1f2f4;padding:0 10px;color:#5f6569}.admin-ref-pagebox{display:flex}.admin-ref-pagebox button,.admin-ref-pagebox b{width:33px;height:33px;border:0;background:#eff0f2;display:grid;place-items:center;color:#a8acb0}.admin-ref-pagebox b{background:#f5a824;color:#fff;font-weight:500}.admin-ref-flash{margin:10px 9px 0;padding:8px 11px;border-radius:3px;font-size:11px}.admin-ref-flash.ok{background:#e7f7ed;color:#287947}.admin-ref-flash.error{background:#fdeceb;color:#a43d37}
.admin-ref-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:3100;display:none;align-items:flex-start;justify-content:center;overflow:auto;padding:12px 18px 28px}.admin-ref-overlay.show{display:flex}
.admin-ref-company-editor{width:min(960px,calc(100vw - 36px));background:#fff;border-radius:12px;box-shadow:0 14px 38px rgba(0,0,0,.38);margin-top:0;overflow:hidden}.admin-ref-modal-head{min-height:72px;border-bottom:1px solid #e6e6e6;padding:15px 16px 10px;display:flex;justify-content:space-between}.admin-ref-modal-head h2{margin:0 0 4px;font-size:18px;font-weight:500;color:#4b4e52}.admin-ref-modal-head p{margin:0;font-size:11px;color:#a0a3a6}.admin-ref-modal-head.cert{min-height:58px;align-items:center}.admin-ref-modal-close{border:0;background:transparent;font-size:20px;color:#b9bbbe;align-self:flex-start;cursor:pointer}.admin-ref-company-scroll{max-height:calc(100vh - 145px);overflow-y:auto;padding:15px}.admin-ref-company-top{display:grid;grid-template-columns:210px 1fr;gap:28px}.admin-ref-logo-col{display:flex;flex-direction:column;gap:14px}.admin-ref-logo-box{height:212px;background:#e7e8eb;display:flex;align-items:center;justify-content:center;text-align:center;color:#92969a;font-size:11px;line-height:1.5;overflow:hidden}.admin-ref-logo-box img{width:100%;height:100%;object-fit:contain;background:#fff}.admin-ref-logo-button{height:31px;background:#f5a824;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#4a4d50;cursor:pointer}.admin-ref-logo-button input{display:none}.admin-ref-company-mainfields{min-width:0}.admin-ref-grid{display:grid;gap:18px;margin-bottom:13px}.admin-ref-grid-five{grid-template-columns:1.05fr 1fr 1fr 1fr 1fr}.admin-ref-grid-two-wide{grid-template-columns:1fr 150px}.admin-ref-address-one{grid-template-columns:210px 290px 1fr 50px}.admin-ref-address-two{grid-template-columns:130px 1fr 130px}.admin-ref-address-three{grid-template-columns:1fr 1fr}.admin-ref-contact-three{grid-template-columns:1fr 1fr 1fr}.admin-ref-resp-grid{grid-template-columns:1fr 1fr 1fr 1fr}.admin-ref-company-editor label{display:block;font-size:11px;font-weight:600;color:#4d5256}.admin-ref-company-editor input,.admin-ref-company-editor select{width:100%;height:35px;border:0;background:#edeef1;padding:0 12px;margin-top:5px;color:#63676b;font-size:12px;border-radius:4px;outline:none}.admin-ref-company-editor input:focus,.admin-ref-company-editor select:focus{box-shadow:0 0 0 1px #f2a526}.admin-ref-divider{height:1px;background:#ededed;margin:10px 0 18px}.admin-ref-settings{margin-top:18px;display:grid;gap:6px}.admin-ref-setting{min-height:58px;background:#f2f3f5;border-radius:8px;padding:11px 11px;display:flex!important;align-items:center;justify-content:space-between;gap:18px;cursor:default}.admin-ref-setting span{display:flex;flex-direction:column}.admin-ref-setting b{font-size:11px;color:#4d5256}.admin-ref-setting small{font-size:10px;color:#9b9ea2;margin-top:4px;font-weight:400}.admin-ref-setting input[type=checkbox]{display:none}.admin-ref-setting i{width:51px;height:22px;border:1px solid #9da2a6;border-radius:20px;background:#eee;position:relative;flex:0 0 auto}.admin-ref-setting i:before{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#92979b;transition:.12s}.admin-ref-setting input:checked+i{background:#f5a824;border-color:#e9a024}.admin-ref-setting input:checked+i:before{left:31px;background:#fff}.admin-ref-setting-accordion{cursor:pointer}.admin-ref-setting-accordion button{border:0;background:transparent;font-size:18px}.admin-ref-office-detail{display:none;background:#fafafa;padding:11px 18px;border-radius:0 0 7px 7px}.admin-ref-office-detail.show{display:block}.admin-ref-office-detail input{width:auto;height:auto;margin-right:8px}.admin-ref-system-list{background:#f2f3f5;border-radius:8px;padding:13px 14px;font-size:10px}.admin-ref-system-list>div{display:grid;grid-template-columns:1fr 120px;align-items:center;padding:8px 0}.admin-ref-system-head{font-weight:600}.admin-ref-system-list>div:not(:last-child){border-bottom:1px solid #e4e5e7}.admin-ref-system-list .muted{opacity:.25}.admin-ref-mini-toggle{display:inline-block;width:46px;height:20px;border:1px solid #9ca0a4;border-radius:18px;vertical-align:middle;margin-left:10px;position:relative}.admin-ref-mini-toggle:before{content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:#979ca0;left:3px;top:3px}.admin-ref-mini-toggle.on{background:#f5a824;opacity:.7}.admin-ref-mini-toggle.on:before{left:28px;background:#fff}.admin-ref-modal-footer{height:61px;border-top:1px solid #e5e5e5;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:0 15px;margin-top:0}.admin-ref-cancel,.admin-ref-save{height:36px;border-radius:5px;padding:0 15px;font-size:12px}.admin-ref-cancel{border:1px solid #c9cbcd;background:#eee;color:#4b4f53}.admin-ref-save{border:1px solid #e3a02a;background:#f5a824;color:#45494c}
.admin-ref-cert-table th:nth-child(1){width:10%}.admin-ref-cert-table th:nth-child(2){width:6%}.admin-ref-cert-table th:nth-child(3){width:31%}.admin-ref-cert-table th:nth-child(4){width:36%}.admin-ref-cert-table th:nth-child(5){width:12%}.admin-ref-status-active{display:inline-flex;min-width:120px;height:30px;border:1px solid #34ca6b;border-radius:6px;align-items:center;justify-content:center;color:#34ca6b;font-weight:600;font-size:11px}.admin-ref-cert-modal{width:420px;max-width:calc(100vw - 32px);margin-top:118px;background:#fff;border-radius:12px;box-shadow:0 14px 38px rgba(0,0,0,.42);overflow:hidden}.admin-ref-cert-body{padding:18px 15px 8px}.admin-ref-cert-body label{display:block;font-size:11px;font-weight:600;color:#4d5256;margin-bottom:17px}.admin-ref-cert-body select,.admin-ref-cert-body input{width:100%;height:34px;border:0;background:#edeef1;border-radius:4px;margin-top:6px;padding:0 10px}.admin-ref-file-picker{height:35px;background:#edeef1;border:1px solid #d4d6d9;border-radius:5px;display:flex;align-items:center;justify-content:center;margin-top:6px;position:relative;color:#4e5256;font-size:12px;font-weight:400}.admin-ref-file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;height:100%}.admin-ref-password-wrap{display:flex;position:relative}.admin-ref-password-wrap button{position:absolute;right:7px;top:9px;border:0;background:transparent;color:#898e92;font-size:15px}.admin-ref-inline-error{font-size:11px;color:#c94843;min-height:14px}.admin-ref-cert-company{display:none}
@media(max-width:900px){.admin-ref-grid-five{grid-template-columns:1fr 1fr}.admin-ref-company-top{grid-template-columns:1fr}.admin-ref-logo-col{max-width:240px}.admin-ref-address-one,.admin-ref-address-two,.admin-ref-address-three,.admin-ref-contact-three,.admin-ref-resp-grid{grid-template-columns:1fr 1fr}.admin-ref-pagination{grid-template-columns:1fr}.admin-ref-pagination>*{justify-self:start!important;margin-top:6px}.admin-ref-company-head{max-width:220px}}
.admin-ref-ident-row{grid-template-columns:156px 156px;justify-content:start}
.admin-ref-company-class-row{grid-template-columns:1.15fr 1fr 1.1fr 150px}
@media(max-width:900px){.admin-ref-ident-row,.admin-ref-company-class-row{grid-template-columns:1fr 1fr}}

/* ========================================================================== */
/* v1.0.12 - usuarios, contas/clientes e Super Administrador                  */
/* ========================================================================== */
.admin-ref-global-separator{height:1px;background:#d6d8dc;margin:8px 16px}
.admin-ref-global-link{height:47px;display:flex;align-items:center;gap:12px;padding:0 21px;color:#50555a;text-decoration:none;font-size:12px;border-left:3px solid transparent}
.admin-ref-global-link:hover,.admin-ref-global-link.is-active{background:#dfe1e5;border-left-color:#f3a51f;color:#2f3438}.admin-ref-global-link .admin-ref-root-icon{font-size:14px}
.admin-ref-sidebar-user{position:absolute;left:0;right:0;bottom:0;padding:14px 18px 17px;border-top:1px solid #d6d8dc;background:#e7e8eb;display:flex;flex-direction:column;gap:3px;color:#73777b}
.admin-ref-sidebar-user small{font-size:8px;letter-spacing:.08em;color:#9a9da1}.admin-ref-sidebar-user strong{font-size:11px;color:#41464b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-ref-sidebar-user span{font-size:9px}.admin-ref-sidebar-account{margin-top:4px;padding-top:5px;border-top:1px solid #d7d9dc;color:#5f6468!important}

.users-v112 .admin-ref-pagehead>div:first-child{min-width:0}.users-account-caption{margin:4px 0 0;font-size:11px;color:#969a9e}.users-ref-table th:nth-child(1){width:18%}.users-ref-table th:nth-child(2){width:20%}.users-ref-table th:nth-child(3){width:13%}.users-ref-table th:nth-child(4){width:13%}.users-ref-table th:nth-child(5){width:16%}.users-ref-table th:nth-child(6){width:10%}.users-role-pill{display:inline-flex;align-items:center;justify-content:center;min-width:85px;height:27px;border-radius:14px;padding:0 10px;background:#edf0f2;color:#60656a;font-size:9px;font-weight:600}.users-role-pill.master{background:#fff4dc;color:#b87805;border:1px solid #f4c46a}.users-status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:27px;border-radius:5px;font-size:9px;font-weight:700;border:1px solid}.users-status-pill.on{color:#2ebd68;border-color:#39c873;background:#f8fffa}.users-status-pill.off{color:#b86464;border-color:#d7a0a0;background:#fffafa}
.users-editor{width:min(930px,calc(100vw - 36px));max-height:calc(100vh - 34px);background:#fff;border-radius:12px;box-shadow:0 14px 42px rgba(0,0,0,.38);overflow:hidden}.users-editor-scroll{max-height:calc(100vh - 165px);overflow:auto;padding:16px 18px}.users-form-section{padding:5px 0 17px}.users-form-section+.users-form-section{border-top:1px solid #eceef0;padding-top:18px}.users-form-section h3{margin:0 0 13px;font-size:11px;letter-spacing:.03em;color:#555a5f}.users-form-section label{display:block;font-size:10px;font-weight:600;color:#575c61}.users-form-section input,.users-form-section select{width:100%;height:35px;border:0;border-radius:4px;background:#edeef1;margin-top:5px;padding:0 11px;color:#5f6469;font-size:11px;outline:none}.users-form-section input:focus,.users-form-section select:focus{box-shadow:0 0 0 1px #f1a322}.users-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.users-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.users-section-head h3{margin:0}.users-check-line{display:flex!important;align-items:center;gap:7px;font-weight:500!important}.users-check-line input{width:auto!important;height:auto!important;margin:0!important}.users-company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;transition:.12s}.users-company-grid.disabled{opacity:.42;pointer-events:none}.users-company-choice{min-height:51px;border:1px solid #e1e3e5;border-radius:6px;background:#fafafa;padding:8px 10px;display:flex!important;align-items:center;gap:9px;cursor:pointer}.users-company-choice input{width:auto!important;height:auto!important;margin:0!important}.users-company-choice span{display:flex;flex-direction:column;min-width:0}.users-company-choice strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.users-company-choice small{font-size:9px;color:#989ca0;margin-top:2px}.users-empty-box{grid-column:1/-1;background:#fafafa;border:1px dashed #ddd;padding:18px;color:#92969a;font-size:10px}.users-help{font-size:9px;color:#92969a;margin:-5px 0 12px}.users-permission-groups{display:grid;grid-template-columns:1fr 1fr;gap:11px}.users-permission-group{border:1px solid #e6e7e9;border-radius:7px;overflow:hidden;background:#fafafa}.users-permission-group h4{margin:0;padding:9px 11px;background:#eff0f2;color:#565b60;font-size:10px}.users-permission-row{height:38px;padding:0 11px;border-top:1px solid #eceeef;display:flex!important;align-items:center;justify-content:space-between;font-weight:500!important;cursor:pointer}.users-permission-row input{display:none}.users-permission-row i{width:37px;height:18px;border:1px solid #a3a7ab;border-radius:14px;background:#eee;position:relative;flex:0 0 auto}.users-permission-row i:before{content:'';position:absolute;left:3px;top:3px;width:10px;height:10px;border-radius:50%;background:#999da1;transition:.12s}.users-permission-row input:checked+i{background:#f4a721;border-color:#eba11e}.users-permission-row input:checked+i:before{left:22px;background:#fff}.users-invite-link{display:flex;gap:6px;margin-top:8px}.users-invite-link input{flex:1;min-width:0;height:31px;border:1px solid #e0c16f;background:#fffdf5;padding:0 8px;font-size:10px}.users-invite-link button{height:31px;border:0;border-radius:4px;background:#4d5358;color:#fff;font-size:9px;padding:0 11px}.admin-ref-flash.warning{background:#fff9e8;border:1px solid #ead899;color:#7c671f}.admin-ref-flash.warning small{display:block;margin-top:6px;color:#8e7d49}

.superadmin-v112{background:#f1f2f4}.superadmin-content{padding:28px 34px 50px;max-width:1500px;margin:0 auto}.superadmin-badge{height:24px;display:inline-flex;align-items:center;padding:0 9px;border-radius:12px;background:#fff2d9;color:#ad7005;border:1px solid #f1c15e;font-size:8px;font-weight:700;letter-spacing:.04em}.superadmin-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:20px}.superadmin-kicker{font-size:9px;color:#f0a11d;font-weight:700;letter-spacing:.1em}.superadmin-hero h1{font-size:25px;font-weight:400;color:#363b3f;margin:5px 0}.superadmin-hero p{margin:0;color:#858a8f;font-size:11px}.superadmin-owner-lock{width:390px;min-height:66px;border-radius:9px;background:#fff;border:1px solid #e2e4e6;display:flex;align-items:center;gap:12px;padding:11px 14px;box-shadow:0 2px 5px rgba(0,0,0,.03)}.superadmin-owner-lock>span{width:34px;height:34px;border-radius:50%;background:#fff4dc;color:#e19715;display:flex;align-items:center;justify-content:center}.superadmin-owner-lock div{display:flex;flex-direction:column}.superadmin-owner-lock b{font-size:10px;color:#4d5256}.superadmin-owner-lock small{font-size:9px;color:#95999d;margin-top:3px;line-height:1.35}.superadmin-flash{margin:0 0 17px}.superadmin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px}.superadmin-stats article{min-height:94px;background:#fff;border:1px solid #e0e2e4;border-radius:9px;padding:14px 15px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;box-shadow:0 2px 5px rgba(0,0,0,.025)}.superadmin-stats article span{font-size:8px;font-weight:700;color:#858a8e;letter-spacing:.05em}.superadmin-stats article strong{grid-row:1/3;grid-column:2;font-size:31px;font-weight:300;color:#3d4247}.superadmin-stats article small{font-size:9px;color:#9ca0a4;align-self:end}.superadmin-stats article.configured strong{color:#2bbb65}.superadmin-stats article.attention strong{color:#e6a01d}
.superadmin-panel{background:#fff;border:1px solid #e0e2e4;border-radius:9px;margin-bottom:14px;box-shadow:0 2px 5px rgba(0,0,0,.025);overflow:hidden}.superadmin-panel-head{min-height:65px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eceeef}.superadmin-panel-head h2{margin:0;font-size:14px;font-weight:500;color:#4c5156}.superadmin-panel-head p{margin:3px 0 0;font-size:9px;color:#9a9ea2}.superadmin-table{font-size:10px}.superadmin-table td{height:50px}.superadmin-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}.superadmin-actions form{margin:0}.superadmin-enter{height:27px;padding:0 9px;border-radius:4px;background:#edf0f2;color:#52575c;text-decoration:none;display:inline-flex;align-items:center;font-size:8px;font-weight:700}.superadmin-enter:hover{background:#f4a721;color:#fff}.superadmin-grid-panels{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.superadmin-admin-list{padding:4px 14px 12px}.superadmin-admin-row{min-height:56px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #eee}.superadmin-admin-row:last-child{border-bottom:0}.superadmin-avatar{width:31px;height:31px;border-radius:50%;background:#edf0f2;color:#5c6267;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700}.superadmin-admin-row>div{flex:1;min-width:0;display:flex;flex-direction:column}.superadmin-admin-row strong{font-size:10px;color:#4b5055}.superadmin-admin-row small{font-size:8px;color:#999da1;margin-top:2px}.superadmin-config-state{font-size:8px;font-weight:700;color:#b27c18;background:#fff4dc;border:1px solid #efc56e;border-radius:12px;padding:4px 8px}.superadmin-config-state.ok{color:#269b55;background:#effbf3;border-color:#86d9a5}.superadmin-settings-form{padding:13px 15px 7px}.superadmin-settings-form label,.superadmin-modal-body label{display:block;font-size:9px;font-weight:600;color:#555a5f;margin-bottom:10px}.superadmin-settings-form input,.superadmin-settings-form select,.superadmin-modal-body input,.superadmin-modal-body select{width:100%;height:32px;border:0;border-radius:4px;background:#edeef1;padding:0 9px;margin-top:4px;font-size:10px;color:#5c6166;outline:none}.superadmin-settings-form label small{display:block;margin-top:4px;font-size:8px;color:#9ca0a4;font-weight:400}.superadmin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.superadmin-save-settings{height:32px;border:0;border-radius:4px;background:#f4a721;color:#4a4e52;font-size:9px;font-weight:700;padding:0 12px}.superadmin-test-mail{padding:0 15px 14px;display:flex;gap:6px}.superadmin-test-mail input{flex:1;height:31px;border:1px solid #e1e3e5;border-radius:4px;padding:0 8px;font-size:9px}.superadmin-test-mail button{height:31px;border:0;border-radius:4px;background:#51565b;color:#fff;font-size:8px;padding:0 10px}.superadmin-user-search{width:245px}.superadmin-audit-wrap{max-height:390px;overflow:auto}.superadmin-audit-table{min-width:1050px;font-size:9px}.superadmin-audit-table code{font-family:inherit;background:#f0f1f2;border-radius:3px;padding:3px 5px;font-size:8px}.superadmin-audit-detail{max-width:330px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.superadmin-modal{width:min(610px,calc(100vw - 34px));background:#fff;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.42);overflow:hidden;margin-top:48px}.superadmin-modal.small{width:min(500px,calc(100vw - 34px))}.superadmin-modal.tiny{width:min(420px,calc(100vw - 34px));margin-top:120px}.superadmin-modal-body{padding:17px 17px 8px}.superadmin-modal-body h3{font-size:10px;color:#555a5f;margin:0 0 11px}.superadmin-divider{height:1px;background:#eceeef;margin:14px 0}.superadmin-access-mode{display:flex;gap:8px;margin:5px 0 12px}.superadmin-access-mode label{flex:1;min-height:44px;border:1px solid #e2e4e6;border-radius:6px;display:flex!important;align-items:center;gap:8px;padding:7px 9px;margin:0!important;font-weight:500!important;cursor:pointer}.superadmin-access-mode input{width:auto!important;height:auto!important;margin:0!important}.superadmin-access-mode span{font-size:9px}.access-v112 .access-form-area{position:absolute;left:46px;right:46px;top:365px}.access-form-area h1{font-size:22px;font-weight:400;color:#3d4247;margin:0 0 7px}.access-form-area>p{font-size:10px;color:#909499;margin:0 0 18px;line-height:1.5}.access-form label{font-size:9px;font-weight:600;color:#5b6064;display:block;margin-bottom:12px}.access-form input{width:100%;height:45px;border:1px solid #dedfe1;border-radius:4px;background:#fff;padding:0 12px;margin-top:5px;font-size:11px;outline:none}.access-form input:focus{border-color:#e7a12a}.login-submit.wide{width:100%;margin-top:3px;text-decoration:none;display:flex;align-items:center;justify-content:center}.access-back{display:inline-block;margin-top:14px;color:#767b80;text-decoration:none;font-size:10px}.access-message{padding:9px 10px;border-radius:5px;font-size:10px;margin-bottom:12px;line-height:1.4}.access-message.ok{background:#eefaf2;color:#318853;border:1px solid #b9e2c7}.access-message.error{background:#fff1f1;color:#b24c4c;border:1px solid #e8bcbc}.access-eye{top:17px!important}.access-done-icon{width:54px;height:54px;border-radius:50%;background:#eefaf2;color:#2dae60;display:flex;align-items:center;justify-content:center;font-size:25px;margin-bottom:16px}.access-login-button{height:45px}.no-access-v112{min-height:calc(100vh - 57px);display:flex;align-items:center;justify-content:center;padding:30px}.no-access-v112>div{width:min(480px,100%);text-align:center;background:#fff;border:1px solid #e0e2e4;border-radius:10px;padding:40px;box-shadow:0 4px 14px rgba(0,0,0,.05)}.no-access-v112>div>span{font-size:34px}.no-access-v112 h1{font-size:20px;color:#4b5055;font-weight:400}.no-access-v112 p{font-size:11px;color:#7e8388}.no-access-v112 small{font-size:9px;color:#9a9ea2}
@media(max-width:950px){.superadmin-stats{grid-template-columns:1fr 1fr}.superadmin-grid-panels{grid-template-columns:1fr}.superadmin-hero{align-items:flex-start;flex-direction:column}.superadmin-owner-lock{width:100%}.users-grid-two,.users-permission-groups,.users-company-grid{grid-template-columns:1fr}.superadmin-content{padding:18px}.superadmin-form-grid{grid-template-columns:1fr}}
.admin-ref-account-switch-title{padding:8px 21px 4px;font-size:8px;font-weight:700;color:#92969a;text-transform:uppercase;letter-spacing:.06em}.admin-ref-account-switch-list{padding:0 12px 7px}.admin-ref-account-switch-list a{display:block;padding:7px 9px;border-radius:4px;color:#64696d;text-decoration:none;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-ref-account-switch-list a:hover,.admin-ref-account-switch-list a.is-active{background:#dfe1e5;color:#3e4347}
.empty-account-v112{min-height:calc(100vh - 56px);display:flex;align-items:center;justify-content:center;padding:30px;background:#f1f2f4}.empty-account-card{width:min(520px,100%);background:#fff;border:1px solid #e0e2e4;border-radius:10px;padding:42px;text-align:center;box-shadow:0 5px 18px rgba(0,0,0,.05)}.empty-account-icon{width:58px;height:58px;border-radius:50%;background:#fff4dc;color:#e39a18;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;font-size:24px}.empty-account-card h1{font-size:21px;font-weight:400;color:#454a4f;margin:0 0 8px}.empty-account-card p{font-size:11px;color:#858a8f;line-height:1.5;margin-bottom:20px}.empty-account-button{display:inline-flex!important;text-decoration:none}.empty-account-card small{font-size:9px;color:#9b9fa3}

/* v1.0.13 - identidade por e-mail, onboarding do Master e acabamento do Super Admin */
.superadmin-hero-cards{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;flex-wrap:wrap}.superadmin-current-context{min-width:260px;max-width:330px;background:#fff7e8;border:1px solid #f0c56f;border-radius:9px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center}.superadmin-current-context>span{font-size:7px;letter-spacing:.12em;color:#b5770a;font-weight:800}.superadmin-current-context>strong{font-size:12px;color:#454b50;margin-top:3px}.superadmin-current-context>small{font-size:8px;color:#8b8f93;margin-top:4px;line-height:1.35}.superadmin-table tr.is-current-account{background:#fffaf0;box-shadow:inset 3px 0 #f4a721}.superadmin-current-tag{display:inline-flex;margin-left:7px;padding:2px 6px;border-radius:9px;background:#fff0ce;border:1px solid #f2bd4c;color:#a86e00;font-size:7px;font-weight:800;vertical-align:middle}.superadmin-enter{height:29px;padding:0 12px;border-radius:5px;background:#f4a721;color:#383d41;box-shadow:0 1px 2px rgba(0,0,0,.08);font-size:8px;font-weight:800;letter-spacing:.02em}.superadmin-enter:hover{background:#e99b12;color:#25292c;transform:translateY(-1px)}.superadmin-more{position:relative}.superadmin-more>summary{list-style:none;width:29px;height:29px;border:1px solid #e2e4e6;background:#fff;border-radius:5px;color:#5d6267;display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;cursor:pointer}.superadmin-more>summary::-webkit-details-marker{display:none}.superadmin-more[open]>summary{background:#f0f2f3}.superadmin-more-menu{position:absolute;right:0;top:34px;z-index:50;width:190px;padding:5px;background:#fff;border:1px solid #dedfe1;border-radius:7px;box-shadow:0 8px 24px rgba(0,0,0,.13);display:flex;flex-direction:column}.superadmin-more-menu a,.superadmin-more-menu button{width:100%;min-height:30px;border:0;background:transparent;color:#4b5055;text-decoration:none;text-align:left;padding:7px 9px;border-radius:4px;font:inherit;font-size:9px;cursor:pointer}.superadmin-more-menu a:hover,.superadmin-more-menu button:hover{background:#f2f3f4}.superadmin-more-menu button.danger{color:#c33b3b}.superadmin-more-menu form{width:100%}.superadmin-field-help,.users-field-help{display:block;margin-top:5px;font-size:8px!important;line-height:1.35;color:#979b9f!important;font-weight:400!important}.superadmin-master-info{display:flex;gap:9px;align-items:flex-start;background:#f7f8f9;border:1px solid #e6e8ea;border-radius:7px;padding:9px 10px;margin:2px 0 11px}.superadmin-master-info>span{width:21px;height:21px;border-radius:50%;background:#f4a721;color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.superadmin-master-info>div{display:flex;flex-direction:column}.superadmin-master-info b{font-size:9px;color:#4c5156}.superadmin-master-info small{font-size:8px;color:#8d9296;line-height:1.4;margin-top:2px}.superadmin-audit-table tr[data-search]{transition:background .12s ease}.superadmin-audit-table tr[data-search]:hover{background:#fafbfc}.empty-account-v112 .empty-account-card p{max-width:570px;line-height:1.55}@media(max-width:1000px){.superadmin-hero{align-items:flex-start}.superadmin-hero-cards{width:100%;justify-content:flex-start}.superadmin-current-context{max-width:none;flex:1}.superadmin-more-menu{right:0}.superadmin-grid-panels{grid-template-columns:1fr}}
#clientes.superadmin-panel{overflow:visible}#clientes .admin-ref-table-wrap{overflow:visible}#clientes .superadmin-table{border-radius:0 0 9px 9px}

/* v1.0.15 - menu da conta, tema Claro/Escuro, Minha Conta e Mudar empresa */
.account-user-trigger{border:0;padding:0;cursor:pointer;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:transparent}.account-user-trigger img{width:100%;height:100%;object-fit:cover;display:block}.dash-ref-user-diamond.account-user-trigger{background:#2678b8}.gm-user-diamond.account-user-trigger{background:#2678b8}
.account-user-menu{position:fixed;right:14px;top:96px;width:302px;background:#e7e8ea;border:1px solid #c6c8ca;border-radius:3px;box-shadow:0 3px 8px rgba(0,0,0,.28);z-index:2200;display:none;color:#4d5155}.account-user-menu.show{display:block}.account-user-head{display:flex;gap:12px;align-items:flex-start;padding:16px 16px 13px}.account-user-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;background:#fff;flex:0 0 auto;display:flex;align-items:center;justify-content:center}.account-user-avatar img{width:100%;height:100%;object-fit:cover}.account-user-ident{display:flex;flex-direction:column;min-width:0;padding-top:1px}.account-user-ident strong{font-size:13px;line-height:1.28;color:#55595d;font-weight:700;white-space:normal}.account-user-ident small{font-size:10px;color:#7e8286;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-theme-toggle{margin:0 15px 8px;height:34px;display:grid;grid-template-columns:1fr 1fr;border:1px solid #c8cacc;border-radius:4px;overflow:hidden;background:#f0f1f2}.account-theme-toggle button{border:0;background:#f0f1f2;color:#4b4f53;font-size:13px;cursor:pointer}.account-theme-toggle button+button{border-left:1px solid #d0d2d4}.account-theme-toggle button.active{background:#f8aa27;color:#45494d}.account-theme-toggle button span{font-size:14px;margin-right:7px}.account-user-links{display:flex;flex-direction:column;border-top:1px solid #d4d5d7}.account-user-links a,.account-user-links button{height:44px;border:0;background:transparent;color:#55595d;text-decoration:none;padding:0 15px;display:flex;align-items:center;gap:11px;font-size:13px;text-align:left;cursor:pointer;font-family:inherit}.account-user-links a:hover,.account-user-links button:hover{background:#f4f4f5}.account-user-links span{width:15px;text-align:center;color:#5d6165;font-size:15px}.account-user-links a:last-child{border-top:1px solid #d4d5d7}
body.admin-has-alert .account-user-menu{top:132px}
.account-company-overlay,.account-password-overlay{position:fixed;inset:0;background:rgba(0,0,0,.66);z-index:2600;display:none;align-items:flex-start;justify-content:center;padding:52px 24px}.account-company-overlay.show,.account-password-overlay.show{display:flex}body.account-modal-open{overflow:hidden}.account-company-modal{width:min(1320px,calc(100vw - 48px));background:#fff;border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.42);overflow:hidden;margin-top:0}.account-company-head{min-height:70px;padding:15px 15px 13px;border-bottom:1px solid #e5e6e7;display:flex;align-items:flex-start;justify-content:space-between}.account-company-head h2{font-size:17px;font-weight:600;color:#4d5155;margin:0 0 4px}.account-company-head p{font-size:10px;color:#9a9da0;margin:0}.account-company-head p a{color:#8c8f92}.account-company-head>button{border:0;background:transparent;color:#c8c8c8;font-size:21px;line-height:1;cursor:pointer}.account-company-body{padding:14px 15px 0}.account-company-search{height:35px;border:1px solid #e9a72c;border-radius:4px;background:#eceeef;display:flex;align-items:center;padding:0 9px;margin-bottom:13px}.account-company-search span{font-size:19px;color:#7e8387;margin-right:6px}.account-company-search input{flex:1;border:0;background:transparent;outline:0;font-size:13px;color:#53585d}.account-company-table-wrap{min-height:135px;overflow:auto}.account-company-table{width:100%;border-collapse:collapse;font-size:11px;color:#50555a}.account-company-table th{height:36px;text-align:left;border-bottom:1px solid #e6e7e8;font-size:9px;color:#5e6266;font-weight:700;padding:0 10px}.account-company-table td{height:48px;border-bottom:1px solid #e7e8e9;padding:6px 10px}.account-company-table tbody tr:nth-child(even){background:#f3f3f4}.account-company-table td:first-child{width:33%}.account-company-table td:first-child strong{display:block;font-size:11px;font-weight:500}.account-company-table td:first-child small{display:block;color:#9da0a3;font-size:9px;margin-top:2px}.account-company-table td:last-child{text-align:right;width:120px}.account-company-cert{color:#e8d72b;font-weight:700}.account-company-selected{display:inline-flex;height:31px;align-items:center;padding:0 12px;border-radius:4px;background:#64c766;color:#fff;font-weight:700;font-size:9px}.account-company-select{height:31px;border:1px solid #aeb1b4;border-radius:4px;background:#e2e3e4;color:#454a4e;font-size:9px;padding:0 12px;cursor:pointer}.account-company-empty{text-align:center;color:#999}.account-company-pagination{height:70px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#929598;font-size:11px;padding:0 7px}.account-company-pages{display:flex;align-items:center}.account-company-pages button,.account-company-pages b{width:35px;height:34px;border:0;display:flex;align-items:center;justify-content:center;font-weight:400}.account-company-pages button{background:#eceeef;color:#c8cacb;font-size:20px;cursor:pointer}.account-company-pages button:disabled{opacity:.45;cursor:default}.account-company-pages b{background:#f7aa26;color:#fff}.account-company-pagination label{justify-self:end;display:flex;align-items:center;gap:7px}.account-company-pagination select{height:31px;border:0;border-radius:4px;background:#e9eaeb;color:#5e6266;padding:0 9px}.account-company-footer{height:67px;border-top:1px solid #e4e5e6;display:flex;align-items:center;justify-content:flex-end;padding:0 15px}.account-company-footer button{height:35px;border:1px solid #c7c9cb;border-radius:5px;background:#ededee;color:#4d5155;padding:0 14px;cursor:pointer}
.account-page{background:#e6e7e9}.account-page-main{min-height:calc(100vh - 58px);display:grid;grid-template-columns:250px 1fr;background:#e6e7e9;padding-top:10px}.account-left-nav{padding:0 14px}.account-left-nav a{height:44px;background:#fff;color:#4d5155;text-decoration:none;display:flex;align-items:center;gap:10px;padding:0 13px;font-size:12px}.account-left-nav a span{width:14px;text-align:center}.account-content{padding:0 36px 60px 4px}.account-title h1{font-size:18px;margin:5px 0 5px;color:#42474c}.account-title p{font-size:10px;color:#999da1;margin:0 0 28px}.account-form-photo-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:85px}.account-profile-form label{display:block;font-size:11px;font-weight:600;color:#686d72;margin-bottom:14px}.account-profile-form input{display:block;width:100%;height:35px;border:0;background:#f5f6f6;border-radius:4px;margin-top:7px;padding:0 12px;color:#697076;font-size:11px;outline:0}.account-profile-form input[readonly]{color:#8d9297}.account-autosave-row{height:20px;display:flex;align-items:center;gap:10px;margin-top:-6px}.account-small-save{height:27px;border:0;border-radius:4px;background:#f0a524;color:#fff;font-size:9px;padding:0 9px;cursor:pointer}.account-autosave-row span{font-size:9px;color:#47a66b}.account-password-section{border-top:1px solid #d7d9db;margin-top:15px;padding-top:14px}.account-password-section h2{font-size:17px;color:#3f4449;margin:0 0 26px}.account-orange-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:0;border-radius:4px;background:#f5a623;color:#4d5155;text-decoration:none;padding:0 13px;font-size:11px;cursor:pointer}.account-photo-panel{text-align:center;padding-top:0}.account-photo-panel h3{font-size:12px;color:#3f4449;margin:4px 0 22px}.account-photo-circle{width:128px;height:128px;border-radius:50%;overflow:hidden;background:#f6f6f6;margin:0 auto;display:flex!important;align-items:center;justify-content:center;cursor:pointer}.account-photo-circle img{width:100%;height:100%;object-fit:cover}.account-photo-circle input{display:none}.account-photo-panel p{font-size:10px;color:#9a9ea2;line-height:1.45;margin-top:11px}.account-password-modal{width:min(440px,calc(100vw - 40px));background:#fff;border-radius:10px;box-shadow:0 15px 44px rgba(0,0,0,.4);padding:20px;position:relative;margin-top:90px}.account-password-modal h2{font-size:17px;color:#44494e;margin:0 0 18px}.account-password-modal label{display:block;font-size:10px;font-weight:600;color:#666b70;margin-bottom:11px}.account-password-modal input{width:100%;height:36px;border:1px solid #d9dbdd;border-radius:4px;margin-top:5px;padding:0 9px}.account-password-x{position:absolute;right:11px;top:8px;border:0;background:transparent;color:#aaa;font-size:20px;cursor:pointer}.account-password-modal>div:last-child{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.account-password-modal>div:last-child button{height:34px;border:1px solid #c7c9cb;border-radius:4px;background:#eee;color:#50555a;padding:0 12px;cursor:pointer}.account-password-modal>div:last-child button.primary{background:#f5a623;border-color:#f5a623}.account-password-message{font-size:10px;min-height:16px}.account-password-message.error{color:#b64444}.account-password-message.ok{color:#2d9b5e}.account-simple-main{padding:35px 55px;min-height:calc(100vh - 58px);background:#e6e7e9}.account-simple-main h1{font-size:21px;color:#43484d;margin:0 0 6px}.account-simple-main>p{font-size:11px;color:#92969a}.account-settings-card{max-width:720px;background:#fff;border:1px solid #dfe1e3;border-radius:7px;padding:18px;margin-top:18px}.account-settings-card h2{font-size:15px;color:#4a4f54;margin:0 0 4px}.account-settings-card p{font-size:10px;color:#8e9397}.account-theme-toggle.inline{margin:14px 0 0;max-width:320px}.tutorials-card .account-orange-button{margin-top:9px}
/* Tema escuro inspirado no vídeo de referência */
body.theme-dark{background:#303236!important;color:#f2f2f2}.theme-dark .dash-ref-app,.theme-dark .gm-app,.theme-dark .admin-ref-main,.theme-dark .dash-ref-main,.theme-dark .gm-main,.theme-dark .account-page-main,.theme-dark .account-simple-main,.theme-dark .empty-account-v112,.theme-dark .no-access-v112{background:#303236!important;color:#f2f2f2}.theme-dark .dash-ref-header,.theme-dark .gm-header,.theme-dark .admin-ref-header{background:#1d1f21!important;border-color:#36383a!important;color:#f2f2f2}.theme-dark .dash-ref-brand,.theme-dark .gm-brand,.theme-dark .dash-ref-header-right,.theme-dark .gm-header-right,.theme-dark .admin-ref-company-head,.theme-dark .dash-ref-hamburger,.theme-dark .gm-hamburger{color:#f0f0f0!important}.theme-dark .gm-toolbar,.theme-dark .gm-filters,.theme-dark .gm-filter-area,.theme-dark .gm-actions-row,.theme-dark .dash-ref-card,.theme-dark .dash-ref-panel,.theme-dark .admin-ref-card,.theme-dark .admin-ref-panel,.theme-dark .superadmin-panel,.theme-dark .superadmin-stat,.theme-dark .superadmin-owner-lock,.theme-dark .superadmin-current-context,.theme-dark .empty-account-card,.theme-dark .no-access-v112>div,.theme-dark .account-settings-card{background:#36383c!important;border-color:#44474a!important;color:#f2f2f2!important}.theme-dark .gm-title,.theme-dark .gm-main h1,.theme-dark .dash-ref-main h1,.theme-dark .admin-ref-main h1,.theme-dark .account-title h1,.theme-dark .account-password-section h2,.theme-dark .account-photo-panel h3,.theme-dark .account-simple-main h1,.theme-dark .account-settings-card h2,.theme-dark .superadmin-hero h1{color:#fff!important}.theme-dark .gm-notes-table,.theme-dark .notes-table,.theme-dark .admin-ref-table,.theme-dark .superadmin-table{background:#34363a!important;color:#f2f2f2!important}.theme-dark .gm-notes-table th,.theme-dark .gm-notes-table td,.theme-dark .notes-table th,.theme-dark .notes-table td,.theme-dark .admin-ref-table th,.theme-dark .admin-ref-table td,.theme-dark .superadmin-table th,.theme-dark .superadmin-table td{border-color:#474a4e!important;color:#f1f1f1!important}.theme-dark .gm-notes-table tbody tr,.theme-dark .notes-table tbody tr,.theme-dark .admin-ref-table tbody tr,.theme-dark .superadmin-table tbody tr{background:#34363a!important}.theme-dark .gm-notes-table tbody tr:hover,.theme-dark .notes-table tbody tr:hover,.theme-dark .admin-ref-table tbody tr:hover,.theme-dark .superadmin-table tbody tr:hover{background:#3b3e42!important}.theme-dark .gm-notes-table small,.theme-dark .notes-table small,.theme-dark .admin-ref-table small,.theme-dark .superadmin-table small,.theme-dark .account-title p,.theme-dark .account-photo-panel p,.theme-dark .account-simple-main>p,.theme-dark .account-settings-card p{color:#aeb2b6!important}.theme-dark input,.theme-dark select,.theme-dark textarea,.theme-dark .gm-search,.theme-dark .gm-date-box,.theme-dark .admin-ref-search{background:#414449!important;border-color:#55585c!important;color:#f4f4f4!important}.theme-dark input::placeholder,.theme-dark textarea::placeholder{color:#a8acb0!important}.theme-dark .dropdown-panel,.theme-dark .row-menu,.theme-dark .gm-floating-panel,.theme-dark .admin-ref-sidebar{background:#25272a!important;border-color:#44474a!important;color:#f4f4f4!important}.theme-dark .account-user-menu{background:#2d2f32;border-color:#494c50;color:#f1f1f1}.theme-dark .account-user-ident strong,.theme-dark .account-user-ident small,.theme-dark .account-user-links a,.theme-dark .account-user-links button,.theme-dark .account-user-links span{color:#ededed}.theme-dark .account-user-links,.theme-dark .account-user-links a:last-child{border-color:#484b4e}.theme-dark .account-user-links a:hover,.theme-dark .account-user-links button:hover{background:#3a3d40}.theme-dark .account-theme-toggle{border-color:#4d5054;background:#393c40}.theme-dark .account-theme-toggle button{background:#393c40;color:#f0f0f0}.theme-dark .account-theme-toggle button.active{background:#f6a623;color:#303236}.theme-dark .account-left-nav a{background:#3b3d41;color:#fff}.theme-dark .account-profile-form label{color:#e5e5e5}.theme-dark .account-profile-form input{background:#414449;color:#e9e9e9}.theme-dark .account-password-section{border-color:#4a4d50}.theme-dark .account-company-modal,.theme-dark .account-password-modal{background:#333539;color:#f2f2f2}.theme-dark .account-company-head,.theme-dark .account-company-footer,.theme-dark .account-company-table th,.theme-dark .account-company-table td{border-color:#494c50}.theme-dark .account-company-head h2,.theme-dark .account-password-modal h2,.theme-dark .account-password-modal label{color:#f0f0f0}.theme-dark .account-company-search,.theme-dark .account-company-pagination select{background:#414449}.theme-dark .account-company-table{color:#f0f0f0}.theme-dark .account-company-table tbody tr:nth-child(even){background:#393b3f}.theme-dark .account-company-select,.theme-dark .account-company-footer button{background:#45484c;color:#fff;border-color:#606367}.theme-dark .account-password-modal input{background:#414449;color:#fff;border-color:#55585c}.theme-dark .gm-btn,.theme-dark .admin-ref-btn{color:#f6f6f6}.theme-dark .gm-detail-row>td{background:#303236!important}.theme-dark .purpose-table,.theme-dark .purpose-table th,.theme-dark .purpose-table td{background:#34363a!important;color:#eee!important;border-color:#4a4d51!important}
@media(max-width:900px){.account-user-menu{right:8px;width:min(302px,calc(100vw - 16px))}.account-company-overlay{padding:20px 10px}.account-company-modal{width:100%}.account-company-pagination{grid-template-columns:1fr;gap:8px;height:auto;padding:12px}.account-company-pagination label{justify-self:start}.account-form-photo-grid{grid-template-columns:1fr;gap:25px}.account-page-main{grid-template-columns:1fr}.account-left-nav{padding:10px 14px}.account-content{padding:10px 18px 45px}.account-photo-panel{order:-1}.account-simple-main{padding:24px 18px}}

/* v1.0.15 - fidelidade visual do menu, Minha Conta, Mudar Empresa e modo escuro */
.account-user-menu{width:302px;border-radius:3px;box-shadow:0 3px 9px rgba(0,0,0,.30)}
.account-user-head{min-height:92px;padding:18px 16px 15px;align-items:flex-start}
.account-user-avatar{width:42px;height:42px}
.account-user-ident{padding-top:0}
.account-user-ident strong{font-size:13px;line-height:1.35;letter-spacing:.01em}
.account-user-ident small{font-size:10px;margin-top:3px}
.account-theme-toggle{height:35px;margin:0 15px 7px}
.account-theme-toggle button{font-size:13px}
.account-user-links a,.account-user-links button{height:44px;font-size:13px}
.account-user-links span{font-size:14px}

.account-page-main{grid-template-columns:250px 1fr;padding-top:10px}
.account-content{padding:0 40px 60px 4px}
.account-title h1{font-size:18px;margin-top:5px}
.account-title p{margin-bottom:31px}
.account-form-photo-grid{grid-template-columns:minmax(0,1fr) 360px;gap:86px}
.account-profile-form input{height:34px;background:#f6f7f8}
.account-autosave-row{height:12px;margin-top:-8px}
.account-autosave-row span{font-size:9px;min-height:12px}
.account-autosave-row span:empty{display:none}
.account-autosave-row span.saving{color:#8c9094}
.account-autosave-row span.ok{color:#47a66b}
.account-autosave-row span.error{color:#bb4a4a}
.account-password-section{margin-top:16px;padding-top:15px}
.account-password-section h2{font-size:17px;margin-bottom:27px}
.account-photo-panel h3{margin-top:3px;margin-bottom:21px}
.account-photo-circle{width:128px;height:128px;box-shadow:0 0 0 1px rgba(0,0,0,.03)}
.account-photo-panel p{margin-top:12px}

.account-company-overlay{padding-top:54px}
.account-company-modal{width:min(1320px,calc(100vw - 48px));min-height:440px}
.account-company-head{min-height:71px;padding:15px 15px 13px}
.account-company-body{padding:14px 15px 0}
.account-company-search{margin-bottom:14px}
.account-company-table-wrap{min-height:180px}
.account-company-table th{height:36px;padding:0 10px}
.account-company-table td{height:48px;padding:6px 10px}
.account-company-table tbody tr:nth-child(even){background:#f2f2f3}
.account-company-pagination{height:69px;padding:0 7px}
.account-company-footer{height:66px}
.account-company-sort{border:0;background:transparent;color:#5e6266;font:inherit;font-weight:700;padding:0;display:inline-flex;align-items:center;gap:7px;cursor:pointer;text-align:left}
.account-company-sort-icon{font-size:8px;color:#d0d2d4;line-height:1}
.account-company-sort.active .account-company-sort-icon{color:#8d9296}
.account-company-sort:hover{color:#3f4448}
.account-company-sort:hover .account-company-sort-icon{color:#9ca0a4}

/* O modal de troca de empresa permanece claro, como no sistema de referência, mesmo quando o tema está escuro. */
.theme-dark .account-company-modal{background:#fff!important;color:#50555a!important}
.theme-dark .account-company-head,.theme-dark .account-company-footer,.theme-dark .account-company-table th,.theme-dark .account-company-table td{border-color:#e5e6e7!important}
.theme-dark .account-company-head h2{color:#4d5155!important}
.theme-dark .account-company-head p{color:#9a9da0!important}
.theme-dark .account-company-head p a{color:#8c8f92!important}
.theme-dark .account-company-search{background:#eceeef!important;border-color:#e9a72c!important}
.theme-dark .account-company-search input{background:transparent!important;color:#53585d!important}
.theme-dark .account-company-table{background:#fff!important;color:#50555a!important}
.theme-dark .account-company-table th,.theme-dark .account-company-table td{background:transparent!important;color:#50555a!important}
.theme-dark .account-company-table tbody tr:nth-child(even){background:#f2f2f3!important}
.theme-dark .account-company-table td:first-child small{color:#9da0a3!important}
.theme-dark .account-company-sort{color:#5e6266!important}
.theme-dark .account-company-pagination{color:#929598!important}
.theme-dark .account-company-pagination select{background:#e9eaeb!important;color:#5e6266!important}
.theme-dark .account-company-select,.theme-dark .account-company-footer button{background:#ededee!important;color:#4d5155!important;border-color:#c7c9cb!important}

/* Manifestação em tema escuro: todos os blocos, tabela, filtros e popovers acompanham o tema. */
.theme-dark .gm-app{background:#2f3134!important}
.theme-dark .gm-global-header{background:#1d1f21!important;border-color:#383b3f!important;color:#f3f3f3!important}
.theme-dark .gm-header-right,.theme-dark .gm-header-right strong,.theme-dark .gm-brand-mark,.theme-dark .gm-brand-mark b,.theme-dark .gm-brand-mark span,.theme-dark .gm-icon-plain,.theme-dark .gm-head-icon{color:#f1f1f1!important}
.theme-dark .gm-main{background:#2f3134!important}
.theme-dark .gm-title-row h1{color:#f1f1f1!important}
.theme-dark .gm-actions-row,.theme-dark .gm-toolbar{background:transparent!important}
.theme-dark .gm-nav-btn{color:#f1f1f1!important}
.theme-dark .gm-search-wrap{background:#414449!important}
.theme-dark .gm-search-wrap input{background:transparent!important;color:#f1f1f1!important}
.theme-dark .gm-search-icon{color:#aeb2b6!important}
.theme-dark .gm-date-range,.theme-dark .gm-toolbar-btn{background:#414449!important;border-color:#56595d!important;color:#f1f1f1!important}
.theme-dark .gm-date-range:hover,.theme-dark .gm-toolbar-btn:hover{background:#4a4d51!important}
.theme-dark .gm-table-shell{background:#34363a!important;border-color:#474a4e!important}
.theme-dark .gm-notes-table{background:#34363a!important;color:#f0f0f0!important}
.theme-dark .gm-notes-table th{background:#34363a!important;color:#dfe1e3!important;border-color:#4b4e52!important}
.theme-dark .gm-notes-table td{background:#34363a!important;color:#f0f0f0!important;border-color:#474a4e!important}
.theme-dark .gm-note-row:hover td{background:#3b3e42!important}
.theme-dark .gm-note-row.is-return td,.theme-dark .gm-note-row.is-return a,.theme-dark .gm-note-row.is-return strong{color:#ee7274!important}
.theme-dark .gm-doc-link,.theme-dark .gm-doc-link-btn,.theme-dark .gm-issuer strong,.theme-dark .gm-money{color:#f1f1f1!important}
.theme-dark .gm-issuer small{color:#aeb2b6!important}
.theme-dark .gm-expand-btn,.theme-dark .gm-action-icon{color:#d9dde0!important}
.theme-dark .gm-action-icon:hover{background:#4a4d51!important}
.theme-dark .gm-status{background:transparent!important}
.theme-dark .gm-status.science{border-color:#24c8e3!important;color:#24c8e3!important}
.theme-dark .gm-status.confirmed{border-color:#41d17a!important;color:#41d17a!important}.theme-dark .gm-status.none{border-color:#7f8a94!important;color:#aab2b9!important;background:rgba(255,255,255,.03)!important}.theme-dark .gm-status.unknown{border-color:#d99a3e!important;color:#e0ad61!important}.theme-dark .gm-status.not-realized{border-color:#d97575!important;color:#e18a8a!important}
.theme-dark .gm-detail-row td,.theme-dark .gm-item-detail{background:#2b2d30!important}
.theme-dark .gm-item-table th,.theme-dark .gm-item-table td{color:#e4e6e8!important}
.theme-dark .gm-popover,.theme-dark .gm-floating-panel,.theme-dark .gm-multi-list,.theme-dark .gm-row-menu{background:#292b2e!important;border-color:#4c4f53!important;color:#f0f0f0!important}
.theme-dark .gm-options-popover button,.theme-dark .gm-row-menu button,.theme-dark .gm-row-menu a{background:#292b2e!important;color:#efefef!important}
.theme-dark .gm-options-popover button:hover,.theme-dark .gm-row-menu button:hover,.theme-dark .gm-row-menu a:hover{background:#3a3d40!important}
.theme-dark .gm-filter-group>label,.theme-dark .gm-date-inputs label{color:#d7dadd!important}
.theme-dark .gm-multi-control,.theme-dark .gm-date-inputs input{background:#414449!important;border-color:#56595d!important;color:#f1f1f1!important}
.theme-dark .gm-multi-list label:hover{background:#3a3d40!important}
.theme-dark .gm-quick-dates button{background:#3c3f43!important;border-color:#56595d!important;color:#eee!important}
.theme-dark .gm-date-help{color:#aeb2b6!important}
.theme-dark .gm-empty{background:#34363a!important;color:#aeb2b6!important}
.theme-dark .gm-sort-icon{color:#aeb2b6!important}

/* Cabeçalhos e áreas administrativas no tema escuro. */
.theme-dark .dash-ref-header,.theme-dark .admin-ref-header{background:#1d1f21!important;border-color:#383b3f!important}
.theme-dark .admin-ref-pagehead,.theme-dark .admin-ref-list-area{background:#303236!important;border-color:#45484c!important}
.theme-dark .admin-ref-pagehead h1,.theme-dark .admin-ref-back,.theme-dark .admin-ref-filter-btn{color:#f1f1f1!important}
.theme-dark .admin-ref-table th,.theme-dark .admin-ref-table td{background:#34363a!important;color:#f1f1f1!important}
.theme-dark .admin-ref-table td strong{color:#f4f4f4!important}
.theme-dark .admin-ref-table td small{color:#aeb2b6!important}

@media(max-width:900px){
  .account-company-overlay{padding-top:20px}
  .account-company-modal{min-height:0}
  .account-company-table-wrap{min-height:135px}
}

/* v1.0.17 - seletor de aplicativos estilo Gestão Manifesto */
.app-launcher-trigger{border:0;background:transparent;padding:0;font:inherit;cursor:pointer;color:inherit}
.app-launcher-trigger:hover{color:#1c73b8}
.app-launcher-menu{position:fixed;z-index:2300;display:none;width:174px;min-height:118px;padding:13px;background:#eef0f1;border:1px solid #c9cccf;border-radius:3px;box-shadow:0 4px 12px rgba(0,0,0,.24);color:#4d5257}
.app-launcher-menu.show{display:block}
.app-launcher-item{height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;text-decoration:none;color:#50555a;border-radius:3px;border:1px solid transparent;background:transparent;font-size:10px;line-height:1.25;letter-spacing:.01em}
.app-launcher-item:hover,.app-launcher-item:focus-visible{background:#fff;border-color:#dadcdf;outline:none}
.app-launcher-brand{position:relative;width:46px;height:31px;display:block}
.app-launcher-brand-left,.app-launcher-brand-right{position:absolute;top:2px;width:17px;height:27px;transform:skewY(-31deg);border-radius:1px}
.app-launcher-brand-left{left:5px;background:#2d789e;clip-path:polygon(0 0,100% 25%,100% 100%,0 76%)}
.app-launcher-brand-right{right:5px;background:#f0a32b;clip-path:polygon(0 25%,100% 0,100% 76%,0 100%)}
.theme-dark .app-launcher-menu{background:#2d2f32;border-color:#494c50;color:#f1f1f1}
.theme-dark .app-launcher-item{color:#ededed}
.theme-dark .app-launcher-item:hover,.theme-dark .app-launcher-item:focus-visible{background:#3a3d40;border-color:#55585c}
@media(max-width:760px){.app-launcher-menu{width:164px;padding:10px}.app-launcher-item{height:86px}}


/* v1.0.19 - troca de empresa pelo nome no cabecalho da Manifestacao */
.gm-company-switch{border:0;background:transparent;padding:0;margin:0;color:#26374b;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;text-align:left}
.gm-company-switch:hover{text-decoration:underline;text-underline-offset:2px}
.gm-company-switch:focus-visible{outline:2px solid #f5a623;outline-offset:4px;border-radius:2px}
.theme-dark .gm-company-switch{color:#f1f1f1!important}


/* v1.0.20 - busca pesquisável e catálogo administrável de finalidades */
.gm-purpose-select-wrap{position:relative;width:250px}
.gm-purpose-combo{position:relative;width:100%}
.gm-purpose-combo-trigger{width:100%;height:32px;border:1px solid #d1b464;border-radius:4px;background:#fff;color:#687078;padding:0 8px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;text-align:left;cursor:pointer}
.gm-purpose-combo-trigger:hover,.gm-purpose-combo.open .gm-purpose-combo-trigger{border-color:#dfa31f;box-shadow:0 0 0 1px rgba(223,163,31,.12)}
.gm-purpose-combo-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.gm-purpose-combo-icons{display:flex;align-items:center;gap:6px;color:#84898e}
.gm-purpose-combo-icons i{display:none;font-style:normal;font-size:14px;line-height:1;padding:0 2px}
.gm-purpose-combo-icons i.show{display:inline-block}
.gm-purpose-combo-menu{position:absolute;z-index:1200;top:35px;left:0;right:0;background:#fff;border:1px solid #d5d8dc;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.16);padding:5px;display:none}
.gm-purpose-combo.open .gm-purpose-combo-menu{display:block}
.gm-purpose-combo-search{height:30px;border:1px solid #d9c07d;border-radius:3px;display:flex;align-items:center;gap:5px;padding:0 7px;margin-bottom:5px;background:#fff}
.gm-purpose-combo-search span{font-size:12px;color:#8c9195}.gm-purpose-combo-search input{border:0!important;height:27px!important;outline:0;width:100%;padding:0!important;background:transparent;font-size:10px}
.gm-purpose-combo-options{max-height:220px;overflow:auto}
.gm-purpose-option{width:100%;min-height:28px;border:0;background:#fff;color:#545b61;text-align:left;padding:6px 8px;font-size:9px;cursor:pointer;border-radius:2px}
.gm-purpose-option:hover,.gm-purpose-option.active{background:#dce8f8;color:#304b6a}
.gm-purpose-no-results{padding:11px 8px;color:#979ca0;font-size:9px;text-align:center}
.superadmin-purpose-add{display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(210px,1fr) auto;gap:8px;padding:13px 15px;border-bottom:1px solid #eceeef;align-items:end}
.superadmin-purpose-add label{font-size:8px;font-weight:700;color:#747a80;letter-spacing:.04em}.superadmin-purpose-add input,.superadmin-purpose-add select{width:100%;height:34px;border:1px solid #dfe2e5;border-radius:4px;background:#f7f8f9;padding:0 9px;margin-top:4px;font-size:10px;color:#555b60;outline:none}.superadmin-purpose-add button{height:34px;border:0;border-radius:4px;background:#f4a721;color:#4a4e52;font-size:9px;font-weight:700;padding:0 13px;white-space:nowrap}
.superadmin-purpose-tools{display:flex;align-items:center;gap:8px}.superadmin-purpose-note{font-size:8px;color:#989da1;max-width:420px;line-height:1.4}.superadmin-purpose-wrap{max-height:440px;overflow:auto}.superadmin-purpose-table{min-width:860px}.superadmin-purpose-edit{display:flex;align-items:center;gap:5px;margin:0}.superadmin-purpose-edit input{width:min(360px,100%);height:29px;border:1px solid #e0e3e5;border-radius:4px;background:#f8f9fa;padding:0 8px;font-size:9px;color:#555b60}.superadmin-purpose-edit button,.superadmin-purpose-toggle{height:28px;border:1px solid #dde0e2;border-radius:4px;background:#fff;color:#5f666b;font-size:8px;font-weight:700;padding:0 9px;cursor:pointer}.superadmin-purpose-edit button:hover{border-color:#e4a129;color:#ad7111}.superadmin-purpose-toggle.off{border-color:#f0c3c3;color:#b24c4c}.superadmin-purpose-toggle.on{border-color:#a7d8b7;color:#258c4e}.superadmin-purpose-scope{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:11px;background:#eef1f3;color:#656b70;font-size:8px}.superadmin-purpose-scope.client{background:#eef5ff;color:#426d9a}.superadmin-purpose-search{width:230px}
.theme-dark .gm-purpose-combo-trigger,.theme-dark .gm-purpose-combo-menu,.theme-dark .gm-purpose-combo-search,.theme-dark .gm-purpose-option{background:#2d2f32!important;border-color:#55585c!important;color:#f1f1f1!important}.theme-dark .gm-purpose-option:hover,.theme-dark .gm-purpose-option.active{background:#3d4b5d!important}.theme-dark .gm-purpose-combo-search input{color:#f1f1f1!important}.theme-dark .superadmin-purpose-add input,.theme-dark .superadmin-purpose-add select,.theme-dark .superadmin-purpose-edit input{background:#414449!important;border-color:#56595d!important;color:#f1f1f1!important}.theme-dark .superadmin-purpose-toggle,.theme-dark .superadmin-purpose-edit button{background:#34363a!important;color:#eee!important;border-color:#56595d!important}
@media(max-width:820px){.superadmin-purpose-add{grid-template-columns:1fr}.superadmin-purpose-add button{width:100%}.gm-purpose-general{flex-direction:column}.gm-purpose-select-wrap{width:100%}}


/* v1.0.23 - status persistente da última consulta SEFAZ na tela de Manifestação */
.gm-sefaz-status{margin:10px 0 13px;display:flex;align-items:stretch;justify-content:space-between;gap:18px;border:1px solid #d9dde1;border-left:4px solid #8a949d;border-radius:5px;background:#fff;padding:10px 13px;color:#4d555c;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.gm-sefaz-status.ok{border-left-color:#35a56a;background:#fbfffc}.gm-sefaz-status.warn{border-left-color:#d9534f;background:#fffafa}.gm-sefaz-status.idle{border-left-color:#e5a323;background:#fffdf8}
.gm-sefaz-status-main{min-width:300px;display:flex;align-items:flex-start;gap:9px;flex:1}.gm-sefaz-status-dot{width:9px;height:9px;border-radius:50%;background:#8a949d;margin-top:4px;flex:0 0 auto}.gm-sefaz-status.ok .gm-sefaz-status-dot{background:#35a56a}.gm-sefaz-status.warn .gm-sefaz-status-dot{background:#d9534f}.gm-sefaz-status.idle .gm-sefaz-status-dot{background:#e5a323}
.gm-sefaz-status-label{display:block;font-size:8px;font-weight:700;letter-spacing:.04em;color:#92999f;margin-bottom:2px}.gm-sefaz-status-main strong{display:block;font-size:11px;color:#3f474e;margin-bottom:2px}.gm-sefaz-status-main small{display:block;font-size:9px;line-height:1.35;color:#747c83;max-width:560px}
.gm-sefaz-status-grid{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));gap:5px 16px;min-width:390px}.gm-sefaz-status-grid div{display:flex;flex-direction:column;justify-content:center}.gm-sefaz-status-grid span{font-size:8px;color:#979da2}.gm-sefaz-status-grid b{font-size:9px;color:#4b5359;white-space:nowrap}.theme-dark .gm-sefaz-status{background:#303236!important;border-color:#4e5257!important;color:#eee}.theme-dark .gm-sefaz-status-main strong,.theme-dark .gm-sefaz-status-grid b{color:#f1f1f1}.theme-dark .gm-sefaz-status-main small,.theme-dark .gm-sefaz-status-grid span,.theme-dark .gm-sefaz-status-label{color:#b5bac0}
@media(max-width:980px){.gm-sefaz-status{flex-direction:column}.gm-sefaz-status-grid{min-width:0;width:100%}}@media(max-width:620px){.gm-sefaz-status-grid{grid-template-columns:1fr}.gm-sefaz-status-main{min-width:0}}

/* v1.0.24 - segurança de sincronização, contador, progresso e auditorias */
.gm-sync-countdown{display:inline-flex;align-items:center;min-height:28px;margin-left:7px;font-size:9px;color:#7d858c;white-space:nowrap}.gm-btn:disabled{opacity:.62;cursor:not-allowed;filter:saturate(.65)}
.gm-progress.gm-progress-determinate i{transform:none!important;animation:none!important;transition:width .28s ease;background:#f4a51f;min-width:0}.gm-sync-progress-text{margin-top:6px;font-size:9px;color:#737b82;font-weight:600}.gm-sync-stats{display:grid;grid-template-columns:1fr;gap:0}.gm-sync-stats div{border-bottom:1px solid #e1e4e6}.gm-sync-stats div:last-child{border-bottom:0}
.superadmin-monitor-wrap{max-height:430px;overflow:auto}.superadmin-monitor-table{min-width:1180px;font-size:9px}.superadmin-history-table{min-width:1320px;font-size:9px}.superadmin-monitor-table td,.superadmin-history-table td{vertical-align:middle}.superadmin-monitor-table small,.superadmin-history-table small{display:block;margin-top:2px;color:#92989e;font-size:8px;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.superadmin-sync-pill{display:inline-flex;align-items:center;min-height:22px;border-radius:12px;padding:0 8px;font-size:8px;font-weight:700;white-space:nowrap;background:#eef1f3;color:#677078}.superadmin-sync-pill.ok{background:#ecf8f0;color:#238a4c}.superadmin-sync-pill.waiting{background:#fff6df;color:#9b6a08}.superadmin-sync-pill.pending{background:#eaf3ff;color:#3c6f9f}.superadmin-sync-pill.blocked{background:#fff0f0;color:#b84343}.superadmin-sync-pill.never{background:#f0f1f3;color:#777d82}.superadmin-cstat{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:20px;border-radius:10px;background:#eef1f3;color:#60676d;font-size:8px;font-weight:700}.superadmin-cstat.ok{background:#ebf8ef;color:#24884c}.superadmin-cstat.warn{background:#fff0f0;color:#b84343}.superadmin-error-cell{max-width:260px;color:#b64b4b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-dark .gm-sync-countdown{color:#b8bdc2}.theme-dark .gm-sync-progress-text{color:#c1c5c9}.theme-dark .superadmin-sync-pill.never{background:#44474b;color:#ddd}.theme-dark .superadmin-sync-pill.pending{background:#31445a;color:#b8d8fa}.theme-dark .superadmin-sync-pill.waiting{background:#584a2b;color:#f2d68a}.theme-dark .superadmin-sync-pill.blocked{background:#5a3333;color:#f6bbbb}.theme-dark .superadmin-sync-pill.ok{background:#294938;color:#afe0c2}


/* v1.0.29 - liberação controlada de manifestações em produção */
.superadmin-manifest-warning{display:flex;flex-direction:column;gap:4px;padding:14px 16px;margin:0 0 14px;border:1px solid #f0c36d;border-radius:6px;background:#fff8e8}.superadmin-manifest-warning.enabled{border-color:#e38b8b;background:#fff0f0}.superadmin-manifest-warning strong{font-size:13px}.superadmin-manifest-warning small{color:#59636e}.superadmin-manifest-control{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.superadmin-manifest-control label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#56616c;min-width:280px}.superadmin-manifest-control input{height:38px;border:1px solid #cfd6dd;border-radius:4px;padding:0 10px;background:#fff}

/* v1.0.30 - status Sem Manifestação e Ciência Automática opt-in */

/* v1.0.32 - autoria da manifestação ao passar o mouse sobre o status */
.gm-status-wrap{display:inline-block;position:relative;vertical-align:middle}
.gm-status-tooltip{display:none;position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);z-index:1250;min-width:170px;max-width:280px;padding:7px 10px;border-radius:3px;background:#171c21;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.28);font-size:10px;line-height:1.35;text-align:center;white-space:nowrap;pointer-events:none}
.gm-status-tooltip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#171c21}
.gm-status-tooltip strong,.gm-status-tooltip span{display:block;font-weight:600}
.gm-status-tooltip span{margin-top:2px;font-weight:700}
.gm-status-wrap.has-tooltip:hover .gm-status-tooltip{display:block}
.theme-dark .gm-status-tooltip{background:#050708;color:#fff;border:1px solid #353b42}
.theme-dark .gm-status-tooltip::after{border-top-color:#050708}


/* v1.0.32 - faixa SEFAZ compacta com detalhes tecnicos expansivos para administradores */
.gm-sefaz-status{display:block!important;padding:0!important;overflow:hidden;gap:0!important}
.gm-sefaz-status-summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 13px}
.gm-sefaz-summary-left{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
.gm-sefaz-summary-copy{display:flex;align-items:baseline;gap:12px;min-width:0;flex-wrap:wrap}
.gm-sefaz-summary-copy>strong{font-size:11px;color:#3f474e;white-space:nowrap}
.gm-sefaz-compact-meta{font-size:9px;color:#7b848b;white-space:nowrap}.gm-sefaz-compact-meta b{font-size:9px;color:#535c63}.gm-sefaz-compact-meta i{font-style:normal;margin:0 4px;color:#a4abb0}
.gm-sefaz-summary-warning{width:100%;font-size:9px;color:#ad4d49;margin-top:-6px}
.gm-sefaz-details-toggle{border:1px solid #cfd5d9;background:#fff;color:#626b72;border-radius:4px;padding:6px 10px;font-size:9px;font-weight:600;cursor:pointer;white-space:nowrap}.gm-sefaz-details-toggle:hover{background:#f4f6f7;color:#394148}
.gm-sefaz-details{border-top:1px solid #e5e8ea;padding:9px 13px 11px;display:flex;align-items:stretch;justify-content:space-between;gap:18px;background:rgba(255,255,255,.58)}.gm-sefaz-details[hidden]{display:none!important}
.gm-sefaz-details .gm-sefaz-status-main{min-width:280px}.gm-sefaz-details .gm-sefaz-status-grid{min-width:390px}
.theme-dark .gm-sefaz-summary-copy>strong,.theme-dark .gm-sefaz-compact-meta b{color:#f1f1f1}.theme-dark .gm-sefaz-compact-meta{color:#b5bac0}.theme-dark .gm-sefaz-details-toggle{background:#36393d;border-color:#555b61;color:#eee}.theme-dark .gm-sefaz-details-toggle:hover{background:#41454a}.theme-dark .gm-sefaz-details{border-top-color:#4e5257;background:rgba(0,0,0,.08)}
@media(max-width:980px){.gm-sefaz-status-summary{align-items:flex-start}.gm-sefaz-summary-copy{display:block}.gm-sefaz-compact-meta{display:block;margin-top:2px}.gm-sefaz-details{flex-direction:column}.gm-sefaz-details .gm-sefaz-status-grid{min-width:0;width:100%}}
@media(max-width:620px){.gm-sefaz-status-summary{gap:8px}.gm-sefaz-summary-copy>strong,.gm-sefaz-compact-meta{white-space:normal}.gm-sefaz-details-toggle{padding:5px 7px}}


/* v1.0.33 - NFS-e Nacional (ADN) integrada à mesma tela da NF-e */
.gm-note-row.is-nfse td{background:linear-gradient(90deg,rgba(33,126,167,.025),rgba(33,126,167,.01))}
.gm-info-dot.nfse{background:#e8f4fa;color:#1d6e93;border:1px solid #b7dbe9;font-weight:800;font-size:8px}
.gm-status.nfse-status{border-color:#4e9cbd;color:#277899;background:#f5fbfe}
.gm-action-icon.nfse-view{color:#277899}
.gm-nfse-modal{max-width:1100px}
.gm-sync-summary-modal{width:min(520px,calc(100vw - 28px));max-width:520px}
.gm-sync-summary-sub{margin:-4px 0 12px;color:#7c858d;font-size:10px}
.gm-sync-summary-list{border:1px solid #dde2e5;border-radius:5px;overflow:hidden}
.gm-sync-summary-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px;padding:7px 11px;border-bottom:1px solid #e8ebed;background:#fff}
.gm-sync-summary-list>div:last-child{border-bottom:0}
.gm-sync-summary-list span{font-size:10px;color:#59636b}.gm-sync-summary-list b{font-size:12px;color:#2c3c48}
.gm-sync-summary-list .total{background:#f4f7f8}.gm-sync-summary-list .total span,.gm-sync-summary-list .total b{font-weight:800;color:#263846}
.gm-sync-summary-warnings{margin-top:10px;padding:8px 10px;border:1px solid #efca85;border-radius:4px;background:#fff9eb;color:#7a5c20;font-size:9px;line-height:1.45}
.theme-dark .gm-note-row.is-nfse td{background:#343a3e!important}
.theme-dark .gm-info-dot.nfse{background:#274858;color:#a9d9eb;border-color:#426d7f}
.theme-dark .gm-status.nfse-status{border-color:#59a8c8!important;color:#83c4de!important;background:rgba(64,148,184,.08)!important}
.theme-dark .gm-sync-summary-list{border-color:#4d5155}.theme-dark .gm-sync-summary-list>div{background:#303236;border-color:#484c50}.theme-dark .gm-sync-summary-list .total{background:#383b3f}.theme-dark .gm-sync-summary-list span,.theme-dark .gm-sync-summary-list b{color:#e7e9eb}.theme-dark .gm-sync-summary-warnings{background:#54492f;border-color:#765f2d;color:#f1daa5}


/* v1.0.34 - DANFSe v2.0 no mesmo modelo visual do sistema de referencia */
.gm-nfse-spacer{display:inline-block;width:16px;height:16px}
.gm-status.cancelled{width:116px;border:1px solid #dc6060;color:#c94848;background:#fff7f7;cursor:default}
.gm-action-icon.nfse-view{color:#44596d}
/* v1.0.35 - somente ajuste de altura do visualizador NFS-e para igualar a referencia */
.gm-nfse-modal{width:min(1110px,calc(100vw - 32px));max-width:1110px;height:min(94vh,900px);max-height:calc(100vh - 28px)}
.gm-nfse-frame-wrap{position:relative;overflow:auto;background:#fff}
.gm-nfse-frame-wrap iframe{height:100%!important;min-height:100%;background:#fff}
.gm-nfse-loading{position:absolute;inset:0;z-index:3;background:#fff;display:flex;align-items:center;justify-content:center;transition:opacity .12s ease}
.gm-nfse-loading.hidden{opacity:0;pointer-events:none}
.gm-nfse-loading span{width:30px;height:30px;border:3px solid #f2e0bd;border-top-color:#f2a21b;border-radius:50%;animation:gm-nfse-spin .8s linear infinite}
@keyframes gm-nfse-spin{to{transform:rotate(360deg)}}
.gm-nfse-print{min-width:162px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.gm-print-svg{width:14px;height:14px;fill:currentColor;display:block}
.theme-dark .gm-status.cancelled{border-color:#d97575!important;color:#e18a8a!important;background:rgba(217,117,117,.06)!important}
@media(max-width:900px){.gm-nfse-modal{width:calc(100vw - 18px);max-width:none;height:82vh;max-height:calc(100vh - 24px)}}

/* v1.0.40 - ações de documento da NFS-e (XML + PDF + impressão) */
.gm-nfse-document-actions{height:auto;min-height:60px;flex-wrap:wrap;padding:8px 14px}
.gm-nfse-document-actions button{white-space:nowrap}
@media(max-width:720px){.gm-nfse-document-actions{justify-content:center}.gm-nfse-document-actions button{flex:1 1 44%}}


/* v1.0.42 - visualizador NF-e ampliado; impressao A4 preservada */
@media screen{
  #danfeModal{padding:8px}
  #danfeModal .gm-danfe-modal{width:min(1140px,98vw);max-height:97vh}
  #danfeModal .gm-danfe-title{height:54px;flex-basis:54px;padding:0 20px}
  #danfeModal .gm-danfe-title h3{font-family:Arial,Helvetica,sans-serif;font-size:17px;font-weight:500}
  #danfeModal .gm-danfe-frame-wrap iframe{height:calc(97vh - 116px)}
  #danfeModal .gm-danfe-actions{height:62px;flex-basis:62px;padding:0 16px}

  body.danfe-document.is-embedded{overflow-x:auto;background:#fff}
  body.danfe-document.is-embedded .danfe-page{
    width:1080px;
    max-width:none;
    margin:8px auto 14px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:11.5px;
    line-height:1.18;
  }
  body.danfe-document.is-embedded .df-table td,
  body.danfe-document.is-embedded .df-table th{padding:3px 5px}
  body.danfe-document.is-embedded .df-table span,
  body.danfe-document.is-embedded .df-label{font-size:8.5px;line-height:1.12}
  body.danfe-document.is-embedded .df-table strong{font-size:13px;line-height:1.18;margin-top:3px}
  body.danfe-document.is-embedded .df-head{height:154px}
  body.danfe-document.is-embedded .df-emitter{padding:18px 10px 8px 98px!important}
  body.danfe-document.is-embedded .df-emitter-name,
  body.danfe-document.is-embedded .df-emitter-legal{font-size:15px;line-height:1.12}
  body.danfe-document.is-embedded .df-address{font-size:11px;line-height:1.4;margin-top:8px}
  body.danfe-document.is-embedded .df-danfe-center{padding:9px 6px!important}
  body.danfe-document.is-embedded .df-title{font-size:28px}
  body.danfe-document.is-embedded .df-subtitle{font-size:10px;margin:8px 0}
  body.danfe-document.is-embedded .df-entry-grid{grid-template-columns:1fr 58px;font-size:11px;max-width:168px;margin:8px auto 6px}
  body.danfe-document.is-embedded .df-entry-grid b{height:40px;font-size:18px}
  body.danfe-document.is-embedded .df-number{font-size:18px;margin-top:9px}
  body.danfe-document.is-embedded .df-series{font-size:13px;margin-top:6px}
  body.danfe-document.is-embedded .df-access{padding:8px 0 0!important}
  body.danfe-document.is-embedded .df-barcode{height:62px;margin-bottom:4px}
  body.danfe-document.is-embedded .df-key{font-size:11px;padding:4px 6px;line-height:1.18}
  body.danfe-document.is-embedded .df-auth-label{margin-top:5px}
  body.danfe-document.is-embedded .df-auth-site{font-size:10.5px;margin-top:5px}
  body.danfe-document.is-embedded .df-section{height:18px;padding:3px 5px 2px;font-size:9px}
  body.danfe-document.is-embedded .df-fields td{height:38px}
  body.danfe-document.is-embedded .df-fields.two strong{font-size:13.5px}
  body.danfe-document.is-embedded .df-dest td{height:35px}
  body.danfe-document.is-embedded .df-tax td{height:39px}
  body.danfe-document.is-embedded .df-tax strong{font-size:12.5px}
  body.danfe-document.is-embedded .df-transp td{height:36px}
  body.danfe-document.is-embedded .df-products{font-size:9px}
  body.danfe-document.is-embedded .df-products th{font-size:8px;padding:3px 2px;line-height:1.1}
  body.danfe-document.is-embedded .df-products td{font-size:9px;padding:3px 2px;line-height:1.15}
  body.danfe-document.is-embedded .df-additional td{height:140px}
  body.danfe-document.is-embedded .df-additional td>div{font-size:10.5px;line-height:1.4;margin-top:4px}
  body.danfe-document.is-embedded .danfe-page.dense{font-size:10.5px}
  body.danfe-document.is-embedded .danfe-page.dense .df-products td{font-size:8.2px;padding:2px}
  body.danfe-document.is-embedded .danfe-page.dense-2 .df-products td{font-size:7.5px;padding:1.5px}
  body.danfe-document.is-embedded .danfe-page.dense-2 .df-additional td{height:95px}
}


/* v1.0.42 - impressao NF-e no padrao compacto do DANFE de referencia.
   Somente @media print: o visualizador de tela v1.0.42 permanece inalterado. */
.df-product-spacer{display:none}
@media print{
  /* A4 com a mesma ocupacao lateral do DANFE de referencia. */
  @page{size:A4 portrait;margin:4mm}
  body.danfe-document{background:#fff!important;margin:0!important;padding:0!important}
  .danfe-page{width:202mm!important;max-width:none!important;margin:0!important}

  /* Mantem a grade de produtos aberta ate a regiao inferior da folha quando
     existem poucos itens. Com mais itens o preenchimento diminui automaticamente. */
  .df-product-spacer{display:table-row!important}
  .df-product-spacer td{padding:0!important;border-right:0!important;border-bottom:0!important;line-height:0!important;font-size:0!important}
  .df-product-spacer.df-fill-1 td{height:86mm!important}
  .df-product-spacer.df-fill-2 td{height:72mm!important}
  .df-product-spacer.df-fill-3 td{height:58mm!important}
  .df-product-spacer.df-fill-4 td{height:44mm!important}
  .df-product-spacer.df-fill-5 td{height:30mm!important}
  .df-product-spacer.df-fill-6 td{height:18mm!important}
  .df-product-spacer.df-fill-7 td{height:8mm!important}

  /* Dados adicionais permanecem compactos na parte inferior, como no modelo. */
  .df-additional td{height:25mm!important}
}


/* v1.0.44 - impressao NF-e: faixa branca esquerda, sem linha adicional.
   Parte da v1.0.42 aprovada: apenas desloca o conteudo 4 mm para a direita
   e reduz a area util na mesma medida, preservando a borda direita original. */
@media print{
  body.danfe-document .danfe-page{
    box-sizing:border-box!important;
    padding-left:4mm!important;
  }
}


/* v1.0.45 - tipografia da Manifestacao alinhada ao sistema de referencia.
   Somente interface em tela: DANFE, DANFSe e impressao permanecem inalterados. */
@media screen{
  .manifest-pro-page{font-family:Arial,Helvetica,sans-serif;font-size:14px}
  .gm-cert-alert{font-size:14px}
  .gm-header-right{font-size:14px}
  .gm-brand-mark,.gm-brand-mark b{font-size:14px}
  .gm-btn.orange,.gm-nav-btn,.gm-certificate-pill{font-size:12px}
  .gm-search-wrap input{font-size:14px}
  .gm-date-range,.gm-toolbar-btn{font-size:14px}
  .gm-notes-table{font-size:14px}
  .gm-notes-table th{font-size:12px}
  .gm-issuer small{font-size:11px}
  .gm-status{font-size:12px}
  .gm-action-icon{font-size:14px}
}


/* v1.0.46 - painel inicial dimensionado como o sistema de referencia.
   Ajusta apenas a interface do dashboard; Manifestacao, DANFE e NFS-e permanecem inalterados. */
@media screen{
  .dash-ref-page{font-family:Arial,Helvetica,sans-serif;font-size:14px}

  /* faixa e cabecalho */
  .dash-ref-cert-alert{font-size:14px}
  .dash-ref-brand{font-size:14px}
  .dash-ref-brand b{font-size:14px}
  .dash-ref-brand span{font-size:13px}
  .dash-ref-company-switch{font-size:14px}

  /* cartoes principais com a mesma ocupacao vertical da referencia */
  .dash-ref-donut-card{height:485px;min-height:485px;padding:16px 17px 17px}
  .dash-ref-chart-card{height:485px;padding:16px 16px 13px}
  .dash-ref-card-heading h2{font-size:16px;font-weight:600}
  .dash-ref-card-heading p{font-size:12px}

  /* grafico circular */
  .dash-ref-donut-area{height:356px;margin-top:0}
  .dash-ref-donut{width:340px;height:340px;max-width:100%;max-height:100%}
  .dash-ref-donut-hole strong{font-size:16px}
  .dash-ref-legend{max-width:330px;gap:6px 7px}
  .dash-ref-legend-pill{font-size:10px;min-height:20px;padding:1px 7px}

  /* grafico mensal */
  .dash-ref-chart-heading{margin-bottom:10px}
  .dash-ref-chart-wrap{height:397px;padding:28px 5px 31px 66px}
  .dash-ref-y-axis{left:0;top:28px;bottom:32px;width:61px;padding-right:8px;font-size:12px}
  .dash-ref-bars{gap:15px;padding:0 11px}
  .dash-ref-bar-label{font-size:12px;margin-top:8px}
  .dash-ref-bar-tooltip{font-size:12px}
  .dash-ref-bar-tooltip b{font-size:12px}
  .dash-ref-bar-tooltip small{font-size:11px}

  /* atalhos laterais */
  .dash-ref-menu{gap:15px}
  .dash-ref-menu-item{height:52px;font-size:14px;padding:0 22px}
  .dash-ref-menu-icon{font-size:18px}
  .dash-ref-menu-item b{font-weight:500}

  /* quadro inferior de empresas */
  .dash-ref-companies-card{margin-top:31px;padding:16px 18px 14px}
  .dash-ref-company-table{font-size:13px}
  .dash-ref-company-table th{font-size:11px}
  .dash-ref-company-table td{padding:10px 0}
  .dash-ref-company-row-link strong{font-size:13px}
  .dash-ref-company-row-link small{font-size:11px}

  /* preserva responsividade em telas menores */
  @media(max-width:1100px){
    .dash-ref-donut-card,.dash-ref-chart-card{height:auto;min-height:420px}
    .dash-ref-chart-wrap{height:330px}
    .dash-ref-donut{width:320px;height:320px}
  }
  @media(max-width:760px){
    .dash-ref-donut-card,.dash-ref-chart-card{height:auto;min-height:0}
    .dash-ref-chart-wrap{height:250px;padding:18px 5px 31px 58px}
    .dash-ref-y-axis{top:18px;width:53px;font-size:10px}
    .dash-ref-donut-area{height:300px}
    .dash-ref-donut{width:280px;height:280px}
    .dash-ref-company-switch{font-size:11px}
  }
}


/* v1.0.47 - tooltip interativo do grafico "Notas manifestadas". */
@media screen{
  .dash-ref-donut-area{position:relative}
  .dash-ref-donut{cursor:default}
  .dash-ref-donut-tooltip{
    display:none;
    position:absolute;
    z-index:30;
    min-width:108px;
    max-width:180px;
    padding:6px 7px 7px;
    border-radius:4px;
    background:rgba(28,31,33,.96);
    color:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.28);
    font:12px/1.22 Arial,Helvetica,sans-serif;
    pointer-events:none;
    white-space:nowrap;
  }
  .dash-ref-donut-tooltip.show{display:flex;flex-direction:column;gap:1px}
  .dash-ref-donut-tooltip b{font-size:12px;line-height:1.25;font-weight:700;margin-bottom:2px}
  .dash-ref-donut-tooltip span{display:block;font-size:12px;font-weight:600}
  .dash-ref-donut-tooltip .dash-ref-donut-total{display:flex;align-items:center;gap:3px}
  .dash-ref-donut-tooltip .dash-ref-donut-total i{
    display:inline-block;
    width:12px;
    height:12px;
    border:1px solid rgba(255,255,255,.75);
    flex:0 0 12px;
  }
}


/* v1.0.48 - centralizacao do status "SEM MANIFESTACAO".
   Mantem o texto em duas linhas, mas centralizado como no sistema de referencia. */
@media screen{
  .gm-status.none{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    line-height:1;
    padding:0 8px;
    box-sizing:border-box;
    white-space:normal;
    vertical-align:middle;
  }
}


/* v1.0.49 - manifestação detectada em outro sistema.
   Exibe o status "MANIFESTADA" em laranja, no mesmo padrão visual do sistema de referência. */
@media screen{
  .gm-status.manifested{
    width:144px;
    border:1px solid #f0b52f;
    color:#e0a10b;
    background:#fffdfa;
    cursor:default;
  }
}
.theme-dark .gm-status.manifested{
  border-color:#e2b84b!important;
  color:#f0c65b!important;
  background:rgba(240,181,47,.06)!important
}


/* v1.0.50 - padronizacao dos baloes de status.
   Todas as caixas da coluna STATUS passam a ter o mesmo tamanho visual. */
@media screen{
  .gm-status{
    width:144px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    box-sizing:border-box;
    padding:0 8px;
    line-height:1.05;
    vertical-align:middle;
  }
  .gm-status.none,
  .gm-status.unknown,
  .gm-status.not-realized,
  .gm-status.cancelled,
  .gm-status.manifested{
    width:144px;
  }
}


/* v1.0.52 - atalhos laterais iguais ao sistema de referencia.
   Ajuste restrito a fonte/tamanho/espacamento dos botoes do dashboard. */
@media screen{
  .dash-ref-menu-item{
    height:52px;
    padding:0 18px;
    gap:10px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:15px;
    font-weight:700;
    line-height:1;
  }
  .dash-ref-menu-item b{
    font-family:Arial,Helvetica,sans-serif;
    font-size:15px;
    font-weight:700;
    line-height:1;
  }
  .dash-ref-menu-icon{
    width:18px;
    font-size:17px;
    line-height:1;
  }
}


/* v1.0.53 - calendário de período no padrão visual do sistema de referência. */
@media screen{
  .gm-date-range{
    height:35px;
    min-width:280px;
    justify-content:flex-start;
    gap:12px;
    padding:0 12px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:14px;
  }
  .gm-date-range b{
    flex:1;
    text-align:center;
    font-size:14px;
    font-weight:400;
  }
  .gm-date-range-icon{
    width:17px;
    height:17px;
    flex:0 0 17px;
    fill:none;
    stroke:#263544;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  .gm-date-popover{
    width:540px;
    max-width:calc(100vw - 24px);
    padding:0 6px 10px;
    font-family:Arial,Helvetica,sans-serif;
    color:#343a40;
  }
  .gm-date-pop-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #4c5157;
    padding:0 8px;
  }
  .gm-date-cancel{
    border:0;
    background:transparent;
    color:#ff9f1c;
    font-size:13px;
    cursor:pointer;
    padding:7px;
  }
  .gm-date-select{
    border:0;
    background:#ffab2d;
    color:#252a30;
    border-radius:4px;
    min-width:79px;
    height:29px;
    padding:0 9px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
  }

  .gm-range-fields{
    width:350px;
    max-width:calc(100% - 20px);
    margin:10px auto 8px;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#e3e4e6;
    border-radius:8px;
    overflow:hidden;
  }
  .gm-range-field{
    min-height:57px;
    padding:7px 14px 6px;
    cursor:pointer;
    transition:background .12s;
  }
  .gm-range-field.active{background:#efd2a6}
  .gm-range-field>span{
    display:block;
    font-size:12px;
    color:#555b61;
    margin-bottom:2px;
  }
  .gm-range-field>div{
    display:flex;
    align-items:center;
    gap:5px;
  }
  .gm-range-field input{
    flex:1;
    min-width:0;
    width:100%;
    border:0!important;
    background:transparent!important;
    outline:0!important;
    padding:0!important;
    margin:0!important;
    height:22px!important;
    color:#3b4248;
    font:14px/22px Arial,Helvetica,sans-serif;
    cursor:pointer;
  }
  .gm-range-field.active input{font-weight:600}
  .gm-range-clear{
    width:19px;
    height:19px;
    flex:0 0 19px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:50%;
    background:#a9aaab;
    color:#fff;
    font:15px/19px Arial,Helvetica,sans-serif;
    cursor:pointer;
  }

  .gm-quick-dates{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:10px;
    margin:9px 10px 13px;
  }
  .gm-quick-dates button{
    height:31px;
    padding:0 4px;
    border:1px solid #d1d4d8;
    border-radius:8px;
    background:#fafafa;
    color:#4b5055;
    font:12px/1 Arial,Helvetica,sans-serif;
    cursor:pointer;
  }
  .gm-quick-dates button:hover{background:#f0f1f2}
  .gm-quick-dates .gm-quick-current{
    border-color:#ffab2d;
    background:#ffab2d;
    color:#fff;
    font-weight:700;
  }

  .gm-dual-calendar{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    padding:0 9px 4px;
  }
  .gm-calendar-pane{min-width:0}
  .gm-calendar-month-head{
    height:37px;
    display:grid;
    grid-template-columns:30px 1fr 30px;
    align-items:center;
    text-align:center;
  }
  .gm-calendar-month-head strong{
    font-size:14px;
    font-weight:700;
    color:#3b4045;
  }
  .gm-calendar-nav{
    width:30px;
    height:30px;
    border:0;
    background:transparent;
    color:#3f474e;
    font:700 28px/28px Arial,Helvetica,sans-serif;
    cursor:pointer;
    padding:0;
  }
  .gm-calendar-nav:hover{background:#f1f2f3;border-radius:5px}
  .gm-calendar-nav-spacer{width:30px;height:30px}

  .gm-calendar-weekdays,
  .gm-calendar-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
  }
  .gm-calendar-weekdays b{
    height:29px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#343a40;
    font-size:13px;
    font-weight:700;
  }
  .gm-calendar-day{
    position:relative;
    height:31px;
    border:0;
    border-radius:0;
    background:transparent;
    color:#373d42;
    font:13px/31px Arial,Helvetica,sans-serif;
    cursor:pointer;
    padding:0;
  }
  .gm-calendar-day:hover{outline:1px solid #f2a22a;outline-offset:-1px}
  .gm-calendar-day.outside{
    color:#737980;
    background:#eff0f2;
  }
  .gm-calendar-day.in-range{
    background:#f6dfbd;
  }
  .gm-calendar-day.range-start,
  .gm-calendar-day.range-end{
    background:#ffab2d;
    color:#fff;
    font-weight:700;
    border-radius:11px;
    z-index:2;
  }
  .gm-calendar-day.today:not(.range-start):not(.range-end){
    box-shadow:inset 0 0 0 1px #ffab2d;
  }

  @media(max-width:650px){
    .gm-date-popover{width:min(365px,calc(100vw - 20px))}
    .gm-range-fields{width:100%;max-width:100%}
    .gm-quick-dates{grid-template-columns:repeat(3,1fr)}
    .gm-dual-calendar{grid-template-columns:1fr;gap:10px}
  }
}

.theme-dark .gm-date-popover{background:#2f3236!important;color:#f3f3f3!important}
.theme-dark .gm-date-pop-title{border-bottom-color:#676b70}
.theme-dark .gm-range-fields{background:#3d4145}
.theme-dark .gm-range-field.active{background:#63523d}
.theme-dark .gm-range-field>span,.theme-dark .gm-range-field input{color:#f1f1f1!important}
.theme-dark .gm-calendar-month-head strong,.theme-dark .gm-calendar-weekdays b,.theme-dark .gm-calendar-day{color:#f0f0f0}
.theme-dark .gm-calendar-day.outside{background:#3b3e42;color:#aeb3b7}
.theme-dark .gm-calendar-day.in-range{background:#65543c}


/* v1.0.54 - campos de data editáveis e foco automático no INÍCIO. */
@media screen{
  .gm-range-field input{
    cursor:text;
    user-select:text;
  }
  .gm-range-field input:focus{
    outline:0;
  }
  .gm-range-field input::selection{
    background:#2f73d9;
    color:#fff;
  }
}


/* v1.0.55 - botões Opções / Filtros no padrão do sistema de referência. */
@media screen{
  .gm-toolbar-btn{
    height:38px;
    border:1px solid #bfc5cb;
    background:#ececec;
    border-radius:4px;
    padding:0 14px;
    color:#2f3944;
    cursor:pointer;
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:14px;
    font-weight:600;
    line-height:1;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
  }
  .gm-toolbar-btn:hover{
    background:#e5e5e5;
  }
  .gm-toolbar-options{
    min-width:86px;
  }
  .gm-filter-trigger{
    min-width:94px;
    padding-right:16px;
  }
  .gm-toolbar-caret,
  .gm-toolbar-filter-icon{
    display:block;
    flex:0 0 auto;
    fill:none;
    stroke:#42505d;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .gm-toolbar-caret{
    width:14px;
    height:14px;
    margin-left:-2px;
  }
  .gm-toolbar-filter-icon{
    width:16px;
    height:16px;
    margin-left:2px;
  }
  .gm-filter-trigger i{
    position:absolute;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#e65b51;
    right:5px;
    top:4px;
    box-shadow:0 0 0 1px #ececec;
  }
  .gm-options-popover button{
    font-family:Arial,Helvetica,sans-serif;
    font-size:13px;
  }
}

.theme-dark .gm-toolbar-btn{
  background:#45484d!important;
  border-color:#62666b!important;
  color:#f1f1f1!important;
  box-shadow:none!important;
}
.theme-dark .gm-toolbar-btn:hover{background:#4d5055!important}
.theme-dark .gm-toolbar-caret,
.theme-dark .gm-toolbar-filter-icon{
  stroke:#f1f1f1!important;
}
.theme-dark .gm-filter-trigger i{
  box-shadow:0 0 0 1px #45484d!important;
}


/* v1.0.56 - centralização das colunas UF / VALOR / TIPO / STATUS como no sistema de referência. */
@media screen{
  .gm-notes-table th:nth-child(6),
  .gm-notes-table th:nth-child(7),
  .gm-notes-table th:nth-child(8),
  .gm-notes-table th:nth-child(9){
    text-align:center;
  }

  .gm-notes-table td:nth-child(6),
  .gm-notes-table td:nth-child(7),
  .gm-notes-table td:nth-child(8),
  .gm-notes-table td:nth-child(9){
    text-align:center;
  }

  .gm-notes-table td:nth-child(7){
    padding-right:8px;
  }

  .gm-notes-table td:nth-child(9){
    padding-left:6px;
    padding-right:6px;
  }

  .gm-notes-table td:nth-child(9) .gm-status-wrap,
  .gm-notes-table td:nth-child(9) .gm-status{
    margin-left:auto;
    margin-right:auto;
  }

  .gm-notes-table th:nth-child(6) .gm-sort-icon,
  .gm-notes-table th:nth-child(7) .gm-sort-icon,
  .gm-notes-table th:nth-child(8) .gm-sort-icon,
  .gm-notes-table th:nth-child(9) .gm-sort-icon{
    margin-left:4px;
  }

  .gm-notes-table .gm-money{
    text-align:center!important;
  }
}


/* v1.0.57 - ícone superior "Aplicativos" em grade 3x3, igual à referência. */
@media screen{
  .app-launcher-trigger{
    width:22px;
    height:22px;
    min-width:22px;
    display:inline-grid;
    place-items:center;
    border:0;
    background:transparent;
    padding:0;
    cursor:pointer;
    color:#4c5863;
    line-height:1;
  }
  .app-launcher-trigger .app-grid-nine-icon{
    width:17px;
    height:17px;
    display:block;
    fill:currentColor;
  }
  .app-launcher-trigger:hover{
    color:#1c73b8;
  }
}
.theme-dark .app-launcher-trigger{
  color:#e5e7ea!important;
}
.theme-dark .app-launcher-trigger:hover{
  color:#6fb6e9!important;
}


/* v1.0.61 - botão Confirmar igual ao sistema de referência */
