:root{font-family:system-ui,-apple-system,sans-serif;color:#17202a;background:#f3f6f8;line-height:1.45}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}header{background:linear-gradient(120deg,#064c45,#087568);color:#fff;padding:10px max(16px,calc((100% - 1460px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 2px 12px #063b3540}.brand{display:flex;align-items:center;gap:12px;min-width:310px;color:#fff;text-decoration:none}.brand img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 1px 1px #00332d80)}.brand-name{display:flex;flex-direction:column;line-height:1.15}.brand-name strong{font-size:1.45rem;letter-spacing:.08em}.brand-name small{font-size:.78rem;font-weight:600;opacity:.94;margin-top:4px;white-space:nowrap}nav{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}nav a,nav span{color:#fff;text-decoration:none}nav form{display:inline}button,.button{border:0;border-radius:8px;padding:10px 15px;background:#dfe7e9;color:#17202a;font-weight:650;text-decoration:none;cursor:pointer}.primary{background:#087f6f;color:white}main{flex:1;width:100%;max-width:1460px;margin:24px auto;padding:0 16px}.card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 2px 10px #102a4314;margin-bottom:16px}.login,.narrow{max-width:500px;margin:8vh auto}.title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.title h1,.title h3{margin:0}.title p{margin:.3rem 0}.cards{display:grid;gap:14px}.trip{display:block;color:inherit;text-decoration:none}.trip>div{display:flex;justify-content:space-between}.status{display:inline-block;border-radius:99px;background:#dce5e8;padding:4px 10px;font-size:.78rem;text-transform:uppercase}.status.embarcou,.status.concluida,.status.liberada{background:#d7f5e9;color:#075e54}.status.faltou,.status.cancelada,.status.cancelado{background:#fde2e2;color:#9b1c1c}.status.em_viagem{background:#fff0bf;color:#714d00}.grid{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:18px}label{display:block;font-weight:650;margin:12px 0}input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #bdc9cd;border-radius:8px;margin-top:5px;font:inherit}textarea{min-height:76px}.split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.search{display:flex;gap:8px;margin-bottom:12px}.search input{margin:0}.list{display:grid;gap:8px}.row{background:white;padding:13px;border-radius:9px;color:inherit;text-decoration:none}.row span{display:block;color:#566}.flash{padding:12px;border-radius:8px;margin-bottom:12px}.flash.success{background:#d7f5e9}.flash.danger{background:#fde2e2}.table{overflow-x:auto;border-radius:10px;box-shadow:0 2px 10px #102a4310}table{width:100%;border-collapse:collapse;background:#fff}td,th{padding:10px;border-bottom:1px solid #e3eaec;text-align:left;vertical-align:top}th{white-space:nowrap}td:nth-child(1),td:nth-child(4){white-space:nowrap}td:nth-child(2),td:nth-child(3),td:nth-child(5){white-space:normal;overflow-wrap:anywhere}td:nth-child(6){width:390px;min-width:320px}details summary{font-weight:750;cursor:pointer;color:#087568;padding:4px 0}.waiting-build{width:100%;min-width:0}.waiting-build label{margin:9px 0}.waiting-build .new-trip-fields{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.25fr) minmax(120px,.8fr);gap:8px}.waiting-build button{width:100%;margin-top:4px}.passenger h3{font-size:1.2rem}@media(max-width:1100px){header{align-items:flex-start;flex-wrap:wrap}.brand{min-width:0}nav{justify-content:flex-start}.waiting-build .new-trip-fields{grid-template-columns:1fr}}@media(max-width:700px){header{align-items:flex-start;flex-direction:column}.brand img{width:50px;height:50px}.brand-name small{white-space:normal}.brand{width:100%}nav{gap:9px;font-size:.9rem}.grid,.split{grid-template-columns:1fr}.title{align-items:flex-start}.passenger{padding:15px}button,.button{min-height:44px}td:nth-child(6){min-width:280px}}
.site-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;padding:18px 16px;margin-top:24px;background:#e6eeed;color:#405854;border-top:1px solid #cfddda;font-size:.86rem;text-align:center}.site-footer strong{color:#075e54}.footer-divider{color:#087568;font-weight:800}@media(max-width:520px){.site-footer{flex-direction:column;gap:2px}.footer-divider{display:none}}
.viewer-notice{margin:14px 0 18px;padding:12px 15px;border:1px solid #9fc9c1;border-radius:9px;background:#e5f4f1;color:#075e54;font-weight:650}.viewer form[method="post"]:not(header form){display:none}.viewer .appointment-edit-grid,.viewer .remove-record{display:none}
