/* DH Empreiteira V15.18 — telas, contraste, navegação e estados vazios */
/* Obras: visual compacto, filtros com rolagem sem trilha cinza. */
#works .searchbox{padding:4px 11px!important;min-height:52px!important;margin:11px 0 9px!important;gap:9px;border:1px solid #ccdbe7!important}
#works .searchbox input{min-height:40px!important;padding:4px 0!important;font-size:15px!important;background:transparent!important}
#works .filterbar{display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;padding:2px 0 6px;margin:0 0 4px;overscroll-behavior-x:contain}
#works .filterbar::-webkit-scrollbar{display:none;width:0;height:0}
#works .filterchip{flex:0 0 auto;min-height:37px;display:inline-flex;align-items:center;justify-content:center;line-height:1.15;padding:8px 12px;font-size:13px}
#works .work18-empty{margin:8px 0 0;text-align:center;padding:18px 8px 12px;line-height:1.5;font-size:15px}
#works .work18-empty .big{font-size:29px;margin-bottom:5px}
html[data-dh-theme="dark"] #works .searchbox{background:#132c40!important;border-color:#37566c!important;color:#dbeaf6!important}
html[data-dh-theme="dark"] #works .searchbox input{color:#f3f7fc!important}
html[data-dh-theme="dark"] #works .searchbox input::placeholder{color:#b1c1ce!important}
/* Financeiro: movimentações recolhíveis, sem alterar valores/ações dos itens. */
.fin18-toggle{width:100%;display:flex;align-items:center;gap:10px;padding:4px 0 8px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;min-height:42px}
.fin18-toggle h3{flex:1;margin:0;font-size:16px}
.fin18-toggle .fin153-count{font-size:11px}
.fin18-chevron{font-size:22px;line-height:1;color:#8aa2b5;transition:transform .18s;display:inline-block}
.fin18-toggle[aria-expanded="true"] .fin18-chevron{transform:rotate(180deg)}
.fin18-content[hidden]{display:none!important}
.fin18-content:not([hidden]){animation:fin18-in .18s ease-out}
@keyframes fin18-in{from{opacity:.5;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.fin18-content .fin153-empty{padding:12px 8px 15px}
.fin18-toggle:focus-visible{outline:2px solid #86c6fa;outline-offset:3px;border-radius:8px}
/* Seletores: corrigir fundos claros com texto claro, com paleta coerente por tema. */
#choicePage152.choicepage152{background:#f4f7fa!important;color:#173047!important;isolation:isolate}
#choicePage152 .choicehead152{height:70px;min-height:70px;padding:10px 16px!important;gap:12px;background:#f4f7fa!important;color:#173047!important;border-bottom:1px solid #d5e1e9!important}
#choicePage152 .choicehead152 h3{color:#173047!important;font-size:20px!important;font-weight:850!important;line-height:1.2!important;overflow-wrap:anywhere}
#choicePage152 .choiceback152{width:48px;height:48px;flex:0 0 48px;background:#e7eff5!important;border:1px solid #bacddd!important;color:#193950!important;border-radius:50%;display:grid;place-items:center;font-size:28px!important}
#choicePage152 .choicebody152{min-height:0;padding:14px 16px calc(23px + env(safe-area-inset-bottom));scrollbar-width:thin}
#choicePage152 .option152,#choicePage152 .serviceitem152,#choicePage152 .choiceempty152{background:#fff!important;border:1px solid #d8e4eb!important;color:#173047!important;box-shadow:none!important;border-radius:15px!important;margin-bottom:10px}
#choicePage152 .option152{padding:12px 13px;min-height:69px;gap:12px}
#choicePage152 .option152 .ocopy b,#choicePage152 .service-name b{color:#18314a!important;font-weight:800!important;font-size:16px;line-height:1.3}
#choicePage152 .option152 .ocopy small,#choicePage152 .service-name small{color:#657b8e!important;font-size:12px;line-height:1.35;margin-top:4px}
#choicePage152 .option152 .oicon{background:#eaf1f8!important;color:#285a7c!important;flex:0 0 42px;width:42px;height:42px}
#choicePage152 .option152 .check{flex:0 0 24px;border:2px solid #b5c6d3!important}
#choicePage152 .option152.on{border-color:#5c9fca!important;background:#ecf6fc!important}
#choicePage152 .option152.on .check{background:#2378b4!important;border-color:#2378b4!important}
#choicePage152 .choiceempty152{padding:22px 13px;font-size:15px;line-height:1.5;text-align:center;color:#536b7d!important;border-style:dashed!important}
#choicePage152 .choicesearch152{display:flex;align-items:center;gap:9px;background:#fff!important;border:1px solid #ccdae5!important;border-radius:15px!important;color:#526d82!important;padding:8px 14px!important;margin-bottom:13px}
#choicePage152 .choicesearch152 input{border:0!important;box-shadow:none!important;outline:none!important;min-height:40px!important;font-size:16px!important;background:transparent!important;color:#173047!important;padding:3px 0!important;margin:0!important}
#choicePage152 .choicesearch152 input::placeholder{color:#6b8092!important}
#choicePage152 .service-top{cursor:pointer;min-height:40px}
#choicePage152 .service-top input[type="checkbox"]{width:23px!important;height:23px!important;min-height:23px!important;flex:0 0 23px!important;margin:0 4px 0 0!important;accent-color:#2886c6}
#choicePage152 .serviceitem152{padding:13px 15px}
#choicePage152 .service-fields152 label{color:#587184!important;font-size:12px!important}
#choicePage152 .service-fields152 input{background:#f8fbff!important;border-color:#cadbe7!important;color:#193348!important;min-height:44px!important}
#choicePage152.dh18-services .choicebody152{padding-bottom:18px!important}
#choicePage152.dh18-services>.choicefooter152{position:relative!important;flex:0 0 auto!important;bottom:auto!important;margin:0!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;background:#f4f7fa!important;border-top:1px solid #d8e4eb!important;box-shadow:0 -4px 12px #0000000a}
#choicePage152.dh18-services>.choicefooter152 .btn{width:100%;font-size:16px;min-height:52px}
html[data-dh-theme="dark"] #choicePage152.choicepage152{background:#122739!important;color:#edf6ff!important}
html[data-dh-theme="dark"] #choicePage152 .choicehead152{background:#102337!important;border-color:#365167!important;color:#edf6ff!important}
html[data-dh-theme="dark"] #choicePage152 .choicehead152 h3{color:#f1f7ff!important}
html[data-dh-theme="dark"] #choicePage152 .choiceback152{background:#244359!important;color:#f0f7ff!important;border-color:#4b6d82!important}
html[data-dh-theme="dark"] #choicePage152 .option152,
html[data-dh-theme="dark"] #choicePage152 .serviceitem152,
html[data-dh-theme="dark"] #choicePage152 .choiceempty152{background:#162f43!important;color:#f3f8fd!important;border-color:#39566b!important}
html[data-dh-theme="dark"] #choicePage152 .option152.on{background:#1d415a!important;border-color:#80bce5!important}
html[data-dh-theme="dark"] #choicePage152 .option152 .ocopy b,
html[data-dh-theme="dark"] #choicePage152 .service-name b{color:#f0f7ff!important}
html[data-dh-theme="dark"] #choicePage152 .option152 .ocopy small,
html[data-dh-theme="dark"] #choicePage152 .service-name small{color:#b7cad9!important}
html[data-dh-theme="dark"] #choicePage152 .choiceempty152{color:#d3e3ef!important}
html[data-dh-theme="dark"] #choicePage152 .option152 .oicon{background:#28465b!important;color:#c9e8ff!important}
html[data-dh-theme="dark"] #choicePage152 .option152 .check{border-color:#a2b7c9!important}
html[data-dh-theme="dark"] #choicePage152 .option152.on .check{background:#317fb7!important;border-color:#88c8ee!important}
html[data-dh-theme="dark"] #choicePage152 .choicesearch152{background:#162f43!important;border-color:#416076!important;color:#c1d9ec!important}
html[data-dh-theme="dark"] #choicePage152 .choicesearch152 input{background:transparent!important;color:#f2f8ff!important}
html[data-dh-theme="dark"] #choicePage152 .choicesearch152 input::placeholder{color:#b7c8d8!important}
html[data-dh-theme="dark"] #choicePage152 .service-fields152 label{color:#c1d3e2!important}
html[data-dh-theme="dark"] #choicePage152 .service-fields152 input{background:#10273a!important;border-color:#46667c!important;color:#fff!important}
html[data-dh-theme="dark"] #choicePage152.dh18-services>.choicefooter152{background:#102539!important;border-color:#36546c!important;box-shadow:0 -8px 17px #050e1855}
/* Backup em tela própria e botões largos, com ícones dentro. */
#uiModal.dh18-backup .ui-sheet{background:#f4f7fa!important}
.backup18-wrap{max-width:580px;margin:12px auto 0}
.backup18-intro{font-size:15px;line-height:1.55;color:#506b80;margin:0 0 22px}
.backup18-actions{display:grid;gap:12px}
.backup18-button{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:14px;min-height:78px;border-radius:17px;border:1px solid #cbdce8;background:#fff;color:#183752;text-align:left;padding:13px 16px;font-size:17px;font-weight:850;cursor:pointer}
.backup18-button.primary{background:#285e82;border-color:#417b9d;color:#fff}
.backup18-button .backup18-ico{width:45px;height:45px;flex:0 0 45px;border-radius:13px;background:#e8f1f8;color:#285e82;display:grid;place-items:center}
.backup18-button.primary .backup18-ico{background:#ffffff20;color:#fff}
.backup18-button .backup18-ico svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.backup18-button:focus-visible{outline:2px solid #91d2ff;outline-offset:3px}
.backup18-note{margin-top:17px;font-size:13px;line-height:1.45;color:#688093}
html[data-dh-theme="dark"] #uiModal.dh18-backup .ui-sheet{background:#091724!important}
html[data-dh-theme="dark"] .backup18-intro{color:#c6d8e6}
html[data-dh-theme="dark"] .backup18-button{background:#193449;color:#eef7ff;border-color:#416078}
html[data-dh-theme="dark"] .backup18-button.primary{background:#295e7c;border-color:#588baa;color:#fff}
html[data-dh-theme="dark"] .backup18-button .backup18-ico{background:#27495f;color:#d3e9f9}
html[data-dh-theme="dark"] .backup18-note{color:#b7c8d8}
/* Aparência: seletor vertical acessível e seleção visual evidente. */
.settings16-appearance.dh18-theme-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;margin:12px 0 18px!important}
.settings16-appearance.dh18-theme-list button{display:flex!important;align-items:center;gap:13px;text-align:left;width:100%;padding:13px 15px;min-height:73px!important;border-radius:17px!important;font-size:17px!important;position:relative}
.settings16-appearance .dh18-themeicon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#dcebf6;color:#315f7d;font-size:23px;flex:0 0 43px}
.settings16-appearance button.on:after{content:'✓';margin-left:auto;display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#d6ebf7;color:#205f85;font-size:15px}
html[data-dh-theme="dark"] .settings16-appearance .dh18-themeicon{background:#294d65;color:#d3eafb}
html[data-dh-theme="dark"] .settings16-appearance button.on:after{background:#81bce0;color:#14344a}
@media(max-width:370px){#choicePage152 .choicehead152 h3{font-size:18px!important}.backup18-button{font-size:15px}.fin18-toggle h3{font-size:15px}}
@media(prefers-reduced-motion:reduce){.fin18-content:not([hidden]){animation:none}.fin18-chevron{transition:none}}
