@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap');
:root {
  --brand: #0A3D40; --brand-deep: #062B2D; --accent: #1FB5A3; --accent-ink: #0B6F64; --accent-soft: #EAF7F4;
  --fg: #0F3033; --muted: #4A6A6A; --line: rgba(15, 48, 51, .14); --bg: #F4F7F6; --panel: #FFFFFF; --bad: #C8423A;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
button { font: inherit; }

/* login */
.zp-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.zp-brand { background: var(--brand); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.zp-brand img { width: 132px; height: auto; }
.zp-brand h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 38px; line-height: 1.15; margin: 0 0 12px; max-width: 14ch; }
.zp-brand p { color: #A9C9C5; margin: 0; max-width: 38ch; line-height: 1.6; }
.zp-brand small { color: #A9C9C5; font-size: 12px; }
.zp-formwrap { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.zp-form { width: 100%; max-width: 360px; display: grid; gap: 18px; }
.zp-form h2 { margin: 0; font-family: var(--serif); letter-spacing: -.01em; font-size: 22px; font-weight: 600; }
.zp-form .sub { margin: -10px 0 4px; color: var(--muted); font-size: 14px; }
.zp-field { display: grid; gap: 6px; }
.zp-field label { font-size: 13px; color: var(--muted); }
.zp-field select, .zp-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); font: inherit; }
.zp-field select:focus, .zp-field input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(31, 181, 163, .18); }
.zp-btn { height: 44px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 600; cursor: pointer; }
.zp-btn:hover { background: var(--brand-deep); }
.zp-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.zp-erro { color: var(--bad); font-size: 13px; min-height: 18px; margin: -6px 0 0; }
.zp-ajuda { font-size: 12px; color: var(--muted); margin: 0; }

/* painel */
.zp-top { background: var(--brand); color: #fff; }
.zp-top .in { max-width: 1080px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.zp-top img { width: 96px; height: auto; display: block; }
.zp-top .who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #A9C9C5; }
.zp-top .who b { color: #fff; font-weight: 600; }
.zp-top a.sair { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.zp-top a.sair:hover { background: rgba(255,255,255,.08); }
.zp-main { max-width: 1080px; margin: 0 auto; padding: 36px 24px 64px; }
.zp-logo { display: inline-flex; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin: 0 0 22px; }
.zp-logo img { max-height: 52px; max-width: 220px; object-fit: contain; display: block; }
.zp-main h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 30px; margin: 0 0 6px; }
.zp-main .sub { color: var(--muted); margin: 0 0 28px; }
.zp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.zp-deck { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.zp-deck:hover { border-color: var(--accent-ink); transform: translateY(-1px); }
.zp-deck .cli { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.zp-deck h2 { font-family: var(--serif); letter-spacing: -.01em; font-size: 18px; margin: 0; font-weight: 600; }
.zp-deck p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.zp-deck .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.zp-deck .abrir { color: var(--accent-ink); font-weight: 600; font-size: 13px; }
.zp-vazio { background: var(--panel); border: 1px dashed var(--line); border-radius: 10px; padding: 32px; color: var(--muted); text-align: center; }
.zp-foot { max-width: 1080px; margin: 0 auto; padding: 0 24px 32px; font-size: 12px; color: var(--muted); }

@media (max-width: 760px) {
  .zp-login { grid-template-columns: minmax(0, 1fr); }
  .zp-brand { padding: 28px 24px; }
  .zp-brand h1 { font-size: 28px; }
  .zp-brand small { display: none; }
  .zp-formwrap { padding: 32px 16px 48px; align-items: flex-start; }
  .zp-top .in, .zp-main { padding-left: 16px; padding-right: 16px; }
  .zp-top .who span { display: none; }
}
