/* EloJus · identidade monocromática v0.2. Camada sobre a estrutura original. */
@font-face { font-family: 'DM Sans'; src: url('assets/fonts/dm-sans-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('assets/fonts/dm-sans-semibold.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('assets/fonts/newsreader-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
:root {
  color-scheme: light;
  --brand-black: #111111; --brand-white: #ffffff; --brand-paper: #f7f7f7;
  --brand-gray: #666666; --brand-border: #dedede;
  --font-interface: 'DM Sans', 'Segoe UI', sans-serif;
  --font-editorial: 'Newsreader', Georgia, serif;
  --navy: var(--brand-black); --teal: var(--brand-black); --mint: #eeeeee;
  --bg: var(--brand-paper); --ink: var(--brand-black); --muted: var(--brand-gray);
  --line: var(--brand-border); --white: var(--brand-white); --amber: #454545;
}
body { font-family: var(--font-interface); font-size: 14px; -webkit-font-smoothing: antialiased; }
::selection { background: #d8d8d8; color: #111; }
a, button, input, select, textarea { touch-action: manipulation; }
button, select { min-height: 42px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; padding: 12px 18px; background: #fff; color: #111; border: 2px solid #111; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sidebar { width: 244px; padding: 32px 24px 22px; background: #111; color: #fff; overflow-y: auto; }
.brand { flex-direction: column; align-items: flex-start; gap: 9px; font-family: var(--font-interface); letter-spacing: normal; }
.brand-lockup { display: block; width: 176px; height: auto; max-width: 100%; }
.brand small { font: 400 7.5px/1.5 var(--font-interface); letter-spacing: .9px; color: #bcbcbc; margin-top: 0; white-space: normal; }
.workspace { margin: 32px 0 24px; padding: 21px 0; border-color: #363636; font-size: 13px; }
.workspace small { font-size: 11px; color: #bcbcbc; margin-top: 3px; }
.avatar { width: 34px; height: 34px; border: 1px solid #4a4a4a; background: #252525; border-radius: 50%; font-size: 11px; }
.navlabel, .smalltag { color: #a7a7a7; font-size: 10px; letter-spacing: 1.2px; }
.navlabel { margin: 0 0 12px; }
.nav { gap: 12px; min-height: 46px; padding: 11px 10px; margin: 4px 0; color: #c4c4c4; border-radius: 4px; }
.nav span { font-size: 13px; }
.nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nav:hover { background: #222; color: #fff; }
.nav.active { background: #fff; color: #111; box-shadow: none; }
.sidebottom { padding-top: 45px; }
.sidebottom p { color: #f4f4f4; font: 400 24px/1.2 var(--font-editorial); letter-spacing: -.3px; margin: 14px 0 20px; }
.textbtn { min-height: 34px; }
.sidebottom .textbtn { color: #bcbcbc; font-size: 11px; }
.brand-guide-link { display: block; width: fit-content; margin-top: 10px; padding: 5px 0; color: #bcbcbc; font-size: 11px; text-underline-offset: 3px; }
.brand-guide-link:hover { color: #fff; }
.shell { margin-left: 244px; }
header { min-height: 78px; height: auto; padding: 18px 40px; background: #fff; }
.breadcrumb { font-size: 12px; }
.breadcrumb span { color: #8a8a8a; }
.rolewrap { gap: 10px; }
.rolewrap label { font-size: 9px; color: #666; letter-spacing: 1px; }
select { border-color: #c7c7c7; border-radius: 4px; font-size: 12px; padding: 8px 11px; }
.user { border-color: #dedede; background: #f5f5f5; color: #333; }
.prototype { background: #ededed; color: #555; font-size: 11px; padding: 10px 40px; border-bottom: 1px solid #dedede; flex-wrap: wrap; }
.prototype > div { display: flex; align-items: center; gap: 8px; }
.prototype span { color: #555; }
.prototype .prototype-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #666; flex-shrink: 0; }
main { max-width: 1510px; padding: 42px 40px 24px; }
h1 { font: 400 clamp(34px,3.3vw,51px)/1.07 var(--font-editorial); letter-spacing: -1.4px; margin: 11px 0 13px; max-width: 720px; text-wrap: balance; }
h2 { font: 400 26px/1.2 var(--font-editorial); letter-spacing: -.4px; }
h3 { font-size: 15px; font-weight: 600; }
.eyebrow { color: #555; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
.topline { align-items: flex-end; gap: 22px; margin-bottom: 32px; }
.topline > div { min-width: 0; }
.topline p { font-size: 14px; margin-bottom: 0; }
.topline > .btn { flex-shrink: 0; margin-bottom: 3px; }
.btn { font-size: 12px; border-color: #bcbcbc; border-radius: 4px; padding: 11px 16px; background: #fff; font-weight: 600; transition: background .15s, border-color .15s; }
.btn:hover { background: #efefef; border-color: #111; }
.btn.primary, .btn.dark { background: #111; border-color: #111; color: #fff; }
.btn.primary:hover, .btn.dark:hover { background: #333; }
.btn.small { padding: 8px 12px; min-height: 37px; }
.stats { gap: 0; margin-bottom: 34px; border-top: 1px solid #cdcdcd; border-bottom: 1px solid #cdcdcd; }
.stat { background: transparent; border: 0; border-right: 1px solid #dedede; border-radius: 0; padding: 23px 20px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat > span { font-size: 10px; letter-spacing: .8px; color: #555; }
.stat strong { font: 400 42px/1 var(--font-editorial); margin: 13px 0 8px; font-variant-numeric: tabular-nums; }
.stat small { font-size: 11px; }
.stat.highlight { background: transparent; border-color: #dedede; color: #111; }
.stat.highlight span { color: #555; }
.stat.highlight small { color: #666; }
.columns { grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr); gap: 24px; }
.columns > * { min-width: 0; }
.card { border: 1px solid #dedede; border-radius: 5px; box-shadow: none; margin-bottom: 24px; }
.cardhead { padding: 21px 23px; gap: 15px; flex-wrap: wrap; }
.cardhead h2 { font-size: 25px; }
.cardbody { padding: 23px; }
.chip { font-size: 11px; border: 1px solid #cdcdcd; border-radius: 3px; padding: 4px 8px; background: #eee; color: #111; white-space: normal; }
.chip.amber { background: #f4f4f4; color: #444; border-style: dashed; border-color: #aaa; }
.chip.gray { background: #f6f6f6; color: #555; border-color: #ddd; }
.task { padding: 23px; }
.tasktop { flex-wrap: wrap; align-items: center; }
.task h3 { font-size: 16px; line-height: 1.4; margin: 15px 0 8px; }
.task p { font-size: 13px; line-height: 1.6; }
.taskmeta { font-size: 11px; gap: 10px; margin-top: 18px; }
.kicker { font-size: 10px; letter-spacing: 1px; }
.guide { background: #ededed; border-color: #dedede; }
.guide h2 { font-size: 34px; line-height: 1.05; margin: 16px 0; }
.guide p { color: #555; font-size: 13px; }
.steps { margin: 25px 0; }
.steps li { font-size: 12px; gap: 10px; margin: 17px 0; }
.number { border-color: #aaa; border-radius: 0; color: #333; width: 23px; height: 23px; }
.dots { font-size: 12px; gap: 11px; align-items: flex-start; margin: 12px 0; }
.dot { background: #111; margin-top: 6px; width: 5px; height: 5px; flex-shrink: 0; }
.flow { border-color: #d3d3d3; border-radius: 4px; padding: 17px; gap: 10px; flex-wrap: wrap; }
.flow span { font-size: 12px; }
.flow .current { color: #111; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.flow i { color: #777; }
label.field { font-size: 13px; }
input, textarea { border-color: #bcbcbc; border-radius: 4px; padding: 12px; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.sidebar button:focus-visible, .sidebar a:focus-visible { outline-color: #fff; }
.sidebar .nav.active:focus-visible { outline-color: #aaa; }
input[type=checkbox] { accent-color: #111; }
textarea { line-height: 1.7; }
textarea[readonly] { background: #fafafa; }
.docrow { border-color: #dedede; border-radius: 4px; padding: 14px; }
.docrow > div { min-width: 0; overflow-wrap: anywhere; }
.docicon { background: #ededed; color: #333; border-radius: 3px; }
.docrow strong { font-size: 13px; }
.docrow small { font-size: 11px; }
.note { background: #f0f0f0; border: 1px solid #d3d3d3; border-left: 3px solid #777; color: #555; font-size: 12px; border-radius: 3px; line-height: 1.6; }
.editor { font: 400 18px/1.8 var(--font-editorial); min-height: 480px; padding: 23px; }
.editorbar { background: #f6f6f6; padding: 12px 23px; font-size: 11px; flex-wrap: wrap; gap: 10px; }
.check { font-size: 13px; line-height: 1.5; }
.check input { min-width: 15px; min-height: 15px; }
.comment { border-color: #777; background: #f5f5f5; }
.comment p { font-size: 13px; }
.comment small { font-size: 11px; }
.timeline { border-color: #ccc; }
.event:before { background: #111; border-color: #fff; }
.event small { font-size: 11px; }
.version strong { font-size: 13px; }
.version small { font-size: 11px; }
.cardbody > .muted[style], .cardbody > p[style], .cardbody > .field + .muted[style] { font-size: 12px !important; }
.empty { font-size: 13px; }
.badgeicon { color: #111; }
footer { font-size: 11px; padding: 0 40px 26px; max-width: 1510px; line-height: 1.7; }
#toast { background: #111; box-shadow: 0 8px 24px #0002; border-radius: 5px; font-size: 13px; }
dialog { border-color: #aaa; border-radius: 6px; background: #fff; }
dialog::backdrop { background: #0009; }
dialog pre { font: 400 17px/1.7 var(--font-editorial); }
@media(min-width:1600px) { main { padding-top: 50px; } }
@media(max-width:1200px) {
  .sidebar { width: 220px; padding: 28px 19px; }
  .shell { margin-left: 220px; }
  .brand small { font-size: 7px; }
  .columns { grid-template-columns: minmax(0,1fr); }
  .topline { flex-wrap: wrap; align-items: flex-start; }
  .rolewrap label { display: none; }
}
@media(max-width:900px) {
  header { padding: 16px 24px; flex-wrap: wrap; }
  .prototype { padding: 9px 24px; }
  .prototype > span { display: block; }
  main { padding: 32px 24px 20px; }
  footer { padding: 0 24px 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #dedede; }
}
@media(max-width:700px) {
  .sidebar { position: static; width: 100%; padding: 23px 20px 14px; overflow: visible; }
  .brand { width: fit-content; }
  .brand small { font-size: 8px; letter-spacing: 1px; }
  nav { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; overflow: visible; margin-top: 23px; }
  .nav { width: 100%; min-width: 0; margin: 0; padding: 10px; min-height: 44px; gap: 9px; }
  .nav span { font-size: 12px; }
  .nav svg { width: 16px; height: 16px; }
  .sidebottom { padding: 0; margin-top: 8px; }
  .sidebottom .textbtn { font-size: 11px; min-height: 38px; }
  .shell { margin-left: 0; }
  header { height: auto; min-height: 70px; gap: 10px; padding: 15px 20px; }
  .breadcrumb { font-size: 11px; }
  .rolewrap select { max-width: 100%; font-size: 12px; }
  .prototype { padding: 10px 20px; font-size: 10px; }
  main { padding: 29px 20px 18px; }
  h1 { font-size: clamp(34px,8vw,45px); letter-spacing: -1px; }
  .topline { margin-bottom: 26px; gap: 17px; }
  .topline p { font-size: 13px; }
  .stats { margin-bottom: 26px; gap: 0; }
  .stat strong { font-size: 38px; }
  .stat > span { font-size: 10px; letter-spacing: .3px; }
  .stat small { font-size: 11px; }
  .cardhead, .cardbody, .task { padding: 20px; }
  .cardhead h2 { font-size: 25px; }
  .guide h2 { font-size: 32px; }
  .taskmeta .btn { margin-left: 0; }
  .flow { gap: 12px; }
  .flow span { font-size: 11px; }
  .editor { font-size: 17px; padding: 16px; min-height: 430px; }
  input, textarea, .field select { font-size: 16px; }
  footer { padding: 0 20px 24px; }
  dialog { padding: 22px; }
}
@media(pointer:coarse) { .btn, .btn.small, .textbtn, .sidebottom .textbtn, select { min-height: 44px; } }
@media(prefers-reduced-motion:reduce) { .btn { transition: none; } }
