/* Estilos compartilhados e identidade visual do DRboard. */

:root {
  font-family:'Manrope',Arial,sans-serif;
  color:var(--deep-navy);
  background:var(--lab-white);
  font-synthesis:none
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

button,input,select,textarea {
  font:inherit
}

button {
  cursor:pointer;
  border:0;
  background:none;
  color:inherit
}

button:disabled {
  opacity:.45;
  cursor:wait
}

button:focus-visible,a:focus-visible {
  outline:3px solid var(--moss);
  outline-offset:3px
}

input,textarea,select {
  outline-color:var(--moss)
}

a {
  text-decoration:none;
  color:inherit
}

.shell {
  display:flex;
  min-height:100vh
}

.sidebar {
  width:236px;
  flex-shrink:0;
  background:#ECECE3;
  border-right:1px solid #D8DCD2;
  padding:33px 19px 20px;
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0
}

.brand {
  font-size:29px;
  font-weight:750;
  letter-spacing:-1.3px;
  display:flex;
  align-items:center;
  margin:0 9px 34px;
  gap:10px
}

.brandmark {
  background:var(--deep-navy);
  color:var(--lab-white);
  width:35px;
  height:35px;
  border-radius:10px;
  font-size:21px;
  letter-spacing:-2px;
  padding:5px
}

.brand i {
  color:var(--moss);
  font-style:normal
}

.workspace {
  display:flex;
  align-items:center;
  gap:10px;
  background:#FAF9F5;
  border:1px solid #D8DCD2;
  border-radius:9px;
  padding:12px 9px;
  margin-bottom:31px
}

.workspace>b {
  background:#DDE1D4;
  color:#4E5B42;
  border-radius:6px;
  padding:8px 11px
}

.workspace strong,.profile strong {
  font-size:12px
}

.workspace small,.profile small {
  display:block;
  color:#667064;
  font-size:10px;
  margin-top:5px
}

.nav-label {
  font-size:9px;
  letter-spacing:1.6px;
  color:#65705F;
  font-weight:700;
  padding:0 12px;
  margin-bottom:11px
}

.nav {
  display:flex;
  width:100%;
  gap:12px;
  align-items:center;
  text-align:left;
  font-size:12px;
  color:#5E685F;
  padding:12px;
  border-radius:7px;
  margin:3px 0
}

.nav strong {
  font-weight:400
}

.nav>span {
  font-size:19px;
  width:20px
}

.nav.active {
  color:var(--deep-navy);
  background:#D9DFD1;
  font-weight:600
}

.nav em {
  margin-left:auto;
  font-size:10px;
  background:var(--sage-light);
  border-radius:4px;
  padding:2px 6px;
  font-style:normal
}

.projects-label {
  margin-top:31px
}

.project-link {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  padding:12px;
  color:#596455
}

.project-link i {
  width:7px;
  height:7px;
  background:var(--moss);
  border-radius:2px
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:40px
}

.tip {
  padding:18px 15px;
  border:1px solid #D8DCD2;
  border-radius:10px;
  background:linear-gradient(135deg,#E3E7DC,#EEEFE6);
  margin-bottom:22px
}

.tip>span {
  display:block;
  color:var(--moss);
  font-size:25px;
  margin-bottom:10px
}

.tip strong {
  font-size:12px;
  line-height:1.6
}

.tip p {
  font-size:10px;
  line-height:1.8;
  color:#65705F;
  margin:8px 0 15px
}

.tip button {
  font-size:10px;
  color:var(--deep-navy);
  font-weight:700
}

.profile {
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 5px
}

.avatar,.person {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#DDE1D4;
  color:#4C5940;
  border-radius:50%;
  width:33px;
  height:33px;
  font-size:11px;
  font-weight:600
}

main {
  margin-left:236px;
  min-width:0;
  flex:1
}

.topbar {
  height:73px;
  border-bottom:1px solid #DEDFD6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 37px;
  background:#FAF9F5;
  font-size:11px;
  color:#667064
}

.topbar span {
  margin:0 13px;
  color:#A3AC9A
}

.topbar strong {
  font-weight:500;
  color:var(--deep-navy)
}

.topbar .private {
  font-size:10px;
  color:#697363;
  margin:0
}

.project-header {
  padding:35px 37px 28px;
  background:#FAF9F5
}

.eyebrow {
  font-size:9px;
  letter-spacing:1.8px;
  color:#647057;
  font-weight:600;
  margin-bottom:13px
}

.title-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px
}

h1 {
  font-size:29px;
  font-weight:650;
  letter-spacing:-1px;
  margin:0
}

h1 span {
  font-size:26px;
  color:var(--moss);
  padding-left:8px
}

.project-header p {
  font-size:12px;
  color:#667064;
  margin:13px 0 23px
}

.button {
  border:1px solid #D8DCD2;
  border-radius:7px;
  background:#FAF9F5;
  padding:10px 14px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}

.button:hover {
  background:#E4E7DD
}

.primary {
  background:var(--deep-navy);
  color:white;
  border-color:var(--deep-navy);
  box-shadow:0 3px 5px #1522381a
}

.primary:hover {
  background:var(--night-lab)
}

.project-meta {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:10px;
  color:#67715F
}

.pill {
  background:#E3E7DA;
  color:#52613F;
  padding:5px 9px;
  border-radius:5px;
  font-size:9px
}

.meta-progress {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:9px
}

.progress {
  width:85px;
  height:4px;
  background:#DDE1D4;
  border-radius:5px;
  overflow:hidden
}

.progress i {
  display:block;
  height:100%;
  background:var(--moss)
}

.viewbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #D8DCD2;
  padding:0 37px;
  background:#FAF9F5
}

