/* CONTROLE DE PULMÃO IBRATIN - Responsivo */
:root{
  --bg:#ffffff;
  --muted:#f3f3f3;
  --border:#cccccc;
  --text:#111;
  --sub:#666;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

.container{padding:18px; max-width:1100px; margin:0 auto;}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:14px;
}

h2,h3{margin:0 0 10px 0;}
small{color:var(--sub);}

.navbar{
  padding:14px;
  background:var(--muted);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.nav-title{min-width:240px;}
.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.nav-links a{
  display:inline-block;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  text-decoration:none;
  color:var(--text);
}
.nav-links a:active{transform:scale(0.99);}

.footer{
  margin-top:30px;
  padding:14px;
  text-align:center;
  font-size:12px;
  color:var(--sub);
}

label{font-weight:bold; display:block; margin:10px 0 6px;}
input,select,button{
  width:100%;
  padding:10px 12px;
  font-size:16px;
  border:1px solid var(--border);
  border-radius:10px;
}
button{
  background:#111;
  color:#fff;
  border:none;
  cursor:pointer;
}
button:hover{opacity:.92;}

.row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.col{
  flex:1 1 220px;
  min-width:220px;
}

.inline{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.inline .radio{
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
}
.inline .radio input{width:auto; margin:0;}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 12px;
}
.actions a{
  display:inline-block;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  text-decoration:none;
  color:var(--text);
  background:#fff;
}

.table-wrap{
  width:100%;
  overflow:auto;
  border:1px solid var(--border);
  border-radius:10px;
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}
th,td{
  padding:10px;
  border-bottom:1px solid var(--border);
  text-align:left;
  white-space:nowrap;
}
th{background:var(--muted);}

.notice{
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
}

@media (max-width:520px){
  .container{padding:14px;}
  table{min-width:860px;}
}
