/* Acréscimos do plugin sobre o site.css do boardapp (tokens --paper, --accent...). */

header.top .brand-name { font-weight: 900; font-size: 18px; }

/* ---------- mensagens (Flash) ---------- */
.flash { border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px; }
.flash.error { background: #FBEAEA; color: var(--danger); border: 1px solid #F1C6C6; }
.flash.success { background: #E6F4F0; color: var(--ok); border: 1px solid #BFE3D8; }
.flash.info { background: var(--panel); border: 1px solid var(--rule); }

/* ---------- cartão de autenticação ---------- */
.auth {
  max-width: 440px; margin: 48px auto; padding: 32px 28px;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px;
}
.auth h1 { font-size: 28px; margin-bottom: 6px; }
.auth .sub { color: var(--ink2); margin-bottom: 22px; }
.auth .alt { margin-top: 18px; font-size: 14.5px; color: var(--ink2); text-align: center; }
.auth .alt a { color: var(--accent); font-weight: 800; }
.auth-sent .sub { margin-bottom: 0; line-height: 1.55; }
.auth .sep { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 13px; margin: 18px 0; }
.auth .sep::before, .auth .sep::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.auth .google { display: flex; justify-content: center; min-height: 44px; }
.auth .captcha { display: flex; justify-content: center; margin: 6px 0 14px; }

/* ---------- formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .hint { font-size: 12.5px; color: var(--ink2); }
.field[hidden] { display: none; }
.btn.block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iti { width: 100%; }

/* ver/ocultar senha (Assets/js/password.js) */
.pw-field { position: relative; display: block; }
.pw-field input { padding-right: 46px; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 6px; background: none; color: var(--ink2); cursor: pointer;
}
.pw-toggle svg { width: 19px; height: 19px; }
.pw-toggle:hover { color: var(--ink); background: var(--panel); }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; color: var(--ink); }


@media (max-width: 560px) {
  header.top { padding: 12px 16px; flex-wrap: wrap; }
  header.top .who { display: none; }
  .auth { margin: 24px 16px; padding: 24px 18px; }
  .row-2 { grid-template-columns: 1fr; }
}

/* ---------- área de projetos ---------- */
.page { padding-block: 36px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); }
.page-head .sub { color: var(--ink2); margin-top: 6px; }
.page-head .actions, .inline-form .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs { font-size: 14px; color: var(--ink2); margin-bottom: 8px; }
.crumbs a { color: inherit; }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: var(--danger); }
.inline-form {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 16px; margin-bottom: 24px;
}
.inline-form[hidden] { display: none; }
.inline-form .field { margin: 0; }
/* cartões de quadro: prévia de altura fixa, ações em ícones com dica */
.board-card .preview, .project-card .preview { height: 220px; padding: 16px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.board-card .preview svg, .project-card .preview svg { height: 100%; width: auto; max-width: 100%; }
.board-card h3 a { text-decoration: none; }
.board-card h3 a:hover { color: var(--accent); }
.board-card .meta .model { color: var(--ink); font-weight: 600; }
/* ações sempre no pé do cartão, montado ou não: o .meta ocupa a altura que
   sobra e as ações descem para o fim */
.board-card .meta { flex: 1; }
.board-card .card-actions { margin-top: auto; }
.not-started { color: var(--ink2); font-size: 14px; }
.preview .not-started {
  width: 100%; height: 100%; border: 1.5px dashed var(--rule); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
}
.preview .not-started .i { width: 40px; height: 40px; stroke-width: 1.5; color: var(--rule); margin-bottom: 4px; }
.preview .not-started b { color: var(--ink2); font-weight: 600; }
.preview .not-started .go { color: var(--accent); font-weight: 700; font-size: 13.5px; }
.project:hover .preview .not-started { border-color: var(--accent); }
.project:hover .preview .not-started .i { color: var(--accent); }

.card-actions { display: flex; gap: 4px; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--rule); }
.card-actions .spacer { flex: 1; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink2); cursor: pointer; text-decoration: none; font: inherit;
}
.icon-btn .i { width: 18px; height: 18px; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--panel); color: var(--accent); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.icon-btn.danger:hover, .icon-btn.danger:focus-visible { color: var(--danger); background: #FBEAEA; }
.btn.icon-btn { display: inline-flex; width: auto; height: auto; padding: 0 14px; border-color: var(--rule); background: var(--paper); }

/* dica (tooltip) de [data-tip]: no hover e no foco do teclado; o rótulo
   acessível fica no aria-label */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px);
  background: var(--ink); color: #fff; font: 600 12px/1.2 var(--font-sans); letter-spacing: .01em;
  padding: 6px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 30;
  opacity: 0; transition: opacity .12s, transform .12s;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.card-actions > [data-tip]:first-child::after { left: 0; transform: translate(0, 4px); }
