/* Notas y citas. Pósit #FFE97A, esquinas de 3 px, sin sombra. */
.notas-sheet button,.notas-sheet input,.notas-sheet textarea{font-family:inherit;appearance:none;-webkit-appearance:none;background:transparent;border:0;box-shadow:none;color:inherit;border-radius:3px}
.notas-sheet button:focus,.notas-sheet button:focus-visible,.notas-sheet input:focus,.notas-sheet input:focus-visible,.notas-sheet textarea:focus,.notas-sheet textarea:focus-visible{outline:none;box-shadow:none}
.notas-btn{border-radius:3px;box-shadow:none;color:#1C2B33}
.notas-btn svg{display:block}
#notas{position:fixed;left:0;right:0;top:var(--vvtop,0px);bottom:var(--kb,0px);z-index:90;background:#00000055;display:flex;justify-content:center;align-items:flex-end}
#notas.on .notas-sheet{transform:none}
html.kb-open .notas-sheet{max-height:100%}
.notas-sheet{
  width:min(440px,100%);max-height:calc(100% - var(--sat, 0px));
  margin-top:0;background:var(--bg,#F4F6F8);color:var(--txt,#1C2B33);
  border-radius:3px 3px 0 0;box-shadow:none;display:flex;flex-direction:column;
  overflow:hidden;padding:0 14px 12px;box-sizing:border-box;
}
#notas.kb{align-items:stretch;box-sizing:border-box}
#notas.kb .notas-sheet{max-height:none;height:auto;align-self:stretch;min-height:0}
#notas.kb .notas-cal{display:none}
.notas-sheet[data-view="list"] .notas-form{display:none}
.notas-sheet[data-view="edit"] .notas-list{display:none}
.notas-head{display:flex;align-items:center;gap:8px;margin:0 -14px 8px;padding:8px 8px 8px 14px;flex:none;position:sticky;top:0;z-index:3;background:var(--bg,#F4F6F8)}
.notas-head b{flex:1;text-align:center;font-size:17px;font-weight:650}
.notas-pick{display:flex;gap:8px;flex:none;margin:0 0 10px}
.notas-pick button{flex:1 1 0;min-width:0;height:40px;border-radius:3px;border:1px solid var(--line,#C5D0D6);box-shadow:none;background:#fff;font-weight:650;padding:0 8px}
.notas-pick button.on{background:#1B6CA8;color:#fff;border-color:#1B6CA8}
.notas-sheet .notas-back{box-sizing:border-box;width:100%;height:40px;margin:0 0 10px;border-radius:3px;border:1px solid var(--line,#C5D0D6);box-shadow:none;font-weight:650;background:#fff;color:inherit}
.notas-sheet[data-view="list"] .notas-back{display:block}
.notas-sheet[data-view="edit"] .notas-back{display:none}
.notas-open{flex:1;min-width:0;display:flex;gap:8px;align-items:center;text-align:start;border:0;background:transparent;box-shadow:none;padding:0;color:inherit;border-radius:3px}
.notas-x{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:3px;box-shadow:none;font-size:22px;background:none;border:0;padding:0;line-height:1;color:inherit}
.notas-form,.notas-list{overflow:auto;flex:1 1 auto;min-height:0}
.notas-form h3{margin:0 0 8px;font-size:15px;font-weight:650}
.notas-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.notas-nav b{font-size:15px;font-weight:650;text-transform:capitalize}
.notas-nav button{width:32px;height:32px;border-radius:3px;border:1px solid var(--line,#C5D0D6);background:transparent;box-shadow:none}
.notas-week,.notas-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.notas-week span{font-size:11px;font-weight:650;color:var(--mut,#6B7A83);padding:4px 0}
.notas-day{height:34px;border-radius:3px;box-shadow:none;font-weight:550;position:relative;color:inherit;background:transparent;border:0;padding:0}
.notas-day.out{visibility:hidden}
.notas-day.on{background:#1B6CA8;color:#fff}
.notas-day i{position:absolute;left:50%;bottom:2px;width:6px;height:6px;margin-left:-3px;background:#E6B800;border-radius:2px}
.notas-day.on i{background:#FFE97A}
.notas-when{display:flex;align-items:center;gap:8px;margin:10px 0}
.notas-when label{font-size:13px;font-weight:650}
.notas-when input{width:88px;height:34px;padding:0 8px;border-radius:3px;border:1px solid var(--line,#C5D0D6);background:#fff;box-shadow:none}
.notas-kind{display:flex;margin-left:auto;border:1px solid var(--line,#C5D0D6);border-radius:3px;overflow:hidden}
.notas-kind button{padding:6px 12px;border-radius:0;border:0;background:transparent;box-shadow:none;font-weight:600}
.notas-kind button.on{background:#1B6CA8;color:#fff}
.notas-post{
  background-color:#FFE97A;color:#1C2B33;border-radius:3px;box-shadow:none;
  padding:0 12px 0;min-height:140px;
  background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,#E3D07A 27px,#E3D07A 28px);
  background-position:0 0;
}
.notas-date{margin:0;height:28px;line-height:27px;font-weight:650;font-size:14px}
.notas-post textarea{
  width:100%;min-height:112px;border:0;background:transparent;box-shadow:none;
  border-radius:0;resize:none;color:#1C2B33;padding:0;margin:0;line-height:28px;
  font-size:15px;font-family:inherit;outline:none;
}
.notas-post textarea:focus,.notas-post textarea:focus-visible{outline:none;box-shadow:none;border:0;background:transparent}
.notas-post textarea::placeholder{color:#8A7340}
.notas-acts{display:flex;gap:8px;margin:10px 0 14px}
.notas-acts button{flex:1;height:38px;border-radius:3px;border:1px solid var(--line,#C5D0D6);box-shadow:none;font-weight:650}
.notas-acts .go{background:#1B6CA8;color:#fff;border-color:#1B6CA8}
.notas-tabs{display:flex;gap:6px;margin:0 0 10px}
.notas-tabs button{flex:1;height:32px;border-radius:3px;border:1px solid var(--line,#C5D0D6);box-shadow:none;font-weight:600}
.notas-tabs button.on{background:#1B6CA8;color:#fff;border-color:#1B6CA8}
.notas-list h4{margin:8px 0 6px;font-size:13px;color:var(--mut,#6B7A83);font-weight:650}
.notas-item{display:flex;gap:8px;align-items:center;background:var(--panel,#fff);border-radius:3px;border-left:3px solid #FFE97A;padding:8px;margin:0 0 6px;box-shadow:none}
.notas-left{width:46px;flex:none;text-align:center;color:#1B6CA8;font-weight:700}
.notas-left b{display:block;font-size:18px;line-height:1}
.notas-left small{font-weight:550;color:var(--mut,#6B7A83)}
.notas-item .tx{flex:1;min-width:0}
.notas-item .tx b,.notas-item .tx p{display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notas-item .tx p{color:var(--mut,#6B7A83);font-size:13px}
.notas-tools{display:flex;flex-direction:column;gap:4px;flex:none}
.notas-tools button{border-radius:3px;box-shadow:none;font-size:12px;padding:4px 8px;white-space:nowrap}
.notas-empty{color:var(--mut,#6B7A83);text-align:center;margin:8px 0}
.notas-add{width:100%;height:38px;margin-top:8px;margin-bottom:calc(8px + var(--sab, env(safe-area-inset-bottom, 0px)));border-radius:3px;border:1px solid var(--line,#C5D0D6);box-shadow:none;font-weight:650;background:var(--panel,#fff)}
.notas-site{width:36px;height:36px;border:0;background:transparent;border-radius:3px;box-shadow:none;color:#1C2B33;padding:6px}
.notas-site svg{width:22px;height:22px;display:block}
@media(min-width:820px){
  #notas{align-items:center;padding:24px}
  .notas-sheet{width:420px;max-height:min(860px,calc(100% - 24px));border-radius:3px;margin-top:0}
  html.kb-open #notas .notas-sheet{max-height:100%}
}
