/* DHN Hub 0.8.6: ficha central 360° inspirada no espaço, ações e densidade do Edmate.
   Mantém a paleta institucional e a acessibilidade do Hub. */
.hub086-dialog{width:min(1040px,calc(100vw - 24px));max-width:1040px;max-height:min(92dvh,1020px);border-radius:17px}
.hub086-dialog .hub085-dialog-top{padding:13px 21px;background:#fff;position:relative;z-index:1}
.hub086-dialog .hub085-dialog-top h2{font-size:17px;letter-spacing:-.3px}
.hub086-dialog .hub085-dialog-content{padding:0 20px 16px;max-height:calc(min(92dvh,1020px) - 65px)}
.hub086-hero{display:flex;align-items:center;gap:15px;padding:21px 0 16px;border-bottom:1px solid #e8ebf1}
.hub086-project-avatar{display:grid;place-items:center;flex:0 0 62px;height:62px;background:#e8eafd;color:#6350b9;border-radius:17px;font-size:21px;font-weight:800;letter-spacing:.3px}
.hub086-hero-info{min-width:0;flex:1}
.hub086-hero-info>small{display:block;color:#8792a3;font-size:11px;font-weight:700;letter-spacing:.2px}
.hub086-hero-info h3{font-size:22px;line-height:1.2;letter-spacing:-.45px;margin:4px 0 9px;color:#1f2940;overflow-wrap:anywhere}
.hub086-hero-sub{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#60728d}
.hub086-badge{font-size:11px;font-weight:700;border-radius:20px;display:inline-flex;align-items:center;padding:5px 9px;white-space:nowrap;background:#f0f2f8;color:#53627d}
.hub086-badge-blue{background:#edf3ff;color:#4472ca}.hub086-badge-green{background:#e7f7ef;color:#24805b}.hub086-badge-amber{background:#fff4dc;color:#9f7224}
.hub086-tabs{display:flex;gap:3px;overflow:auto;scrollbar-width:thin;padding:9px 0 10px;border-bottom:1px solid #e9edf3;position:sticky;top:0;background:#fff;z-index:2}
.hub086-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:10px 13px;color:#65748b;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer;min-height:40px}
.hub086-tabs button.active{color:#3667c4;border-bottom-color:#527eea;background:#f6f8ff}
.hub086-tabs button:hover{background:#f6f8fc}
.hub086-main{padding:17px 0}.hub086-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 15px}
.hub086-metric{min-height:80px;padding:14px;background:#f8f9ff;border:1px solid #e6eaf6;border-radius:12px;display:flex;flex-direction:column;gap:8px}
.hub086-metric span{font-size:11px;color:#667792}.hub086-metric strong{font-size:25px;color:#273b6a;font-variant-numeric:tabular-nums;line-height:1}
.hub086-metric.indigo{background:#f1efff}.hub086-metric.blue{background:#eff7ff}.hub086-metric.coral{background:#fff3f0}.hub086-metric.coral strong{color:#bb5657}.hub086-metric.mint{background:#effaf4}.hub086-metric.mint strong{color:#2b8659}
.hub086-overview{display:grid;grid-template-columns:1.1fr 1fr;gap:13px;align-items:start}
.hub086-panel{min-width:0;background:#fff;border:1px solid #e3e9f3;border-radius:12px;padding:14px 16px;margin:15px 0}
.hub086-overview .hub086-panel{margin:0}.hub086-section-head{margin-bottom:13px}.hub086-section-head h3{font-size:14px;font-weight:800;margin:0;color:#1f2c46}
.hub086-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0}.hub086-facts div{min-width:0}.hub086-facts dt{color:#8590a4;font-size:11px}.hub086-facts dd{margin:3px 0 0;color:#26364e;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.hub086-description{font-size:12px;color:#6e7e95;line-height:1.65;border-top:1px solid #edf1f6;margin:14px 0 0;padding-top:12px}
.hub086-record{display:flex;align-items:flex-start;gap:10px;padding:10px 2px;border-top:1px solid #edf0f5;min-width:0}
.hub086-record:first-of-type{border-top:0}.hub086-record-icon{display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;background:#f1f4ff;color:#5275c4;font-size:13px;font-weight:800}
.hub086-record-text{display:grid;gap:3px;min-width:0;flex:1}.hub086-record-text strong{font-size:12px;color:#29364b;overflow-wrap:anywhere}.hub086-record-text small{font-size:11px;color:#71819a;line-height:1.4;overflow-wrap:anywhere}
.hub086-placeholder{padding:20px 6px;color:#8290a3;font-size:12px}.hub086-entry{padding:12px 0;border-top:1px solid #edf0f5}.hub086-entry:first-of-type{border-top:0}.hub086-entry>.hub086-record{border:0;padding:0 0 8px}
.hub086-disclosure{margin:8px 0;border:1px solid #dde6f4;border-radius:9px;background:#f9fbff}
.hub086-disclosure summary{list-style:revert;cursor:pointer;font-size:11px;font-weight:750;color:#4471be;padding:10px 12px}.hub086-disclosure[open] summary{border-bottom:1px solid #e2e8f4}
.hub086-task-editor{padding:10px}.hub086-edit-form{padding:12px}.hub086-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hub086-edit-fields>.hub086-control:first-child:nth-last-child(4){grid-column:span 2}
.hub086-control{font-size:11px;color:#5e6c84;font-weight:700;margin:0;display:grid;gap:5px;min-width:0}
.hub086-control input,.hub086-control select{font:inherit;font-size:12px;font-weight:500;width:100%;max-width:100%;min-width:0;min-height:37px;border:1px solid #dce4f0;border-radius:8px;padding:8px 10px;background:#fff;color:#253147}
.hub086-form-buttons{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:11px}.hub086-btn{cursor:pointer;font:inherit;font-size:12px;font-weight:750;min-height:36px;border-radius:8px;padding:8px 14px}
.hub086-btn.primary{background:#426ed6;color:#fff;border:1px solid #426ed6}.hub086-btn.primary:hover{background:#305ab9}.hub086-btn:disabled{opacity:.5;cursor:progress}
.hub086-step{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #e7edf6}.hub086-step>span{font-size:12px;color:#55647b}.hub086-step-done{color:#2b8b61!important}
.hub086-step-form{margin:0;padding:0}.hub086-step-form .hub086-form-buttons{margin:0}.hub086-step-form .hub086-btn{min-height:30px;font-size:11px;background:#eaf0ff;border:1px solid #d5e0ff;color:#365cab}.hub086-step-form .hub086-edit-fields{display:none}
.hub086-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hub086-person{min-width:0;border:1px solid #e3eaf4;border-radius:12px;padding:14px;display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:start;background:#fff}
.hub086-person-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#e5e9ff,#daeafa);color:#5a63bb;font-weight:800;font-size:16px}
.hub086-person-info{display:grid;gap:3px;min-width:0}.hub086-person-info strong{font-size:13px;color:#1e2a42}.hub086-person-info small{font-size:11px;color:#718099;overflow-wrap:anywhere}
.hub086-person-actions{display:flex;gap:7px;flex-wrap:wrap;grid-column:1/-1}.hub086-inline-link{font-size:11px;color:#406fb6;text-decoration:none;font-weight:750}.hub086-person-actions .hub086-inline-link{border:1px solid #dce6fb;border-radius:16px;padding:6px 9px;background:#f6f9ff}
.hub086-person>.hub086-disclosure{grid-column:1/-1;margin:0}.hub086-person>.hub086-disclosure .hub086-edit-fields{grid-template-columns:1fr}
.hub086-finance-tabs{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hub086-finance-tabs .hub086-panel{margin:15px 0 0}
.hub086-finance-main{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.hub086-finance-main>div{min-width:0;display:grid;gap:5px;flex:1}.hub086-finance-main strong{font-size:12px}.hub086-finance-main small{font-size:11px;color:#73819a;line-height:1.4}
.hub086-finance-note,.hub086-issuance{font-size:11px;color:#71819a;line-height:1.5;margin:7px 0}.hub086-issuance{color:#886c3e}
.hub086-bottom{margin:14px 0 0;border-top:1px solid #e9eef5;padding:13px 0 0;display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:11px;color:#8794a8;flex-wrap:wrap}
.hub086-success{border:1px solid #b9e5cc;background:#effcf3;border-radius:9px;color:#25734d;font-size:12px;font-weight:700;padding:10px 12px;margin:13px 0}
.hub086-dialog .hub085-data-error{font-size:12px;margin:7px 0}
.hub086-dialog button:focus-visible,.hub086-dialog a:focus-visible,.hub086-dialog input:focus-visible,.hub086-dialog select:focus-visible,.hub086-dialog summary:focus-visible{outline:2px solid #e1b63e;outline-offset:2px}
@media(max-width:760px){.hub086-overview,.hub086-finance-tabs,.hub086-people{grid-template-columns:1fr}.hub086-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hub086-hero-info h3{font-size:18px}.hub086-dialog .hub085-dialog-content{padding:0 12px 15px}.hub086-project-avatar{flex-basis:46px;height:46px;font-size:15px}.hub086-hero{gap:10px;padding:14px 0}.hub086-dialog .hub085-dialog-top{padding:10px 13px}.hub086-tabs button{padding:9px 10px}.hub086-facts{gap:9px}.hub086-metric{min-height:70px;padding:10px}.hub086-panel{padding:12px}.hub086-edit-fields{grid-template-columns:1fr}.hub086-edit-fields>.hub086-control:first-child:nth-last-child(4){grid-column:auto}}