.card-actions > [data-tip]:first-child:hover::after, .card-actions > [data-tip]:first-child:focus-visible::after { transform: none; }
.card-actions > [data-tip]:last-child::after, .page-head .actions [data-tip]::after { left: auto; right: 0; transform: translate(0, 4px); }
.card-actions > [data-tip]:last-child:hover::after, .card-actions > [data-tip]:last-child:focus-visible::after,
.page-head .actions [data-tip]:hover::after, .page-head .actions [data-tip]:focus-visible::after { transform: none; }
.more-menu[open] > summary::after { opacity: 0; }
@media (hover: none) { [data-tip]::after { display: none; } }

/* cabeçalho do projeto: Compartilhar e menu ⋯ */
.page-head .btn { gap: 8px; }
.page-head .actions { align-items: stretch; }
.page-head .actions .more-menu { display: flex; }
.share-toggle .share-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--paper); }
.share-toggle.is-shared .share-dot { display: inline-block; }
.share-toggle.is-open, .share-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.more-menu { position: relative; }
.more-menu > summary { list-style: none; cursor: pointer; }
.more-menu > summary::-webkit-details-marker { display: none; }
.more-menu .menu-panel {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 210px;
  background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 32px rgba(35, 31, 28, .16);
  padding: 6px; display: flex; flex-direction: column;
}
.more-menu .menu-panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px;
  background: none; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; text-align: left;
}
.more-menu .menu-panel button .i { color: var(--ink2); }
.more-menu .menu-panel button:hover, .more-menu .menu-panel button:focus-visible { background: var(--panel); outline: none; }
.more-menu .menu-panel button.danger, .more-menu .menu-panel button.danger .i { color: var(--danger); }
.empty .btn { margin-top: 6px; gap: 8px; }

/* Meus projetos: selos (erro NBR, link ativo) e cartão "Novo projeto" */
.project-card .meta .client { color: var(--ink); }
.project-card .flags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.project-card .flags .badge { margin-top: 0; }
.shared-flag { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(4, 143, 116, .1); color: var(--ok); }
.shared-flag .i { width: 14px; height: 14px; }
.projects-list .new-card { min-height: 0; font: inherit; font-weight: 800; background: none; cursor: pointer; }
.empty > .i { width: 36px; height: 36px; stroke-width: 1.5; color: var(--rule); }

