:root{--nav:#141d2c;--nav2:#2b394d;--yellow:#edc650;--bg:#f5f7fa;--ink:#1d283b;--muted:#687587;--line:#e4e9f0;--soft:#fff9e7}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}a:hover{color:#967314}
.layout{display:flex;min-height:100vh}.side{width:254px;background:var(--nav);color:#fff;padding:25px 14px;flex-shrink:0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;margin:5px 12px 30px;white-space:nowrap}.brand.dark{color:var(--ink)}.mark{border-radius:10px;background:var(--yellow);color:var(--nav);width:40px;height:43px;display:inline-grid;place-items:center;font-size:22px}.navgroup{color:#8798ad;font-size:10px;font-weight:800;letter-spacing:1.7px;margin:17px 13px 8px}.links{display:block}.links>a{display:block;color:#b8c5d7;padding:11px 14px;border-radius:9px;margin:2px 0;white-space:nowrap}.links>a.active,.links>a:hover{background:var(--nav2);color:#fff}.links>a.active{border-left:3px solid var(--yellow);padding-left:11px}.sidebar-foot{font-size:11px;color:#8695a9;margin:auto 12px 8px;padding-top:30px}
.workspace{flex:1;min-width:0}.top{background:#fff;border-bottom:1px solid var(--line);padding:17px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.top-left{display:flex;flex-direction:column;gap:4px}.top-left>strong{font-size:15px}.top-left small{color:var(--muted);font-size:12px}.top-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ws-switch{display:flex;align-items:center;gap:7px}.ws-switch label{font-size:11px;color:var(--muted);margin:0;white-space:nowrap}.ws-switch select{width:auto;min-width:146px;max-width:230px;font-size:12px;padding:9px}.version{background:#fff5d7;color:#80600a;border-radius:18px;padding:8px 11px;font-size:11px;font-weight:800;white-space:nowrap}.signout{background:#fff;border:1px solid #d5dce5;padding:9px 14px;border-radius:9px;cursor:pointer}.signout:hover{background:#f7f7f7}
.content{max-width:1350px;padding:34px 34px 60px;margin:auto}.eyebrow{font-weight:800;letter-spacing:2px;font-size:11px;color:#a68321}.content h1{font-size:clamp(28px,3.3vw,41px);line-height:1.18;letter-spacing:-1px;margin:14px 0 12px}.lead{color:var(--muted);font-size:15px;line-height:1.7;max-width:770px;margin-bottom:28px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.metric,.panel{border:1px solid var(--line);background:#fff;border-radius:16px}.metric{display:flex;flex-direction:column;gap:7px;padding:23px;min-height:150px}.metric span{font-weight:700}.metric strong{font-size:38px;letter-spacing:-1px}.metric small{color:var(--muted)}.metric:hover{border-color:var(--yellow)}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.split.wide{grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr)}.panel{padding:23px;min-width:0}.panel h2{font-size:19px;margin:0 0 18px;letter-spacing:-.3px}.panel h3{font-size:15px;margin-top:25px}.panel.detail{margin:20px 0}.count{font-size:12px;font-weight:700;border-radius:12px;background:#f1f4f7;padding:4px 9px;margin-left:6px}.list-line{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:15px 0;min-width:0}.list-line:first-of-type{border-top:0}.list-line>span:first-child{min-width:0;display:block}.list-line b{font-size:13px;font-weight:700;display:block;line-height:1.45;overflow-wrap:anywhere}.list-line small{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.5;overflow-wrap:anywhere}.tag{font-size:11px;white-space:nowrap;border-radius:20px;padding:6px 9px;background:#f5f3e9;color:#7e681e}.text-link{font-size:12px;font-weight:700;color:#92700c;white-space:nowrap}.text-link:hover{text-decoration:underline}.action-link{display:inline-block}.activity{padding:12px 0;border-top:1px solid var(--line)}.activity b,.activity small{display:block}.activity b{font-size:13px;font-weight:600}.activity small,.smalltime{color:var(--muted);font-size:11px;margin-top:6px;white-space:nowrap}.muted,.empty{color:var(--muted);line-height:1.7}.empty{font-size:13px}.notice{border:1px solid #eddfac;background:var(--soft);color:#806722;border-radius:12px;padding:15px 18px;margin-top:25px;line-height:1.6}
label{display:block;font-size:12px;font-weight:700;margin:15px 0 6px}input,textarea,select{display:block;width:100%;border:1px solid #ccd5e0;border-radius:9px;padding:11px 12px;font:inherit;background:#fff;min-width:0;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #e4bf48;outline-offset:1px}textarea{resize:vertical}.primary,.secondary{padding:11px 15px;border-radius:9px;cursor:pointer;border:0;font-weight:700;font-size:13px}.primary{background:var(--nav);color:#fff;margin-top:18px}.primary:hover{background:var(--nav2)}.secondary{background:#fff;border:1px solid #d6dde6;color:var(--ink)}.secondary:hover{border-color:var(--yellow)}button:disabled{opacity:.45;cursor:not-allowed}.cancel{display:inline-block;margin-left:14px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mini-info{display:flex;gap:22px;color:var(--muted);font-size:13px}.mini-info b{color:var(--ink)}.message{padding:13px 17px;border-radius:10px;background:#edf8ef;border:1px solid #b7dfc2;color:#225233;margin:0 0 24px;line-height:1.5}.message.error{background:#fff0ed;color:#852d22;border-color:#e9b8af}.auth{display:grid;place-items:center;min-height:100vh;padding:20px}.login{max-width:450px;width:100%;padding:33px;box-shadow:0 12px 42px #162b4416}.login .brand{margin:0 0 27px}.login h1{font-size:28px;margin:12px 0}.login .primary{width:100%;margin-bottom:16px}.settings{max-width:620px}.settings .muted{margin-top:20px}footer{margin-top:40px;color:#8b95a2;font-size:11px}
@media(max-width:1170px){.top{flex-direction:column;align-items:flex-start}.split.wide{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.side{width:206px}.content{padding:25px 20px}.top{padding:16px 20px}.split{grid-template-columns:1fr}}
@media(max-width:640px){.layout{display:block}.side{width:100%;padding:12px}.side .brand{margin:3px 9px 14px}.navgroup,.sidebar-foot{display:none}.links{display:flex;overflow-x:auto;gap:4px;scrollbar-width:thin}.links>a{flex-shrink:0;font-size:12px}.top-right{width:100%;justify-content:space-between}.ws-switch{flex-wrap:wrap}.ws-switch label{display:none}.content{padding:24px 16px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:15px;min-height:125px}.metric strong{font-size:31px}.panel{padding:18px}.field-grid{grid-template-columns:1fr}.list-line{align-items:flex-start}.smalltime{white-space:normal}.version{font-size:10px}}

/* 0.3.1 - Identificacoes automaticas, sem reformular a identidade existente */
.code-prefix{text-transform:uppercase}.code-row{display:flex;gap:8px;align-items:center}.code-row input{flex:1;min-width:0;font-weight:700;letter-spacing:.25px;background:#fff}.code-row input[readonly]{background:#f6f8fa;color:#38445a}.icon-button{width:41px;height:42px;padding:0;flex-shrink:0;font-size:22px;line-height:1}.field-note{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 0 10px}.code-chip{background:#fff6dc;color:#8b6813;border-radius:6px;padding:5px 7px;font-weight:800;white-space:nowrap}.delivery-editor{background:#fcfdff;border:1px solid var(--line);padding:20px;border-radius:12px;margin-top:22px}.delivery-editor h3{margin:0 0 8px}.project-delivery-head h3{margin:8px 0}
@media(max-width:640px){.code-row{gap:5px}.icon-button{width:38px;height:40px}.delivery-editor{padding:15px}}

/* DHN Hub 0.3.2 — identidade de base somente na origem */
.base-code-row{gap:0;align-items:stretch}
.base-code-row .fixed-prefix{border:1px solid #ccd5e0;border-right:0;border-radius:9px 0 0 9px;background:#f3f6fa;padding:11px 12px;font-weight:800;color:#435069;white-space:nowrap}
.base-code-row .code-prefix{border-radius:0 9px 9px 0;letter-spacing:.6px;max-width:none}
.base-code-row .icon-button{margin-left:8px}
.base-code-row .code-prefix[readonly]{background:#f6f8fa}
.read-only-line{border:1px solid #dfe5ed;background:#f6f8fa;border-radius:9px;padding:12px;color:#344257}
.readonly-lock{font-size:16px;color:#7e899b;flex-shrink:0}
[hidden]{display:none!important}

/* DHN Hub 0.4.0 — To Do e Financeiro integrados */
.todo-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 23px}
.todo-pill{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:30px;padding:9px 13px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;line-height:1.3}
.todo-pill.active,.todo-pill:hover{background:var(--nav2);color:#fff;border-color:var(--nav2)}
.todo-item{justify-content:flex-start;gap:10px}.todo-item-body{flex:1;min-width:0}.todo-item .tag{margin-left:auto}.inline-form{margin:0}
.check-toggle{border:1px solid #bcc7d5;background:white;border-radius:50%;width:31px;height:31px;cursor:pointer;font-size:19px;color:#445269}.check-toggle.done{background:#dcefe1;color:#2a7041;border-color:#9ecfae}
.tag-high{background:#fff1d9;color:#7c5c0b}.tag-paid{background:#e8f5ea;color:#327044}
.check-label{display:flex;align-items:center;gap:9px;font-size:13px}.check-label input{width:auto;display:inline-block}
.inline-create{display:flex;align-items:end;gap:10px}.inline-create input{max-width:350px}.inline-create button{white-space:nowrap}
.finance-record{padding:16px 0;border-top:1px solid var(--line)}.finance-record:first-of-type{border-top:0}.finance-amounts{display:flex;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:12px}.finance-amounts b{color:var(--ink)}
.finance-pay{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:13px}.finance-pay label{margin:0}.finance-pay input{width:155px}.finance-pay button{white-space:nowrap}
.metric-finance strong{font-size:26px}.actionable-panel:hover{border-color:var(--yellow)}.actionable-panel b{color:#93700a}.section-rule{border:0;border-top:1px solid var(--line);margin:25px 0}
@media(max-width:640px){.inline-create{flex-direction:column;align-items:stretch}.inline-create input{max-width:none}.finance-pay input{width:100%}.metric-finance strong{font-size:22px}.todo-item{align-items:center}}

.finance-tax-edit{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:12px 0}.finance-tax-edit label{margin:0}.finance-tax-edit input{width:100px}.finance-tax-edit button{white-space:nowrap}

/* DHN Hub 0.5.0 — Visão financeira real, despesas e previsões */
.hub-dashboard-projection{margin:25px 0}
.hub-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.hub-section-heading h2{margin:0}
.hub-table-scroll{width:100%;overflow-x:auto}
.hub-fin-table{border-collapse:collapse;width:100%;font-size:12px;min-width:730px}
.hub-fin-table th,.hub-fin-table td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.hub-fin-table th{font-weight:700;color:var(--muted);background:#f7f9fc}
.hub-fin-table td:first-child,.hub-fin-table th:first-child{text-align:left}
.hub-fin-table tbody tr:hover{background:#fcfdff}
.positive{color:#287249;font-weight:700}.negative{color:#b23b39;font-weight:700}
.hub-forecast-bars{margin:24px 0 8px}
.hub-forecast-bar-row{display:flex;gap:12px;margin-bottom:12px;align-items:center;font-size:12px}
.hub-forecast-bar-row>b{width:80px;flex-shrink:0;color:var(--muted)}
.hub-bar-pair{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.hub-bar{width:100%;height:10px;display:block;appearance:none;border:0;background:#f2f4f7;border-radius:6px;overflow:hidden}
.hub-bar::-webkit-progress-bar{background:#f2f4f7}.hub-bar-in::-webkit-progress-value{background:#c9a13d;border-radius:6px}.hub-bar-out::-webkit-progress-value{background:#60728b;border-radius:6px}
.hub-bar-in::-moz-progress-bar{background:#c9a13d}.hub-bar-out::-moz-progress-bar{background:#60728b}
.hub-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:3px}.hub-dot-in{background:#c9a13d}.hub-dot-out{background:#60728b}
.hub-setting-line{margin-top:21px;border-top:1px solid var(--line);padding-top:16px}
.hub-setting-line form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.hub-setting-line input{width:170px}
#documentos,#lancamentos,#planejamento,#perspectiva{scroll-margin-top:18px}
@media(max-width:640px){.hub-setting-line form{display:block}.hub-setting-line input{width:100%}}
/* DHN Hub 0.5.1: financeiro compacto e recorrencias */
.hub051-main{margin:22px 0}.hub051-new-button{margin:0}.hub051-filter{display:grid;grid-template-columns:155px 155px 175px minmax(140px,1fr) auto;gap:10px;align-items:end;margin:18px 0 14px}.hub051-filter label{margin:0;font-size:11px;color:var(--muted)}.hub051-filter input,.hub051-filter select{margin-top:6px;font-weight:400;font-size:13px;padding:10px}.hub051-filter .secondary{min-height:40px}.hub051-summary{display:flex;gap:15px;align-items:center;padding:12px 3px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);flex-wrap:wrap}.hub051-summary b{color:var(--ink)}.hub051-summary small{margin-left:auto}.hub051-add{margin:18px 0 24px;background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:18px}.hub051-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hub051-form{background:#fff;padding:18px;border-radius:12px;border:1px solid var(--line)}.hub051-form h3{margin:0 0 12px}.hub051-form label{margin-top:14px}.hub051-form label input,.hub051-form label select,.hub051-form label textarea{margin-top:6px}.hub051-form .check-label{display:flex;flex-direction:row;align-items:center;gap:7px}.hub051-form .check-label input{margin:0}.hub051-repeat-symbol{font-size:18px;color:#9f7a1a}.hub051-form fieldset{margin-top:12px;padding:13px;border:1px solid #e6dfc8;border-radius:10px}.hub051-form legend{font-weight:800;font-size:12px}.hub051-item,.hub051-series{border-bottom:1px solid var(--line)}.hub051-item summary,.hub051-series summary{list-style:none;display:flex;align-items:center;gap:14px;cursor:pointer;padding:14px 3px}.hub051-item summary::-webkit-details-marker,.hub051-series summary::-webkit-details-marker{display:none}.hub051-item summary:hover,.hub051-series summary:hover{background:#f9fafc}.hub051-state{width:24px;height:24px;border-radius:50%;border:1.5px solid #aeb9c7;display:grid;place-items:center;flex-shrink:0;color:#7d8a99;font-size:18px;line-height:1}.hub051-item-done .hub051-state{background:#e5f2e7;color:#32834e;border-color:#b1d5bd}.hub051-item-main,.hub051-series summary>span:first-child{min-width:0;flex:1}.hub051-item-main b,.hub051-series summary b{display:block;font-size:14px;font-weight:700}.hub051-item-main small,.hub051-series summary small{display:block;color:var(--muted);margin-top:5px;font-size:11px;line-height:1.5}.hub051-item-done .hub051-item-main b{text-decoration:line-through;color:#8290a0}.hub051-item-end{text-align:right;min-width:115px}.hub051-item-end b{display:block;white-space:nowrap;font-size:13px}.hub051-item-end small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.hub051-arrow{color:#8b96a5}.hub051-item[open] .hub051-arrow{transform:rotate(180deg)}.hub051-item-detail{background:#fafbfc;border-radius:9px;padding:14px 18px;margin:0 0 10px 34px;color:var(--muted);font-size:12px}.hub051-item-detail p{margin:0 0 10px}.hub051-inline{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0}.hub051-inline label{margin:0;max-width:210px;flex:1;min-width:150px}.hub051-inline input{margin-top:5px}.hub051-inline button{white-space:nowrap}.hub051-cancel{margin:9px 0}.hub051-options{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.hub051-options>summary{cursor:pointer;color:#87691f;font-weight:700}.hub051-reminders{margin-top:23px}.hub051-reminder{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--line);padding:11px 0}.hub051-reminder span b{display:block;font-size:12px}.hub051-reminder small{display:block;color:var(--muted);margin-top:4px}.hub051-reminder>b{white-space:nowrap;font-size:12px}
@media(max-width:1150px){.hub051-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.hub051-grid{grid-template-columns:1fr}}
@media(max-width:680px){.hub051-filter{grid-template-columns:1fr 1fr}.hub051-filter .secondary{grid-column:1/-1}.hub051-item summary{gap:8px}.hub051-item-end{min-width:90px}.hub051-item-end b{font-size:12px}.hub051-item-detail{margin-left:0;padding:12px}.hub051-grid{grid-template-columns:1fr}.hub051-summary small{width:100%;margin:0}.hub051-add{padding:10px}.hub051-form{padding:13px}}

/* DHN Hub 0.5.2: lista de feitos recolhida e ajustes de registros concluidos */
.hub052-done-group{margin-top:16px;border-top:1px solid var(--line);background:#f7f8fa;border-radius:11px;overflow:hidden}
.hub052-done-group>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;font-weight:700;color:var(--ink);background:#f0f2f5}
.hub052-done-group>summary::-webkit-details-marker{display:none}
.hub052-done-title{flex:1;font-size:14px}
.hub052-done-count{border-radius:99px;background:#e3e7ee;padding:3px 9px;font-size:12px;color:#566475}
.hub052-done-chevron{color:#77869a}
.hub052-done-group[open] .hub052-done-chevron{transform:rotate(180deg)}
.hub052-done-items{padding:0 14px 9px}
.hub052-all-done{margin:15px 2px}
.hub052-reopen{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
.hub052-reopen .field-note{margin:0}
.hub052-edit-form{margin:12px 0}
.hub052-edit-form .field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hub052-edit-form .field-note{margin:10px 0 0}
@media(max-width:680px){.hub052-done-items{padding:0 8px 8px}.hub052-edit-form .field-grid{grid-template-columns:1fr}.hub052-reopen{align-items:flex-start}}

/* DHN Hub 0.5.3 — Lista financeira: linguagem vetorial DHN, ações rápidas e drawer */
.hub053-list-intro{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-top:13px}
.hub053-list-intro .hub053-svg{color:#977019}
.hub053-item{position:relative;background:#fff;border-bottom:1px solid #e8edf2;color:var(--ink)}
.hub053-item:last-child{border-bottom:0}
.hub053-row{display:flex;align-items:center;gap:11px;min-height:70px;padding:7px 3px;transition:background-color .16s ease}
.hub053-item:hover .hub053-row,.hub053-item:focus-within .hub053-row{background:#f9fafc}
.hub053-check-form{margin:0;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hub053-check{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border:2px solid #a8b5c4;border-radius:50%;background:#fff;color:transparent;cursor:pointer;padding:0;transition:background .16s ease,color .16s ease,border .16s ease,transform .16s ease}
.hub053-check:hover{border-color:#39a06a;background:#ecf8f0;color:#329464;transform:scale(1.08)}
.hub053-check:active{transform:scale(.95)}
.hub053-check.is-done{background:#2e9b68;border-color:#2e9b68;color:white}
.hub053-check.is-done:hover{background:#227d53;color:white}
.hub053-check .hub053-svg{width:17px;height:17px}
.hub053-category{flex:0 0 36px;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--cat-bg,#eef1f7);color:var(--cat-color,#64748b)}
.hub053-color-amber{--cat-bg:#fff2d9;--cat-color:#b77a24}
.hub053-color-blue{--cat-bg:#e9f1ff;--cat-color:#4275ba}
.hub053-color-rose{--cat-bg:#fcebf0;--cat-color:#bf6480}
.hub053-color-purple{--cat-bg:#f1ecff;--cat-color:#8067bf}
.hub053-color-olive{--cat-bg:#edf6e9;--cat-color:#66884e}
.hub053-color-cyan{--cat-bg:#e9f5f8;--cat-color:#478ba7}
.hub053-color-orange{--cat-bg:#fff0e5;--cat-color:#bd7544}
.hub053-color-green{--cat-bg:#e5f5ec;--cat-color:#338968}
.hub053-color-indigo{--cat-bg:#eff0ff;--cat-color:#6a70b7}
.hub053-color-slate{--cat-bg:#edf1f5;--cat-color:#718096}
.hub053-main{flex:1;min-width:0;text-align:left;background:none!important;border:0!important;padding:6px 0!important;margin:0!important;box-shadow:none!important;color:var(--ink)!important;cursor:pointer;display:block}
.hub053-name{display:block;font-size:13.5px;font-weight:740;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub053-meta{display:flex;flex-wrap:wrap;gap:5px;align-items:center;color:#788598;font-size:11px;line-height:1.45;margin-top:5px}
.hub053-mid-dot{color:#b8c0ca}
.hub053-inline-repeat{display:inline-flex;gap:3px;align-items:center;color:#94732f;padding-left:2px}
.hub053-date-over{color:#b64545!important;font-weight:700}
.hub053-item.hub053-done .hub053-name{text-decoration:line-through;color:#8a96a4}
.hub053-value{min-width:123px;text-align:right;margin-left:auto;font-variant-numeric:tabular-nums}
.hub053-value strong{font-size:12.5px;white-space:nowrap;color:#273349;font-weight:780}
.hub053-value strong.hub053-positive{color:#27845a}
.hub053-value small{display:block;font-size:10px;color:#8b98a8;margin-top:4px}
.hub053-actions{display:flex;align-items:center;justify-content:flex-end;gap:1px;min-width:134px}
.hub053-action{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border:1px solid transparent;border-radius:9px;background:transparent;color:#8c99aa;cursor:pointer;padding:0;transition:background .14s ease,color .14s ease,border .14s ease}
.hub053-action:hover,.hub053-action:focus-visible{background:#f4f0e4;border-color:#ecdfbe;color:#8b6b17}
.hub053-action.is-recurring{color:#3f9b80}
.hub053-svg{vertical-align:middle;display:block;flex-shrink:0}
.hub053-item button:focus-visible,.hub053-item a:focus-visible,.hub053-drawer button:focus-visible{outline:3px solid #e4b740;outline-offset:2px}
.hub053-row .hub053-action{opacity:.8}
.hub053-item:hover .hub053-action,.hub053-item:focus-within .hub053-action{opacity:1}
.hub053-backdrop{position:fixed;inset:0;z-index:998;background:rgba(19,29,44,.36);backdrop-filter:blur(2px)}
.hub053-drawer{position:fixed;z-index:999;right:0;top:0;height:100dvh;width:min(450px,100%);background:#fff;box-shadow:-12px 0 42px rgba(15,24,38,.19);display:flex;flex-direction:column;overflow:hidden;animation:hub053-slide .18s ease-out}
@keyframes hub053-slide{from{transform:translateX(20px);opacity:.65}to{transform:translateX(0);opacity:1}}
.hub053-drawer-head{padding:19px 20px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;flex-shrink:0}
.hub053-drawer-head .hub053-category{width:42px;height:42px;flex-basis:42px}
.hub053-drawer-name{min-width:0;flex:1}
.hub053-drawer-name small{display:block;color:#96a0b0;font-size:10px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis}
.hub053-drawer-name h3{font-size:16px;margin:0;overflow-wrap:anywhere}
.hub053-drawer-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:19px 22px 35px}
.hub053-pane-caption{font-size:11px;color:#a17b21;letter-spacing:1.3px;text-transform:uppercase;font-weight:800;margin:0 0 22px}
.hub053-drawer .hub053-form label,.hub053-inline-confirm label{font-size:12px;font-weight:700;display:block;margin:13px 0}
.hub053-form input,.hub053-form select,.hub053-form textarea,.hub053-inline-confirm input{width:100%;font-size:14px;margin-top:7px;min-height:43px}
.hub053-drawer .hub053-form input:focus,.hub053-drawer .hub053-form select:focus{outline:2px solid #d7ad42}
.hub053-fields2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hub053-full{width:100%;display:flex;justify-content:center;align-items:center;margin:15px 0 0!important;text-align:center;min-height:43px}
.hub053-as-link{border:1px solid var(--line);border-radius:9px;padding:12px;font-weight:700}
.hub053-mt{margin-top:22px}
.hub053-fact{display:flex;align-items:baseline;justify-content:space-between;gap:18px;border-bottom:1px solid #eef0f4;padding:12px 0;font-size:13px}
.hub053-fact>span{color:#7d8899}.hub053-fact>b{text-align:right}
.hub053-notes{font-size:13px;color:#536075;line-height:1.6;background:#f6f8fa;padding:13px;border-radius:10px;margin:15px 0}
.hub053-link{margin-top:22px;border:0;background:transparent;color:#8a6a14;display:flex;align-items:center;gap:7px;cursor:pointer;font-weight:700;padding:8px}
.hub053-danger-form{border-top:1px solid var(--line);margin-top:24px;padding-top:14px}
.hub053-danger{border:0;background:transparent;color:#b54b49;display:flex;gap:8px;align-items:center;cursor:pointer;padding:8px 3px;font-size:12px}
.hub053-repeat-status{display:flex;gap:10px;align-items:center;padding:13px;background:#e7f5ef;color:#397b60;border-radius:10px;margin-bottom:16px;font-weight:650}
body.hub053-drawer-active{overflow:hidden}
@media (max-width:990px){.hub053-actions{min-width:95px}.hub053-row .hub053-action{width:28px;flex-basis:28px}}
@media (max-width:690px){.hub053-row{gap:8px;min-height:64px}.hub053-category{width:33px;height:33px;flex-basis:33px}.hub053-category .hub053-svg{width:19px;height:19px}.hub053-value{min-width:90px}.hub053-value strong{font-size:11px}.hub053-actions{min-width:32px}.hub053-actions .hub053-action:not(:last-child){display:none}.hub053-name{font-size:12.5px}.hub053-meta{font-size:10px}.hub053-main{padding:3px 0!important}.hub053-drawer-head{padding:14px 17px}.hub053-drawer-body{padding:15px 17px 28px}.hub053-fields2{grid-template-columns:1fr}.hub053-row .hub053-action{opacity:1}}
@media (prefers-reduced-motion: reduce){.hub053-drawer{animation:none}.hub053-check,.hub053-row,.hub053-action{transition:none}}

.hub052-done-title{display:inline-flex;align-items:center;gap:8px}.hub052-done-title .hub053-svg{color:#2e9663}

.hub053-detail-actions{margin-top:18px;border-top:1px solid var(--line);padding-top:6px}.hub053-detail-actions .hub053-link{margin:7px 0;min-height:37px;width:100%;text-align:left;border-radius:8px}.hub053-detail-actions .hub053-link:hover{background:#f9f4e7}


/* DHN Hub 0.5.4 — resumo de valores filtrados, grupos por vencimento e leitura rapida */
.hub054-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:19px 0 9px}
.hub054-kpi{min-width:0;padding:15px 16px;background:#f9fafc;border:1px solid #e7ebf1;border-radius:14px;display:flex;flex-direction:column;gap:5px}
.hub054-kpi-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#667487}
.hub054-kpi-in .hub054-kpi-label .hub053-svg{color:#328b65}.hub054-kpi-out .hub054-kpi-label .hub053-svg{color:#c27d51}
.hub054-kpi-over .hub054-kpi-label .hub053-svg{color:#bb4b48}.hub054-kpi-net .hub054-kpi-label .hub053-svg{color:#6278b2}
.hub054-kpi strong{font-size:clamp(17px,2vw,22px);font-variant-numeric:tabular-nums;letter-spacing:-.35px;overflow-wrap:anywhere;color:#243249}
.hub054-kpi-in strong{color:#237b55}.hub054-kpi-over strong{color:#b04a48}
.hub054-kpi .hub054-negative{color:#ae4c4c}
.hub054-kpi-unit{font-size:12px;font-weight:600;color:#778398}
.hub054-kpi small{font-size:10px;line-height:1.5;color:#8894a5}
.hub054-group{margin-top:18px}
.hub054-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e9edf1;padding:10px 4px 9px}
.hub054-group-title{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:#4c5a6f}
.hub054-group-count{font-size:11px;font-weight:800;color:#6a778a;background:#f0f2f6;border-radius:99px;padding:3px 8px}
.hub054-group-overdue .hub054-group-title{color:#b14947}
.hub054-group-overdue .hub054-group-title .hub053-svg{color:#c25751}
.hub054-group-overdue .hub054-group-count{background:#fff0ee;color:#bd4a47}
.hub054-group-today .hub054-group-title .hub053-svg{color:#c28b37}
.hub054-group-upcoming .hub054-group-title .hub053-svg{color:#557cae}
.hub054-group-items{border-radius:9px;overflow:visible}
.hub054-group-items .hub053-item:last-child{border-bottom:0}
.hub054-paid-label{display:inline-flex;align-items:center;gap:3px;font-weight:700;color:#32835d}
.hub054-project-link{font-size:12px;color:#7b611e;text-align:right;font-weight:700;text-decoration:none}
.hub054-project-link:hover{text-decoration:underline}
.hub054-group .hub053-row{min-height:66px}
.hub053-actions .hub053-action{min-width:31px;min-height:35px}
.hub053-value{min-width:122px}
.hub052-done-group{margin-top:20px}
@media(max-width:1080px){.hub054-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){
  .hub054-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .hub054-kpi{padding:12px;min-height:106px}
  .hub054-kpi strong{font-size:18px}
  .hub053-row{display:grid;grid-template-columns:29px 33px minmax(0,1fr) minmax(80px,auto);grid-template-rows:auto auto;gap:5px 8px;padding:10px 2px}
  .hub053-check-form,.hub053-row>.hub053-check{grid-column:1;grid-row:1;align-self:center}
  .hub053-category{grid-column:2;grid-row:1;align-self:center}
  .hub053-main{grid-column:3;grid-row:1}
  .hub053-value{grid-column:4;grid-row:1;min-width:0}
  .hub053-actions{grid-column:3/5;grid-row:2;min-width:0;display:flex;gap:4px;justify-content:flex-end}
  .hub053-actions .hub053-action:not(:last-child){display:grid}
  .hub053-actions .hub053-action{width:38px;min-width:38px;min-height:34px;flex-basis:38px;opacity:1}
  .hub051-summary small{line-height:1.45}
}
@media(max-width:390px){.hub054-kpis{grid-template-columns:1fr 1fr}.hub053-row{grid-template-columns:29px 33px minmax(0,1fr)}.hub053-value{grid-column:3;grid-row:2;text-align:left;margin:0}.hub053-actions{grid-column:1/4;grid-row:3}.hub053-name{white-space:normal}}

/* DHN Hub 0.5.5 — feedback e ações assíncronas, com movimento reduzido respeitado */
.hub055-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1200;display:flex;align-items:center;gap:13px;max-width:min(600px,calc(100vw - 32px));min-width:230px;padding:13px 17px;background:#182738;color:#fff;box-shadow:0 12px 36px rgba(14,30,46,.2);border-radius:13px;font-size:13px;line-height:1.5;font-weight:600}
.hub055-toast[hidden]{display:none}
.hub055-toast.is-error{background:#963e3e}
.hub055-toast button{border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;padding:7px 11px;border-radius:8px;font-weight:750;font-size:12px;cursor:pointer;white-space:nowrap}
.hub055-toast button:focus-visible,.hub053-action:focus-visible,.hub053-check:focus-visible{outline:3px solid #e0b547;outline-offset:3px}
.hub055-toast button:hover{background:rgba(255,255,255,.22)}
.hub055-working{opacity:.65;pointer-events:none}
.hub055-working button[type="submit"]{cursor:progress}
.hub055-working .hub053-check{position:relative}
.hub055-working .hub053-check::after{content:'';position:absolute;inset:4px;border:2px solid transparent;border-top-color:#4b8f71;border-radius:50%;animation:hub055-rotate .55s linear infinite}
@keyframes hub055-rotate{to{transform:rotate(360deg)}}
.hub055-just-updated{animation:hub055-confirm .55s ease-out}
@keyframes hub055-confirm{0%{background:#e1f5e9;transform:translateY(-2px)}100%{background:transparent;transform:none}}
.hub053-check{transition:background .14s ease,color .14s ease,transform .14s ease}
.hub053-check:hover{transform:scale(1.065)}
@media(max-width:600px){.hub055-toast{bottom:12px;left:12px;right:12px;transform:none;max-width:none;justify-content:space-between;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.hub055-working .hub053-check::after,.hub055-just-updated{animation:none}.hub053-check{transition:none}}

/* DHN Hub 0.6.0 — módulos financeiros: cartões, contas e anexos. */
.hub060-panel{margin-top:28px;scroll-margin-top:20px}.hub060-panel .hub-section-heading h2{margin:5px 0}
.hub060-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px;margin:20px 0}
.hub060-balance{border:1px solid var(--edge,#e5e9ef);border-radius:14px;background:#f7faff;padding:17px;display:flex;flex-direction:column;gap:9px}
.hub060-label{display:flex;gap:9px;align-items:center;color:#294c71}.hub060-balance small{line-height:1.5;color:#637389}
.hub060-balance>b{font-size:23px;font-weight:800;letter-spacing:-.6px}.hub060-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:19px 0}
.hub060-form{border:1px solid #dae3ee;border-radius:13px;background:#fff;overflow:hidden;align-self:start}
.hub060-form>summary{cursor:pointer;font-weight:750;display:flex;align-items:center;gap:10px;padding:18px;color:#283b59;list-style:none}
.hub060-form>summary::-webkit-details-marker{display:none}.hub060-form[open]>summary{border-bottom:1px solid #e7edf5;background:#f7f9fd}
.hub060-form>form,.hub060-form>.field-note,.hub060-form>.empty{margin:15px 18px 18px}.hub060-form form label{display:block;margin:11px 0}
.hub060-form input,.hub060-form select,.hub060-upload input,.hub060-upload select{width:100%;min-width:0}
.hub060-wide{margin:15px 0}.hub060-wide form{max-width:800px}.hub060-cards{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}
.hub060-card{display:flex;gap:12px;align-items:center;padding:15px 18px;border-radius:13px;border:1px solid #dce8f4;background:#f4f8fd;min-width:225px}
.hub060-card svg{color:#4577a9}.hub060-card strong,.hub060-card small{display:block}.hub060-card small{color:#6d7989;margin-top:4px;line-height:1.5}
.hub060-history{margin:22px 0}.hub060-history-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 4px;border-bottom:1px solid #e8edf3}
.hub060-history-row small,.hub060-assign small{display:block;color:#6d7989;font-size:12px;margin-top:5px}
.hub060-assign{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.3fr) auto;gap:8px;align-items:center;border-top:1px solid #eef1f5;padding:10px 14px}
.hub060-assign select{width:100%}.hub060-receipts{margin-top:25px;border-top:1px solid #edf0f5;padding-top:20px;scroll-margin-top:24px}
.hub060-upload{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;border:1px solid #dce6f2;padding:14px;border-radius:12px;margin:17px 0}
.hub060-receipt-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.hub060-receipt{display:flex;align-items:center;gap:10px;text-decoration:none;border:1px solid #e1e8f2;padding:11px;border-radius:11px;color:#253c5b}
.hub060-receipt>span{flex:1;min-width:0}.hub060-receipt strong{display:block;overflow-wrap:anywhere;font-size:12px}.hub060-receipt small{display:block;font-size:11px;color:#7c8996;margin-top:3px}
.hub060-receipt:hover,.hub060-card:hover{border-color:#aac3db;background:#f6faff}
.hub060-dashboard-sum{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px;background:#f4f8fc;border-radius:12px}
.hub060-dashboard-sum strong{font-size:25px}.hub060-panel h3{margin:20px 0 12px}
@media(max-width:760px){.hub060-formgrid{grid-template-columns:1fr}.hub060-upload{grid-template-columns:1fr}.hub060-assign{grid-template-columns:1fr}.hub060-dashboard-sum{align-items:start;flex-direction:column}}

/* DHN Hub 0.7.0 — drawer universal, mantendo edição e auditoria do backend */
.hub070-js .hub070-form-source:not(.hub070-opened){display:none!important}
.hub070-backdrop{position:fixed;inset:0;background:rgba(15,24,38,.42);z-index:1080;backdrop-filter:blur(2px)}
.hub070-backdrop[hidden]{display:none!important}
body.hub070-dialog-open{overflow:hidden}
.hub070-form-source.hub070-opened,details.hub060-form.hub070-opened{
 position:fixed!important;top:0;right:0;bottom:0;left:auto;z-index:1081;display:block!important;
 width:min(520px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0!important;
 padding:0 22px 30px!important;background:white!important;border-radius:0!important;overflow:auto!important;
 box-shadow:-18px 0 52px rgba(0,0,0,.18);animation:hub070-come .19s ease-out
}
@keyframes hub070-come{from{transform:translateX(25px);opacity:.6}to{transform:translateX(0);opacity:1}}
.hub070-form-source.hub070-opened>h2,.hub060-form.hub070-opened>summary{display:none!important}
.hub070-drawer-top{position:sticky;top:0;z-index:2;margin:0 -22px 15px;padding:22px;background:white;border-bottom:1px solid #e9edf3;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hub070-drawer-top small{display:block;color:#94711f;font-weight:800;letter-spacing:1.1px;font-size:10px}
.hub070-drawer-top h2{font-size:20px;margin:5px 0 0}
.hub070-close{font-size:27px;width:39px;height:39px;line-height:1;border:1px solid #e1e6ee;background:#f8fafc;border-radius:11px;cursor:pointer;color:#596477}
.hub070-new-button{margin:0 0 20px;display:inline-flex}
.hub070-form-source.hub070-opened form>label,.hub070-form-source.hub070-opened form>.field-grid,.hub070-form-source.hub070-opened form>.code-row{max-width:100%}
.hub070-form-source.hub070-opened input,.hub070-form-source.hub070-opened select,.hub070-form-source.hub070-opened textarea{min-width:0;max-width:100%}
.hub070-opened form{margin-bottom:16px}
.hub070-exit-dialog{border:1px solid #e3e7ee;box-shadow:0 24px 90px #1420334a;border-radius:16px;max-width:min(450px,90vw);padding:24px}
.hub070-exit-dialog::backdrop{background:rgba(17,30,48,.56)}
.hub070-exit-dialog h3{font-size:19px;margin:0 0 10px}.hub070-exit-dialog p{line-height:1.6;color:#566375}
.hub070-dialog-actions{display:flex;gap:9px;justify-content:end;flex-wrap:wrap}
.hub070-dialog-actions button{padding:10px 12px;border-radius:9px;border:1px solid #e2e7ee;cursor:pointer}
.hub070-wizard-foot{border-top:1px solid #e8edf3;margin:20px 0;padding:18px 0;color:#647184;font-size:12px}
.hub070-wizard-foot-actions{display:flex;gap:12px;margin-top:10px}
.hub070-wizard-foot-actions a{color:#9d7819;font-weight:750}
.hub070-flow-bar{display:flex;align-items:center;gap:13px;flex-wrap:wrap;background:#fff7de;color:#775a0f;padding:13px 15px;border-radius:12px;margin-bottom:20px;font-weight:650;font-size:12px}
.hub070-flow-bar a{color:#715a18;text-decoration:underline}
.hub070-flow-bar>span{margin-right:auto}
.hub070-quick-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 0 3px}
.hub070-quick-actions button{display:inline-flex;align-items:center;gap:6px;border-radius:9px}
.hub070-check-inline{display:flex!important;align-items:center;gap:8px;font-size:12px;color:#647184;line-height:1.5}
.hub070-check-inline input{width:auto!important;margin:0!important}
.hub070-link-panel{margin-top:25px}.hub070-link-list{display:grid;gap:6px;max-height:480px;overflow-y:auto}
.hub070-link-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) auto;align-items:center;gap:9px;padding:10px;border-bottom:1px solid #edf0f5}
.hub070-link-row span{min-width:0}.hub070-link-row b,.hub070-link-row small{display:block;overflow-wrap:anywhere}.hub070-link-row b{font-size:13px}.hub070-link-row small{font-size:10px;color:#8b96a5;margin-top:3px}
.hub070-link-row select{width:100%;margin:0}.hub070-method-row{display:flex;align-items:center;justify-content:end;gap:12px;padding:3px 10px 11px;border-bottom:1px solid #edf0f5}
.hub070-method-row label{display:flex;align-items:center;gap:9px;font-size:11px;color:#758094}.hub070-method-row select{font-size:12px;margin:0}
.hub070-calendar-list{margin-top:20px}
@media(max-width:700px){.hub070-link-row{grid-template-columns:1fr auto}.hub070-link-row span{grid-column:1/-1}.hub070-method-row{justify-content:start;flex-wrap:wrap}.hub070-quick-actions button{flex:1}.hub070-form-source.hub070-opened{padding:0 15px 28px!important}}
@media(prefers-reduced-motion:reduce){.hub070-form-source.hub070-opened,details.hub060-form.hub070-opened{animation:none}}
/* Novo lançamento (despesa/receita ou NF/RPA) em painel lateral */
.hub051-add.hub070-opened{position:fixed!important;right:0;top:0;bottom:0;left:auto;z-index:1081;display:block!important;width:min(540px,100vw);height:100dvh;overflow-y:auto!important;padding:0 21px 28px!important;border-radius:0!important;margin:0!important;background:#fff;box-shadow:-18px 0 55px #12243b30}
.hub051-add.hub070-opened .hub051-grid{grid-template-columns:1fr!important}
.hub051-add.hub070-opened .hub051-form{border:0;padding:10px 0}
.hub070-tabs{display:flex;gap:8px;padding-bottom:16px}
.hub070-tabs button{border:1px solid #dde4ef;border-radius:9px;padding:9px 12px;background:#f8fafc;color:#526076;cursor:pointer}
.hub070-tabs button[aria-selected=true]{background:#fff4d4;color:#6a520d;border-color:#e2c56d;font-weight:750}
.hub070-tab-hidden{display:none!important}

.hub070-js .hub070-upload-source:not(.hub070-opened){display:none!important}
.hub070-upload-source.hub070-opened{position:fixed!important;right:0;top:0;bottom:0;left:auto;z-index:1081;display:block!important;width:min(500px,100vw);height:100dvh;max-height:100dvh;overflow-y:auto!important;background:white!important;margin:0!important;padding:0 22px 25px!important;border-radius:0!important;box-shadow:-18px 0 50px #13253b25}
.hub070-upload-source.hub070-opened>label{display:block;margin:15px 0}
.hub070-upload-source.hub070-opened>button[type=submit]{margin-top:16px}

/* DHN Hub 0.7.1 — formulários contextuais e fluxo guiado com validação preservada. */
.hub071-step-label{display:block!important;font-size:10px;font-weight:800;letter-spacing:1.25px;color:#98711b;margin-bottom:6px}
.hub070-wizard-foot{position:sticky;bottom:-30px;background:#fff;border-top:1px solid #e5eaf1;box-shadow:0 -7px 16px #24324a0b;padding:13px 0 17px;margin-top:20px;z-index:3}
.hub071-optional-label{display:block;font-size:11px;font-weight:650;color:#758296}
.hub070-wizard-foot-actions{display:flex;align-items:center;gap:9px;margin-top:10px}
.hub070-wizard-foot-actions button{border-radius:10px;border:1px solid #e0e5ee;padding:10px 14px;background:#f5f7fb;color:#23354d;font:inherit;font-size:12px;font-weight:750;cursor:pointer;min-height:40px}
.hub070-wizard-foot-actions button:hover{border-color:#d3b76f;background:#fff8e7}
.hub070-wizard-foot-actions .hub071-finish{background:transparent;border-color:transparent;color:#738195;margin-left:auto}
.hub070-wizard-foot-actions .hub071-finish:hover{background:#f4f6f9}
.hub071-field-error{background:#fff0ee;color:#943c37;border:1px solid #e9b9b4;padding:11px 13px;margin:10px 0 16px;border-radius:10px;line-height:1.5;font-size:13px}
.hub070-opened [aria-invalid=true]{border-color:#bf4b4b!important;outline:2px solid #f4cbcc!important;outline-offset:1px;background:#fffafa}
.hub071-quick-editor{border:1px solid #e3e9f3;border-left:3px solid #d5ad43;background:#fbfcff;border-radius:11px;padding:12px;margin:9px 0 12px;display:flex;flex-direction:column;gap:9px;animation:hub071-enter .13s ease-out}
.hub071-quick-editor[hidden]{display:none!important}
.hub071-quick-editor input,.hub071-quick-editor select{font-size:13px!important;padding:10px 12px!important;margin:0!important;width:100%}
.hub071-quick-editor small{font-size:11px;line-height:1.4;color:#667589}
.hub071-quick-editor .hub071-quick-feedback:not(:empty){color:#99502e;font-weight:650}
.hub071-quick-actions{display:flex;gap:8px;flex-wrap:wrap}
.hub071-quick-actions button{font-size:12px;padding:9px 12px;border-radius:9px;cursor:pointer}
.hub071-select-row{display:flex;align-items:stretch;gap:8px}
.hub071-select-row>select{flex:1;min-width:0}
.hub071-clear{background:#fff;border:1px solid #dbe2ec;border-radius:10px;min-width:42px;height:auto;color:#6c7887;font-size:23px;line-height:1;cursor:pointer}
.hub071-clear:hover{background:#f1f5fa;color:#1a283b}
@keyframes hub071-enter{from{opacity:.2;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){.hub071-quick-actions button{flex:1}.hub070-wizard-foot{bottom:-29px}.hub070-wizard-foot-actions{flex-wrap:wrap}.hub071-optional-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hub071-quick-editor{animation:none}}

/* DHN Hub 0.7.2 — guided steps, accessible exit and responsive inline creation */
.hub071-select-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:8px}
.hub071-select-row>select{grid-column:1;grid-row:1;width:100%!important;min-width:0}
.hub071-select-row>.hub071-clear{grid-column:2;grid-row:1;min-height:44px}
.hub071-select-row>.hub071-quick-editor{grid-column:1/-1;width:100%;min-width:0;margin:3px 0 8px}
.hub070-wizard-foot{bottom:0!important;background:#fff;box-shadow:0 -5px 18px rgba(28,40,58,.12);margin:24px -21px -28px!important;padding:14px 21px 20px!important}
.hub070-wizard-foot-actions .hub071-step-skip{background:#172232;color:white;border-color:#172232;flex:1}
.hub070-wizard-foot-actions .hub071-step-skip:hover{background:#314358;color:white}
.hub072-skip-header{display:block;width:100%;text-align:center;background:#fff8e6;border:1px solid #eed79b;border-radius:10px;color:#785a17;font-weight:750;font-size:13px;padding:12px;margin:0 0 17px;cursor:pointer}
.hub072-skip-header:hover{background:#fff0c8}
.hub072-repeat-note{color:#59768a!important;font-size:12px;line-height:1.5}
#hub072-repeat-until-label[hidden]{display:none!important}
#agenda-form .hub072-time-grid{grid-template-columns:1fr 160px}
#agenda-form .hub072-repeat-grid{grid-template-columns:1fr 1fr}
#hub051-new.hub070-opened{padding-bottom:42px!important}
@media(max-width:560px){#agenda-form .hub072-time-grid,#agenda-form .hub072-repeat-grid{grid-template-columns:1fr}.hub070-wizard-foot{margin-left:-15px!important;margin-right:-15px!important;padding-left:15px!important;padding-right:15px!important}.hub071-step-skip{flex:1 1 100%}}

/* DHN Hub 0.7.3 — Agenda orientada a próximas ocorrências e exclusão reversível. */
.hub073-agenda-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 18px}
.hub073-agenda-toolbar .primary{margin-right:6px}
.hub073-mini-metric{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 13px;color:#647184;font-size:12px}
.hub073-mini-metric strong{color:var(--ink);font-size:17px}
.hub073-archive-link{display:inline-flex;gap:7px;align-items:center;color:#67768a;font-weight:700;margin-left:auto;padding:9px 12px;border-radius:10px}
.hub073-archive-link:hover{background:#e9eef6;color:var(--ink)}
.hub073-event-row{padding:17px 0;border-top:1px solid #e8edf3;display:flex;gap:18px;align-items:start;justify-content:space-between}
.hub073-event-row:first-of-type{border-top:0}
.hub073-event-main{min-width:0;flex:1}
.hub073-event-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}
.hub073-event-title strong{font-size:14px;overflow-wrap:anywhere}
.hub073-event-main>small{display:block;color:#647184;font-size:12px;line-height:1.55;margin-top:5px}
.hub073-event-main>small.hub072-repeat-note{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:#4c677c!important}
.hub073-muted-note{color:#9b6d21!important}
.hub073-event-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap;min-width:145px}
.hub073-event-actions button,.hub073-edit,.hub073-text-action{display:inline-flex;gap:6px;align-items:center;border:1px solid transparent;border-radius:9px;padding:8px 10px;background:transparent;color:#536579;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.hub073-event-actions button:hover,.hub073-edit:hover,.hub073-text-action:hover{background:#f1f4f8;border-color:#e2e7ee}
.hub073-event-actions .hub073-delete-trigger{color:#9f3636}
.hub073-event-actions .hub073-delete-trigger:hover{background:#fff0ef;border-color:#f0cdcb}
.hub073-skipped{margin-top:8px;font-size:12px;color:#627084}
.hub073-skipped summary{cursor:pointer;width:fit-content}
.hub073-skipped-row{padding:5px 0;display:flex;gap:8px;align-items:center}
.hub073-skipped-row form{margin:0}
.hub073-skipped-row button{color:#9b761d}
.hub073-archive-panel{margin-top:18px}
.hub073-archived-row{display:flex;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0}
.hub073-archived-row span{display:flex;flex-direction:column;gap:4px;min-width:0}
.hub073-archived-row small{color:var(--muted);font-size:12px}
.hub073-archived-row form{margin:0}
.hub073-delete-dialog{border:1px solid #e3e8f0;border-radius:18px;padding:24px;max-width:min(480px,calc(100vw - 32px));width:100%;box-shadow:0 24px 70px #19223242;color:var(--ink)}
.hub073-delete-dialog::backdrop{background:#121d2bb0}
.hub073-delete-dialog p{font-size:13px;line-height:1.6;color:#697588}
.hub073-delete-dialog form{margin:0}
.hub073-danger-heading{display:flex;align-items:center;gap:10px;color:#a33636}
.hub073-danger-heading h2{font-size:18px;margin:0}
.hub073-scope-fieldset{border:0;margin:18px 0 0;padding:0;display:grid;gap:10px}
.hub073-scope-fieldset legend{font-weight:750;font-size:12px;margin-bottom:10px}
.hub073-scope-fieldset label{display:flex;align-items:center;gap:11px;padding:10px 12px;margin:0;background:#f8fafc;border:1px solid #e4e9f1;border-radius:9px;font-size:13px;cursor:pointer}
.hub073-scope-fieldset label:has(:checked){background:#fff8e8;border-color:#dfc47e}
.hub073-scope-fieldset input[type="radio"]{appearance:auto!important;width:17px!important;height:17px!important;flex:0 0 17px;margin:0!important;padding:0!important;accent-color:#ad8226}
.hub073-delete-actions{display:flex;align-items:center;justify-content:end;gap:9px;margin-top:25px;flex-wrap:wrap}
.hub073-danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#a63c3c;color:white;padding:11px 15px;border:0;border-radius:10px;font:inherit;font-weight:750;cursor:pointer}
.hub073-danger-button:hover{background:#852a2a}
#hub073-delete-recurrence[hidden]{display:none!important}
#hub073-delete-occurrence:disabled{background:#f1f3f6;color:#87919d}
@media(max-width:670px){.hub073-event-row{flex-direction:column;gap:8px}.hub073-event-actions{width:100%;justify-content:start}.hub073-archive-link{margin-left:0}.hub073-mini-metric{font-size:11px}.hub073-archive-panel{padding:16px}}

/* DHN Hub 0.7.4 — menu fixo, iconografia, identidade e fluxo visivel. */
.layout{align-items:flex-start}
.side.hub074-side{position:sticky;top:0;align-self:flex-start;height:100vh;height:100dvh;z-index:40;padding:18px 12px 12px;overflow:hidden;display:flex;flex-direction:column;gap:7px;width:264px;transition:width .18s ease;box-shadow:2px 0 12px rgba(9,22,37,.08)}
.hub074-side-head{display:flex;align-items:center;gap:5px;flex:0 0 auto;min-height:56px}
.hub074-side .brand.hub074-brand{display:flex;align-items:center;gap:12px;min-width:0;flex:1;margin:0 0 0 6px;font-size:22px;font-weight:780;letter-spacing:-.7px}
.hub074-brand-mark{width:44px;height:44px;border-radius:12px;flex:0 0 44px;overflow:hidden}
.hub074-brand-mark img{display:block;width:100%;height:100%;object-fit:cover}
.hub074-brand-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub074-brand-label span{font-weight:550}
.hub074-toggle,.hub074-mobile-close{display:grid;place-items:center;flex:0 0 auto;width:29px;height:32px;border:0;border-radius:9px;background:transparent;color:#cbd5e2;cursor:pointer}
.hub074-toggle:hover,.hub074-mobile-close:hover{background:#2d394b;color:#fff}
.hub074-mobile-close{display:none}
.hub074-side .hub074-links{display:flex;flex-direction:column;gap:4px;overflow:auto;overflow-x:hidden;min-height:0;flex:1;padding:12px 2px;scrollbar-width:thin;scrollbar-color:#3c4c60 transparent}
.hub074-nav-section{flex-shrink:0;min-width:0}
.hub074-nav-section>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;color:#95a3b6;font-size:10px;letter-spacing:1.2px;font-weight:800;padding:13px 13px 7px;margin:0}
.hub074-nav-section>summary::-webkit-details-marker{display:none}
.hub074-nav-section>summary .hub053-svg{transition:transform .15s ease}
.hub074-nav-section[open]>summary .hub053-svg{transform:rotate(180deg)}
.hub074-nav-items{display:flex;flex-direction:column;gap:3px;padding:2px 1px 5px}
.hub074-side .hub074-nav-items>a{display:flex;align-items:center;gap:12px;min-height:42px;padding:10px 12px;margin:0;border:1px solid transparent;border-radius:11px;white-space:nowrap;font-size:13px;color:#aebcd0;transition:background .15s,color .15s}
.hub074-nav-items>a>.hub053-svg{flex:0 0 19px;color:#9daec3}
.hub074-nav-items>a .hub074-link-label{overflow:hidden;text-overflow:ellipsis}
.hub074-side .hub074-nav-items>a:hover{color:#fff;background:#273247}
.hub074-side .hub074-nav-items>a.active{background:#303b4b;border-color:#39495c;color:#fff;padding-left:12px;font-weight:750;box-shadow:inset 3px 0 #eac44f}
.hub074-side .hub074-nav-items>a.active>.hub053-svg{color:#f1d574}
.hub074-nav-items.hub074-planned>a{color:#8796a9}
.hub074-side-bottom{margin-top:auto;border-top:1px solid #344156;padding:12px 3px 1px}
.hub074-account-link{display:flex;align-items:center;gap:10px;padding:7px 7px;border-radius:12px;min-width:0;color:#c8d3e1}
.hub074-account-link:hover{color:#fff;background:#273449}
.hub074-account-avatar{width:35px;height:35px;min-width:35px;display:grid;place-items:center;background:#354354;border-radius:11px;color:#f1d574;overflow:hidden}
.hub074-account-avatar img{width:100%;height:100%;object-fit:cover}
.hub074-account-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.hub074-account-meta strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub074-account-meta small{font-size:10px;color:#8f9eb2;white-space:nowrap}
body.hub074-collapsed .side.hub074-side{width:78px;padding:18px 8px 12px}
body.hub074-collapsed .hub074-brand-label,
body.hub074-collapsed .hub074-link-label,
body.hub074-collapsed .hub074-nav-section>summary,
body.hub074-collapsed .hub074-account-meta,
body.hub074-collapsed .hub074-account-link>.hub053-svg{display:none}
body.hub074-collapsed .hub074-brand-mark{width:42px;height:42px;flex-basis:42px}
body.hub074-collapsed .hub074-side .brand.hub074-brand{margin-left:9px}
body.hub074-collapsed .hub074-side-head{flex-direction:column;gap:3px}
body.hub074-collapsed .hub074-side .hub074-links{padding-top:9px}
body.hub074-collapsed .hub074-nav-section{padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid #29374a}
body.hub074-collapsed .hub074-nav-items>a{justify-content:center;padding:11px 0;min-height:44px}
body.hub074-collapsed .hub074-side .hub074-nav-items>a.active{padding-left:0}
body.hub074-collapsed .hub074-account-link{justify-content:center;padding:5px}
body.hub074-collapsed .hub074-toggle{transform:rotate(180deg)}
.hub074-mobile-menu{display:none}
.top .top-left{flex-direction:row;align-items:center;gap:11px}
.top .top-left>span{display:flex;flex-direction:column;gap:4px}
.hub074-header-profile{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border:1px solid #dbe3ed;border-radius:50%;background:#f4f6f9;color:#556477;overflow:hidden}
.hub074-header-profile img{display:block;width:100%;height:100%;object-fit:cover}
.hub074-header-profile:hover{border-color:var(--yellow)}
.hub074-mobile-backdrop[hidden]{display:none!important}
.hub074-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 30px;max-width:960px}
.hub074-brand-card{display:flex;flex-direction:column;align-items:flex-start}
.hub074-brand-card h2{margin-bottom:0}
.hub074-brand-card .muted{font-size:12px;min-height:42px}
.hub074-brand-card form{width:100%}
.hub074-brand-card input[type=file]{padding:11px;background:#f9fafc;font-size:12px}
.hub074-profile-preview{display:grid;place-items:center;overflow:hidden;background:#e8edf4;color:#5b697f;width:72px;height:72px;border-radius:18px;margin-bottom:13px;border:1px solid #dce3ec}
.hub074-profile-preview img{width:100%;height:100%;object-fit:cover}
.hub074-workspace-preview{background:#e9c858;color:#111d2d}
.hub074-workspace-preview strong{font-size:36px}
.hub074-remove-brand{margin-top:11px}
.hub074-security-heading{margin-top:26px}
.hub074-trash-count{display:inline-flex;background:#edf1f6;color:#62738a;padding:2px 7px;border-radius:40px;font-size:11px}
.hub074-archive-overlay{position:fixed;inset:0;background:#14203993;z-index:1085}
.hub074-archive-overlay[hidden]{display:none!important}
.hub074-archive-drawer{position:fixed;z-index:1086;right:0;top:0;bottom:0;width:min(475px,100vw);height:100vh;height:100dvh;border:0;border-radius:0;box-shadow:-20px 0 70px #10192b35;background:#fff;padding:23px 25px;overflow-y:auto;margin:0!important}
.hub074-archive-drawer[hidden]{display:none!important}
.hub074-archive-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:14px}
.hub074-archive-head h2{font-size:22px;margin:10px 0 7px}
.hub074-archive-head small{color:#7b8798;font-size:12px}
.hub074-archive-close{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid #dce3ed;border-radius:11px;background:#f8fafc;cursor:pointer;color:#46536a}
.hub074-archive-drawer .hub073-archived-row{align-items:center;gap:9px;flex-wrap:wrap}
.hub074-archive-drawer .hub073-archived-row form{margin-left:auto}
body.hub074-archive-open{overflow:hidden}
/* Todos os passos ficam visiveis no cabeçalho do cadastro orientado. */
.hub074-wizard-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:15px 0 0;padding:0;list-style:none;max-width:100%;width:100%}
.hub074-wizard-progress li{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;text-align:center;color:#8894a7;font-size:10px;font-weight:650}
.hub074-wizard-number{display:grid;place-items:center;background:#eff2f6;border:1px solid #dbe2ec;border-radius:50%;width:26px;height:26px;flex:0 0 26px;color:#6b7b90;font-size:11px}
.hub074-wizard-progress li.is-previous .hub074-wizard-number{background:#e9f3ec;border-color:#bfdbc8;color:#287043}
.hub074-wizard-progress li.is-current{color:#745919;font-weight:800}
.hub074-wizard-progress li.is-current .hub074-wizard-number{background:#f1d776;border-color:#e3be50;color:#152033}
.hub070-drawer-top:has(.hub074-wizard-progress){align-items:flex-start}
.hub070-drawer-top:has(.hub074-wizard-progress)>div:first-child{min-width:0;flex:1}
.hub070-drawer-top .hub074-wizard-progress~h2{margin:5px 0 0}
@media(max-width:1050px){.hub074-profile-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  .layout{display:block}
  .side.hub074-side,body.hub074-collapsed .side.hub074-side{position:fixed;top:0;bottom:0;left:0;width:min(290px,86vw);height:100dvh;z-index:1102;transform:translateX(-105%);transition:transform .2s ease;padding:18px 12px 12px}
  body.hub074-mobile-open .side.hub074-side{transform:translateX(0)}
  body.hub074-mobile-open .hub074-mobile-backdrop{display:block!important;position:fixed;inset:0;background:#0f1b2ca6;z-index:1101}
  body.hub074-collapsed .hub074-brand-label,body.hub074-collapsed .hub074-link-label,body.hub074-collapsed .hub074-nav-section>summary,body.hub074-collapsed .hub074-account-meta,body.hub074-collapsed .hub074-account-link>.hub053-svg{display:initial}
  body.hub074-collapsed .hub074-nav-section>summary{display:flex}
  body.hub074-collapsed .hub074-side-head{flex-direction:row}
  body.hub074-collapsed .hub074-side .hub074-nav-items>a,body.hub074-collapsed .hub074-side .hub074-nav-items>a.active{justify-content:flex-start;padding:10px 12px}
  body.hub074-collapsed .hub074-side .brand.hub074-brand{margin-left:6px}
  body.hub074-collapsed .hub074-nav-section{border:0;padding:0;margin:0}
  body.hub074-collapsed .hub074-account-link{justify-content:flex-start}
  .hub074-toggle{display:none}
  .hub074-mobile-close,.hub074-mobile-menu{display:grid;place-items:center}
  .hub074-mobile-menu{width:34px;height:36px;border:1px solid #e2e8f0;background:#fff;border-radius:9px;color:#36475b;cursor:pointer;flex:0 0 34px}
  .top{position:sticky;top:0;z-index:30}
  body.hub074-mobile-open{overflow:hidden}
  .hub074-profile-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.side.hub074-side,.hub074-nav-items>a{transition:none!important}}


/* DHN Hub 0.7.5 — refinamento de marca, passos e cadastros. */
.hub074-brand-mark.hub075-has-logo{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;border-radius:0!important;display:grid!important;place-items:center!important}
.hub074-brand-mark.hub075-has-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;max-width:100%;max-height:100%;background:transparent!important;border-radius:0!important}
.hub074-profile-preview.hub075-has-logo{background:transparent!important;border:1px dashed #cfd8e4!important}
.hub074-profile-preview.hub075-has-logo img{object-fit:contain!important;object-position:center!important;background:transparent!important}
body.hub074-collapsed .hub074-brand-mark.hub075-has-logo{padding:0!important}
.hub075-upload-preview{display:flex;align-items:center;gap:13px;padding:12px;background:#fafbfc;border:1px dashed #d7deea;border-radius:12px;margin:9px 0 14px;min-height:96px}
.hub075-upload-preview[hidden]{display:none!important}
.hub075-upload-preview img{object-fit:contain!important;display:block!important;max-width:100px;max-height:80px;width:90px;height:80px;background:transparent!important}
.hub075-upload-preview .hub075-preview-info{color:#637188;line-height:1.55;font-size:12px;overflow-wrap:anywhere}
.hub075-upload-preview .hub075-preview-info b{display:block;color:#263449;font-size:13px}
.hub075-step-status{font-size:9px;line-height:1.15;color:#7f8b9c;max-width:100%;overflow-wrap:anywhere}
.hub074-wizard-progress li.is-done .hub074-wizard-number{background:#e5f4ed;border-color:#a3d2bd;color:#216844;font-weight:900}
.hub074-wizard-progress li.is-done .hub075-step-status{color:#28714a}
.hub074-wizard-progress li.is-skipped .hub074-wizard-number{background:#f3f4f7;border-color:#ced5de;color:#7a8696;border-style:dashed}
.hub074-wizard-progress li.is-skipped .hub075-step-status{color:#a37420}
.hub075-wizard-banner{background:white;border:1px solid #e2e8f0;border-radius:15px;padding:17px 20px;margin:0 0 25px;box-shadow:0 4px 14px #18284308}
.hub075-wizard-banner>.hub075-banner-head{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:0 0 12px}
.hub075-banner-head strong{font-size:13px;color:#23334c}
.hub075-banner-head a{font-size:12px;color:#856414;font-weight:750}
.hub075-wizard-banner ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.hub075-wizard-banner li{font-size:11px;line-height:1.4;color:#8692a5;min-width:0;padding:9px;background:#f8fafc;border-radius:9px;text-align:center}
.hub075-wizard-banner li strong{display:block;font-size:12px;color:#53627a}
.hub075-wizard-banner li small{display:block;font-size:10px}
.hub075-wizard-banner li.is-current{background:#fff5d9;color:#6e581c;outline:1px solid #e7ca78}
.hub075-wizard-banner li.is-done{background:#eff8f2;color:#316b47}
.hub075-wizard-banner li.is-skipped{background:#f1f3f6;color:#a5792b}
.hub075-search-box{display:flex;align-items:center;gap:10px;margin:15px 0;padding:0 13px;border:1px solid #dfe6ef;border-radius:10px;background:#f9fbfd;max-width:100%}
.hub075-search-box:focus-within{border-color:#d0ab48;outline:2px solid #f6eac9}
.hub075-search-box input[type=search]{flex:1;width:100%;min-width:0;border:0;outline:0;background:transparent;padding:12px 0;margin:0;box-shadow:none}
.hub075-search-box span{color:#8b96a7;font-size:12px;white-space:nowrap}
.hub075-search-empty{font-size:12px;color:#758398;padding:12px 0}
.hub075-search-empty[hidden]{display:none!important}
.hub075-field-help{margin:-2px 0 12px;line-height:1.5;color:#718197;font-size:11px}
.hub075-fiscal-exit{border:1px solid #e0c46f!important;background:#fff8e6!important;color:#6c5313!important}
@media(max-width:620px){.hub075-wizard-banner{padding:12px}.hub075-wizard-banner ol{gap:4px}.hub075-wizard-banner li{padding:6px 3px;font-size:9px}.hub075-wizard-banner li strong{font-size:10px}.hub075-step-status{font-size:8px}}
/* Resultados filtrados devem realmente desaparecer, mesmo quando .list-line define display. */
main.content .list-line[hidden]{display:none!important}
/* Minicadastro embutido nunca deve forçar três colunas no drawer estreito. */
.hub071-quick-editor{max-width:100%;min-width:0}
.hub071-quick-editor input,.hub071-quick-editor select{box-sizing:border-box;width:100%!important;min-width:0}
.hub070-form-source.hub070-opened .hub071-select-row,.hub051-add.hub070-opened .hub071-select-row{width:100%;min-width:0}
@media(max-width:560px){.hub074-wizard-progress li{font-size:9px}.hub075-search-box span{display:none}}


/* DHN Hub 0.7.6 — sidebar compacta e rodapé com respiro.
   Ajustes apenas de apresentação: não modifica uploads, vínculos ou lógica. */
.side.hub074-side{
  width:254px;
  padding:12px 12px calc(24px + env(safe-area-inset-bottom, 0px));
  gap:4px;
}
.hub074-side-head{min-height:44px;gap:7px;}
.hub074-side .brand.hub074-brand{
  gap:9px;
  margin-left:5px;
  font-size:19px;
  line-height:1.18;
  letter-spacing:-.5px;
}
.hub074-brand-mark{
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:9px;
  font-size:20px;
}
.hub074-brand-mark.hub075-has-logo,
.hub074-brand-mark.hub075-has-logo img{
  width:36px!important;
  height:36px!important;
  max-width:36px!important;
  max-height:36px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
.hub074-side .hub074-links{padding-top:6px;padding-bottom:7px;}
.hub074-nav-section>summary{padding-top:11px;}
.hub074-side-bottom{
  flex:0 0 auto;
  margin-top:4px;
  padding:13px 4px 3px;
  border-top:1px solid #344156;
}
.hub074-account-link{min-height:51px;padding:8px 7px;}
.hub074-account-meta{gap:3px;}
.hub074-account-meta small{line-height:1.35;}
body.hub074-collapsed .side.hub074-side{
  padding:12px 8px calc(24px + env(safe-area-inset-bottom, 0px));
}
body.hub074-collapsed .hub074-side-head{min-height:0;gap:6px;}
body.hub074-collapsed .hub074-brand-mark,
body.hub074-collapsed .hub074-brand-mark.hub075-has-logo{
  width:36px!important;
  height:36px!important;
  flex-basis:36px!important;
}
body.hub074-collapsed .hub074-side .brand.hub074-brand{margin-left:13px;}
body.hub074-collapsed .hub074-side-bottom{padding:12px 3px 3px;}
@media(max-width:760px){
  .side.hub074-side,body.hub074-collapsed .side.hub074-side{
    padding:13px 12px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  body.hub074-collapsed .hub074-side-head{flex-direction:row;min-height:44px;}
  body.hub074-collapsed .hub074-side .brand.hub074-brand{margin-left:5px;}
  .hub074-side .hub074-links{padding-top:7px;}
}
@media(max-height:650px){
  .hub074-side .hub074-links{padding-top:1px;}
  .hub074-nav-section>summary{padding-top:6px;}
}

/* DHN Hub 0.7.7 — arquivos reversíveis e conexões rápidas; sem alterar a identidade. */
.hub077-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0}
.hub077-action{display:inline-flex;margin:0;flex:0 0 auto}
.hub077-action-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;font:inherit;font-size:12px;font-weight:700;line-height:1.3;border:1px solid #dce3eb;border-radius:9px;color:#627186;background:#fff;cursor:pointer;white-space:nowrap}
.hub077-action-btn:hover,.hub077-action-btn:focus-visible{border-color:#c1a245;background:#fff9e9;color:#6d571c}
.hub077-action-btn .hub053-svg{flex:none}
.hub077-project-row{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);min-width:0}
.hub077-project-row>.list-line{flex:1;min-width:0;border-top:0}
.hub077-project-row>.hub077-action{margin-left:auto}
.hub077-archive-panel{margin-top:20px;background:#f8fafc;border:1px solid var(--line);border-radius:13px;padding:14px 16px}
.hub077-archive-panel>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-weight:700;color:#3c4b62;font-size:13px}
.hub077-archive-panel>summary::-webkit-details-marker{display:none}
.hub077-archive-panel .list-line{gap:8px}
.hub077-archive-panel .count{margin-left:auto}
.hub077-archive-panel .field-note{padding-top:10px}
.hub077-confirm{width:min(440px,calc(100vw - 30px));padding:27px;border:1px solid #dde4ed;border-radius:18px;box-shadow:0 20px 75px #10203738;color:var(--ink);background:#fff}
.hub077-confirm::backdrop{background:#12203585;backdrop-filter:blur(2px)}
.hub077-confirm h3{margin:12px 0 10px;font-size:20px}
.hub077-confirm p{color:var(--muted);line-height:1.6;font-size:13px}
.hub077-confirm-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff5db;color:#956e14}
.hub077-confirm-actions{margin-top:22px;display:flex;justify-content:flex-end;gap:8px}
.hub077-confirm-actions .primary{margin:0}
.hub077-project-links{gap:8px}
@media(max-width:640px){.hub077-actions{gap:5px}.hub077-action-btn{padding:7px}.hub077-action-btn span{display:none}.hub077-project-row{gap:4px}.hub077-archive-panel{padding:12px}.hub077-archive-panel .list-line{flex-direction:row;align-items:center}}

.hub077-relations{display:flex;flex-wrap:wrap;gap:10px 24px;margin:14px 0;color:var(--muted);font-size:12px}.hub077-relations b{color:var(--ink)}

/* DHN Hub 0.7.8 — fluxo individual vs guiado; ações sem sobreposição. */
.hub070-opened .hub070-wizard-foot{position:static!important;inset:auto!important;z-index:auto!important;box-shadow:none!important;margin:24px 0 0!important;padding:15px 0 0!important;border-top:1px solid #e2e7f0;background:transparent!important}
.hub070-opened .hub070-wizard-foot-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.hub070-opened .hub070-wizard-foot-actions .hub071-step-skip{flex:0 0 auto!important;width:auto!important;min-width:80px;padding:9px 14px;background:#f4f6fa;color:#1c2b40;border:1px solid #dce3ed}
.hub070-opened .hub070-wizard-foot-actions .hub071-finish{margin-left:0;color:#526074;border:1px solid #dce3ed;background:#fff}
.hub070-opened form button[type=submit]{position:relative;z-index:1;margin-top:16px}
.hub070-opened .hub070-wizard-foot .hub071-optional-label{line-height:1.5}
.hub070-opened .hub071-field-error{position:relative;z-index:1}
.hub074-wizard-progress li.is-not-applicable,.hub075-wizard-banner li.is-not-applicable{opacity:.62}
.hub078-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;margin:13px 0 20px;border:1px solid #dce5ef;background:#fff;border-radius:11px;color:#4c6075;font-size:12px}
.hub078-context a{color:#84681f;font-weight:800;text-decoration:underline}
.hub078-continue-dialog .hub070-dialog-actions{margin-top:18px}
@media(max-width:560px){.hub070-opened .hub070-wizard-foot-actions{justify-content:stretch}.hub070-opened .hub070-wizard-foot-actions button{flex:1 1 auto!important}.hub070-opened .hub070-wizard-foot-actions .hub071-step-skip{min-width:0}}

.hub078-direct-actions{display:flex;justify-content:flex-end;margin:0 0 14px;gap:10px}.hub078-direct-actions button{font-size:12px;min-height:40px;padding:9px 14px;border-radius:9px;cursor:pointer;border:1px solid #dce3ed}.hub070-opened .hub078-direct-actions{position:static!important}

/* 0.7.9 — Minha fila em primeiro plano e quadros Kanban */
.hub079-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hub079-home{border:1px solid #e2e8f0;border-radius:18px;padding:24px;background:#fff;margin-bottom:31px;box-shadow:0 5px 25px #1a2c4511}
.hub079-home-top,.hub079-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;flex-wrap:wrap}
.hub079-home-top h1{font-size:clamp(28px,3vw,39px);line-height:1.14;margin:8px 0}
.hub079-home-top .muted,.hub079-board-head .muted{margin:8px 0;color:#677589}
.hub079-open-todo{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:750;color:#84671b;padding:10px 12px;border:1px solid #e1e6eb;border-radius:10px;text-decoration:none}
.hub079-open-todo:hover{background:#fff8e8}
.hub079-home-stats{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #e9edf3;font-size:13px;color:#657185}
.hub079-home-stats>span{display:inline-flex;align-items:center;gap:6px;background:#f4f6f9;border-radius:8px;padding:7px 11px}
.hub079-home-stats strong{color:#202b3d;font-size:17px}
.hub079-home-stats a{color:#836922;font-weight:700}
.hub079-quick{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(155px,1fr) auto;gap:9px;margin:17px 0 16px;align-items:stretch}
.hub079-quick input,.hub079-quick select{margin:0;height:44px;border-color:#d8dfe9}
.hub079-quick .primary{margin:0;min-height:44px}
.hub079-home-task{display:flex;align-items:center;gap:13px;padding:11px 3px;border-bottom:1px solid #edf0f5;min-width:0}
.hub079-home-task:last-child{border:0}
.hub079-check-form,.hub079-pin-form{margin:0;flex:none}
.hub079-check{border:1px solid #bdc9d8;border-radius:50%;background:white;color:#a2adba;display:grid;place-items:center;cursor:pointer;width:36px;height:36px}
.hub079-check:hover{border-color:#bb9335;color:#a07a1a;background:#fff9e8}
.hub079-task-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;text-decoration:none;color:#1b2638}
.hub079-task-main strong{font-size:14px;overflow-wrap:anywhere}
.hub079-task-main small{font-size:11px;color:#67778b;overflow-wrap:anywhere}
.hub079-priority{font-size:10px;font-weight:700;color:#9b681a;background:#fff4d9;border-radius:50px;padding:6px 8px}
.hub079-task-open{display:grid;place-items:center;color:#66778f}
.hub079-pin{width:31px;height:31px;border:1px solid #e0e6ef;border-radius:9px;background:#fff;color:#95a0af;cursor:pointer}
.hub079-pin.is-pinned{color:#997817;background:#fff7de;border-color:#e7dba8}
.hub079-board-wrap{margin:22px 0 24px}
.hub079-board-head{align-items:center;margin-bottom:17px}
.hub079-board-head h2{font-size:23px;margin:4px 0 0}
.hub079-viewlinks{display:flex;border:1px solid #dce3ec;border-radius:10px;padding:4px;gap:3px}
.hub079-viewlinks a{border-radius:7px;padding:9px 14px;font-size:12px;text-decoration:none;color:#526079;font-weight:700}
.hub079-viewlinks a.hub079-active,.hub079-viewlinks a:hover{background:#202637;color:#fff}
.hub079-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);gap:13px;overflow-x:auto;padding:2px 2px 15px;scroll-snap-type:x proximity;align-items:stretch}
.hub079-lane{background:#f4f5f8;border:1px solid #e1e5ec;border-radius:14px;min-height:200px;padding:13px;scroll-snap-align:start}
.hub079-lane-header{display:flex;align-items:center;gap:7px;min-height:35px;margin-bottom:12px}
.hub079-lane-header h3{font-size:13px;font-weight:800;margin:0;flex:1;line-height:1.35}
.hub079-lane-dot{width:8px;height:8px;border-radius:50%;background:#b6a2c1;flex:none}
.hub079-lane[data-hub079-lane="planejado"] .hub079-lane-dot{background:#d2a642}
.hub079-lane[data-hub079-lane="em_andamento"] .hub079-lane-dot{background:#387fbe}
.hub079-lane[data-hub079-lane="pausado"] .hub079-lane-dot{background:#9a7bc3}
.hub079-lane[data-hub079-lane="concluido"] .hub079-lane-dot{background:#379176}
.hub079-lane[data-hub079-lane="cancelado"] .hub079-lane-dot{background:#89939d}
.hub079-lane-items{display:flex;flex-direction:column;gap:10px;min-height:110px;border-radius:10px;transition:background .15s}
.hub079-lane-items.is-drag-over{background:#fff6d5;outline:2px dashed #d1a84b;outline-offset:3px}
.hub079-kanban-card{background:#fff;border:1px solid #e1e6ee;border-radius:10px;padding:13px 12px;box-shadow:0 2px 7px #0a1a2b0c;min-width:0}
.hub079-kanban-card[draggable]{cursor:grab}
.hub079-kanban-card.is-dragging{opacity:.45}
.hub079-card-link{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:#1e2939;min-width:0}
.hub079-card-link small{color:#987520;font-size:10px;font-weight:700}
.hub079-card-link strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.hub079-card-link>span{font-size:11px;line-height:1.5;color:#758297;overflow-wrap:anywhere}
.hub079-card-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;padding-top:11px;color:#738196;font-size:10px}
.hub079-card-status{margin:10px 0 0}.hub079-card-status select{height:37px;padding:7px 9px;font-size:12px;background:#f8f9fb}
.hub079-action-pair{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.hub079-delete-form{margin:0;display:inline-flex;align-items:center}
.hub079-trash-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;background:#fff;color:#a34848;border:1px solid #ecc8cb;border-radius:9px;cursor:pointer;font-size:12px;font-weight:700;white-space:nowrap}
.hub079-trash-btn:hover{background:#fff1f0;border-color:#ce7f80}
.hub079-confirm-delete{max-width:min(480px,calc(100vw - 26px));width:100%;padding:26px;border:1px solid #e0e5ef;border-radius:17px;box-shadow:0 22px 75px #07172d35;color:#202a3c}
.hub079-confirm-delete::backdrop{background:#152239a6}
.hub079-confirm-delete h3{margin:0 0 11px;font-size:20px;line-height:1.35}
.hub079-confirm-delete p{font-size:13px;color:#596780;line-height:1.6;margin:0 0 17px}
.hub079-confirm-delete label{font-size:12px;margin:0 0 7px}
.hub079-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;flex-wrap:wrap}
.hub079-dialog-actions button{min-height:43px;margin:0!important;display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;font-size:13px;border-radius:10px;font-weight:750}
.hub079-destructive{background:#a33239;color:#fff;border:1px solid #a33239;cursor:pointer}
.hub079-destructive:disabled{opacity:.42;cursor:not-allowed}
.hub070-exit-dialog .hub070-dialog-actions,.hub078-continue-dialog .hub070-dialog-actions,.hub077-confirm .hub077-confirm-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:11px!important;flex-wrap:wrap}
.hub070-exit-dialog .hub070-dialog-actions button,.hub078-continue-dialog .hub070-dialog-actions button,.hub077-confirm .hub077-confirm-actions button{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-height:44px!important;min-width:110px!important;margin:0!important;padding:10px 17px!important;border-radius:10px!important;border-width:1px!important;font-size:13px!important;font-weight:750!important;line-height:1.25!important;box-sizing:border-box!important;box-shadow:none!important}
.hub070-exit-dialog .hub070-dialog-actions button:focus-visible,.hub079-dialog-actions button:focus-visible,.hub079-trash-btn:focus-visible,.hub079-check:focus-visible{outline:3px solid #d3ad40;outline-offset:3px}
@media(max-width:820px){.hub079-board{grid-auto-columns:minmax(225px,75vw)}.hub079-quick{grid-template-columns:1fr auto}.hub079-quick select{grid-column:1/-1;grid-row:2}.hub079-quick input{grid-column:1;grid-row:1}.hub079-quick button{grid-column:2;grid-row:1}.hub079-home{padding:18px}}
@media(max-width:480px){.hub079-home-stats{gap:8px}.hub079-home-task{gap:8px}.hub079-home-task .hub079-priority{display:none}.hub079-board{grid-auto-columns:minmax(230px,85vw)}.hub079-dialog-actions button{flex:1;min-width:120px}.hub079-action-pair{gap:4px}.hub079-trash-btn span{display:none}}
@media(prefers-reduced-motion:reduce){.hub079-lane-items{transition:none}}

/* DHN Hub 0.8.0 — cinco visões integradas e Minha Fila, inspiradas na experiência de listas do DHNs To Do. */
.hub080-overview{--h80-bg:#1d2026;--h80-card:#2a2e36;--h80-line:#3b414c;--h80-ink:#f2f5f8;--h80-soft:#9faabc;background:var(--h80-bg);color:var(--h80-ink);border:1px solid #282e38;border-radius:17px;padding:28px 28px 22px;min-height:580px;box-shadow:0 14px 36px #19222e13}
.hub080-overview .eyebrow{color:#d9b747;letter-spacing:1.5px}
.hub080-overview h1{font-size:33px;line-height:1.12;color:#8fd0cd;margin:8px 0 7px;letter-spacing:-.7px}
.hub080-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.hub080-date{color:#9daab9;font-size:12px;margin:0;line-height:1.6}
.hub080-dashboard-link{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;color:#d7dfec;border:1px solid #434b57;border-radius:10px;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.hub080-dashboard-link:hover{background:#353c47;color:#fff}
.hub080-tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;padding:16px 0 14px;margin:3px 0 0;white-space:nowrap}
.hub080-tab{display:inline-flex;align-items:center;gap:7px;color:#b8c4d1;text-decoration:none;font-size:12px;padding:10px 12px;border-radius:9px;font-weight:650;flex-shrink:0;border:1px solid transparent}
.hub080-tab:hover{background:#30353d;color:#fff}.hub080-tab.active{color:#fce18b;background:#393728;border-color:#635a36}
.hub080-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid var(--h80-line);padding:14px 2px;color:#9ba6b5;font-size:11px}
.hub080-summary strong{color:#ebeff6}
.hub080-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(255px,300px);gap:20px;align-items:start}
.hub080-main-list{min-width:0}
.hub080-quick{background:#2a2e35;border:1px solid #424852;border-radius:11px;padding:12px;margin:0 0 18px}
.hub080-quick-form{margin:0}.hub080-quick-first{display:flex;align-items:center;gap:10px}.hub080-quick-first input{color:#f3f5f7;background:#20242a;border:1px solid #444d5a;flex:1;min-width:0;border-radius:9px;padding:12px 12px;font-size:13px;margin:0;height:44px}.hub080-quick-first input::placeholder{color:#96a2b2}
.hub080-quick-first input:focus{outline:2px solid #d6b449;outline-offset:1px}.hub080-add-icon{color:#e6c953;display:grid;place-items:center}
.hub080-quick-first button.primary{height:44px;min-height:44px;margin:0!important;padding:9px 15px;background:#e1bc46;color:#1f2430;border:0;border-radius:9px;font-size:12px;font-weight:800}
.hub080-quick-first button.primary:disabled{opacity:.6;cursor:wait}
.hub080-quick-options{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;margin-top:10px}
.hub080-quick-options label{font-size:10px;color:#bfc8d4;margin:0;display:flex;flex-direction:column;gap:5px;font-weight:700}
.hub080-quick-options select,.hub080-quick-options input{width:100%;margin:0;min-height:34px;height:34px;padding:6px 8px;border-radius:7px;background:#22262d;color:#d9e1ea;border:1px solid #48515d;font-size:11px}
.hub080-group{margin:18px 0}.hub080-group-head{display:flex;align-items:center;gap:8px;margin:0 0 8px}.hub080-group-head h2{color:#c5d1df;font-size:12px;font-weight:750;letter-spacing:.2px;margin:0}
.hub080-group-head .count{background:#3a404c;color:#d4ddea;font-size:10px}
.hub080-item{display:flex;align-items:center;gap:9px;min-width:0;background:#2b2e34;border:1px solid #353b45;border-radius:8px;padding:10px 10px;margin:3px 0;min-height:55px;transition:background .15s,border-color .15s}
.hub080-item:hover,.hub080-item.selected{background:#343943;border-color:#5c6776}
.hub080-item.hub080-important{border-left:3px solid #e0b73e}
.hub080-action{display:flex;margin:0;flex:none}.hub080-icon-action{display:grid;place-items:center;flex:none;width:29px;height:31px;min-height:31px;padding:0;border:0;background:transparent;color:#a8b5c7;cursor:pointer;font-size:22px;border-radius:6px}
.hub080-icon-action:hover{background:#414956;color:#fff}.hub080-icon-action.is-active{color:#f1cc53}
.hub080-action:first-child .hub080-icon-action{color:#cbd5e0}.hub080-action:first-child .hub080-icon-action.is-active{color:#95cbb1}
.hub080-item-content{text-decoration:none;min-width:0;display:flex;flex-direction:column;gap:5px;flex:1;color:#f3f5f7}
.hub080-item-content strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere;font-weight:650}
.hub080-item-content small{color:#9ba8b9;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.hub080-kind-icon{width:30px;flex:0 0 30px;display:grid;place-items:center;color:#8fc1d0}.hub080-finance .hub080-kind-icon{color:#d9c17a}
.hub080-amount{color:#b9dacc;white-space:nowrap;font-size:11px;font-weight:750}.hub080-amount:has(+ *){margin-right:5px}
.hub080-list-end{padding:18px 4px}.hub080-list-end a,.hub080-detail-open{display:inline-flex;gap:7px;align-items:center;color:#e1c464;font-size:12px;text-decoration:none;font-weight:750}
.hub080-list-end a:hover,.hub080-detail-open:hover{text-decoration:underline}
.hub080-empty{text-align:center;background:#262b33;border:1px solid #39424d;border-radius:12px;padding:42px 18px;color:#b9c4d0}
.hub080-empty h2{color:#eef2f6;font-size:17px;margin:13px 0 5px}.hub080-empty p{font-size:12px;margin:0}
.hub080-detail{background:#25282e;border:1px solid #3b424c;border-radius:12px;padding:18px;position:sticky;top:20px;max-height:calc(100vh - 75px);overflow-y:auto;scrollbar-width:thin;min-width:0}
.hub080-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.hub080-detail-head h2{font-size:16px;line-height:1.4;margin:0;color:#f1f4f6;overflow-wrap:anywhere}.hub080-detail-head a{color:#b5bfcb}
.hub080-detail-code{color:#e2c15c;font-size:11px;font-weight:700;margin:8px 0}.hub080-detail .muted{font-size:12px;color:#9faabb}
.hub080-detail-info{display:grid;gap:9px;border-top:1px solid #3b434f;border-bottom:1px solid #3b434f;padding:14px 0;margin:15px 0}.hub080-detail-info span{display:flex;gap:9px;align-items:center;color:#bac5d3;font-size:12px}
.hub080-detail h3{font-size:13px;color:#e8edf3;margin:20px 0 12px}.hub080-detail .count{color:#d0d9e4;background:#39404a}
.hub080-description{white-space:normal;overflow-wrap:anywhere;color:#d0d9e4;font-size:12px;line-height:1.7}
.hub080-detail-step{display:flex;align-items:center;gap:9px;border-bottom:1px solid #343b46;padding:8px 0;margin:0;color:#d8e0e8;font-size:11px}
.hub080-step-button{display:grid;place-items:center;width:27px;height:27px;min-height:27px;background:transparent;color:#b5c1ce;border:1px solid #596577;border-radius:50%;cursor:pointer;flex-shrink:0}
.hub080-step-button.is-done{color:#b1d7c3;border-color:#6d9b88;background:#264138}
.hub080-detail-step span.is-done{text-decoration:line-through;color:#8594a7}
.hub080-detail-open{margin-top:22px}
.hub080-detail-placeholder{text-align:center;padding:17px 4px;color:#99a7ba}.hub080-detail-placeholder h2{color:#ecf0f6;font-size:17px;margin:11px 0 7px}.hub080-detail-placeholder p{font-size:12px;line-height:1.65}
.hub080-detail-shortcuts{border-top:1px solid #3d454f;margin-top:16px;padding-top:12px;display:flex;flex-direction:column;gap:12px}
.hub080-detail-shortcuts h3{margin:0;color:#ccd4e0;font-size:11px;letter-spacing:.3px}.hub080-detail-shortcuts a{display:flex;align-items:center;gap:8px;color:#b5c3d4;font-size:12px;text-decoration:none}
.hub080-detail-shortcuts a:hover{color:#f7d973}.hub080-disclaimer{font-size:11px;color:#8e9bad;border-top:1px solid #3d454e;padding-top:15px;line-height:1.6;margin:12px 0 0}
.hub080-list-link .hub053-svg{opacity:.8}
@media(max-width:1150px){.hub080-layout{grid-template-columns:minmax(0,1fr) 255px}.hub080-overview{padding:22px}}
@media(max-width:850px){.hub080-layout{grid-template-columns:1fr}.hub080-detail{position:static;max-height:none}.hub080-head{align-items:flex-start}.hub080-overview{padding:18px}}
@media(max-width:560px){.hub080-overview{margin:-8px -12px;padding:16px 12px;border-radius:12px}.hub080-overview h1{font-size:27px}.hub080-dashboard-link{padding:8px}.hub080-dashboard-link .hub053-svg{display:none}.hub080-quick-options{grid-template-columns:1fr 1fr}.hub080-item{gap:5px;padding:9px 6px}.hub080-item-content strong{font-size:12px}.hub080-item-content small{font-size:10px}.hub080-amount{font-size:10px}.hub080-action .hub080-icon-action{width:26px;height:27px}.hub080-head{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.hub080-item,.hub080-tab{transition:none}}
/* DHN Hub 0.8.1 — Visão Geral nativa, sem o segundo aplicativo escuro. */
.hub080-overview{--h80-bg:#fff;--h80-card:#fff;--h80-line:#e5eaf1;--h80-ink:#1d283b;--h80-soft:#69788f;background:transparent;color:var(--ink);padding:2px 0 0;border:0;border-radius:0;min-height:0;box-shadow:none}
.hub080-overview .eyebrow{color:#a68321;letter-spacing:1.8px}
.hub080-overview h1{color:var(--ink);font-size:clamp(29px,3vw,39px);margin:8px 0 7px}
.hub080-date{font-size:13px;color:#687587}
.hub080-dashboard-link,.hub081-demo-link{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;background:#fff;border:1px solid #dce3ed;color:#344258;border-radius:10px;font-weight:700;font-size:12px;text-decoration:none;white-space:nowrap}
.hub080-dashboard-link:hover,.hub081-demo-link:hover{background:#fff8e5;border-color:#e3c563;color:#7c5e12}
.hub081-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.hub081-demo-link{color:#876a26}
.hub080-tabs{gap:5px;border-bottom:1px solid #e4e9f0;padding:16px 0 11px;margin:0 0 16px}
.hub080-tab{color:#617083;border:1px solid transparent;font-size:12px;padding:10px 14px;font-weight:700}
.hub080-tab:hover{color:var(--ink);background:#eef2f7}
.hub080-tab.active{background:#fff4d4;border-color:#eed79b;color:#856218}
.hub081-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:15px 0 20px}
.hub081-kpis>div{min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:13px;padding:15px 16px;display:flex;flex-direction:column;gap:6px;min-height:109px}
.hub081-kpis span{display:flex;align-items:center;gap:7px;color:#68768a;font-size:11px;font-weight:750;line-height:1.3}
.hub081-kpis .hub053-svg{color:#b58b30}
.hub081-kpis strong{font-size:27px;line-height:1.15;color:var(--ink);letter-spacing:-.8px;font-variant-numeric:tabular-nums}
.hub081-kpis small{font-size:10px;color:#8b97a7}
.hub080-summary{border-top:0;border-bottom:0;padding:0 2px 15px;color:#748195}
.hub080-summary strong{color:#253148}
.hub080-layout{grid-template-columns:minmax(0,1fr) minmax(245px,290px);gap:16px}
.hub080-quick{background:#fff;border:1px solid #e2e7ee;padding:12px 13px;margin-bottom:17px;border-radius:12px}
.hub080-quick-first input{background:#fff;color:var(--ink);border:0;border-bottom:1px solid #e1e6ef;border-radius:0;padding:10px 8px;height:40px}
.hub080-quick-first input::placeholder{color:#8b97a8}
.hub080-quick-first input:focus{outline:2px solid #e5c152;border-radius:6px}
.hub080-add-icon{color:#b58b2c}
.hub080-quick-first button.primary{background:#1b2434;color:#fff;height:38px;min-height:38px;padding:8px 15px}
.hub080-quick-options label{color:#5d6c7f;font-size:11px}
.hub080-quick-options select,.hub080-quick-options input{background:#fff;color:#26354a;border-color:#d3dce7;height:39px;min-height:39px}
.hub081-extra{padding-top:8px}
.hub081-extra summary{font-size:11px;color:#738298;cursor:pointer;display:flex;align-items:center;gap:6px;width:fit-content;list-style:none}
.hub081-extra summary::-webkit-details-marker{display:none}
.hub081-extra summary:hover{color:#8e712c}
.hub080-group{margin:14px 0 19px}
.hub080-group-head h2{color:#354259;font-size:12px}
.hub080-group-head .count{background:#edf1f6;color:#687587}
.hub080-item{background:#fff;border:1px solid #e2e7ef;border-radius:10px;margin:5px 0;padding:10px 11px;min-height:59px;box-shadow:0 1px 2px #17263a07}
.hub080-item:hover,.hub080-item.selected{background:#f9fafc;border-color:#c3cddc}
.hub080-item.hub080-important{border-left:3px solid #d8ad41}
.hub080-icon-action{color:#6b7c91}
.hub080-icon-action:hover{color:#29354a;background:#edf1f7}
.hub080-icon-action.is-active{color:#bd932b}
.hub080-action:first-child .hub080-icon-action{color:#526177}
.hub080-action:first-child .hub080-icon-action.is-active{color:#349967}
.hub080-item-content{color:#1e2b40}
.hub080-item-content strong{font-size:12.5px;color:#243049}
.hub080-item-content small{color:#718097;font-size:10.5px}
.hub080-item-content small.hub081-context{color:#9a7c39}
.hub080-kind-icon{color:#55899b}
.hub080-finance .hub080-kind-icon{color:#bb9333}
.hub080-amount{color:#34785d;font-size:12px}
.hub080-list-end a,.hub080-detail-open{color:#997627}
.hub080-empty{background:#fff;color:#748095;border-color:#e5eaf1}
.hub080-empty h2{color:var(--ink)}
.hub080-detail{background:#fff;border:1px solid #e0e7f0;max-height:calc(100vh - 130px);border-radius:13px;padding:17px;top:18px}
.hub080-detail-head h2{color:var(--ink)}
.hub080-detail-head a{color:#7f8b9c}
.hub080-detail-code{color:#997728}
.hub080-detail .muted{color:#78869a}
.hub080-detail-info{border-color:#e8edf3}
.hub080-detail-info span{color:#67778e}
.hub080-detail h3{color:#2a364c}
.hub080-detail .count{color:#58677c;background:#f0f3f8}
.hub080-description{color:#3a485f}
.hub080-detail-step{border-color:#e7ebf0;color:#45516a}
.hub080-step-button{color:#7e8ca0;border-color:#b9c5d5}
.hub080-step-button.is-done{color:#23764d;background:#e8f5ec;border-color:#9dcdb1}
.hub080-detail-placeholder{color:#8794a6}.hub080-detail-placeholder h2{color:#303e55}
.hub080-detail-shortcuts{border-color:#e8edf4}.hub080-detail-shortcuts h3{color:#56667b}
.hub080-detail-shortcuts a{color:#6b7890}.hub080-detail-shortcuts a:hover{color:#947126}
.hub080-disclaimer{border-color:#e6ebf2;color:#8b95a6}
@media(max-width:1200px){.hub081-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:790px){.hub081-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hub080-layout{grid-template-columns:1fr}.hub080-detail{position:static;max-height:none}}
@media(max-width:560px){.hub080-overview{margin:0;padding:0}.hub081-kpis{gap:8px}.hub081-kpis>div{padding:12px;min-height:95px}.hub081-kpis strong{font-size:23px}.hub081-head-actions{justify-content:flex-start}.hub080-quick-first{gap:5px}}

/* DHN Hub 0.8.1 — ambiente de demonstração vinculado, mas isolado do banco real */
.hub081-demo-notice{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:13px 16px;border:1px solid #f0dca0;background:#fff8e3;border-radius:12px;margin-bottom:18px}
.hub081-demo-dot{width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#cca647}
.hub081-demo-notice>div{flex:1;min-width:240px}.hub081-demo-notice strong{font-size:12px;color:#7f5f1b}.hub081-demo-notice p{font-size:11px;color:#856f41;margin:4px 0 0;line-height:1.5}.hub081-demo-notice .secondary{margin:0}
.hub081-exit{font-size:12px;font-weight:750;color:#75601f;text-decoration:underline}
#hub081-demo-root{color:var(--ink)}
.d081-toolbar,.d081-views{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid #e3e9f0;margin-bottom:20px}
.d081-toolbar a,.d081-views a{display:inline-flex;align-items:center;gap:7px;color:#637187;font-size:12px;font-weight:700;border:1px solid transparent;border-radius:8px;padding:8px 11px}
.d081-toolbar a:hover,.d081-views a:hover{background:#eaf0f7;color:#1d283b}
.d081-toolbar a.active,.d081-views a.active{background:#fff1c8;border-color:#eed89d;color:#795c1d}
.d081-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:8px 0 14px}
.d081-header h1{font-size:clamp(28px,3vw,40px);line-height:1.12;margin:9px 0 5px;color:var(--ink)}
.d081-header p{color:#6d7a8f;font-size:13px;margin:0;max-width:700px;line-height:1.5}
.d081-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.d081-mode{font-size:10px;letter-spacing:.9px;font-weight:800;border:1px solid #ebd692;background:#fff6df;color:#8a6b20;border-radius:18px;padding:9px 10px;white-space:nowrap}
.d081-light-btn{border:1px solid #dce3eb;background:#fff;border-radius:9px;color:#526177;padding:9px 10px;font-size:11px;font-weight:700;display:flex;gap:6px;align-items:center;cursor:pointer}
.d081-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0 21px}
.d081-metrics>div{background:#fff;border:1px solid #e2e8ef;border-radius:12px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:7px}
.d081-metrics span{font-size:11px;font-weight:750;display:flex;align-items:center;gap:7px;color:#708097}
.d081-metrics span svg{color:#b48c2c}
.d081-metrics strong{font-size:26px;letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.d081-metrics strong:has(+ small){line-height:1.25}
.d081-metrics small{font-size:10px;color:#929dae}
.d081-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(248px,300px);gap:15px;align-items:start}
.d081-list{min-width:0}.d081-add-task{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #dce5ee;border-radius:12px;padding:10px 11px;margin:0 0 15px}
.d081-add-task span{color:#b28a27;display:flex}.d081-add-task input{flex:1;min-width:0;border:0;background:transparent;margin:0;padding:8px 3px;font-size:13px}.d081-add-task input:focus{outline:0}.d081-add-task button{border:0;background:#1b2535;color:#fff;border-radius:8px;padding:11px 15px;font-weight:750;cursor:pointer}
.d081-list-caption{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:#7c899a;margin-bottom:17px}.d081-list-caption strong{color:#354257}
.d081-group{margin:0 0 20px}.d081-group h3{display:flex;align-items:center;gap:5px;font-size:12px;color:#4f5f76;margin:0 0 9px}
.d081-pill{background:#edf1f6;color:#657287;font-size:10px;border-radius:16px;padding:3px 7px}
.d081-row{display:flex;align-items:center;gap:10px;border:1px solid #e2e7ef;border-radius:10px;background:#fff;min-height:59px;padding:10px 12px;margin:5px 0}
.d081-row.is-high{border-left:3px solid #e0bc56}.d081-row:hover{border-color:#c4d0df;background:#fcfcff}
.d081-type{flex-shrink:0;color:#b08926;background:#fff6df;border-radius:9px;padding:9px;display:flex}
.d081-row-text{flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:inherit;display:flex;flex-direction:column;gap:5px}
.d081-row-text strong{font-size:12.5px;font-weight:750;line-height:1.4}.d081-row-text small{font-size:10.5px;color:#8490a2;line-height:1.45}
.d081-value{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.d081-value.positive{color:#22845e}.d081-value.negative{color:#a84e4e}
.d081-star,.d081-complete,.d081-open{display:grid;place-items:center;flex:none;width:28px;height:31px;padding:0;background:transparent;border:0;border-radius:7px;color:#94a1b2;cursor:pointer}
.d081-star:hover,.d081-complete:hover,.d081-open:hover{background:#eef2f7;color:#344258}.d081-star.active{color:#c59c31}
.d081-detail{background:#fff;border:1px solid #e2e8f0;padding:19px;border-radius:13px;position:sticky;top:16px;min-width:0;max-height:75vh;overflow-y:auto}
.d081-detail-empty{text-align:center;padding:34px 20px}.d081-detail-icon{margin:auto;border-radius:12px;background:#f4f6fa;color:#8594aa;display:grid;place-items:center;width:50px;height:50px}
.d081-detail h3{font-size:17px;color:#28344b;line-height:1.35;margin:12px 0 6px}.d081-detail p{font-size:12px;color:#8290a2;line-height:1.6}
.d081-detail-title{display:flex;justify-content:space-between;align-items:center;gap:6px}.d081-detail-title button{background:#f3f5f8;border:0;border-radius:7px;color:#607085;padding:6px;display:flex;cursor:pointer}
.d081-detail dl{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px 8px;border-top:1px solid #e8edf3;padding-top:15px;font-size:11px}
.d081-detail dt{font-weight:700;color:#8491a3}.d081-detail dd{margin:0;color:#33425a;overflow-wrap:anywhere}.d081-detail dd a{color:#9a761e;text-decoration:underline}
.d081-subtitle{color:#b28b2c!important;font-size:11px!important;font-weight:750}.d081-badge{display:inline-flex;color:#64521b;background:#fff3d4;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:750;white-space:nowrap}
.d081-detail-help{margin-top:20px;border-top:1px solid #e6edf4;padding-top:14px;text-align:left}.d081-detail-help strong{font-size:12px;color:#52627a}.d081-detail-help small{display:block;color:#8c99a9;font-size:11px;margin-top:7px;line-height:1.6}
.d081-steps{padding:13px 0;border-top:1px solid #e8edf3}.d081-steps strong{font-size:12px}.d081-steps label{display:flex;gap:8px;align-items:center;font-weight:500;color:#47566d;margin:13px 0}.d081-steps input{width:17px;height:17px;min-width:17px;margin:0}
.d081-module-filter{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce4ee;border-radius:10px;padding:7px 12px;margin-bottom:18px;max-width:600px}.d081-module-filter svg{color:#8290a0;flex:none}
.d081-module-filter input{border:0;background:transparent;margin:0;padding:9px 3px;flex:1;min-width:0;font-size:12px}.d081-module-filter input:focus{outline:0}.d081-module-filter button,.d081-module-actions>button{font-size:11px;background:#fff;border:1px solid #dce3ed;border-radius:7px;color:#596b83;padding:8px;cursor:pointer}
.d081-module-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}
.d081-kanban{display:grid;grid-template-columns:repeat(4,minmax(210px,1fr));gap:12px;overflow-x:auto;align-items:start;padding-bottom:10px}
.d081-kanban-col{background:#edf1f6;border:1px solid #e3e9f2;border-radius:13px;padding:11px;min-height:280px}
.d081-kanban-col>h3{font-size:12px;color:#38475f;display:flex;align-items:center;gap:4px;margin:5px 4px 13px}.d081-kanban-col>p{font-size:11px;color:#8894a6;padding:10px}
.d081-project-card{background:white;border:1px solid #dee6ef;border-radius:11px;padding:13px;margin:7px 0}
.d081-project-card>button{background:none;border:0;padding:0;text-align:left;cursor:pointer;width:100%;display:flex;flex-direction:column;gap:6px}
.d081-project-card button span{font-size:10px;color:#ae8630;font-weight:800}.d081-project-card button strong{font-size:13px;color:#29384f;line-height:1.4}.d081-project-card button small{font-size:10px;color:#8795a6;line-height:1.5}
.d081-project-card>div{border-top:1px solid #e9edf2;padding-top:10px;margin-top:10px;display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;align-items:center}
.d081-project-card>div>span{color:#38735f;font-size:11px;font-weight:750}.d081-project-card select{width:auto;max-width:125px;min-width:0;font-size:10px;color:#50637b;padding:5px 8px}
.d081-empty{padding:26px;color:#8190a4;text-align:center}
@media(max-width:1250px){.d081-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.d081-kanban{grid-template-columns:repeat(4,minmax(220px,1fr))}}
@media(max-width:850px){.d081-workspace{grid-template-columns:1fr}.d081-detail{position:static;max-height:none}.d081-header{flex-direction:column}.d081-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.d081-toolbar{flex-wrap:nowrap;overflow-x:auto}.d081-views{flex-wrap:nowrap;overflow-x:auto}.d081-row{padding:8px;gap:6px}.d081-row-text small{font-size:10px}.d081-metrics>div{padding:12px}.d081-metrics strong{font-size:22px}.d081-project-card{min-width:0}.d081-value{font-size:10px}}
