@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#27243b;background:#f7f7fb;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:hover{filter:brightness(.96)}.shell{display:flex;height:100vh;overflow:hidden}.sidebar{width:238px;background:#fbfafc;border-right:1px solid #eceaf1;padding:20px 14px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-family:Manrope;font-weight:800;font-size:19px;padding:0 8px 28px}.logo{width:29px;height:29px;border-radius:9px;background:linear-gradient(145deg,#ff6bc9,#7655fa);display:grid;place-items:center;color:white;font-size:17px}.workspace{display:flex;align-items:center;gap:9px;padding:10px 8px;border:1px solid #eceaf1;background:white;border-radius:9px;font-weight:700;margin-bottom:19px}.ws-icon{background:#eee9ff;color:#7554dc;border-radius:6px;padding:6px}.chev{margin-left:auto;color:#9d99ad}.nav-label{font-size:10px;letter-spacing:1.1px;font-weight:800;color:#aaa5b6;margin:22px 9px 9px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;padding:10px;border-radius:7px;text-align:left;color:#6d687b;font-weight:600}.nav-item.active{color:#6f4bdc;background:#ede8ff}.nav-item .ico{font-size:17px;width:19px;text-align:center}.nav-item .end{margin-left:auto;color:#aaa4b7}.spacer{flex:1}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #eceaf1;padding:18px 4px 0}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#ead3ff;color:#8050b7;font-weight:800;font-size:11px}.profile small{display:block;color:#aaa5b3;font-size:11px;margin-top:2px}.main{flex:1;min-width:0;display:flex;flex-direction:column;background:#fff}.topbar{height:66px;border-bottom:1px solid #f0eef4;display:flex;align-items:center;gap:18px;padding:0 30px}.crumb{color:#a39dac;font-size:13px}.crumb strong{color:#544e62}.search{margin-left:auto;background:#f7f6f9;border:1px solid #efedf2;border-radius:8px;padding:9px 13px;width:235px;color:#9992a3}.topicon{color:#8f8999;font-size:18px}.content{overflow:auto;padding:30px 36px 60px;flex:1}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.eyebrow{color:#9b95a6;font-size:12px;margin-bottom:9px}.heading h1{font:800 26px Manrope;margin:0 0 7px;letter-spacing:-.8px}.heading p{margin:0;color:#9892a1;font-size:13px}.primary{background:#7956e8;color:white;border-radius:8px;padding:10px 15px;font-weight:700;box-shadow:0 3px 8px #7855e329}.secondary{border:1px solid #e9e6ee;background:white;border-radius:7px;padding:9px 12px;font-weight:600;color:#6d6779}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0}.stat{border:1px solid #eeecf2;border-radius:11px;padding:17px 18px;background:#fff}.stat-label{color:#96909e;font-size:12px;font-weight:600}.stat-num{font:800 25px Manrope;margin-top:10px}.stat-sub{font-size:11px;color:#a5a0ac;margin-left:7px;font-weight:500}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px}.purple{background:#8a70ef}.blue{background:#63a1ed}.orange{background:#f8ae5d}.green{background:#58cba1}.panel{border:1px solid #eceaf1;border-radius:12px;background:white;overflow:hidden}.panel-top{padding:19px 20px 0;display:flex;align-items:center;justify-content:space-between}.panel-top h2{font:800 16px Manrope;margin:0}.tabs{display:flex;gap:24px;border-bottom:1px solid #eeeaf1;padding:0 20px;margin-top:14px}.tab{padding:12px 0;color:#9993a3;font-weight:700;font-size:12px;border-bottom:2px solid transparent}.tab.active{color:#7653df;border-color:#7653df}.tools{display:flex;align-items:center;gap:8px;padding:16px 20px}.tools .right{margin-left:auto}.chip{background:#f7f6fa;border:1px solid #efedf2;border-radius:7px;padding:7px 10px;color:#777080;font-size:12px}.table{width:100%;border-collapse:collapse;text-align:left}.table th{font-size:11px;font-weight:600;color:#aaa4b0;background:#faf9fb;border-block:1px solid #f0eef2;padding:11px 16px}.table td{padding:13px 16px;border-bottom:1px solid #f4f2f5;font-size:12px}.table tr:last-child td{border-bottom:0}.taskname{font-weight:700;color:#4d4758}.check{display:inline-grid;place-items:center;width:16px;height:16px;border:1.5px solid #d1cadb;border-radius:5px;margin-right:10px;color:#fff;vertical-align:middle}.check.done{background:#63cba5;border-color:#63cba5}.badge{display:inline-block;padding:5px 8px;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.15px;white-space:nowrap}.todo{background:#f1eff4;color:#8a8492}.progress{background:#e7f2ff;color:#5291d4}.review{background:#fff3df;color:#d99d43}.donebadge{background:#e4f7ed;color:#52b787}.priority{font-weight:600}.high{color:#e76d74}.normal{color:#e9ad56}.low{color:#76a9d8}.miniavatar{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;font-weight:700;font-size:9px;background:#fce1dc;color:#c87866}.addrow{padding:13px 20px;color:#aaa3b3;font-size:12px}.board{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:15px;padding:18px;background:#faf9fc;overflow:auto}.column{background:#f3f2f7;border-radius:9px;padding:12px;min-height:320px}.column h3{font-size:12px;color:#696273}.card{background:white;border:1px solid #eeebf2;border-radius:8px;padding:14px;margin:10px 0;box-shadow:0 3px 8px #251b3b08}.card strong{display:block;font-size:12px;margin-bottom:18px}.cardfoot{display:flex;justify-content:space-between;align-items:center}.empty{padding:40px;color:#aaa;text-align:center}.calendar{display:grid;grid-template-columns:repeat(7,1fr);padding:18px;gap:1px;background:#eee}.day{background:white;min-height:90px;padding:10px;font-size:12px}.day b{display:block;margin-bottom:8px}.event{background:#eee9ff;color:#7752dc;padding:5px;border-radius:4px;margin:3px 0;font-size:10px}.doc{padding:40px;max-width:800px}.doc input,.doc textarea{width:100%;border:0;outline:0;resize:vertical}.doc input{font:800 28px Manrope;margin-bottom:20px}.doc textarea{min-height:300px;line-height:1.8;color:#625c6c}.chat{padding:25px;min-height:350px}.message{display:flex;gap:12px;margin-bottom:23px}.message strong{font-size:12px}.message p{margin:7px 0;color:#77717e}.composer{display:flex;padding:15px;border-top:1px solid #eee;gap:10px}.composer input{flex:1;border:1px solid #eee;border-radius:7px;padding:10px}.overlay{position:fixed;inset:0;background:#1f183866;display:grid;place-items:center;z-index:5}.modal{width:min(480px,calc(100% - 30px));background:white;border-radius:14px;padding:25px;box-shadow:0 20px 70px #1d153a44}.modal h2{font:800 20px Manrope;margin:0 0 20px}.modal label{display:block;font-size:12px;font-weight:700;color:#777;margin:14px 0 6px}.modal input,.modal select,.modal textarea{width:100%;border:1px solid #e8e5ed;border-radius:7px;padding:10px;outline-color:#957bef}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.mobile-title{display:none}@media(max-width:800px){.sidebar{width:65px;padding:18px 8px}.brand{padding:0 8px 25px}.brand span,.workspace,.nav-label,.nav-item span:not(.ico),.profile div:not(.avatar){display:none}.nav-item{justify-content:center}.profile{justify-content:center}.content{padding:22px 16px}.topbar{padding:0 16px}.search{width:150px}.summary{grid-template-columns:repeat(2,1fr)}.table{min-width:700px}.panel{overflow:auto}.heading h1{font-size:22px}.stat{padding:13px}.board{grid-template-columns:repeat(4,200px)}}
.auth-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f1f0ff,#fff6f2)}.auth-card{position:static;width:min(420px,calc(100% - 32px));box-shadow:0 20px 70px #251b3b15}.auth-card .brand{padding:0 0 26px}.auth-card p{color:#8b8495}.auth-error{color:#be4556!important}.doc form label{display:block;margin:12px 0;color:#777;font-size:12px}.doc form input,.doc form select{width:auto;border:1px solid #e8e5ed;border-radius:7px;padding:8px;font:inherit}.doc hr{border:0;border-top:1px solid #eee;margin:26px 0}

