:root{--navy:#0b1f3a;--blue:#0f5ca8;--cyan:#0e91a1;--bg:#f3f6fa;--line:#dce3ec;--text:#172033;--muted:#687386;--white:#fff;--red:#b42318;--green:#067647;--amber:#b54708}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.appShell{min-height:100vh}.topbar{background:linear-gradient(120deg,var(--navy),#123d6c);color:#fff;display:flex;justify-content:space-between;gap:24px;align-items:center;padding:20px 28px;box-shadow:0 2px 12px #0b1f3a33}.topbar h1{margin:2px 0 0;font-size:25px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;margin:0;color:#89d8e0}.userBox{display:flex;align-items:center;gap:10px;background:#ffffff12;border:1px solid #ffffff26;border-radius:12px;padding:10px 12px}.userBox div{display:flex;flex-direction:column}.userBox small{opacity:.75}.googleDot{width:10px;height:10px;border-radius:50%;background:#d92d20}.googleDot.on{background:#12b76a}.workspace{display:grid;grid-template-columns:310px 1fr;min-height:calc(100vh - 90px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:16px;overflow:auto}.search{display:flex;gap:8px}.search input{min-width:0}.customerList{gap:8px;margin-top:16px}.customerItem,.customerList{display:flex;flex-direction:column}.customerItem{border:1px solid var(--line);background:#fff;border-radius:11px;text-align:left;padding:12px;gap:4px;cursor:pointer}.customerItem.active,.customerItem:hover{border-color:var(--cyan);background:#eefbfc}.customerItem small,.customerItem span{color:var(--muted)}.customerItem small{font-weight:800;color:var(--blue)}.content{padding:22px;min-width:0}.welcome{min-height:70vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.welcomeIcon{font-size:38px;width:72px;height:72px;border-radius:20px;display:grid;place-items:center;margin:auto;background:#e4f3fa;color:var(--blue)}.customerHero{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;justify-content:space-between;gap:20px}.customerHero h2{margin:3px 0}.metrics{display:flex;gap:10px}.metrics div{min-width:130px;padding:12px;background:#f6f8fb;border-radius:10px;display:flex;flex-direction:column}.metrics span{font-size:12px;color:var(--muted)}.metrics strong{font-size:18px;margin-top:4px}.tabs{display:flex;gap:6px;margin:15px 0;overflow:auto}.tabs button{border:0;background:transparent;padding:10px 13px;border-radius:9px;font-weight:700;color:var(--muted);cursor:pointer;white-space:nowrap}.tabs button.active{background:var(--navy);color:#fff}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;min-width:0}.cardHeader{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.cardHeader h2{font-size:17px;margin:0}.twoCols{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.tableWrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}td,th{padding:11px;border-bottom:1px solid var(--line);text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:#f8fafc}.money{text-align:right;font-weight:800}.selectionTotal{font-weight:800;color:var(--blue)}input,select,textarea{width:100%;border:1px solid #cfd8e5;border-radius:8px;padding:10px;background:#fff;color:var(--text);font:inherit}textarea{min-height:90px;resize:vertical}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:12px;font-weight:700;color:#485467}.formGrid{display:grid;grid-gap:12px;gap:12px}.btn{border:0;border-radius:8px;padding:10px 14px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.btn.primary{background:var(--blue);color:#fff}.btn.secondary{background:#e9eff6;color:var(--navy)}.btn:disabled{opacity:.5;cursor:not-allowed}.notice{margin:16px 22px 0;padding:12px 15px;border-radius:10px;display:flex;justify-content:space-between}.notice.success{background:#ecfdf3;color:var(--green)}.notice.error{background:#fef3f2;color:var(--red)}.notice button{border:0;background:transparent;font-size:20px;color:inherit}.empty{color:var(--muted);text-align:center}.empty.block{padding:30px}.hint{font-size:12px;color:var(--muted);margin:0}.timeline{display:flex;flex-direction:column}.timeline article{display:grid;grid-template-columns:18px 1fr;grid-gap:8px;gap:8px;padding-bottom:18px}.timelineDot{width:10px;height:10px;border-radius:50%;background:var(--cyan);margin-top:5px}.timeline p{margin:5px 0}.timeline small{color:var(--muted)}.status{font-size:10px;font-weight:900;letter-spacing:.05em;padding:4px 7px;border-radius:999px;background:#eef2f6;color:#475467;margin-left:8px}.status.activa,.status.completed,.status.fulfilled,.status.generated,.status.sent{background:#ecfdf3;color:var(--green)}.status.broken,.status.send-failed{background:#fef3f2;color:var(--red)}.status.active,.status.draft{background:#fff7ed;color:var(--amber)}.stack{display:flex;flex-direction:column;gap:9px}.listCard{display:flex;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:10px;padding:12px}.listCard p{margin:4px 0;color:var(--muted)}.listCard>div:last-child{text-align:right}.listCard small{display:block;margin-top:7px;color:var(--muted)}.legalForm{display:grid;grid-gap:14px;gap:14px}.legalForm h3{font-size:14px;border-bottom:1px solid var(--line);padding-bottom:7px;margin:5px 0 0}.grid3{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.documentSummary{display:flex;justify-content:space-between;background:#f5f8fb;padding:12px;border-radius:9px}.resultBox{text-align:center;padding:30px 10px}.resultBox h3{font-size:21px}.buttonRow{display:flex;justify-content:center;gap:9px}.loadingScreen{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.spinner{width:38px;height:38px;border:4px solid #dce3ec;border-top:4px solid var(--blue);border-radius:50%;animation:spin 1s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(1turn)}}@media(max-width:1050px){.workspace{grid-template-columns:260px 1fr}.metrics{display:grid;grid-template-columns:1fr 1fr}.metrics div{min-width:110px}.twoCols{grid-template-columns:1fr}.grid3{grid-template-columns:1fr 1fr}}@media(max-width:760px){.customerHero,.topbar{align-items:flex-start;flex-direction:column}.workspace{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line);max-height:360px}.content{padding:14px}.metrics{width:100%}.grid3{grid-template-columns:1fr}.userBox{width:100%}.notice{margin:12px 14px 0}}