/* Mis Apuntes privados · añadido exclusivamente a la sección Apuntes sobre V8.9 */
.notes-private-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:4px 0 18px;padding:6px;background:linear-gradient(135deg,#eef5ff,#f8fbff);border:1px solid #dce9f7;border-radius:20px;box-shadow:0 8px 24px rgba(36,77,131,.06)}
.notes-private-tabs button{appearance:none;border:1px solid transparent;background:transparent;border-radius:15px;padding:13px 16px;display:flex;align-items:center;gap:12px;text-align:left;color:#45617f;cursor:pointer;transition:.18s ease;min-width:0}
.notes-private-tabs button:hover{background:rgba(255,255,255,.72)}
.notes-private-tabs button.active{background:#fff;border-color:#d5e5f6;box-shadow:0 8px 22px rgba(24,59,99,.10);color:#17365d}
.notes-private-tabs .npt-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e8f2ff;font-size:20px;flex:0 0 auto}
.notes-private-tabs button.active .npt-icon{background:linear-gradient(145deg,#164c87,#2d79c7);box-shadow:0 7px 15px rgba(33,91,155,.22)}
.notes-private-tabs b{display:block;font-size:14px;line-height:1.2}
.notes-private-tabs small{display:block;margin-top:3px;color:#8092a8;font-size:11px;font-weight:700;line-height:1.3}
.private-notes-panel[hidden]{display:none!important}
.private-notes-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px;border:1px solid #d7e6f6;border-radius:24px;background:linear-gradient(135deg,#f8fbff 0%,#edf6ff 55%,#f7fbff 100%);box-shadow:0 14px 35px rgba(23,54,93,.08);position:relative;overflow:hidden}
.private-notes-hero:after{content:"";position:absolute;right:-50px;bottom:-70px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(47,125,209,.12),rgba(47,125,209,0) 68%);pointer-events:none}
.private-notes-shield{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-size:29px;background:linear-gradient(145deg,#154b86,#3185d5);box-shadow:0 12px 26px rgba(30,87,151,.24);position:relative;z-index:1}
.private-notes-hero-copy{position:relative;z-index:1;min-width:0}
.private-notes-kicker{display:block;color:#2a67a5;font-size:11px;font-weight:900;letter-spacing:.10em;margin-bottom:4px}
.private-notes-hero h3{margin:0;color:#17365d;font-size:24px;line-height:1.15}
.private-notes-hero p{margin:7px 0 0;color:#5b7189;line-height:1.55;max-width:760px}
.private-notes-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.private-notes-badges span{font-size:11px;font-weight:800;color:#37658f;background:rgba(255,255,255,.72);border:1px solid #d9e7f5;padding:6px 9px;border-radius:999px}
.private-notes-new{position:relative;z-index:1;white-space:nowrap;align-self:center}
.private-notes-toolbar{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(190px,.8fr) auto;gap:10px;align-items:center;margin:16px 0 10px}
.private-notes-search{height:44px;border:1px solid #d8e4ef;background:#fff;border-radius:14px;display:flex;align-items:center;gap:8px;padding:0 13px;box-shadow:0 5px 15px rgba(20,55,95,.04)}
.private-notes-search input{border:0;outline:0;background:transparent;width:100%;min-width:0;color:#20364d;font:inherit}
.private-notes-toolbar select{height:44px;border:1px solid #d8e4ef;background:#fff;border-radius:14px;padding:0 12px;color:#324d69;min-width:0}
.private-notes-backup{display:flex;gap:8px;justify-content:flex-end}
.private-notes-backup .btn{white-space:nowrap}
.private-notes-summary{min-height:22px;margin:5px 2px 10px;color:#71849a;font-size:12px;font-weight:750}
.private-notes-workspace{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.65fr);gap:14px;align-items:start}
.private-notes-list{display:grid;gap:9px;max-height:650px;overflow:auto;padding-right:2px}
.private-note-item{appearance:none;width:100%;border:1px solid #dbe6f0;background:#fff;border-radius:17px;padding:14px;text-align:left;cursor:pointer;color:inherit;box-shadow:0 6px 18px rgba(19,54,91,.045);transition:.16s ease}
.private-note-item:hover{transform:translateY(-1px);border-color:#bad2ea;box-shadow:0 10px 24px rgba(19,54,91,.08)}
.private-note-item.active{border-color:#7baee0;box-shadow:0 0 0 3px rgba(65,134,201,.10),0 10px 24px rgba(19,54,91,.08)}
.private-note-module{display:block;color:#3471ac;font-size:10px;font-weight:900;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.private-note-item strong{display:block;margin-top:5px;color:#1d3f63;font-size:15px;line-height:1.3}
.private-note-item p{margin:6px 0 8px;color:#657b91;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.private-note-item small{color:#98a7b7;font-size:10px}
.private-note-editor{min-height:390px;background:#fff;border:1px solid #dce6ef;border-radius:21px;box-shadow:0 10px 30px rgba(23,54,93,.07);overflow:hidden}
.private-editor-empty{min-height:390px;display:grid;place-items:center;text-align:center;padding:36px;color:#6c8299}
.private-editor-empty>div{max-width:390px}
.private-editor-empty-icon{width:74px;height:74px;margin:0 auto 13px;border-radius:23px;display:grid;place-items:center;font-size:34px;background:linear-gradient(145deg,#eef6ff,#dfeeff);box-shadow:inset 0 0 0 1px #d4e6f7}
.private-editor-empty h3{margin:0;color:#284c72;font-size:20px}
.private-editor-empty p{margin:8px 0 0;line-height:1.55}
.private-editor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid #e4edf5;background:linear-gradient(180deg,#fbfdff,#f5f9fd)}
.private-editor-head span{display:block;color:#4f83b5;font-size:10px;font-weight:900;letter-spacing:.09em}
.private-editor-head h3{margin:3px 0 0;color:#1f4268;font-size:18px;line-height:1.25}
.private-save-state{display:flex;align-items:center;gap:6px;color:#5e7893;background:#fff;border:1px solid #dbe7f1;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.private-save-state.saved{color:#23724f;border-color:#bfe5d3;background:#f2fbf6}
.private-editor-form{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr);gap:12px;padding:18px}
.private-editor-form label{display:grid;gap:6px;color:#557089;font-size:11px;font-weight:850;letter-spacing:.02em}
.private-editor-form input,.private-editor-form select,.private-editor-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7e3ee;border-radius:13px;background:#fbfdff;padding:11px 12px;color:#243c54;font:inherit;outline:none;transition:border .15s,box-shadow .15s,background .15s}
.private-editor-form input:focus,.private-editor-form select:focus,.private-editor-form textarea:focus{border-color:#76a9d9;background:#fff;box-shadow:0 0 0 3px rgba(60,130,197,.10)}
.private-editor-body-label{grid-column:1/-1}
.private-editor-form textarea{resize:vertical;min-height:245px;line-height:1.55}
.private-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 18px 18px}
.private-editor-actions .danger-soft{color:#a44141;background:#fff6f6;border-color:#efcaca}
.private-notes-empty{border:1px dashed #cfddea;background:#f9fcff;border-radius:19px;padding:30px 18px;text-align:center;color:#73879c}
.private-notes-empty-icon{font-size:30px;margin-bottom:7px}
.private-notes-empty h3{margin:0;color:#315476;font-size:16px}
.private-notes-empty p{margin:7px 0 14px;font-size:12px;line-height:1.5}
.private-notes-footnote{display:flex;gap:10px;align-items:flex-start;margin-top:13px;padding:11px 13px;border-radius:14px;background:#f6f9fc;border:1px solid #e2eaf2;color:#65798d;font-size:11px;line-height:1.5}
.private-notes-footnote p{margin:0}
@media(max-width:900px){
 .private-notes-hero{grid-template-columns:auto 1fr}.private-notes-new{grid-column:1/-1;width:100%}
 .private-notes-toolbar{grid-template-columns:1fr 1fr}.private-notes-backup{grid-column:1/-1;justify-content:flex-start}
 .private-notes-workspace{grid-template-columns:1fr}.private-notes-list{max-height:none}.private-note-editor{min-height:0}
}
@media(max-width:620px){
 .notes-private-tabs{grid-template-columns:1fr;padding:5px;gap:5px;border-radius:17px}.notes-private-tabs button{padding:11px 12px}.notes-private-tabs .npt-icon{width:38px;height:38px;border-radius:12px}
 .private-notes-hero{grid-template-columns:1fr;padding:17px}.private-notes-shield{width:54px;height:54px;border-radius:17px;font-size:25px}.private-notes-hero h3{font-size:21px}.private-notes-badges{gap:5px}.private-notes-badges span{font-size:10px}
 .private-notes-toolbar{grid-template-columns:1fr}.private-notes-backup{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.private-notes-backup .btn{padding-left:8px;padding-right:8px}
 .private-editor-form{grid-template-columns:1fr;padding:14px}.private-editor-body-label{grid-column:auto}.private-editor-head{align-items:flex-start;padding:14px}.private-save-state{font-size:10px}.private-editor-actions{padding:0 14px 14px}.private-editor-actions .btn{flex:1 1 auto}
 .private-notes-workspace{gap:10px}.private-note-editor{border-radius:17px}.private-note-item{border-radius:15px}
}


/* V9.3 · acceso directo a Mis apuntes: sin bloque introductorio */
.private-notes-primary-action{display:flex;justify-content:flex-end;align-items:center;margin:0 0 12px}
.private-notes-primary-action .private-notes-new{min-width:220px;position:static}
@media(max-width:700px){
  .private-notes-primary-action{margin:0 0 10px}
  .private-notes-primary-action .private-notes-new{width:100%;min-width:0}
  .private-notes-workspace{display:flex;flex-direction:column}
  #personalNoteEditor{order:1;width:100%}
  #personalNotesList{order:2;width:100%}
}
