/* GOJD VD-20 — contraste consistente e rolagem exclusivamente nas áreas de trabalho.
   Cores de texto verificáveis em fundos claros/escuros; hierarquia dos três painéis.
*/
:root{
 --gojd-panel-dark:#14261a;
 --gojd-panel-text:#172a1d;
 --gojd-panel-muted:#465d4c;
 --gojd-panel-paper:#f4f7f2;
 --gojd-panel-line:#cbdacb;
 --gojd-panel-acid:#d0fa78;
}
.sale-app,.merchant-page,.gojd-account-app{
 background:var(--gojd-panel-paper);color:var(--gojd-panel-text);
}
.sale-workspace,.merchant-page .container,.gojd-account-app .container{min-width:0}
.sale-workspace-scroll,.merchant-body,.gojd-account-section{
 color:#192c20;background:var(--gojd-panel-paper);
 overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior:contain;
 scrollbar-color:#7c9e80 #e4ebe2;scrollbar-width:thin;
}
.sale-workspace-top,.merchant-hero,.gojd-account-hero{background:#fff;color:#172a1d}
.sale-workspace-top h1,.merchant-hero h1,.gojd-account-hero h2{
 color:#14291b!important;text-shadow:none!important;
}
.sale-workspace-scroll h2,.sale-workspace-scroll h3,.sale-workspace-scroll h4,
.merchant-body h2,.merchant-body h3,.merchant-body h4,
.gojd-account-section h2,.gojd-account-section h3,.gojd-account-section h4{
 color:#162a1c!important;text-shadow:none!important;
}
.sale-workspace-scroll p,.merchant-body p,.gojd-account-section p{
 color:#3d5746;line-height:1.6;
}
.sale-panel,.merchant-editor,.merchant-card,
.gojd-account-card,.gojd-staff-card,.customer-settings-form,.gojd-company-editor{
 background:#fff;color:#172d20;border-color:#cbdacb;
}
.sale-panel label,.merchant-body label,.gojd-account-section label,
.fiscal-issue-panel label,.gojd-tax-setup label{color:#284633;font-weight:750}
.sale-app input:not([type=checkbox]):not([type=radio]),
.sale-app select,.sale-app textarea,
.merchant-body input:not([type=checkbox]):not([type=radio]),
.merchant-body select,.merchant-body textarea,
.gojd-account-section input:not([type=checkbox]):not([type=radio]),
.gojd-account-section select,.gojd-account-section textarea{
 background:#fff!important;color:#13281a!important;
 border:1px solid #9db5a1!important;
 -webkit-text-fill-color:#13281a;min-height:40px;
}
.sale-app input::placeholder,.merchant-body input::placeholder,
.gojd-account-section input::placeholder{color:#627a67!important;opacity:1}
.sale-app select option,.merchant-body select option,.gojd-account-section select option{
 background:#fff;color:#172c1e;
}
.sale-sidebar,.gojd-account-nav{background:#14251b!important;color:#edf7ee}
.sale-sidebar nav button,.gojd-account-nav button{color:#d5e6d8!important}
.sale-sidebar nav button.active,.gojd-account-nav button.active{
 color:#152b1b!important;background:#d0fa78!important;
}
.sale-sidebar nav button:hover:not(.active),.gojd-account-nav button:hover:not(.active){
 color:#fff!important;background:#294434!important;
}
body.gojd-app-mode .merchant-tabs{background:#edf3e9}
body.gojd-app-mode .merchant-tabs button{color:#314e39!important}
body.gojd-app-mode .merchant-tabs button.active{color:#16311e!important;background:#ddecce!important}
.sale-eyebrow,.merchant-body .eyebrow,.gojd-account-section .eyebrow{
 color:#365e43!important;
}
.sale-top-actions .sale-icon-exit,.merchant-hero [data-gojd=logout],
.gojd-panel-signout{
 min-height:40px!important;width:auto!important;min-width:0;
 padding:9px 14px!important;display:inline-flex;align-items:center;gap:7px;
 border:1px solid #b6c7b8;background:#fff!important;color:#1c3926!important;
 font-weight:800;font-size:.75rem;white-space:nowrap;
}
.sale-top-actions .sale-icon-exit:hover,.merchant-hero [data-gojd=logout]:hover,
.gojd-panel-signout:hover{background:#ecf4e7!important;border-color:#7b9a7d}
.gojd-account-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.gojd-account-actions .gojd-account-initial{flex:none}
.fiscal-issue-panel{margin-top:18px!important}
.fiscal-issue-panel h2{font-size:clamp(1.35rem,2vw,1.8rem)!important}
.fiscal-issue-notice{background:#edf3e6;border-left:3px solid #427750;color:#234832!important;
 padding:12px 15px;font-size:.78rem}
.fiscal-issue-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.fiscal-issue-forms form{display:flex;flex-direction:column;gap:10px;min-width:0;
 border:1px solid #d1dfce;background:#fbfdf9;padding:19px}
.fiscal-issue-forms h3{margin:5px 0;font-size:1.05rem}
.fiscal-issue-forms select{width:100%;min-width:0;padding:10px}
.fiscal-issue-forms form>button{align-self:flex-start;margin-top:auto}
.fiscal-transmissions{border-top:1px solid #d4e0d2;margin-top:22px;padding-top:20px}
.fiscal-tx-row{border-bottom:1px solid #dce6dc;padding:15px 0;display:flex;
 justify-content:space-between;align-items:start;gap:14px;min-width:0}
.fiscal-tx-row>div:first-child{min-width:0;display:grid;gap:7px}
.fiscal-tx-row strong{color:#1b3321;font-size:.8rem;overflow-wrap:anywhere}
.fiscal-tx-row small{font-size:.73rem;color:#506c55;overflow-wrap:anywhere}
.fiscal-tx-error{color:#8d352c!important}
.fiscal-tx-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.fiscal-tx-actions button{min-height:35px;padding:7px 10px;border:1px solid #aec5af;
 background:#fff;color:#193a24;font-size:.73rem;cursor:pointer}
.fiscal-tx-actions span{font-size:.72rem;padding:7px 9px;background:#f0f0e6;color:#524a24}
.fiscal-tx-actions span.authorized{background:#e3f2db;color:#245a2a}
.gojd-tax-setup{margin:20px 0!important;max-width:none}
.gojd-tax-setup h2{font-size:1.35rem}
.gojd-tax-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
 border-top:1px solid #d5dfd2;margin-top:15px;padding-top:20px}
.gojd-tax-grid label{display:grid;gap:7px;color:#263f2d;font-size:.76rem}
.gojd-tax-grid label.gojd-tax-wide,.gojd-tax-grid label.gojd-tax-check{grid-column:1/-1}
.gojd-tax-grid label.gojd-tax-check{display:flex;align-items:center;gap:10px}
.gojd-tax-grid input,.gojd-tax-grid textarea,.gojd-tax-grid select{
 width:100%;min-width:0;min-height:42px;padding:10px;border:1px solid #b9cdb9;
 background:#fff;color:#162d20;
}
.gojd-tax-grid .btn{justify-self:start}
.gojd-tax-divider{margin-top:24px}
.gojd-tax-row{display:grid;gap:3px;padding:10px;border-bottom:1px solid #d8e1d6}
.gojd-tax-row strong{font-size:.78rem;color:#23422a}
.gojd-tax-row small{font-size:.7rem;color:#526954}
.gojd-tax-state{border-left:3px solid #397e45;background:#edf4e9;padding:14px;color:#213c29}
.gojd-tax-state p,.gojd-tax-footnote{font-size:.76rem;line-height:1.6;color:#3c5944}
@media(max-width:800px){
 .fiscal-issue-forms,.gojd-tax-grid{grid-template-columns:1fr}
 .fiscal-tx-row{flex-direction:column}
 .gojd-account-actions{gap:6px}
 .gojd-account-actions .gojd-account-initial{display:none}
 .gojd-panel-signout{padding:8px 10px!important;font-size:.7rem}
}
@media(max-width:550px){
 .sale-top-actions{gap:4px;flex-wrap:wrap;justify-content:flex-end}
 .sale-top-actions .sale-icon-exit{min-height:36px!important;padding:7px 9px!important}
 .merchant-hero [data-gojd=logout]{min-height:36px!important;padding:7px 9px!important}
 .fiscal-issue-forms form{padding:13px}
}