.tabs {
  display:flex;
  gap:25px
}

.tabs button {
  display:flex;
  align-items:center;
  gap:7px;
  padding:17px 0 15px;
  color:#67715F;
  font-size:12px;
  border-bottom:2px solid transparent
}

.tabs button.selected {
  color:var(--deep-navy);
  border-color:var(--deep-navy);
  font-weight:600
}

.tabs small {
  font-size:7px;
  letter-spacing:.5px;
  background:#E3E7DA;
  border-radius:4px;
  padding:3px 5px;
  color:#566544
}

.save-state {
  font-size:9px;
  color:#697363
}

.toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  padding:23px 37px
}

.search {
  display:flex;
  align-items:center;
  border:1px solid #D8DCD2;
  background:#FAF9F5;
  border-radius:7px;
  padding:8px 10px;
  width:260px;
  color:#667064;
  gap:8px
}

.search>span {
  font-size:20px;
  line-height:15px
}

.search input {
  border:0;
  width:100%;
  font-size:10px;
  background:transparent;
  outline:none
}

.filter {
  border:1px solid #D8DCD2;
  border-radius:7px;
  padding:7px 8px;
  background:#FAF9F5;
  color:#596455;
  font-size:12px
}

.filter select {
  border:0;
  background:none;
  font-size:10px;
  max-width:88px
}

.toolbar-spacer {
  flex:1
}

.item-count {
  font-size:10px;
  color:#697363
}

.board {
  display:grid;
  grid-template-columns:repeat(4,minmax(220px,1fr));
  gap:18px;
  padding:0 37px 35px;
  overflow-x:auto;
  min-height:580px
}

.column {
  background:#EAEDE4;
  border:1px solid #E0E3D9;
  border-radius:10px;
  padding:13px 10px;
  align-self:start;
  min-height:380px
}

.column-title {
  display:flex;
  align-items:center;
  gap:8px;
  padding:3px 2px 16px
}

.column-title h2 {
  font-size:11px;
  font-weight:600;
  margin:0
}

.column-title>span {
  font-size:9px;
  background:#DDE1D4;
  padding:3px 6px;
  border-radius:4px;
  color:#67715F
}

.column-title button {
  margin-left:auto;
  color:#697363
}

.status-dot {
  width:7px;
  height:7px;
  background:#9AA38D;
  border-radius:50%
}

.status-1 {
  background:var(--deep-navy)
}

.status-2 {
  background:#A49769
}

.status-3 {
  background:var(--moss)
}

.cards {
  display:flex;
  flex-direction:column;
  gap:11px
}

