.modal-caixa-medicamentos{width:min(900px,calc(100% - 28px));max-height:92vh;overflow:auto}.medicamentos-barra{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 20px;border-bottom:1px solid #e6e8ef}.medicamentos-barra p{margin:5px 0 0;color:#697386;font-size:.88rem}.lista-medicamentos{display:grid;gap:13px;margin:18px 0}.medicamento-card{display:grid;grid-template-columns:48px 1fr auto;gap:14px;padding:17px;border:1px solid #e3e7ef;border-left:4px solid #7157d9;border-radius:16px;background:#fff}.medicamento-card.finalizado{border-left-color:#98a2b3;opacity:.82}.medicamento-icone{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#f0edff;font-size:1.3rem}.medicamento-topo{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.medicamento-topo h3{margin:0;font-size:1.02rem}.medicamento-status{padding:4px 9px;border-radius:999px;background:#e8f8ef;color:#167344;font-size:.72rem;font-weight:850}.finalizado .medicamento-status{background:#eef1f5;color:#586174}.medicamento-detalhes{display:flex;flex-wrap:wrap;gap:7px 16px;margin-top:8px;color:#5f6b7d;font-size:.84rem}.medicamento-observacoes{margin-top:9px;padding:9px 11px;border-radius:10px;background:#f7f8fb;color:#596579;font-size:.82rem}.medicamento-acoes{display:flex;gap:6px}.medicamento-acoes button{width:36px;height:36px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;cursor:pointer}.medicamento-acoes .excluir{color:#c72d44}.medicamento-ativo{display:flex;align-items:center;gap:9px;margin:6px 0 18px;font-weight:750}.medicamento-ativo input{width:18px;height:18px}@media(max-width:620px){.modal-caixa-medicamentos{width:100%;height:100vh;max-height:100vh;border-radius:0}.medicamentos-barra{align-items:stretch;flex-direction:column}.medicamentos-barra .botao{width:100%}.medicamento-card{grid-template-columns:40px 1fr}.medicamento-icone{width:38px;height:38px}.medicamento-acoes{grid-column:1/-1;justify-content:flex-end}.medicamento-topo{flex-direction:column}}
.dose-historico{margin-top:14px;padding-top:13px;border-top:1px solid #e8eaf0}.dose-historico>strong{display:block;margin-bottom:8px;font-size:.82rem}.dose-linha{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px dashed #e6e8ee}.dose-linha span b,.dose-linha span small{display:block}.dose-linha span b{font-size:.8rem}.dose-linha span small{margin-top:2px;color:#8a5a00;font-size:.72rem}.dose-administrada span small{color:#167344}.dose-ignorada span small{color:#8a4b55}.dose-linha>div{display:flex;gap:6px}.dose-linha button{padding:7px 9px;border:0;border-radius:9px;background:#167344;color:#fff;font-size:.72rem;font-weight:800;cursor:pointer}.dose-linha .dose-ignorar{background:#eef1f5;color:#586174}.dose-sem-horario{margin-top:13px;padding:10px;border-radius:10px;background:#fff7e2;color:#795600;font-size:.78rem}@media(max-width:620px){.dose-linha{align-items:flex-start;flex-direction:column}.dose-linha>div,.dose-linha button{width:100%}}
.medicamentos-acoes-topo{display:flex;gap:9px;flex-wrap:wrap}.medicamentos-acoes-topo [data-active="true"]{border-color:#58b889;background:#e8f8ef;color:#146b41}@media(max-width:620px){.medicamentos-acoes-topo{display:grid}.medicamentos-acoes-topo .botao{width:100%}}