@media (max-width: 560px) {
  /* Meus projetos compacto: prévia à esquerda, dados à direita */
  .projects-list { grid-template-columns: 1fr; gap: 12px; }
  .projects-list .project-card { flex-direction: row; }
  .projects-list .project-card .preview { width: 112px; height: auto; min-height: 112px; padding: 10px; flex: none; }
  .projects-list .project-card .not-started b { font-size: 12px; }
  .projects-list .project-card .not-started .i { width: 28px; height: 28px; }
  .projects-list .project-card .meta { padding: 12px 14px; justify-content: center; min-width: 0; }
  .projects-list .project-card h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .projects-list .new-card { padding: 16px; flex-direction: row; }
  .projects-list .new-card .plus { font-size: 28px; }
  .page-head .actions:has(#new-project) { width: 100%; }
  #new-project { flex: 1; justify-content: center; }

  /* ações do projeto numa linha: só "Novo quadro" mantém o texto */
  .page-head { align-items: stretch; }
  .page-head .actions { width: 100%; flex-wrap: nowrap; }
  .page-head .actions #new-board { flex: 1; justify-content: center; }
  .share-toggle span { display: none; }
  .share-toggle { padding-inline: 14px; }
  .share-toggle .share-dot { position: absolute; top: 6px; right: 6px; }
  .board-card .preview { height: 180px; }
}

@media (max-width: 720px) {
  .inline-form { grid-template-columns: 1fr; }
}

.site-footer { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 22px 28px; border-top: 1px solid var(--rule); color: var(--ink2); font-size: 14px; }
.site-footer .footer-logo { display: inline-flex; }
/* o SVG tem ~18% de respiro em cima/embaixo: 56px de altura = ~36px de desenho */
.site-footer .footer-logo img { height: 56px; width: auto; display: block; margin: -10px 0 -10px -10px; }
.site-footer .spacer { flex: 1; }
.site-footer a { color: inherit; }
.site-footer .short { display: none; }

/* área de projetos, entrar e cadastro: rodapé fixo na base da tela, sempre
   com a mesma altura; o conteúdo e a barra de cookies ficam acima dele */
.board-fixed-footer { --footer-h: 64px; padding-bottom: var(--footer-h); }
.board-fixed-footer .site-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: var(--footer-h); padding-block: 0; flex-wrap: nowrap; overflow: hidden;
  background: var(--paper); box-shadow: 0 -6px 18px rgba(35, 31, 28, .06);
}
.board-fixed-footer .site-footer a { white-space: nowrap; }
.board-fixed-footer .consent { bottom: calc(var(--footer-h) + 12px); }
@media (max-width: 560px) {
  .board-fixed-footer { --footer-h: 56px; }
  .board-fixed-footer .site-footer { gap: 12px; font-size: 13px; }
  .board-fixed-footer .site-footer .footer-logo img { height: 48px; margin: -8px 0 -8px -8px; }
  .board-fixed-footer .site-footer .long { display: none; }
  .board-fixed-footer .site-footer .short { display: inline; }
}

/* ---------- texto corrido (privacidade) ---------- */
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink); margin-bottom: 10px; }
.prose a { color: var(--accent); }
.prose .table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 14.5px; }
.prose .table th, .prose .table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.import-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.flash.info a { color: var(--accent); font-weight: 800; }

/* ---------- link público (abre pelo botão "Compartilhar") ---------- */
.share-box {
  position: relative; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 16px 52px 16px 18px; margin-bottom: 24px;
  animation: share-in .16s ease-out;
}
.share-box[hidden] { display: none; }
@keyframes share-in { from { opacity: 0; transform: translateY(-6px); } }
.share-box h3 { display: flex; align-items: center; gap: 8px; }
.share-box h3 .i { color: var(--accent); }
.share-box .hint { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.share-box.inactive .share-url { opacity: .5; text-decoration: line-through; }
.share-box .share-close { position: absolute; top: 8px; right: 8px; font-size: 22px; line-height: 1; }
.share-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-url { font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; min-width: 280px; }
@media (max-width: 560px) { .share-url { min-width: 0; width: 100%; } }

/* ---------- histórico de versões ---------- */
dialog.history { border: 1px solid var(--rule); border-radius: 14px; padding: 22px; width: min(560px, calc(100vw - 32px)); font: inherit; color: var(--ink); }
dialog.history::backdrop { background: rgba(35, 31, 28, .35); }
dialog.history .hint { color: var(--ink2); font-size: 14px; margin: 6px 0 12px; }
dialog.history ul { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; }
dialog.history li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
dialog.history .actions { margin-top: 14px; text-align: right; }

/* ---------- ícones (Elements/icon.ctp) ---------- */
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* ---------- topo: "Meus projetos" em destaque e menu da conta ---------- */
header.top .nav-projects { gap: 8px; }
header.top .nav-projects[aria-current="page"] { box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 3px 4px 3px 3px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover, .user-menu[open] summary { border-color: var(--accent); }
.user-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.user-menu .avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px/1 var(--font-sans); letter-spacing: .02em; }
.user-menu summary .i { color: var(--ink2); width: 16px; height: 16px; }
.user-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 240px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 32px rgba(35, 31, 28, .16);
  padding: 6px; display: flex; flex-direction: column;
}
.user-menu-panel .who-box { display: flex; flex-direction: column; padding: 10px 10px 12px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; min-width: 0; }
.user-menu-panel .who-box b { font-size: 15px; }
.user-menu-panel .who-box span { font-size: 13px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 14.5px; }
.user-menu-panel a:hover, .user-menu-panel a:focus-visible { background: var(--panel); outline: none; }
.user-menu-panel a .i { color: var(--ink2); }