.task-card {
  background:#FAF9F5;
  border:1px solid #D8DCD2;
  box-shadow:0 2px 3px #15223803;
  border-radius:8px;
  overflow:hidden;
  cursor:grab;
  transition:box-shadow .15s,transform .15s
}

.task-card:hover {
  box-shadow:0 5px 15px #15223810;
  transform:translateY(-2px)
}

.card-content {
  padding:14px 13px 11px
}

.card-tags {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px
}

.tag {
  font-size:8px;
  border-radius:4px;
  padding:4px 6px;
  background:#E3E7DA;
  color:#596847
}

.tag-pesquisa {
  background:#E2E7DC;
  color:#556745
}

.tag-marketing {
  background:#ECE7D7;
  color:#796746
}

.tag-design {
  background:#DDE3D6;
  color:#586848
}

.tag-produto {
  background:#E0E6E8;
  color:#44596A
}

.priority {
  font-size:8px;
  color:#6C7465
}

.priority-Alta {
  color:#9A5943
}

.task-card h3 {
  font-size:12px;
  font-weight:600;
  line-height:1.6;
  margin:13px 0 6px
}

.task-card p {
  font-size:10px;
  line-height:1.7;
  color:#65705F;
  margin:0 0 19px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #E9EBE3;
  padding-top:10px;
  color:#66705F;
  font-size:9px
}

.person {
  width:25px;
  height:25px;
  font-size:8px;
  background:#DDE3D6;
  color:#546344
}

.card-cover {
  margin:7px 7px 0;
  height:128px;
  border-radius:5px;
  background:var(--sage-light);
  padding:16px 17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  overflow:hidden
}

.card-cover span {
  font-size:21px;
  line-height:.98;
  font-weight:800;
  letter-spacing:-1px;
  color:var(--deep-navy);
  transform:rotate(-5deg)
}

.card-cover b {
  color:#596747
}

.card-cover i {
  font-size:66px;
  font-style:normal;
  color:var(--moss);
  transform:rotate(-15deg)
}

.add-card {
  font-size:10px;
  color:#687361;
  width:100%;
  text-align:left;
  padding:16px 5px 3px
}

.page-footer {
  display:flex;
  justify-content:space-between;
  padding:10px 37px 20px;
  font-size:9px;
  color:#6D7768
}

.canvas-wrap {
  position:relative;
  margin:0 25px 25px;
  border:1px solid #D8DCD2;
  border-radius:10px;
  overflow:hidden;
  background-color:var(--lab-white);
  background-image:radial-gradient(var(--sage-light) 1px,transparent 1px);
  background-size:20px 20px
}

.canvas-help {
  position:absolute;
  left:30px;
  top:24px;
  z-index:1;
  pointer-events:none
}

.canvas-help strong {
  font-size:15px;
  display:block
}

.canvas-help span {
  font-size:10px;
  color:#697363;
  display:block;
  margin-top:8px
}

.canvas-scroll {
  overflow:auto;
  height:570px
}

.sticky {
  position:absolute;
  width:248px;
  min-height:210px;
  padding:23px;
  box-shadow:2px 5px 7px #15223815;
  touch-action:none;
  cursor:grab
}

.sticky.yellow {
  background:#E9E3CB;
  transform:rotate(-2deg)
}

.sticky.purple {
  background:#D9E0D2;
  transform:rotate(1deg)
}

.sticky.green {
  background:var(--sage-light);
  transform:rotate(-1deg)
}

.sticky small {
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:1px;
  opacity:.5
}

.sticky h3 {
  font-size:21px;
  font-weight:600;
  line-height:1.3;
  margin:17px 0 10px
}

.sticky p {
  font-size:12px;
  line-height:1.6;
  opacity:.6
}

.sticky-actions {
  border-top:1px solid #00000012;
  display:flex;
  justify-content:space-between;
  font-size:10px;
  margin-top:15px;
  padding-top:12px
}

.canvas-controls {
  position:absolute;
  bottom:20px;
  right:20px;
  background:#FAF9F5;
  box-shadow:0 3px 15px #00000010;
  padding:8px;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:15px;
  font-size:11px
}

.overview {
  padding:10px 37px 40px
}

.overview-heading {
  padding:20px 0
}

