/* DHN Hub 0.8.8: refinamento de hierarquia, etapas e decisão fiscal explícita. */
.hub086-dialog .hub087-tasks-panel{border:1px solid #e4eaf3;background:#fff;padding:14px 16px;border-radius:15px;box-shadow:none}
.hub086-dialog .hub087-tasks-panel .hub086-section-head h3{font-size:15px;line-height:1.35;margin:0;color:#22324b}
.hub086-dialog .hub087-hint{font-size:11px;color:#7c8ba1;max-width:none}
.hub086-dialog .hub087-task-list{gap:0}
.hub086-dialog .hub087-task{padding:10px 8px;background:#fff;border-bottom:1px solid #e8edf5;border-radius:0}
.hub086-dialog .hub087-task:hover{background:#f7f9fd}
.hub086-dialog .hub087-task-body small{line-height:1.45;font-size:11px;color:#6a7892}
.hub086-dialog .hub087-edit-title{font-size:13px;min-height:33px}
.hub086-dialog .hub087-steps{margin:3px 0 7px 44px;padding-left:13px;border-left:2px solid #e4eaf5;gap:0}
.hub086-dialog .hub087-step{min-height:34px;gap:10px;border-radius:7px;font-size:12px;padding:2px 0;color:#4f607b}
.hub086-dialog .hub087-step-label{line-height:1.45;overflow-wrap:anywhere}
.hub086-dialog .hub087-step-toggle{flex:0 0 26px;width:26px;min-width:26px;display:flex;align-items:center}
.hub086-dialog .hub087-step-toggle .hub086-form-buttons{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;min-width:26px!important;width:26px!important}
.hub086-dialog .hub087-step-toggle .hub086-btn{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;padding:0!important;margin:0!important;flex:none!important;overflow:hidden!important;white-space:nowrap!important;font-size:15px!important;line-height:1!important;border-radius:50%!important;color:#fff!important}
.hub086-dialog .hub087-step-toggle[aria-busy=true] .hub086-btn{opacity:.5;cursor:progress}
.hub086-dialog .hub087-step-toggle .hub085-data-error{font-size:11px;position:relative;left:0;max-width:250px;margin:0 6px}
.hub086-dialog .hub087-create-task{padding-top:11px}
.hub086-dialog .hub087-create-task .hub086-form-buttons{margin:0}
.hub088-next{margin-top:15px;padding:16px 17px;background:linear-gradient(115deg,#f6f8ff,#f3fbf9);border:1px solid #dce5f2;border-radius:14px;display:grid;gap:8px}
.hub088-next-label{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#5d78bd}
.hub088-next>strong{font-size:16px;line-height:1.3;color:#24334d}
.hub088-next>p,.hub088-invoice-form>p{font-size:12px;line-height:1.55;color:#65748c;margin:0}
.hub088-next-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hub088-choice{appearance:none;cursor:pointer;background:#fff;border:1px solid #d9e3f1;border-radius:11px;padding:10px 13px;color:#3e5475;min-height:39px;font-size:12px;font-weight:750}
.hub088-choice:hover{background:#f0f5ff;border-color:#b4c6e8}
.hub088-choice.selected{background:#eaf1ff;color:#315ca8;border-color:#89a8df}
.hub088-choice.quiet{border-color:transparent;background:transparent;color:#76859b}
.hub088-next-footer{padding-top:10px;border-top:1px solid #dfe6f2;margin-top:4px}
.hub088-invoice-form{border:1px solid #e0e6f2;background:#fff;border-radius:12px;padding:13px;display:grid;gap:11px}
.hub088-invoice-form .hub086-edit-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hub088-invoice-form .hub086-control{min-width:0}
.hub088-invoice-form .hub086-control input,.hub088-invoice-form .hub086-control select{width:100%;min-width:0;font-size:12px;min-height:38px}
.hub088-invoice-form .hub086-form-buttons{margin:0}
.hub088-finance-save .hub086-btn{white-space:normal;text-align:center;line-height:1.3}
.hub088-muted{color:#7f8da0;font-size:11px}
@media(max-width:650px){.hub086-dialog .hub087-tasks-panel{padding:11px}.hub086-dialog .hub087-step{min-height:36px}.hub086-dialog .hub087-steps{margin-left:36px}.hub088-next{padding:12px}.hub088-choice{width:100%}.hub088-invoice-form .hub086-edit-fields{grid-template-columns:1fr}}
/* O botão de inclusão deve ocupar sua própria coluna: sem sobrepor o campo. */
.hub086-dialog .hub087-create-task{display:flex;align-items:center;gap:10px;min-width:0}
.hub086-dialog .hub087-create-task>.hub086-edit-fields{flex:1 1 0%;width:0;min-width:0;max-width:none;overflow:hidden}
.hub086-dialog .hub087-create-task>.hub086-edit-fields input{width:100%;max-width:100%;box-sizing:border-box}
.hub086-dialog .hub087-create-task>.hub086-form-buttons{flex:0 0 auto;min-width:0;margin:0;align-self:center}
@media(max-width:470px){.hub086-dialog .hub087-create-task{flex-wrap:wrap}.hub086-dialog .hub087-create-task>.hub086-edit-fields{flex-basis:100%;width:100%}.hub086-dialog .hub087-create-task>.hub086-form-buttons{width:100%}.hub086-dialog .hub087-create-task>.hub086-form-buttons button{width:100%}}
