/* Mi agenda: libreta semanal con columnas para cada día, como el modelo físico. */
.notebook-view{min-width:0;color:#344431}
.notebook-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}
.notebook-toolbar h2{font-size:25px;font-family:Georgia,serif;text-transform:capitalize;font-weight:500;color:#354b35;margin:2px 0 0}
.notebook-toolbar .eyebrow{margin:0;font-size:11px}
.notebook-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.notebook-controls .btn{white-space:nowrap;font-size:12px;min-height:42px}
.notebook-controls label{font-size:12px;display:flex;align-items:center;gap:8px;color:#5d6c56}
.notebook-controls input[type="date"]{width:144px;height:42px;min-height:42px;min-width:0;box-sizing:border-box;padding:7px 10px;font-size:14px}
.notebook-summary{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;margin:14px 0 16px}
.notebook-summary>div{background:#f3f5ee;border:1px solid #e0e6d7;border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.notebook-summary span{font-size:12px;color:#5f6e52}
.notebook-summary strong{font-size:25px;line-height:1.2;color:#48613a;font-weight:600}
.notebook-summary small{font-size:11px;color:#85917d}
.notebook-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:0 0 11px}
.notebook-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;border:1px solid #dfe5d8;background:#f9faf6;border-radius:9px;color:#586d4a;padding:5px;min-width:0}
.notebook-tab span{font-size:11px}
.notebook-tab strong{font-size:17px;line-height:1.2}
.notebook-tab small{font-size:10px;background:#e2e9d9;border-radius:7px;min-width:15px;padding:1px 4px}
.notebook-tab.selected{background:#83986f;color:#fff}
.notebook-tab.selected small{background:#eef3e9;color:#48613a}
.notebook-tab:focus-visible,.notebook-quick-add:focus-visible,.notebook-note-actions button:focus-visible{outline:3px solid #9a7a21;outline-offset:2px}
.notebook-help,.notebook-footnote{font-size:12px;line-height:1.6;color:#738169;margin:10px 0}
.notebook-board{position:relative;display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-color:#bac5b0 #f4f6f0;padding:4px 3px 14px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.notebook-day{flex:0 0 calc((100% - 24px)/3);box-sizing:border-box;min-width:255px;max-width:450px;background:#fffcf7;border:1px solid #e4e1d8;box-shadow:0 2px 9px #253a2210;border-radius:13px;scroll-snap-align:start;overflow:hidden}
.notebook-day.selected{border-color:#9cb28b}
.notebook-day-header{min-height:108px;padding:13px 14px;border-bottom:1px solid #e9e4da;background:#faf8f2;display:flex;align-items:center;justify-content:space-between;gap:10px}
.notebook-day-header>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.notebook-day-header span{font-size:12px;color:#80916e}
.notebook-day-header strong{font-size:20px;line-height:1.25;color:#354c33;font-family:Georgia,serif;text-transform:capitalize;font-weight:500}
.notebook-day-total{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:78px;height:78px;border:2px solid #bdab87;border-radius:50%;background:#fff9ea;transform:rotate(-4deg)}
.notebook-day-total strong{font-size:17px;color:#5c6342;line-height:1.2;max-width:72px;overflow-wrap:anywhere;text-align:center}
.notebook-day-total small{font-size:10px;color:#8c856e}
.notebook-count{font-size:11px;color:#758568;padding:8px 14px;background:#fbfaf7;border-bottom:1px solid #edece5}
.notebook-hour-row{display:grid;grid-template-columns:71px minmax(0,1fr);min-height:62px;border-bottom:1px solid #e8e9df}
.notebook-hour-row:last-child{border-bottom:0}
.notebook-hour-row time{font-size:11px;white-space:nowrap;color:#718365;padding:12px 5px 6px 9px;border-right:1px solid #e9e9df;background:#fafbf8}
.notebook-hour-content{min-width:0;padding:5px 8px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:7px}
.notebook-quick-add{align-self:flex-start;background:none;border:0;padding:4px 3px;color:#809576;font-size:11px;cursor:pointer}
.notebook-quick-add:hover{color:#415b35;text-decoration:underline}
.notebook-note{min-width:0;background:#edf3e8;border-left:3px solid #90a780;border-radius:8px;padding:8px 9px;display:flex;flex-direction:column;gap:3px}
.notebook-note strong{font-size:13px;line-height:1.3;color:#344a34;overflow-wrap:anywhere}
.notebook-note span{font-size:12px;line-height:1.3;color:#4d6046;overflow-wrap:anywhere}
.notebook-note small{font-size:11px;color:#68795b}
.notebook-note .notebook-paid{font-weight:600;color:#426137}
.notebook-note p{font-size:11px;line-height:1.5;margin:3px 0 0;color:#54664a;white-space:pre-wrap;overflow-wrap:anywhere}
.notebook-note-actions{display:flex;align-items:center;gap:12px;margin-top:6px}
.notebook-note-actions button{font-size:11px;color:#526e45;background:transparent;border:0;padding:4px 0;cursor:pointer}
.notebook-note-actions button:last-child{color:#984c46}
.notebook-mode-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:15px}
.notebook-mode-row .mini-caption{margin:0}
.notebook-loading,.notebook-error{padding:25px}
.notebook-error .btn{margin-top:15px}
@media(max-width:1100px){
 .notebook-day{flex-basis:calc((100% - 14px)/2)}
}
@media(max-width:760px){
 .notebook-toolbar{gap:13px}
 .notebook-toolbar h2{font-size:22px}
 .notebook-controls{width:100%;gap:6px}
 .notebook-controls .btn{font-size:11px;min-height:39px;padding:8px 10px}
 .notebook-controls label{width:100%;justify-content:space-between;padding:3px 0}
 .notebook-controls input[type="date"]{height:40px;min-height:40px}
 .notebook-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .notebook-summary>div{padding:10px 11px}
 .notebook-summary strong{font-size:20px}
 .notebook-tabs{gap:3px}
 .notebook-tab{min-height:56px;padding:3px 1px}
 .notebook-tab span{font-size:9px}
 .notebook-tab strong{font-size:16px}
 .notebook-board{gap:8px}
 .notebook-day{flex:0 0 100%;min-width:0;max-width:100%}
 .notebook-day-header{min-height:94px}
 .notebook-day-total{width:71px;height:71px}
 .notebook-day-total strong{font-size:15px}
 .notebook-hour-row{grid-template-columns:84px minmax(0,1fr)}
 .notebook-hour-row time{font-size:12px}
 .notebook-quick-add{font-size:12px}
}