.modal{max-height:calc(100vh - 30px);overflow-y:auto}.checklist-row,.checklist-add{display:flex;align-items:center;gap:10px;margin:8px 0}.checklist-row input{width:auto}.checklist-row span{flex:1;overflow-wrap:anywhere}.checklist-row button{font-size:20px;color:#888}.checklist-add input{flex:1;min-width:0}

.field-row,.attachment-row{display:flex;gap:8px;align-items:center;margin:8px 0}.field-row input{min-width:0}.attachment-row button:first-child{color:#7653df;text-align:left;overflow-wrap:anywhere}.attachments small,.hint{display:block;color:#888;margin:8px 0}.attachments input{margin:8px 0}.modal select[multiple]{min-height:80px}

.microsoft-login{display:flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;color:#302d39;background:#fff;border:1px solid #dedbe5;border-radius:8px;padding:12px;margin-top:24px;font-weight:700}.microsoft-login:hover{background:#f7f6fa}.microsoft-mark{display:grid;grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:2px}.microsoft-mark i:nth-child(1){background:#f25022}.microsoft-mark i:nth-child(2){background:#7fba00}.microsoft-mark i:nth-child(3){background:#00a4ef}.microsoft-mark i:nth-child(4){background:#ffb900}.keycloak-login{display:block;text-align:center;color:#7653df;margin-top:18px;font-weight:600;text-decoration:none}.keycloak-login:hover{text-decoration:underline}

/* ConsultOS sign-in, following the runAIsimple design system. */
@font-face{font-family:RunSimple;src:url("assets/RunSimpleFont.otf") format("opentype");font-display:swap}
.signin-page{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;background:#181818;color:#fff;padding:clamp(56px,12vh,104px) 20px 40px;font-family:'DM Sans','Helvetica Neue',Arial,sans-serif}
.signin-shell{width:min(100%,380px)}
.consultos-wordmark{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 52px;color:#fff;font-family:RunSimple,'Arial Black',sans-serif;font-size:40px;line-height:1;letter-spacing:.01em}
.consultos-mark{width:44px;height:44px;flex:none}
.signin-card{background:#242424;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:44px 44px 36px;box-shadow:0 4px 16px rgba(0,0,0,.4)}
.signin-card h1{font:400 27px/1.15 RunSimple,'Arial Black',sans-serif;letter-spacing:.01em;margin:0 0 16px;color:#fff}
.signin-description{font:400 14px/1.65 'DM Sans','Helvetica Neue',Arial,sans-serif;color:#b0b6bf;margin:0 0 28px}
.signin-primary,.signin-card .microsoft-login{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:700;transition:background 120ms ease-out,opacity 120ms ease-out}
.signin-primary{background:#f2004b;color:white;box-shadow:0 4px 24px rgba(242,0,75,.18)}
.signin-primary:hover{background:#c4003c}
.signin-separator{display:flex;align-items:center;gap:14px;margin:24px 0;color:#a0a8b4;font-size:12px}
.signin-separator span{height:1px;background:rgba(255,255,255,.24);flex:1}
.signin-card .microsoft-login{gap:10px;margin:0;border:1px solid rgba(255,255,255,.45);background:transparent;color:#fff;font-weight:500;box-shadow:none}
.signin-card .microsoft-login:hover{background:#333}
.signin-card .microsoft-mark{grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px)}
.signin-help{margin:28px 0 0;color:#a0a8b4;font-size:12px;line-height:1.6;text-align:center}
.signin-footer{color:#7d838e;font-size:12px;text-align:center;margin:26px 0 0}
.signin-page a:focus-visible{outline:3px solid #ff3370;outline-offset:4px}
@media(max-width:460px){.signin-page{padding:56px 16px 32px}.consultos-wordmark{margin-bottom:36px;font-size:36px}.signin-card{padding:32px 24px}.signin-card h1{font-size:25px}}

/* Workspace design system */
:root{color-scheme:dark}
.shell{background:#181818;color:#fff;font-family:'DM Sans','Helvetica Neue',Arial,sans-serif}
.shell .sidebar{width:248px;background:#1d1d1d;border-right:1px solid #353535;padding:24px 16px}
.shell .brand,.auth-card .brand{font-family:RunSimple,'Arial Black',sans-serif;font-size:25px;font-weight:400;letter-spacing:.02em;color:#fff;padding:0 8px 28px}
.shell .logo,.auth-card .logo{background:none;width:32px;height:32px;border-radius:8px;display:block;flex:none}
.logo svg{display:block;width:100%;height:100%}
.line-icon{display:block;width:18px;height:18px;flex:none}
.shell .workspace{background:#292929;border:1px solid #414141;color:#f4f5f7;padding:10px;border-radius:8px;margin-bottom:20px;font-weight:600}
.shell .ws-icon{background:#393939;color:#d2d6dc;border-radius:6px;padding:6px}
.shell .chev,.shell .nav-item .end{color:#939aa5}
.shell .nav-label{color:#828b98;font-size:10px;letter-spacing:1.2px;margin:20px 10px 8px}
.shell .nav-item{color:#b4bbc5;min-height:39px;padding:9px 10px;border-radius:8px;font-weight:500}
.shell .nav-item:hover{background:#303030;color:#fff}
.shell .nav-item.active{background:#3b262d;color:#ff668f}
.shell .nav-item .ico{display:grid;place-items:center;width:20px;color:inherit}
.shell .profile{border-color:#373737;color:#f4f5f7;padding:18px 4px 0}
.shell .profile small{color:#a0a8b4}
.shell .avatar,.shell .miniavatar{background:#51333d;color:#ffd5e1}
.shell .main{background:#181818}
.shell .topbar{height:68px;background:#1d1d1d;border-color:#333;padding:0 36px}
.shell .crumb{color:#8b95a4}.shell .crumb strong{color:#eceff3}
.shell .search{background:#282828;border:1px solid #414141;color:#fff;border-radius:8px;outline-color:#f2004b}
.shell .search::placeholder{color:#9da5b0}.shell .topicon{color:#a0a8b4}
.shell .content{padding:36px 40px 64px}
.shell .eyebrow{color:#a0a8b4;font-size:10px;letter-spacing:1.1px;font-weight:700;margin-bottom:12px}
.shell .heading h1{font:400 38px/1.1 RunSimple,'Arial Black',sans-serif;letter-spacing:.01em;color:#fff;margin:0 0 9px}
.shell .heading p{color:#a0a8b4;font-size:13px;line-height:1.5}
.shell .primary,.auth-card .primary,.modal .primary{background:#f2004b;color:#fff;border-radius:8px;box-shadow:0 4px 24px rgba(242,0,75,.2);font-weight:700;letter-spacing:.02em;text-transform:uppercase;font-size:12px;padding:11px 16px}
.shell .primary:hover,.auth-card .primary:hover,.modal .primary:hover{background:#c4003c}
.shell .secondary,.modal .secondary{background:#2a2a2a;border:1px solid #505050;color:#eff0f2;border-radius:8px;font-size:12px}
.shell .secondary:hover,.modal .secondary:hover{background:#383838}
.shell .summary{gap:16px;margin:28px 0}
.shell .stat{background:#242424;border:1px solid #3b3b3b;border-radius:14px;padding:20px}
.shell .stat-label{color:#a0a8b4}.shell .stat-num{font:400 34px/1 RunSimple,'Arial Black',sans-serif;color:#fff;margin-top:16px}
.shell .stat-sub{font:400 11px 'DM Sans',sans-serif;color:#8f98a6;margin-left:8px}
.shell .dot.purple{background:#f2004b}.shell .dot.blue{background:#7d9dc9}.shell .dot.orange{background:#f5a623}.shell .dot.green{background:#00c97a}
.shell .panel{background:#242424;border:1px solid #3b3b3b;border-radius:14px;color:#f4f5f7;box-shadow:0 4px 16px rgba(0,0,0,.16)}
.shell .panel-top{padding:22px 24px 0}.shell .panel-top h2,.shell .doc h2{font:400 24px/1.2 RunSimple,'Arial Black',sans-serif;color:#fff}
.shell .panel-top p{color:#a0a8b4!important}.shell .tabs{border-color:#404040;gap:26px;padding:0 24px}
.shell .tab{display:inline-flex;align-items:center;gap:7px;color:#a0a8b4;border-color:transparent;font-size:12px;padding:13px 0}
.shell .tab .line-icon{width:15px;height:15px}.shell .tab.active{color:#fff;border-color:#f2004b}
.shell .tools{padding:16px 24px}.shell .chip{background:#303030;border:1px solid #454545;color:#d0d5dd;border-radius:8px}
.shell .table th{background:#292929;color:#a0a8b4;border-color:#3a3a3a;padding:12px 16px}
.shell .table td{border-color:#353535;color:#e1e4e9;padding:14px 16px}
.shell .taskname{color:#f4f5f7}.shell .check{border-color:#858e9c}.shell .check.done{background:#00a76b;border-color:#00a76b}
.shell .badge{border-radius:999px;font-size:10px;padding:5px 9px}.shell .todo{background:#404247;color:#d4d8de}.shell .progress{background:#23394b;color:#a7d4fa}.shell .review{background:#4b3821;color:#f8ca82}.shell .donebadge{background:#1e4737;color:#a4e9c8}
.shell .priority.high{color:#ff829e}.shell .priority.normal{color:#ffc578}.shell .priority.low{color:#a6c8ed}
.shell .addrow{color:#a0a8b4}.shell .addrow:hover{color:#fff}
.shell .board{background:#202020;padding:20px}.shell .column{background:#2d2d2d;border:1px solid #3e3e3e;border-radius:10px}.shell .column h3{color:#d6dae0}
.shell .card{background:#343434;border:1px solid #4a4a4a;color:#f4f5f7;border-radius:10px;box-shadow:none}
.shell .calendar{background:#3c3c3c}.shell .day{background:#292929;color:#e1e4e9}.shell .event{background:#50303b;color:#ffd2de}
.shell .doc{padding:32px;max-width:880px}.shell .doc p,.shell .message p{color:#a0a8b4;line-height:1.6}.shell .doc hr{border-color:#414141}
.shell .doc input,.shell .doc textarea,.shell .doc select,.shell .composer input,.modal input,.modal select,.modal textarea{background:#1d1d1d!important;color:#f4f5f7!important;border:1px solid #4a4a4a!important;border-radius:8px;outline-color:#f2004b}
.shell .doc input::placeholder,.shell .doc textarea::placeholder,.shell .composer input::placeholder,.modal input::placeholder,.modal textarea::placeholder{color:#8f98a6}
.shell .doc #docTitle{font:400 28px RunSimple,'Arial Black',sans-serif;border:0!important;background:transparent!important;padding:0;margin-bottom:18px}
.shell .doc #docBody{min-height:300px;padding:16px;line-height:1.7}
.shell .doc form label{color:#d6dae0;font-weight:600}.shell .doc form input,.shell .doc form select{padding:10px;font:400 13px 'DM Sans',sans-serif;margin:4px 0 12px;width:auto;max-width:100%}
.shell .doc form textarea{padding:12px;min-height:100px}
.shell .doc form input[name=title]{display:block;width:100%}.shell .doc form .primary{margin-top:12px}
.shell .chat{min-height:350px}.shell .composer{border-color:#414141}.shell .composer input{padding:10px}
.shell .member-row{border-bottom:1px solid #404040;padding:8px 0}.shell .empty{color:#a0a8b4}
.overlay{background:rgba(10,10,10,.78);backdrop-filter:blur(8px)}
.modal{background:#292929;color:#fff;border:1px solid #494949;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.modal h2{font:400 26px/1.2 RunSimple,'Arial Black',sans-serif;color:#fff}.modal label{color:#d6dae0}
.modal input,.modal select,.modal textarea{padding:10px}.modal small{color:#a0a8b4}.modal-actions button:not(.primary){color:#e4e7ec}
.auth-wrap{background:#181818}.auth-card p{color:#a0a8b4}.auth-error{color:#ff829e!important}
.shell :is(button,a,input,select,textarea):focus-visible,.modal :is(button,a,input,select,textarea):focus-visible{outline:2px solid #ff668f;outline-offset:2px}
.shell button:disabled,.modal button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:800px){.shell .sidebar{width:64px;padding:18px 8px;overflow-y:auto}.shell .brand{padding:0 8px 25px}.shell .nav-item{justify-content:center}.shell .profile{flex-wrap:wrap}.shell .profile .chev{margin:0}.shell .content{padding:24px 16px 48px}.shell .topbar{padding:0 16px}.shell .search{width:min(150px,35vw)}.shell .heading h1{font-size:30px}.shell .summary{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .stat{padding:14px}.shell .stat-num{font-size:28px}.shell .stat-sub{display:block;margin:6px 0 0}.shell .panel{overflow:auto}.shell .board{grid-template-columns:repeat(4,200px)}.shell .doc{padding:24px}.shell .calendar{min-width:650px}}

.shell .priority{display:inline-flex;align-items:center;gap:5px}.shell .priority .line-icon{width:13px;height:13px}.shell .chev .line-icon,.shell .end .line-icon{width:15px;height:15px}.modal-actions{position:sticky;bottom:-25px;background:#292929;padding:16px 0 4px;z-index:1;border-top:1px solid #414141}
