:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#24253a;background:#f7f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:22px}h3{font-size:18px;margin-bottom:8px}.app{display:flex;min-height:100vh}.sidebar{width:250px;background:#241c3e;color:white;padding:32px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:4px 12px 34px}.brand-icon{display:grid;place-items:center;background:#be9bdf;color:#291e3f;font-weight:800;font-size:20px;border-radius:14px;width:43px;height:43px}.brand strong{display:block;font-size:19px}.brand small{font-size:12px;opacity:.65}.sidebar nav{display:grid;gap:5px}.sidebar nav a{padding:14px;border-radius:12px;color:#ded5ee;font-size:14px}.sidebar nav a.current,.sidebar nav a:hover{background:#49375f;color:white}.side-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding:16px 12px;font-size:13px;color:#e2dcef}.text-button{background:none;color:#fff;border:0;text-decoration:underline}.app main{flex:1;min-width:0}.top{padding:38px 46px 28px;display:flex;justify-content:space-between;gap:15px;align-items:end;background:#fff;border-bottom:1px solid #eeedf4}.eyebrow{display:block;letter-spacing:1.8px;color:#9a7eb0;font-size:10px;font-weight:800;margin-bottom:8px}.top-identity{color:#9895a8;font-size:12px}.top-identity span{padding:0 7px}.content{padding:34px 46px;max-width:1440px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:25px}.intro p,.muted,.panel-header p{color:#858399;font-size:14px;line-height:1.6}.intro p{max-width:650px;margin-bottom:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 19px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:700;white-space:nowrap}.btn.primary{background:#7c4e96;color:white}.btn.primary:hover{background:#693781}.btn.light{background:#fff;color:#644178;border-color:#e7e0ee}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.metric,.panel{border:1px solid #ecebf2;background:white;border-radius:16px;box-shadow:0 5px 20px #20133e05}.metric{padding:24px}.metric span{display:block;color:#8c899a;font-size:13px}.metric strong{display:block;font-size:36px;color:#352840;margin:14px 0 6px}.metric small{color:#a6a3ae}.panel{padding:0;overflow:hidden;margin-bottom:18px}.panel-header{padding:24px 26px 7px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:670px}th{text-transform:uppercase;font-size:11px;letter-spacing:.7px;color:#9a93a5;background:#fbfafd;text-align:left}th,td{padding:17px 24px;border-bottom:1px solid #f0edf4;font-size:13px}td small{display:inline-block;margin-top:5px;color:#9993a3}tr:last-child td{border-bottom:0}.empty{text-align:center;color:#9892a0;padding:35px}.actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.search{display:flex;gap:8px}.search input,.search select{min-width:220px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#675b70}.field input,.field select,.field textarea,.search input,.search select{padding:12px 13px;border:1px solid #e4dfe9;border-radius:9px;background:#fff;color:#282234;outline:none;max-width:100%;font-weight:400}.field input:focus,.field select:focus,.field textarea:focus{border-color:#985cbe;box-shadow:0 0 0 3px #985cbe1a}.form-panel{padding:29px}.form-panel h3{margin-top:16px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0 30px}.form-actions{display:flex;justify-content:flex-end;margin-top:24px}.link,.link-button{font-size:13px;color:#774b95;font-weight:700}.link-button{border:0;background:none;padding:0}.row-actions{display:flex;gap:14px;align-items:center}.pill{display:inline-block;padding:6px 10px;border-radius:20px;background:#f0edf8;color:#74538b;font-size:11px;font-weight:700}.pill.convertido{background:#e6f6ef;color:#267955}.pill.perdido{background:#fcecec;color:#af4c55}.pill.negociacao{background:#fff3de;color:#9a661d}.footer{font-size:12px;color:#b5b1bf;padding:16px 46px}.alert{margin-bottom:20px;padding:13px 16px;border-radius:9px;background:#eff7ed;color:#28632d;font-size:13px}.alert.error{background:#fcebed;color:#a03042}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:linear-gradient(125deg,#f9f7fb,#eee7f3)}.auth-card{background:#fff;border:1px solid #eee8f3;box-shadow:0 15px 60px #2c19321a;border-radius:20px;max-width:440px;width:100%;padding:34px}.auth-brand{padding:0 0 28px}.auth-card h1{margin-bottom:25px}.stack{display:grid;gap:17px}.stack .btn{margin-top:6px}@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,1fr)}.content{padding:24px}.top{padding:28px 24px}.form-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.app{display:block}.sidebar{width:100%;padding:12px 16px}.sidebar .brand{padding:5px 2px 12px}.sidebar nav{display:flex;overflow-x:auto}.sidebar nav a{white-space:nowrap;padding:10px}.side-bottom{position:absolute;right:14px;top:18px;padding:0}.side-bottom span{display:none}.top{padding:22px 18px}.top-identity{display:none}.content{padding:20px 14px}.intro,.actions{flex-direction:column;align-items:stretch}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:15px}.metric strong{font-size:28px}.metric span,.metric small{font-size:11px}.form-grid{grid-template-columns:1fr}.form-panel{padding:18px}.footer{padding:16px}.search{width:100%}.search input,.search select{min-width:0;width:100%}.row-actions{flex-wrap:wrap}}

/* Sprint 2 — identidade suave, sofisticada; marca vetorial provisória substituível */
:root{--brand:#71504a;--brand-deep:#392b2c;--brand-muted:#b68d7f;--brand-paper:#faf7f4}
body{background:var(--brand-paper);color:#302c2c}.sidebar{background:var(--brand-deep)}.sidebar nav a{color:#f1e5df}.sidebar nav a.current,.sidebar nav a:hover{background:#69504c}.brand-icon{width:48px;height:48px;background:#f1d9c8;color:#61453e;letter-spacing:-2px;font-family:Georgia,serif;font-size:20px;border-radius:50%}.eyebrow{color:#90695d}.btn.primary{background:var(--brand);color:white}.btn.primary:hover{background:#583c39}.btn.light{color:#61443e;border-color:#e6d9d1}.link,.link-button{color:var(--brand)}.field input:focus,.field select:focus,.field textarea:focus{border-color:#aa8678;box-shadow:0 0 0 3px #aa867826}.pill{background:#f4eae5;color:#745448}.metric strong{color:var(--brand-deep)}.auth-wrap{background:linear-gradient(125deg,#faf7f4,#e9dcd5)}.checkbox-field{justify-content:center}.checkbox-field input{width:22px;height:22px;accent-color:var(--brand)}

.pill.confirmado{background:#e5f5f5;color:#20766d}.pill.concluido{background:#e4f5eb;color:#256c45}.pill.cancelado,.pill.nao_compareceu{background:#fce9e9;color:#9d3434}
