/* DH Empreiteira V15.19 */
#login .brand .muted{display:none!important}
#login .loginbox{border:1px solid #bb9251!important;box-shadow:0 15px 55px #0005!important}
#login .brand-logo15{max-width:140px!important;max-height:140px!important;object-fit:contain!important}
#login .brand b{letter-spacing:5px}
#login .keep153-copy small{display:none!important}
.dh19-works .primary-wide{min-height:54px!important;max-height:60px!important}
.dh19-works .searchbox{border:1px solid var(--line)!important}
.dh19-works .searchbox input{border:0!important;box-shadow:none!important}
.dh19-workfilters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important;gap:8px!important}
.dh19-workfilters button{width:100%;min-width:0!important;white-space:normal!important;border-radius:14px!important;min-height:47px!important}
.dh19-works .work-list-card{border:1px solid var(--line);border-radius:15px;padding:13px!important;margin:8px 0!important;align-items:flex-start!important}
.dh19-works .work-list-card .iconbtn{width:43px!important;min-width:43px!important;height:43px!important;min-height:43px!important;border-radius:12px!important;font-size:23px!important;align-self:flex-start!important;padding:0!important}
.dh19-count{font-size:13px;font-weight:600;color:var(--gold)}
.dh19-add{min-height:52px!important}
.dh19-filters{display:grid;grid-template-columns:1fr 130px;gap:8px;margin:10px 0}
.dh19-filters input,.dh19-filters select{width:100%;min-width:0}
.dh19-quote-card{gap:12px!important;align-items:center!important}
.dh19-thumb{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;background:#1d3854;border-radius:12px;font-size:29px;color:#dfb45a;overflow:hidden}
.dh19-thumb img{height:100%;width:100%;object-fit:cover}
.dh19-quote-card .grow{display:flex;flex-direction:column;gap:4px}
.dh19-quote-card .grow small{font-size:12px;color:#9bacbd}
.dh19-quote-card .grow strong{color:var(--gold);font-size:17px}
.dh19-right{display:flex;flex-direction:column;gap:7px;align-items:end}
.dh19-right small{font-size:10px;color:#8498ac}
.dh19-detail-top h3{font-size:22px;margin:0 0 8px}
.dh19-detail-top p{color:#aab9c8;font-size:13px}
.dh19-detail-top .statuspill{margin-top:4px}
.dh19-gallery,.photo19-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.dh19-gallery img{aspect-ratio:1;width:100%;object-fit:cover;border-radius:12px}
.dh19-items{margin:12px 0}.dh19-items>div,.dh19-totals>div{display:flex;justify-content:space-between;gap:15px;margin:8px 0}.dh19-items>div{font-size:13px}
.dh19-totals{background:#0c283e;border-radius:15px;padding:15px;margin:14px 0}.dh19-totals>div.total{border-top:1px solid #446178;padding-top:12px;color:#e6bd6a;font-size:18px}
.dh19-meta,.dh19-muted{color:#aebdca;font-size:13px}
.dh19-actions h4{margin:20px 0 10px}.dh19-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dh19-action-grid button,.dh19-wide,.dh19-selectall button{min-height:53px;border:1px solid #45627a;background:#254961;color:#fff;border-radius:13px;font-weight:700;padding:10px}
.dh19-wide{display:block;width:100%;margin:10px 0}.dh19-danger{width:100%;margin-top:18px;border:1px solid #bd5864;border-radius:12px;background:#512b37;color:#ffe3e6;padding:13px;font-weight:700}
.photo19-block{grid-column:1/-1;margin-top:20px}.photo19-block h4{margin:8px 0}.photo19-actions label{display:block;border:2px dashed #54728a;border-radius:12px;text-align:center;padding:16px;background:#193751;color:#e2edf6;font-weight:700}
.photo19-cell{position:relative;aspect-ratio:1}.photo19-cell img{width:100%;height:100%;object-fit:cover;border-radius:11px}.photo19-cell button{position:absolute;right:3px;top:3px;border-radius:50%;background:#84252c;color:white;border:0;width:28px;height:28px}
.dh19-select-clients{display:grid;gap:9px}.dh19-select-clients>button:not(.btn){display:flex;justify-content:space-between;padding:15px;background:#1b344b;color:white;border:1px solid #3a566b;border-radius:12px}.dh19-form label{display:block;margin-bottom:12px}.dh19-form input{width:100%;margin-top:6px}
.dh19-rates{display:grid;gap:7px}.dh19-rate-row{display:grid;grid-template-columns:55px 1fr 30px;align-items:center;gap:12px;font-weight:700}.dh19-rate-row input{width:100%;min-height:44px!important;text-align:right}
.dh19-simulator>label{display:block;margin:12px 0}.dh19-simulator>label input{width:100%}.dh19-mode{display:flex;flex-wrap:wrap;gap:12px}.dh19-mode label{display:flex;align-items:center;gap:6px}.dh19-mode input,.dh19-sim-row input{appearance:auto!important;min-height:0!important;width:20px!important;height:20px!important}
.dh19-selectall{display:flex;gap:8px;margin:14px 0}.dh19-selectall button{flex:1;font-size:12px;min-height:40px}
.dh19-sim-row{display:flex;align-items:center;gap:10px;padding:10px 5px;border-bottom:1px solid #38556b}.dh19-sim-row strong{min-width:35px}.dh19-sim-row>span{flex:1;text-align:right;font-weight:700}.dh19-sim-row small{font-size:11px;color:#91a8bd}.dh19-sim-row span small{display:block}.dh19-sim-row.unavailable{opacity:.45}
#report14 .dh19-reporthero{display:flex!important;align-items:center!important;gap:14px!important;padding:14px!important;min-height:0!important;background:#10283f!important}
#report14 .dh19-reporthero .r14brand{min-width:64px!important;width:64px!important;height:auto!important;display:block!important}
#report14 .dh19-reporthero .r14brand img{width:64px!important;height:64px!important;object-fit:contain!important}
#report14 .dh19-reporthero h1{font-size:23px!important;margin:0!important;flex:1!important}
@media(max-width:390px){.dh19-filters{grid-template-columns:1fr}.dh19-right small{display:none}.dh19-thumb{flex-basis:55px;width:55px;height:55px}}
/* Tela de acesso refinada sem modificar a imagem original da marca */
#login.login{background:radial-gradient(ellipse at 85% 10%,#23436375,transparent 35%),linear-gradient(145deg,#06192c 10%,#0c2c48 75%,#06182c)!important;padding:18px!important}
#login .loginbox{background:linear-gradient(160deg,#102941,#0b2138)!important;color:#f3f6fb!important;padding:24px!important;border-radius:25px!important;max-width:480px!important}
#login .brand{margin-bottom:28px!important}
#login .brand b{color:#fff!important;letter-spacing:6px;font-size:16px!important;margin-top:14px!important}
#login .field label{color:#e4ebf3!important;font-size:14px!important}
#login input:not([type=checkbox]){background:#112d45!important;color:#fff!important;border:1px solid #54748c!important;border-radius:13px!important}
#login input::placeholder{color:#aab8c8!important}
#login #adminChoice,#login #clientChoice{min-height:58px!important}
#login .loginbox>button.btn[onclick="dhEnter()"]{background:linear-gradient(135deg,#f2d086,#c69942)!important;color:#0a253d!important;min-height:60px!important;font-size:19px!important}
#login #loginhelp{display:none!important}
#login .keep153{background:#14324b!important;border:1px solid #3a5670!important;color:#f3f6fc!important}
#login .keep153-copy b{color:#f3f6fc!important}
/* Mask proxy stands in visually while the hidden numeric input remains the source of truth */
.dh19-currency-view{width:100%!important;min-width:0!important;color:inherit!important}
#report14 .r14doc{box-shadow:none!important}
@media print{#report14 .r14hero{break-inside:avoid!important}#report14 .r14body{padding:12px 18px!important}#report14 .r14section{break-inside:avoid!important}#report14 .r14foot{margin-top:16px!important}}