.overview-heading>span {
  font-size:30px;
  color:var(--moss)
}

.overview h2 {
  font-size:23px;
  margin:10px 0
}

.overview p {
  font-size:12px;
  color:#67715F
}

.metrics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:15px 0 35px
}

.metrics>div {
  background:#FAF9F5;
  border:1px solid #D8DCD2;
  border-radius:10px;
  padding:22px
}

.metrics span {
  font-size:11px;
  color:#63705A
}

.metrics strong {
  display:block;
  font-size:34px;
  margin-top:15px;
  color:var(--deep-navy)
}

.overview>h3 {
  font-size:14px;
  margin-bottom:12px
}

.delivery {
  display:flex;
  align-items:center;
  width:100%;
  text-align:left;
  justify-content:space-between;
  padding:16px;
  background:#FAF9F5;
  border-bottom:1px solid #E0E3D9;
  font-size:11px
}

.delivery>span:first-child {
  width:50%
}

.delivery small {
  display:block;
  font-size:9px;
  color:#697363;
  margin-top:6px
}

.delivery>span:not(:first-child) {
  color:#64705C
}

.modal-backdrop {
  position:fixed;
  inset:0;
  background:#0B132066;
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  padding:20px
}

.modal {
  background:#FAF9F5;
  border-radius:15px;
  padding:27px;
  width:510px;
  max-height:90vh;
  overflow:auto;
  box-shadow:0 25px 100px #0B132033
}

.modal-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px
}

.modal-title h2 {
  font-size:20px;
  font-weight:600;
  margin:0
}

.modal-title button {
  font-size:25px;
  color:#697363
}

.modal label {
  display:block;
  font-size:11px;
  color:#5C6854;
  margin-bottom:16px
}

.modal input,.modal textarea,.modal select {
  display:block;
  width:100%;
  margin-top:8px;
  border:1px solid #D8DCD2;
  padding:10px;
  border-radius:7px;
  font-size:12px;
  color:var(--deep-navy);
  background:#FAF9F5
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 15px
}

.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:10px
}

.delete {
  margin-right:auto;
  color:#975840;
  font-size:11px
}

.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  z-index:20;
  background:var(--deep-navy);
  color:white;
  border-radius:9px;
  padding:13px 17px;
  box-shadow:0 4px 20px #0002;
  font-size:12px;
  display:flex;
  gap:20px
}

.team-person {
  display:flex;
  align-items:center;
  gap:12px;
  border-bottom:1px solid #D8DCD2;
  padding:15px 0;
  font-size:12px
}

.team-person>span:last-child {
  margin-left:auto;
  color:#aaa
}

.modal>p {
  font-size:12px;
  color:#667064;
  line-height:1.7
}

.team-note {
  padding:14px;
  background:#E8EBE1;
  border-radius:8px;
  margin-top:25px
}

@media(min-width:1550px) {
  .task-card h3 {
  font-size:14px
}

.task-card p {
  font-size:12px
}

.card-cover {
  height:160px
}

.board {
  gap:22px
}

}

@media(max-width:1100px) {
  .sidebar {
  width:205px;
  padding:25px 13px
}

main {
  margin-left:205px
}

.topbar,.project-header {
  padding-left:25px;
  padding-right:25px
}

.viewbar {
  padding:0 25px
}

.toolbar {
  padding:20px 25px
}

.board {
  padding:0 25px 25px;
  grid-template-columns:repeat(4,240px)
}

.private {
  display:none
}

.title-row h1 {
  font-size:25px
}

}

