* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #182d40; --muted: #56636f; --line: #d5dce0; --paper: #f6f7f5; --navy: #183b50; font: 16px/1.45 Inter, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
body { margin: 0; }
.wrap { width: min(1360px, 91%); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--line); }
.brand { min-height: 74px; display: flex; align-items: center; gap: 22px; }
.brand img { width: 148px; height: 62px; object-fit: contain; }
.brand span { padding-left: 22px; border-left: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.hero, .summary, .dialog-head, .actions, .lane-head, .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero { padding: 42px 0 20px; }
.eyebrow, .tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--muted); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.65rem,5vw,4.5rem); letter-spacing: -.065em; line-height: 1.1; font-weight: 680; }
button, input, select, textarea { font: inherit; }
button { border: 1px solid var(--line); border-radius: 7px; background: white; padding: 10px 14px; color: var(--ink); cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button:hover { border-color: #828e97; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #147fa4; outline-offset: 2px; }
.primary { background: var(--navy); border-color: var(--navy); color: white; font-weight: 650; }
.primary:hover { background: #28536a; }
.summary { justify-content: flex-start; padding-bottom: 25px; color: var(--muted); font-size: .88rem; }
.progress { display: flex; }
progress { width: 84px; height: 5px; border: 0; appearance: none; border-radius: 8px; background: #dbe2df; }
progress::-webkit-progress-bar { border-radius: 8px; background: #dbe2df; }
progress::-webkit-progress-value { border-radius: 8px; background: #298364; }
progress::-moz-progress-bar { background: #298364; }
.board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.lane { --accent: #586d84; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #edf0f1; border-radius: 10px; padding: 16px; min-height: 320px; }
.lane[data-status="doing"] { --accent: #ae670c; background: #f3f0e9; }
.lane[data-status="done"] { --accent: #20765c; background: #edf2ee; }
.lane-head { justify-content: flex-start; margin: 1px 2px 17px; }
.lane h2 { font-size: 1.08rem; letter-spacing: -.03em; }
.count { background: white; border: 1px solid var(--line); border-radius: 7px; min-width: 26px; padding: 1px 5px; text-align: center; font-size: .8rem; color: var(--muted); }
.cards { display: grid; gap: 9px; }
.card { display: grid; text-align: left; gap: 12px; width: 100%; padding: 16px; overflow-wrap: anywhere; border-color: #d4dbdf; border-radius: 8px; box-shadow: 0 1px 2px #2031410c; }
.card:hover { border-color: var(--accent); box-shadow: 0 3px 8px #20314113; }
.card strong { font-size: 1rem; font-weight: 620; line-height: 1.35; }
.tag { justify-self: start; color: #3d5d73; background: #edf3f6; border-radius: 4px; padding: 3px 7px; font-size: .64rem; }
.tag[data-kind="Financeiro"] { color: #3b6556; background: #e8f3ec; }
.tag[data-kind="Projeto"] { color: #65527d; background: #f1edf6; }
.tag[data-kind="Acompanhamento"] { color: #795624; background: #faf1dc; }
.card-foot { flex-wrap: wrap; justify-content: flex-start; padding-top: 8px; border-top: 1px solid #e6e9eb; font-size: .78rem; color: var(--muted); }
.add { width: 100%; background: transparent; border: 1px dashed #b1bec3; margin-top: 12px; font-size: .84rem; font-weight: 600; }
.add:hover { background: #ffffff85; }
.dragging { opacity: .5; }
.before { outline: 2px solid var(--accent); outline-offset: 2px; border-top: 4px solid var(--accent); }
.end .add { border: 2px solid var(--accent); }
footer { padding: 24px 0; color: var(--muted); font-size: .78rem; }
dialog { width: min(510px,95vw); max-height: 92dvh; padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); box-shadow: 0 18px 80px #15293640; }
dialog::backdrop { background: #11243570; }
form { padding: 24px; display: grid; gap: 15px; }
.dialog-head h2 { font-size: 1.4rem; letter-spacing: -.035em; }
.close { border: none; font-size: 1.5rem; padding: 3px 12px; }
label { display: block; font-size: .86rem; font-weight: 620; }
small { font-weight: normal; color: var(--muted); }
input, select, textarea { display: block; width: 100%; min-width: 0; padding: 9px; border: 1px solid #a9b6be; border-radius: 5px; margin-top: 5px; background: white; color: var(--ink); font-weight: normal; font-size: 1rem; }
textarea { resize: vertical; }
.pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.actions { justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 15px; }
[role="alert"]:not([hidden]) { padding: 10px; border-left: 3px solid #b23b25; background: #fff1ec; }
.sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
@media (max-width: 760px) { .board { grid-template-columns: 1fr; } .lane { min-height: auto; } .hero { padding-top: 25px; } .brand { gap: 10px; } .brand span { padding-left: 12px; } }
@media (max-width: 380px) { .pair { grid-template-columns: 1fr; } form { padding: 17px; } }

[hidden] {display:none!important} #login {margin:8vh auto;max-width:420px;background:white;border:1px solid var(--line);border-radius:12px} #login h1{font-size:3rem} footer{display:flex;align-items:start;gap:1rem;flex-wrap:wrap} summary{cursor:pointer} #error:not([hidden]){margin-block:1rem} form input{min-width:0}

#access {margin:12px 0} #access summary {width:fit-content;font-weight:650;color:var(--ink);padding:8px 0} #access #login {margin:8px 0 16px} .remember {display:flex;align-items:center;gap:.5rem;font-weight:normal} .remember input {width:auto;margin:0}
