/* SIGMA Produtividade — espaço de projetos */
.prj-page{width:100%;max-width:1510px;margin:0 auto;--prj-text:#203252;--prj-muted:#7587a4;color:var(--prj-text)}
.prj-head,.prj-panelhead{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:5px 0 26px}
.prj-head h1{margin:7px 0;font-size:clamp(27px,3vw,37px);letter-spacing:-1.2px;font-weight:850}
.prj-head p,.prj-panelhead p,.prj-hero p{color:var(--prj-muted);line-height:1.5;margin:4px 0 0}
.prj-eyebrow{font-size:11px;font-weight:850;letter-spacing:1.5px;color:var(--primary);text-transform:uppercase}
.prj-home-stats{display:flex;gap:11px;flex-wrap:wrap;margin:0 0 26px}
.prj-home-stats span{background:white;border:1px solid #e1e9f4;padding:12px 19px;border-radius:13px;color:#637591;font-size:13px}
.prj-home-stats strong{font-size:20px;color:#203653;padding-right:7px}
.prj-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.prj-card{border:1px solid #e4eaf4;border-top:5px solid var(--project-mark);border-radius:19px;background:white;min-height:150px;padding:24px;box-shadow:0 9px 27px #122f5710;display:flex;gap:15px;text-align:left;align-items:center;cursor:pointer;color:inherit;transition:transform .15s,box-shadow .15s}
.prj-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px #163b6124}
.prj-card-icon,.prj-hero-icon{width:57px;height:57px;border-radius:17px;background:color-mix(in srgb,var(--project-mark) 20%,#fff);display:grid;place-items:center;font-size:31px;color:#3669ae;flex-shrink:0}
.prj-card-main{display:grid;gap:8px;min-width:0;flex:1}
.prj-card-main strong{font-size:19px;overflow-wrap:anywhere}.prj-card-main small{color:#7b8da7;font-size:12px}
.prj-card-arrow{color:var(--primary);font-size:24px}
.prj-back{margin-bottom:17px}.prj-back-btn{background:transparent;border:0;color:#5e7392;cursor:pointer;font-weight:750;padding:4px 2px}
.prj-hero{display:flex;align-items:center;gap:20px;border:1px solid #deebf5;border-radius:21px;padding:25px 28px;background:linear-gradient(110deg,color-mix(in srgb,var(--project-mark) 19%,white),#fff 64%);box-shadow:0 12px 30px #123f6a0c}
.prj-hero-main{flex:1;min-width:0}.prj-hero h1{font-size:clamp(25px,3vw,37px);margin:6px 0;letter-spacing:-1px;overflow-wrap:anywhere}
.prj-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.prj-pills span{background:white;border:1px solid #e4eaf4;border-radius:30px;padding:7px 11px;font-size:12px;color:#5c6c85;font-weight:750}
.prj-settings{align-self:flex-start;white-space:nowrap}
.prj-metrics{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:12px;margin:18px 0 22px}
.prj-metrics>div{border:1px solid #e4eaf3;background:white;padding:18px 20px;border-radius:17px;min-width:0}
.prj-metrics small{display:block;font-size:10px;letter-spacing:1px;font-weight:850;color:#8292a8}
.prj-metrics strong{display:block;font-size:30px;font-weight:850;margin:7px 0 0;color:#203452}
.prj-meter{height:7px;background:#ecf1f8;border-radius:12px;margin-top:9px;overflow:hidden}.prj-meter i{display:block;height:100%;border-radius:12px;background:linear-gradient(90deg,var(--primary),var(--secondary))}
.prj-tabs{display:flex;gap:5px;overflow:auto;border-bottom:1px solid #dce4f0;scrollbar-width:thin;margin-bottom:22px}
.prj-tabs button{border:0;background:transparent;cursor:pointer;color:#657997;font-size:14px;font-weight:750;white-space:nowrap;padding:15px 17px;border-bottom:3px solid transparent}
.prj-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}.prj-tabs button:hover{background:#e9f2fb}
.prj-welcome{padding:19px 22px;border-radius:17px;border:1px solid #e2e9f6;background:linear-gradient(120deg,#fff,#eff7ff);margin-bottom:20px}.prj-welcome h2{font-size:23px;margin:6px 0}.prj-welcome p{color:#6b7e99;font-size:14px;margin:0}
.prj-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 20px}
.prj-action-grid button{min-height:126px;text-align:left;border:1px solid #dfe7f2;background:#fff;border-radius:17px;padding:18px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;cursor:pointer;box-shadow:0 8px 20px #1b36510b;transition:border-color .17s,transform .17s}
.prj-action-grid button:hover{border-color:var(--primary);transform:translateY(-2px)}.prj-action-grid button strong{font-size:15px}.prj-action-grid button small{font-size:12px;color:#8092aa}.prj-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf1ff;color:var(--primary);font-size:22px;margin-bottom:5px}
.prj-section-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.prj-panel{padding:24px;border-radius:21px;background:#fff;border:1px solid #e2eaf5;box-shadow:0 12px 30px #12345a0b;min-width:0}
.prj-panel h3,.prj-panel h2{margin:0 0 8px;font-weight:820;color:#243650}.prj-panel h2{font-size:23px}.prj-panelhead{margin:0 0 22px}.prj-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.prj-row{display:flex;align-items:center;gap:12px;border:1px solid #e6ebf4;border-radius:14px;padding:14px 15px;margin:8px 0;min-width:0}
.prj-row-body{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.prj-row-body strong,.prj-check strong{overflow-wrap:anywhere;font-size:14px}.prj-row-body small,.prj-check small{display:block;color:#8a9ab0;font-size:12px;white-space:pre-wrap;line-height:1.45}
.prj-check{display:flex;align-items:center;gap:12px;flex:1;min-width:0;cursor:pointer}.prj-check input{width:20px;height:20px;accent-color:var(--primary);flex-shrink:0}.prj-check span{flex:1;min-width:0}.prj-check .completed{text-decoration:line-through;color:#91a0af}
.prj-small{border:0;background:#f1f5fb;border-radius:8px;padding:6px 11px;font-size:18px;color:#7d8da4;cursor:pointer;flex-shrink:0}.prj-small:hover{background:#ffe6e6;color:#b33}
.prj-postits{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.prj-postit{padding:18px;border-radius:13px;min-height:174px;box-shadow:0 7px 16px #192d4020;display:flex;flex-direction:column;gap:9px;border:1px solid #15151513}.prj-postit strong{font-size:16px}.prj-postit p{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;flex:1}.prj-postit button{border:0;border-radius:9px;background:#ffffffa0;padding:8px 12px;cursor:pointer;font-weight:720;color:#35445a}
.prj-empty{grid-column:1/-1;display:grid;place-items:center;text-align:center;padding:36px 15px;color:#8698af}.prj-empty span{font-size:34px;color:#6ba3c9}.prj-empty p{font-size:14px;line-height:1.5}
.prj-editor-overlay{position:fixed;inset:0;background:#07162dba;z-index:1000;display:grid;place-items:center;padding:12px;backdrop-filter:blur(5px)}
.prj-editor-dialog{width:min(1100px,100%);height:min(96dvh,920px);border-radius:20px;background:#f5f8fc;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 90px #0006}
.prj-editor-dialog header,.prj-editor-dialog footer{background:#fff;display:flex;justify-content:space-between;align-items:center;gap:13px;padding:16px 24px;border-bottom:1px solid #e3e9f2}.prj-editor-dialog header h2{margin:5px 0 0}.prj-editor-close{width:38px;height:38px;border-radius:11px;border:0;cursor:pointer;font-size:26px;background:#eaf0f9;color:#486182}
.prj-editor-heading{padding:14px 24px 0}.prj-editor-title{width:100%;font-size:23px!important;font-weight:780!important;background:#fff!important;border:1px solid #dce6f2!important;border-radius:11px!important;padding:12px 18px!important}
.prj-rich-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:#fff;border:1px solid #e2e8f1;padding:7px;margin:12px 24px 0;border-radius:12px}
.prj-rich-tools button,.prj-rich-tools select{font:inherit;min-width:34px;border:0;background:#f0f5fa;border-radius:8px;padding:7px 9px;color:#435a76;cursor:pointer}.prj-rich-tools button:hover{background:#deebf9}.prj-rich-tools label{display:flex;align-items:center;gap:6px;color:#526b88;font-size:12px;padding:0 5px}.prj-rich-tools input[type=color]{width:30px;height:32px;border:0;background:transparent;cursor:pointer}
.prj-rich-area{flex:1;margin:12px 24px;padding:35px 42px;background:#fff;outline:none;border:1px solid #e1e7f0;border-radius:9px;box-shadow:0 6px 20px #1a2f480d;overflow:auto;min-height:120px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;color:#26364a}
.prj-rich-area:focus{border-color:#adc1e2}.prj-rich-area h1{font-size:27px}.prj-rich-area h2{font-size:22px}.prj-rich-area table{border-collapse:collapse;width:100%}.prj-rich-area td,.prj-rich-area th{border:1px solid #d6deea;padding:8px}.prj-editor-dialog footer{border-top:1px solid #e3e9f2;border-bottom:0;justify-content:flex-end;flex-wrap:wrap}.prj-editor-dialog footer span{margin-right:auto;color:#7c8da5;font-size:12px}
@media(max-width:1100px){.prj-metrics{grid-template-columns:repeat(3,1fr)}.prj-metrics>div:first-child{grid-column:span 3}}@media(max-width:770px){.prj-head,.prj-panelhead{align-items:flex-start;flex-direction:column}.prj-hero{padding:19px;align-items:flex-start;flex-wrap:wrap}.prj-hero-icon{width:45px;height:45px;font-size:25px}.prj-settings{margin-left:0}.prj-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prj-section-grid{grid-template-columns:1fr}.prj-panel{padding:16px}.prj-metrics{grid-template-columns:repeat(2,1fr)}.prj-metrics>div:first-child{grid-column:span 2}.prj-editor-dialog{height:calc(100dvh - 24px)}.prj-rich-area{margin:8px 10px;padding:20px}.prj-rich-tools{margin:8px 10px 0}.prj-editor-heading{padding:10px}.prj-editor-dialog header,.prj-editor-dialog footer{padding:13px}.prj-row{flex-wrap:wrap}.prj-row-body{flex-basis:60%}}
@media(max-width:430px){.prj-action-grid{grid-template-columns:1fr}.prj-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.prj-hero{gap:11px}.prj-panelhead .btn{padding:10px 12px}.prj-postits{grid-template-columns:1fr}.prj-grid{grid-template-columns:1fr}}
/* Navegação SIGMA, cabeçalho limpo e tooltip renderizado fora da barra para não ser cortado. */
.brand{justify-content:space-between;gap:10px}
.brand-logo{flex:1 1 auto;min-width:0;max-width:166px;width:166px;display:flex;align-items:center}
.brand-logo .brand-full{width:100%!important;max-width:160px!important;height:auto!important;object-fit:contain!important}
.brand>strong{display:none!important}
body.nav-collapsed .brand-logo{max-width:45px;width:45px;flex:0 0 45px}
#sigma-nav-hint{position:fixed;z-index:1100;max-width:220px;background:#1b3155;color:white;box-shadow:0 12px 34px #071a3d57;padding:11px 14px;border-radius:10px;pointer-events:none;font-size:13px;font-weight:750;line-height:1.2;white-space:nowrap}
#sigma-nav-hint[hidden]{display:none!important}
.sigma-support-status{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:26px;text-align:center;background:linear-gradient(160deg,#f5f9ff,#fff)}
.sigma-support-status[hidden]{display:none}.sigma-support-status h3{margin:5px 0;font-size:21px;color:#243b5d}.sigma-support-status p{font-size:14px;color:#627b99;line-height:1.5;max-width:350px}
.sigma-support-loader{width:45px;height:45px;border:4px solid #e1eafd;border-top-color:var(--primary);border-radius:50%;animation:prjrotate .8s linear infinite}@keyframes prjrotate{to{transform:rotate(360deg)}}
#sigma-support-frame{flex:1;width:100%;border:0;background:white;min-height:0}#sigma-support-frame[hidden]{display:none}
@media(max-width:760px){.brand-logo{max-width:160px}.brand-logo .brand-full{max-width:160px!important}}
.prj-hero-actions{display:flex;gap:8px;align-self:flex-start;align-items:center;flex-wrap:wrap}
.prj-danger{color:#a83f4a!important;border-color:#f2c7ce!important;background:#fffafb!important}
.prj-danger:hover{background:#ffeff1!important}
