/* DHN Hub 0.9.0 — Microsoft To Do inspired scale, independent DHN visual identity.
   This stylesheet is scoped to the To Do route and deliberately leaves the legacy modules alone. */
body.hub090-route{--h90-ink:#24303b;--h90-sub:#677681;--h90-border:#e0e6e9;--h90-soft:#f5f7f7;--h90-accent:#176f79;background:#f3f5f5}
.hub090-route .side.hub074-side{width:270px;background:#19252d;border-color:#253740;padding:15px 12px 13px;box-shadow:none}
.hub090-route .hub074-side-head{padding:0 4px 14px;min-height:56px}
.hub090-route .hub074-brand-label,.hub090-route .hub074-brand-label span{color:#f4f6f5}
.hub090-route .hub074-side .hub074-links{padding:10px 1px;gap:16px}
.hub090-sidebar-block{display:flex;flex-direction:column;gap:3px;padding:0 0 12px;border-bottom:1px solid #33434b}
.hub090-sidebar-block:last-child{border-bottom:0}
.hub090-sidebar-caption{font-size:10px;letter-spacing:1.05px;font-weight:750;color:#90a3ab;margin:8px 12px 6px}
.hub090-route .hub090-nav-link{display:flex;align-items:center;gap:12px;border-radius:8px;min-height:38px;padding:8px 12px;font-size:13px;font-weight:510;color:#c4cdd0;text-decoration:none;border:1px solid transparent;transition:background .13s ease,color .13s ease}
.hub090-nav-link>.hub053-svg{width:18px;height:18px;flex:0 0 18px;color:#8fa9b1}
.hub090-route .hub090-nav-link:hover{background:#2b3b43;color:#fff}
.hub090-route .hub090-nav-link.active{background:#35484e;color:#fff;border-color:#48616a;box-shadow:inset 3px 0 #d8b44d;font-weight:700}
.hub090-route .hub090-nav-link.active>.hub053-svg{color:#e3c56d}
.hub090-route .hub090-nav-new{color:#a9b9bc}
.hub090-route .hub090-sidebar-links{padding-bottom:18px}
.hub090-route .hub074-account-link{background:#ffffff08;border-color:#ffffff16;border-radius:10px}
.hub090-route .top{min-height:64px;padding:10px 26px;background:#fff;box-shadow:none;border-bottom:1px solid var(--h90-border)}
.hub090-route .top-right{gap:8px}.hub090-route .ws-switch select{min-height:34px;border-radius:8px}
.hub090-route .signout{min-height:35px;padding:6px 10px}.hub090-route .version{font-size:10px;padding:5px 9px}
.hub090-route .workspace{min-width:0}.hub090-route .content{padding:0;max-width:none;margin:0}
.hub090-app{width:100%;min-height:calc(100dvh - 64px);color:var(--h90-ink);background:#f4f6f6;--h90-shadow:0 2px 9px #24343f0a}
.hub090-heading{padding:27px clamp(20px,2.3vw,36px) 19px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.hub090-heading-left{min-width:0}.hub090-section-label{font-size:11px;font-weight:630;color:var(--h90-accent);letter-spacing:.015em}
.hub090-heading h1{font-size:clamp(25px,2.3vw,32px);font-weight:740;line-height:1.25;letter-spacing:-.9px!important;display:flex;align-items:center;gap:11px;margin:5px 0 3px}
.hub090-heading p{font-size:12.5px;line-height:1.45;color:var(--h90-sub);margin:0}
.hub090-count{font-size:11px;color:#5f737a;background:#e7eced;padding:3px 9px;border-radius:50px;font-weight:650;letter-spacing:0}
.hub090-quiet-link{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:620;color:#547075;text-decoration:none;border:1px solid #d7e0e2;padding:9px 12px;border-radius:9px;background:#fff;white-space:nowrap}
.hub090-quiet-link svg{width:16px;height:16px}
.hub090-toolbar{display:flex;align-items:center;gap:13px;padding:0 clamp(20px,2.3vw,36px) 16px}
.hub090-search{flex:1;max-width:520px;min-height:39px;border:1px solid var(--h90-border);border-radius:9px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 12px;box-shadow:var(--h90-shadow);color:#7f9097}
.hub090-search svg{flex:none;width:17px;height:17px}
.hub090-route .hub090-search>input,.hub090-route .content .hub090-search>input{border:0!important;outline:0!important;min-height:36px!important;height:36px!important;box-shadow:none!important;background:transparent!important;width:100%;min-width:0;padding:0!important;color:var(--h90-ink);font-size:12px!important}
.hub090-sort{display:flex;gap:3px;background:#e7eced;padding:3px;border-radius:8px}
.hub090-sort a{color:#657681;text-decoration:none;border-radius:6px;padding:6px 12px;font-size:11.5px;min-height:29px;white-space:nowrap}
.hub090-sort a.active{color:#29444b;background:#fff;box-shadow:0 1px 5px #24343f18;font-weight:700}
.hub090-total{margin-left:auto;font-size:11px;color:#84919a;white-space:nowrap}
.hub090-columns{display:grid;grid-template-columns:minmax(0,1fr) 345px;border-top:1px solid #e1e7e8;min-height:calc(100dvh - 218px);background:#f4f6f6}
.hub090-center{min-width:0;padding:20px clamp(20px,2.3vw,36px) 70px}
.hub090-composer{border:1px solid #dfe6e8;background:#fff;border-radius:10px;padding:7px 12px 8px;margin:0 0 22px;box-shadow:var(--h90-shadow)}
.hub090-compose-line{display:flex;gap:10px;align-items:center;min-height:36px}
.hub090-compose-icon{font-size:23px;color:#287782;font-weight:300;width:23px;flex:none;text-align:center;line-height:1}
.hub090-route .content .hub090-compose-line input,.hub090-route .hub090-compose-line input{height:37px;min-height:37px!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0;flex:1;padding:2px!important;font-size:13.5px!important;color:#293b45!important}
.hub090-compose-line button{background:#236f79;color:#fff;border:0;border-radius:7px;padding:7px 13px;min-height:32px;font-size:11.5px;font-weight:660;cursor:pointer}
.hub090-compose-line button:hover{background:#185862}
.hub090-compose-options{margin:2px 0 0 33px}.hub090-compose-options>summary{cursor:pointer;font-size:10.5px;color:#75878e;list-style:none;display:flex;gap:5px;align-items:center;min-height:22px}
.hub090-compose-options>summary::-webkit-details-marker{display:none}.hub090-compose-options>summary svg{height:12px;width:12px}
.hub090-compose-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:8px 0 6px}
.hub090-compose-fields label{display:grid;gap:4px;font-size:11px;color:#687983}
.hub090-route .content .hub090-compose-fields select,.hub090-route .content .hub090-compose-fields input{min-height:36px;font-size:12px;border-radius:7px}
.hub090-list-group{margin:0 0 21px}
.hub090-group-heading{display:flex;align-items:center;gap:9px;margin:0 0 7px;padding:0 1px;color:#455e65}
.hub090-group-heading h2{font-size:12px!important;margin:0!important;font-weight:750;letter-spacing:0!important;color:#45616a}
.hub090-group-heading span{font-size:10px;border-radius:100px;background:#e3eaec;color:#647b83;padding:1px 7px}
.hub090-route .hub090-row{border:1px solid #e2e8e9!important;border-radius:9px;background:#fff;min-height:64px;padding:8px 10px 8px 14px!important;margin-bottom:5px;gap:10px;box-shadow:0 1px 4px #253b4806;transition:border-color .13s ease,background .13s ease;position:relative}
.hub090-route .hub090-row:hover{border-color:#bfd2d5!important;background:#fcfefe}
.hub090-route .hub090-row.is-selected{border-color:#7ca5ae!important;background:#f0f7f8}
.hub090-route .hub090-row.hub087-finished{opacity:.78}
.hub090-route .hub090-row.hub087-finished .hub090-rename{text-decoration:line-through;color:#839199}
.hub090-route .hub090-row .hub087-todo-handle{color:#9cacb2;cursor:grab;flex:0 0 14px}
.hub090-route .hub090-complete{height:23px;width:23px;min-width:23px;flex:0 0 23px;display:grid;place-items:center;border:1.7px solid #7999a0;background:#fff;color:#fff;border-radius:50%;font-size:13px;line-height:1;padding:0;cursor:pointer;box-shadow:none}
.hub090-route .hub090-complete:hover{background:#eef6f6;border-color:#247c82}
.hub090-route .hub090-row.hub087-finished .hub090-complete{border-color:#287b6d;background:#287b6d;color:#fff}
.hub090-route .hub090-kind{width:23px;height:23px;flex:0 0 23px;color:#5e8290}
.hub090-task-info{flex:1;min-width:0;display:grid;gap:2px;cursor:pointer}
.hub090-route .content .hub090-rename,.hub090-route .hub090-rename{height:26px;min-height:26px!important;line-height:26px!important;padding:0 4px!important;margin:0 0 0 -4px;width:100%;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;min-width:0;overflow:hidden;text-overflow:ellipsis;color:#27343d;font-size:13.5px!important;font-weight:620;border-radius:5px!important;outline:0}
.hub090-route .content .hub090-rename:hover{border-color:#d8e2e6!important}
.hub090-route .content .hub090-rename:focus{background:#fff!important;border-color:#6b99a3!important;outline:2px solid #9dc5cd50!important}
.hub090-task-info>a{font-size:13.5px;color:#263740;text-decoration:none;font-weight:620;line-height:1.5}
.hub090-task-info small{display:block;font-size:10.5px;color:#77868f;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub090-route .hub090-star{height:30px;min-width:31px;width:31px;border:0;background:transparent;color:#b0bac0;font-size:24px;line-height:1;padding:0;cursor:pointer;flex:none}
.hub090-route .hub090-star.important{color:#c69b2b}
.hub090-route .hub090-star:hover{color:#9d822c}
.hub090-open-detail{display:grid;place-items:center;width:31px;height:32px;flex:0 0 31px;background:transparent;border:0;color:#8ba0a6;cursor:pointer;border-radius:7px;padding:5px;text-decoration:none}
.hub090-open-detail:hover{background:#e8f1f2;color:#276d78}.hub090-open-detail svg{height:17px;width:17px}
.hub090-bottom-note{font-size:10.5px;color:#8a999f;margin:12px 0 20px}
.hub090-empty{padding:60px 20px;text-align:center;color:#71858b;display:grid;justify-items:center;gap:6px}
.hub090-empty h2{font-size:16px!important;color:#47565e;margin:6px 0 0!important}.hub090-empty p{font-size:12px;margin:0}
.hub090-project-compact{margin-top:25px;border-top:1px solid #dce5e6;padding-top:15px}
.hub090-project-compact>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;color:#50676f;font-size:12px;font-weight:700}
.hub090-project-compact>summary::-webkit-details-marker{display:none}.hub090-project-compact>summary svg{width:16px;height:16px}
.hub090-project-compact>summary strong{font-size:10px;background:#e5ebed;border-radius:22px;padding:2px 7px}
.hub090-project-compact>summary svg:last-child{margin-left:auto}
.hub090-projects-list{display:grid;gap:5px;margin-top:12px}.hub090-projects-list>button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px;width:100%;padding:9px 11px;border:1px solid #e1e8e9;border-radius:8px;background:#fff;color:#2e4048;cursor:pointer}
.hub090-projects-list>button:hover{border-color:#9fbfc5}.hub090-projects-list>button strong{display:block;font-size:12px;font-weight:640}.hub090-projects-list>button small{display:block;color:#8a979e;font-size:10px;margin-top:3px}
.hub090-detail{position:sticky;align-self:start;top:0;min-height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto;background:#fff;border-left:1px solid #e0e6e8;padding:0;scrollbar-width:thin}
.hub090-detail-top{height:56px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 19px;border-bottom:1px solid #e4e9eb}
.hub090-detail-top>span{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:740;color:#374b54}.hub090-detail-top svg{width:16px;height:16px;color:#5e7a82}
.hub090-detail-top button{display:grid;place-items:center;width:30px;height:30px;border:0;background:#f1f5f5;color:#617982;border-radius:7px;cursor:pointer}
.hub090-detail-top button:hover{background:#e1eaeb}
.hub090-detail-content{padding:21px 19px 30px}
.hub090-detail-empty{text-align:center;padding:55px 16px 20px;display:grid;justify-items:center;gap:9px;color:#8da0a5}
.hub090-detail-empty h2{font-size:14px!important;color:#586f75;margin:8px 0 0!important;letter-spacing:0!important}.hub090-detail-empty p{font-size:11.5px;line-height:1.7;max-width:230px;margin:0}
.hub090-detail-name{font-size:17px!important;line-height:1.4;letter-spacing:-.3px!important;font-weight:720;color:#243741;margin:0 0 7px}
.hub090-detail-code{font-size:10px;color:#879ba1;display:block;letter-spacing:.025em}
.hub090-detail-actionbar{display:flex;gap:6px;margin:18px 0;flex-wrap:wrap}
.hub090-detail-pill{min-height:33px;display:inline-flex;align-items:center;gap:6px;background:#f3f7f7;color:#3d6269;border:1px solid #deeaeb;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:610;cursor:pointer}
.hub090-detail-pill:hover{background:#e6f0f1}.hub090-detail-pill.is-on{background:#e2eeec;border-color:#c6dcd8;color:#226a66}
.hub090-detail-pill.is-star{background:#faf5e9;border-color:#ebdfc2;color:#977321}
.hub090-detail-block{border-top:1px solid #ebeff0;padding:15px 0;display:grid;gap:11px}
.hub090-detail-block h3{font-size:11px!important;font-weight:770;color:#6e8087;letter-spacing:.015em;margin:0!important;line-height:1.5}
.hub090-detail-pair{display:flex;align-items:start;gap:10px;font-size:12px;color:#475e65;line-height:1.5;min-height:22px}
.hub090-detail-pair svg{width:16px;height:16px;flex:0 0 16px;color:#8ca0a6}.hub090-detail-pair strong{font-weight:600;overflow-wrap:anywhere}
.hub090-steps-list{display:grid;gap:3px}
.hub090-step{display:flex;align-items:center;gap:10px;padding:8px 4px;border-radius:7px;font-size:12px;color:#394d54}
.hub090-step button{width:20px;height:20px;flex:0 0 20px;border:1.5px solid #799ca1;border-radius:50%;background:#fff;color:#fff;padding:0;line-height:17px;font-size:12px;cursor:pointer}
.hub090-step.is-done button{background:#317b6e;border-color:#317b6e}.hub090-step.is-done>span{text-decoration:line-through;color:#8b989a}
.hub090-description{line-height:1.7;color:#5b6d75;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.hub090-detail-link{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:9px;border-radius:8px;border:1px solid #e1e9e9;background:#f8faf9;color:#2f6169;padding:9px 11px;text-decoration:none;font-size:11.5px;font-weight:700;cursor:pointer}
.hub090-detail-link:hover{background:#e9f2f2;border-color:#acc5c9}.hub090-detail-link svg{width:15px;height:15px}
.hub090-detail-muted{font-size:11px;color:#87969d;line-height:1.65;margin:0}
.hub090-detail-feedback{font-size:11px;color:#b05238}
.hub090-route .hub090-row:focus-within{outline-offset:0}
.hub090-route :is(.hub090-nav-link,.hub090-sort a,.hub090-open-detail,.hub090-complete,.hub090-step button):focus-visible{outline:2px solid #d0a941;outline-offset:2px}
.hub090-route .hub087-toast{z-index:3000}
body.hub074-collapsed.hub090-route .side.hub074-side{width:78px}
body.hub074-collapsed.hub090-route .hub090-sidebar-caption,body.hub074-collapsed.hub090-route .hub090-nav-link span{display:none}
body.hub074-collapsed.hub090-route .hub090-nav-link{justify-content:center;padding:9px 4px}
@media(max-width:1320px){.hub090-columns{grid-template-columns:minmax(0,1fr) 320px}.hub090-heading{padding-top:22px}.hub090-center{padding-top:17px}}
@media(max-width:1060px){.hub090-columns{grid-template-columns:minmax(0,1fr)}.hub090-detail{position:fixed;top:64px;right:0;width:min(380px,100vw);height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);z-index:130;box-shadow:-17px 0 40px #10262b21;transform:translateX(105%);transition:transform .18s ease;visibility:hidden}.hub090-detail[data-open="1"]{transform:translateX(0);visibility:visible}}
@media(max-width:760px){.hub090-route .top{padding:9px 12px;min-height:57px}.hub090-route .top-right{gap:4px}.hub090-route .version{display:none}.hub090-route .top .ws-switch label{display:none}.hub090-route .ws-switch select{max-width:125px}.hub090-heading{padding:20px 16px 14px}.hub090-heading h1{font-size:25px}.hub090-heading-actions{display:none}.hub090-toolbar{padding:0 16px 12px;gap:7px;flex-wrap:wrap}.hub090-search{max-width:none;flex:1 1 100%}.hub090-sort{order:2}.hub090-total{order:3}.hub090-center{padding:13px 13px 58px}.hub090-route .hub090-row{min-height:64px;padding:8px 8px 8px 10px!important;gap:6px}.hub090-task-info small{font-size:10px}.hub090-route .hub090-star{width:27px;min-width:27px;font-size:21px}.hub090-open-detail{width:25px;flex-basis:25px}.hub090-composer{padding:6px 9px}.hub090-detail{top:57px;height:calc(100dvh - 57px);max-height:calc(100dvh - 57px);width:min(100vw,380px)}.hub090-compose-fields{grid-template-columns:1fr}.hub090-route .hub090-row .hub087-todo-handle{display:none}}
@media(max-width:430px){.hub090-route .hub090-row{min-height:60px}.hub090-route .hub090-rename{font-size:12.5px!important}.hub090-task-info small{font-size:9.5px}.hub090-route .top-right .signout{min-width:unset;padding:6px}.hub090-route .hub090-row .hub085-amount{font-size:10px;max-width:100px}.hub090-detail-content{padding:15px 15px 28px}}
@media(prefers-reduced-motion:reduce){.hub090-route *{transition:none!important;scroll-behavior:auto!important}}

.hub090-route .hub090-row[hidden],.hub090-route .hub090-list-group[hidden]{display:none!important}

/* O mesmo controle seguro de início, agora com apresentação discreta quando aberto a partir do To Do. */
.hub090-route .hub089-start{padding:10px 13px;border-radius:9px;background:#f1f6f6;border-color:#d4e4e6;gap:12px}
.hub090-route .hub089-start strong{font-size:12px;color:#335e66}.hub090-route .hub089-start small{font-size:11px;color:#73858b}
.hub090-route .hub089-start .hub089-slide{min-width:136px;min-height:35px;padding:7px 12px;border-radius:8px;background:#236f79;border-color:#236f79;box-shadow:none;font-size:11px}
@media(max-width:700px){.hub090-route .hub089-start{align-items:stretch}.hub090-route .hub089-start .hub089-slide{width:100%}}
@media(max-width:760px){.hub090-route .hub090-detail{width:100vw;max-width:100vw;padding-bottom:env(safe-area-inset-bottom,0px)}}