@media(max-width:700px) {
  .sidebar {
  width:65px;
  padding:20px 8px
}

.brand {
  margin:0 5px 25px;
  font-size:0;
  gap:0
}

.brandmark {
  font-size:20px;
  flex-shrink:0
}

.brand>span,.workspace,.nav-label,.project-link,.sidebar-bottom {
  display:none
}

.nav {
  justify-content:center;
  padding:10px
}

.nav>span {
  font-size:22px
}

.nav strong,.nav em {
  display:none
}

main {
  margin-left:65px
}

.topbar {
  padding:0 17px;
  height:55px;
  font-size:9px
}

.topbar span {
  margin:0 6px
}

.project-header {
  padding:25px 17px
}

.title-row {
  align-items:flex-start
}

.title-row h1 {
  font-size:23px
}

.title-row>.button {
  font-size:0;
  padding:8px
}

.title-row>.button:first-letter {
  font-size:16px
}

.project-header p {
  font-size:11px;
  line-height:1.7
}

.meta-progress {
  display:none
}

.project-meta {
  font-size:8px
}

.viewbar {
  padding:0 17px
}

.tabs {
  gap:20px
}

.tabs button {
  font-size:10px
}

.tabs small,.save-state {
  display:none
}

.toolbar {
  padding:17px;
  flex-wrap:wrap;
  gap:7px
}

.search {
  width:calc(100% - 96px)
}

.toolbar-spacer {
  display:none
}

.item-count {
  margin-right:auto
}

.toolbar>.button {
  margin-top:5px
}

.board {
  padding:0 17px 25px;
  grid-template-columns:repeat(4,245px)
}

.page-footer {
  padding:5px 17px 15px;
  line-height:1.6
}

.page-footer span:last-child {
  display:none
}

.metrics {
  grid-template-columns:1fr 1fr
}

.overview {
  padding:10px 17px
}

.metrics>div {
  padding:14px
}

.canvas-wrap {
  margin:0 12px 15px
}

.canvas-help {
  left:15px
}

.canvas-help strong {
  font-size:12px
}

.canvas-help span {
  font-size:9px;
  max-width:230px
}

.modal {
  padding:20px
}

.toast {
  width:85%;
  left:50%
}

.delivery>span:nth-child(2) {
  display:none
}

}



/* DRC Lab identity — warm neutral surfaces, navy hierarchy, moss accents. */

.brand {
  font-weight:400;
  letter-spacing:-1.4px;
  gap:9px;
  font-size:28px
}

.brand strong {
  font-weight:800
}

.brandmark {
  display:block;
  width:38px;
  height:38px;
  flex-shrink:0;
  padding:0;
  border-radius:50%;
  background:none
}

.brand i {
  color:var(--moss);
  font-weight:800
}

h1 {
  font-weight:500;
  letter-spacing:-1.2px
}

.eyebrow,.nav-label {
  letter-spacing:2.2px
}

.nav.active strong {
  font-weight:700
}

.primary {
  color:var(--lab-white)
}

.tip {
  background:var(--deep-navy);
  border-color:var(--deep-navy);
  color:var(--lab-white)
}

.tip p {
  color:var(--sage-light)
}

.tip button {
  color:var(--lab-white)
}

.tip>span {
  color:var(--moss)
}

.card-cover {
  background:var(--deep-navy)
}

.card-cover span {
  color:var(--lab-white);
  font-family:'Manrope',sans-serif;
  font-weight:500;
  letter-spacing:-.8px;
  font-size:20px;
  line-height:1.16;
  transform:none
}

.card-cover b {
  color:var(--sage-light);
  font-weight:600
}

.card-cover i {
  color:var(--moss)
}

.task-card h3 {
  font-weight:600
}

.sticky h3 {
  font-weight:500
}

.sticky p {
  opacity:1;
  color:#47533F
}

.sticky small {
  opacity:1;
  color:#536045
}

.team-person>span:last-child {
  color:#667064
}

@media(max-width:700px) {
  .brand {
  font-size:0
}

.brandmark {
  width:38px;
  height:38px
}

}

/* Ajustes nativos: não dependem do reset do Tailwind ou de um framework. */
[hidden] { display: none !important; }
body { line-height: 1.5; }
h1, h2, h3, p { padding: 0; }
button { line-height: inherit; }
img { max-width: 100%; vertical-align: middle; }
dialog.modal { border: 0; margin: auto; color: var(--deep-navy); }
dialog::backdrop { background: #0B132066; backdrop-filter: blur(4px); }
#canvas-size { width: 1500px; height: 850px; }
#canvas-surface { position: relative; width: 1500px; height: 850px; transform-origin: top left; }
#progress-bar { width: 0; }
.card-cover[hidden] { display: none; }
#editor form { margin: 0; }
#login-error { color: #975840; }
.empty-state { padding: 24px; color: #63705F; font-size: 12px; }