@media (max-width: 560px) {
  header.top { flex-wrap: nowrap; gap: 8px; }
  header.top .brand-name { font-size: 16px; }
  header.top .nav-projects span { display: none; }     /* só o ícone de pasta */
  header.top .nav-projects { padding: 10px 12px; }
  .site-footer { padding: 18px 16px; }
}


/* ---------- home: hero (quadro + unifilar), mini boxes e seções ---------- */
.hero.hero-b {
  grid-template-columns: minmax(300px, .9fr) minmax(340px, 1.1fr);
  gap: 36px; padding-block: 104px 72px; align-items: center;
}
.hero.hero-b h1 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.06; text-wrap: pretty; }
/* "de modo fácil e rápido": embaixo do título, numa linha só */
.hero-b .hero-tagline {
  display: block; white-space: nowrap; margin-top: .3em;
  font-size: .62em; font-weight: 600; letter-spacing: -.005em; color: var(--accent);
}
.hero-b .hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-b .hero-art .hb-sheet { filter: drop-shadow(0 10px 22px rgba(35, 31, 28, .10)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-b .hero-art .dev { animation: seat .5s cubic-bezier(.2, .8, .3, 1) backwards; }
  .hero-b .hero-art .hb-branch { animation: hb-branch .45s ease-out backwards; }
  .hero-b .hero-art .hb-bus { stroke-dasharray: 1; animation: hb-draw .9s ease-out backwards; }
  @keyframes seat { from { transform: translateY(-14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  @keyframes hb-branch { from { opacity: 0; transform: translateX(-10px); } }
  @keyframes hb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (max-width: 760px) {
  .hero.hero-b { grid-template-columns: 1fr; padding-block: 56px 40px; gap: 32px; }
}

.home-block { padding-block: 56px 24px; }
.home-sec { font-size: clamp(26px, 3vw, 36px); max-width: 26ch; margin-top: 8px; }
.home-block .eyebrow { margin: 0; font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; }
.home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.home-step { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 20px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.home-step .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 600 14px/1 "IBM Plex Mono", monospace;
}
.home-step h3 { font-size: 18px; margin: 14px 0 6px; }
.home-step p { margin: 0; color: var(--ink2); font-size: 15px; }
/* a área cinza fica no pé do cartão, alinhada nos três */
.home-step .mini { align-self: stretch; margin-top: auto; }
.home-step p { margin-bottom: 14px; }
.home-step .mini { background: var(--panel); border-radius: 8px; padding: 10px 12px; font: 400 12.5px/1.6 "IBM Plex Mono", monospace; color: var(--ink2); }
@media (max-width: 760px) {
  .home-steps, .home-sheet { grid-template-columns: minmax(0, 1fr); }
  .hero-b .hero-tagline { white-space: normal; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  .home-steps { grid-template-columns: minmax(0, 1fr); }
}

/* botão no fim da vitrine e chamada final */
.home-section-cta { display: flex; justify-content: center; margin-top: 22px; }
.home-cta {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  margin: 24px 0 64px; padding: 44px 24px; border-radius: 14px; background: var(--panel);
}
.home-cta h2 { font-size: clamp(24px, 2.8vw, 32px); }
.home-section-cta .btn, .home-cta .btn { padding: 13px 26px; font-size: 16px; }

/* Prancha: o que sai na folha */
.home-sheet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; margin-top: 28px; }
.home-sheet ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.home-sheet li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink2); }
.home-sheet li::before { content: "▸"; color: var(--accent); }
.home-sheet li b { font-weight: 600; color: var(--ink); }
/* celular e tablet: a lista em cima e a prancha embaixo, na largura toda
   (depois da regra base, que senão volta às duas colunas) */
@media (max-width: 760px) {
  .home-sheet { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
.home-paper { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 14px; box-shadow: 0 10px 30px rgba(35, 31, 28, .12); }
.home-paper svg { width: 100%; height: auto; display: block; }

/* exemplos centralizados na página */
#example-cards { grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); justify-content: center; }

/* ---------- completar cadastro: esquema do modal de dados iniciais do Woca, nas cores do /quadros ---------- */
.complete-card {
  max-width: 640px; margin: 40px auto; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15); overflow: hidden;
}
.complete-head { background: var(--accent); padding: 20px 24px; border-bottom: 3px solid var(--red); }
.complete-head h1 { color: #fff; font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; }
.complete-head p { color: rgba(255, 255, 255, .85); font-size: 13px; margin: 4px 0 0; }
.complete-body { padding: 24px 28px 8px; }
.complete-row { display: flex; gap: 16px; }
.complete-row > .field { flex: 1; min-width: 0; }
.complete-card .field { margin-bottom: 18px; }
.complete-card .field label { font-size: 13px; font-weight: 600; color: #444; }
.complete-card .field label.required::after { content: " *"; color: #e74c3c; }
.complete-card .field input, .complete-card .field select { font-size: 13px; height: 38px; padding: 8px 12px; border-radius: 7px; border-color: #dde2ec; }
.complete-card .field input:focus, .complete-card .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(201, 81, 43, .15); }
.complete-section {
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #999;
  margin: 6px 0 14px; padding-bottom: 6px; border-bottom: 1px solid #f0f0f0;
}
.complete-card .field-error { font-size: 12px; color: #e74c3c; }
.complete-submit { text-align: center; padding: 12px 0 20px; }
.complete-submit .btn { font-weight: 700; font-size: 14px; padding: 10px 32px; min-width: 180px; justify-content: center; }
.complete-card .iti { width: 100%; }
/* select2 no mesmo tamanho dos campos */
.complete-card .select2-container { width: 100% !important; }
.complete-card .select2-container--default .select2-selection--single { height: 38px; border-radius: 7px; border-color: #dde2ec; }
.complete-card .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px; font-size: 13px; padding-left: 12px; }
.complete-card .select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--accent); }
.complete-card .select2-container--focus .select2-selection--single, .complete-card .select2-container--open .select2-selection--single { border-color: var(--accent); }
@media (max-width: 560px) {
  .complete-card { margin: 0; border-radius: 0; box-shadow: none; }
  .complete-body { padding: 18px 16px 8px; }
  .complete-row { flex-direction: column; gap: 0; }
}

/* "Meus projetos": paginação (24 por página) */
.projects-total { white-space: nowrap; color: var(--ink2); }
.projects-total::before { content: "· "; }
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 28px 0 8px; }
.pager-pages { display: flex; align-items: center; gap: 4px; }
.pager-num {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px;
  border-radius: 8px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
  text-decoration: none; font-variant-numeric: tabular-nums; font-weight: 600;
}
a.pager-num:hover { border-color: var(--accent); color: var(--accent); }
.pager-num[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager-gap { color: var(--ink2); padding: 0 2px; }
@media (max-width: 560px) {
  .pager { gap: 8px; }
  .pager-step { flex: 1; justify-content: center; }
  .pager-pages { order: -1; width: 100%; justify-content: center; }
}

/* página de erro do /quadros (Elements/not_found.ctp) */
.not-found { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 72px 48px; }
.not-found-art { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--panel); margin-bottom: 22px; }
.not-found-art .i { width: 64px; height: 64px; stroke-width: 1.4; color: var(--rule); }
.not-found-art span {
  position: absolute; bottom: -6px; right: -10px; padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 15px/1 "IBM Plex Mono", monospace;
}
.not-found h1 { font-size: clamp(26px, 3.4vw, 36px); }
.not-found .sub { color: var(--ink2); max-width: 46ch; margin: 10px 0 24px; }
.not-found-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
