:root{font-family:Inter,Segoe UI,system-ui,sans-serif;line-height:1.5;font-weight:400;color:#0f172a;background-color:#f1f5f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f1f5f9}a{color:inherit;text-decoration:none}button{font-family:inherit}#root{max-width:1200px;margin:0 auto;padding:3rem 1.5rem 4rem}@media(max-width:600px){#root{padding:2rem 1rem 3rem}}.sidebar{background:#0f172a;color:#e2e8f0;padding:2.5rem 2rem;display:flex;flex-direction:column;gap:2.5rem}.sidebar__brand{display:grid;gap:.35rem}.sidebar__logo{font-size:1.5rem;font-weight:700;letter-spacing:.08em}.sidebar__brand p{margin:0;font-size:.95rem;color:#94a3b8}.sidebar__nav{display:grid;gap:.8rem}.sidebar__link{color:inherit;text-decoration:none;font-weight:600;padding:.65rem .9rem;border-radius:12px;background:#94a3b814;transition:background .2s ease,transform .2s ease}.sidebar__link:hover{background:#94a3b833;transform:translate(4px)}.sidebar__footer{margin-top:auto;font-size:.85rem;color:#94a3b8;display:grid;gap:.2rem}@media(max-width:1024px){.sidebar{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:1.5rem}.sidebar__nav{grid-auto-flow:column;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));width:100%}}.panel{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 18px 40px #0f172a12}.panel--overview h3{margin:0 0 .5rem;color:#0f172a}.panel--overview p{margin:0 0 1.5rem;color:#475569}.panel--flush{padding:1.5rem}.panel__action{border:none;background:#0f172a;color:#fff;padding:.75rem 1.5rem;border-radius:999px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.panel__action:hover{transform:translateY(-1px);box-shadow:0 12px 20px #0f172a2e}.panel__action:disabled{opacity:.7;cursor:not-allowed;box-shadow:none;transform:none}.panel__action--ghost{background:transparent;color:#0f172a;border:1px solid #cbd5f5}.panel__action--ghost:hover{box-shadow:none;transform:translateY(-1px)}.panel__feedback{margin:0 0 1rem;font-size:.9rem;color:#475569}.panel__feedback--error{color:#b91c1c;font-weight:600}.panel__feedback--success{color:#15803d;font-weight:600}@media(max-width:720px){.panel{padding:1.5rem}}.automation-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.automation-grid label{display:grid;gap:.5rem;font-weight:600;color:#0f172a}.automation-grid input,.automation-grid select{border-radius:12px;border:1px solid #cbd5f5;padding:.65rem .9rem;font-size:.95rem}.automation-actions{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.automation-hint{color:#64748b;font-size:.9rem}.automation-schedules{margin-top:2rem;display:grid;gap:1rem}.automation-schedules__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.automation-table{border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;display:grid}.automation-table__row{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(120px,.8fr) minmax(140px,.9fr) minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr);gap:.5rem;padding:.85rem 1rem;border-bottom:1px solid #e2e8f0;align-items:center;font-size:.95rem;color:#1e293b}.automation-table__row--header{background:#f8fafc;font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.04em;color:#475569}.automation-table__row:last-child{border-bottom:none}.automation-table__actions{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem}.automation-table__status{font-size:.85rem;color:#64748b}.automation-table__status--error{color:#dc2626}.automation-table__status--success{color:#15803d}.webhook-grid{display:grid;gap:1.2rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:1rem}.webhook-grid label{display:grid;gap:.5rem;font-weight:600;color:#0f172a}.webhook-grid select,.webhook-grid input{border-radius:12px;border:1px solid #cbd5f5;padding:.65rem .9rem;font-size:.95rem}.webhook-triggers{border:1px solid #e2e8f0;border-radius:12px;padding:.75rem 1rem;display:grid;gap:.5rem;font-weight:600;color:#0f172a}.webhook-triggers legend{font-size:.95rem}.webhook-triggers label{display:flex;align-items:center;gap:.5rem;font-weight:500}.webhook-list{margin-top:2rem;display:grid;gap:1rem}.webhook-list__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.webhook-cards{display:grid;gap:1rem}.webhook-card{border:1px solid #e2e8f0;border-radius:16px;padding:1rem;display:grid;gap:.5rem;background:#f8fafc;color:#1e293b}.webhook-card__actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}.section{display:grid;gap:1.5rem}.section__header{display:grid;gap:.5rem}.section__header--inline{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center}.section__header h2{margin:0;color:#0f172a}.section__header p{margin:0;color:#64748b}.checklists-panel__forms{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.checklists-panel__form{display:grid;gap:1rem}.checklists-panel__form h3{margin:0;color:#0f172a}.checklists-panel__form label{display:grid;gap:.5rem;font-weight:600;color:#0f172a}.checklists-panel__form input,.checklists-panel__form select,.checklists-table__cell input,.checklists-items__row input{border-radius:12px;border:1px solid #cbd5f5;padding:.65rem .9rem;font-size:.95rem;background:#fff}.checklists-panel__form input:focus,.checklists-panel__form select:focus,.checklists-table__cell input:focus,.checklists-items__row input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.checklists-panel__list{margin-top:1.5rem}.checklists-table{display:grid;gap:1.5rem}.checklists-table__row{display:grid;gap:1.5rem;align-items:start;grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) minmax(160px,1fr);padding:1rem 0;border-bottom:1px solid #e2e8f0}.checklists-table__row--header{font-weight:700;color:#0f172a;border-bottom:1px solid #cbd5f5}.checklists-table__cell{display:flex;flex-direction:column;gap:.75rem}.checklists-table__actions{gap:.75rem}.checklists-items{display:grid;gap:.75rem}.checklists-items__row{display:grid;gap:.5rem;align-items:center;grid-template-columns:minmax(80px,120px) auto auto}.checklists-items__empty{margin:0;color:#64748b}.checklists-items__action{border:none;background:#e2e8f0;color:#0f172a;padding:.45rem .9rem;border-radius:999px;font-weight:600;cursor:pointer}.checklists-items__action--danger{background:#fee2e2;color:#b91c1c}.checklists-items__action:disabled{opacity:.7;cursor:not-allowed}@media(max-width:920px){.checklists-table__row{grid-template-columns:1fr}.checklists-table__row--header{display:none}.checklists-table__actions{flex-direction:row}}.top-header{padding:0 0 2.5rem;border-bottom:1px solid #e2e8f0}.page-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2rem}.page-header__titles{max-width:640px}.top-header__eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:.7rem;color:#64748b;font-weight:700}.top-header h1{margin:.5rem 0 .75rem;font-size:clamp(2rem,3vw,2.6rem);color:#0f172a}.top-header__subtitle{margin:0;max-width:560px;color:#475569;line-height:1.6}.top-header__summary{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:1.5rem;padding:1.25rem 1.75rem;border-radius:16px;background:#f8fafc;min-width:260px}.top-header__summary span{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:.35rem}.top-header__summary strong{font-size:1.5rem;color:#0f172a}@media(max-width:720px){.page-header{flex-direction:column;align-items:flex-start}.top-header__summary{width:100%;grid-auto-flow:row}}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}.overview-list{display:grid;gap:1rem}.overview-list span{display:block;font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.08em}.overview-list strong{font-size:1.4rem;color:#0f172a}.chip-list{display:flex;flex-wrap:wrap;gap:.6rem}.chip{background:#e0f2fe;color:#0369a1;border-radius:999px;padding:.4rem .9rem;font-size:.85rem;font-weight:600}.chip--muted{background:#e2e8f0;color:#475569}.module-card{border-radius:16px;border:1px solid #e2e8f0;padding:1.5rem;background:#f8fafc;display:grid;gap:1.5rem}.module-card__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.module-card__header h3{margin:0 0 .3rem;color:#0f172a}.module-card__meta{margin:0;color:#64748b;font-size:.9rem}.module-card__body{display:grid;gap:1.5rem}.module-card__details{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.5rem;color:#0f172a}.module-card__details span{display:block;font-size:.75rem;text-transform:uppercase;color:#64748b;letter-spacing:.08em;margin-bottom:.3rem}.module-card__label{display:grid;gap:.6rem;font-size:.9rem;color:#0f172a;font-weight:600}.module-card__label input{border-radius:12px;border:1px solid #cbd5f5;padding:.75rem 1rem;font-size:.95rem;transition:border .2s ease,box-shadow .2s ease}.module-card__label input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb33}.status{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .9rem;border-radius:999px;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.status--ativo{background:#dcfce7;color:#15803d}.status--alerta{background:#fef9c3;color:#a16207}.status--manutencao{background:#fee2e2;color:#b91c1c}.status--offline{background:#e2e8f0;color:#475569}.module-card__actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.module-card__save{border:none;background:#2563eb;color:#fff;padding:.6rem 1.5rem;border-radius:12px;font-weight:600;cursor:pointer}.module-card__save:disabled{opacity:.7;cursor:not-allowed}.module-card__feedback{font-size:.85rem;font-weight:600}.module-card__feedback--success{color:#15803d}.module-card__feedback--error{color:#b91c1c}.module-card__feedback--loading{color:#0f172a}@media(max-width:720px){.module-card__header{flex-direction:column;align-items:flex-start}}.module-list{display:grid;gap:1.5rem}.module-toolbar{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;align-items:flex-end}.module-toolbar label{display:grid;gap:.5rem;font-weight:600;color:#0f172a;flex:1}.module-toolbar input{border-radius:12px;border:1px solid #cbd5f5;padding:.65rem .9rem;font-size:.95rem}.report-panel__history{display:grid;gap:1rem}.report-history__list{display:grid;gap:.8rem}.report-history__item{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border-radius:12px;background:#f1f5f9;border:1px solid #e2e8f0}.report-history__item span{font-size:.85rem;color:#475569}.report-history__details{display:grid;gap:.4rem}.report-history__summary{display:grid;gap:.2rem}.report-history__module{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.8rem;color:#64748b}.report-history__path{max-width:180px;text-align:right;word-break:break-all}.report-history__download{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end}.report-history__download label{display:grid;gap:.5rem;font-weight:600;color:#0f172a}.report-history__download input{border-radius:12px;border:1px solid #cbd5f5;padding:.6rem .9rem;font-size:.95rem;width:120px}.report-panel{display:grid;gap:1.5rem}.report-panel__form{display:grid;gap:1rem}.report-panel__form label{display:grid;gap:.5rem;font-weight:600;color:#0f172a}.report-panel__form input,.report-panel__form select{border-radius:12px;border:1px solid #cbd5f5;padding:.65rem .9rem;font-size:.95rem}.report-panel__form input:focus,.report-panel__form select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.report-panel__result{padding:1.5rem;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0}.report-panel__result h3{margin:0 0 .5rem}.report-panel__result p{margin:0 0 1rem;color:#475569}.report-panel__stats{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.report-panel__stats span{display:block;text-transform:uppercase;font-size:.75rem;color:#64748b;letter-spacing:.08em}.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;background:#f1f5f9}.main{padding:3rem clamp(1.5rem,3vw,3rem) 4rem;display:grid;gap:2.5rem}@media(max-width:1024px){.app-shell{grid-template-columns:1fr}.main{padding:2rem}}
