/* Seven equal columns, including on narrow phones. Full amounts remain in day detail. */
#salesView,.sales-scroll{min-width:0;max-width:100%;box-sizing:border-box}
#salesView .sales-weekdays,#salesView .sales-grid{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;width:100%;box-sizing:border-box}
#salesView .sales-day{min-width:0;overflow:hidden}
#salesView .sales-day>*{min-width:0;max-width:100%}
#salesView .sales-day b{overflow-wrap:anywhere}
@media(max-width:600px){
 #salesView .sales-scroll{overflow-x:visible}
 #salesView .sales-day{padding:6px 2px;min-height:125px;gap:6px}
 #salesView .sales-weekdays span{padding:8px 0;font-size:12px}
 #salesView .sales-day span{font-size:10px;line-height:1.35}
 #salesView .sales-day strong{font-size:13px}
 #salesView .sales-day b{font-size:10px;font-variant-numeric:tabular-nums}
 #salesView .sales-day small{display:block;font-size:9px}
 #salesView .sales-toolbar{gap:6px}
 #salesView .sales-toolbar input{max-width:155px;box-sizing:border-box}
}
/* Use the same area tokens and typography as all other routes. */
[data-area=aizumi]{--area-color:#a36b84!important;--area-surface:#faeff4!important}
#monthOverviewGrid .overview-day>span[data-area=aizumi]{border-color:#c995ad;background:#faeff4}
.employee-personal-notes{border-top:1px solid var(--line,#dbe5df);margin-top:16px;padding-top:12px;min-width:0}
.employee-personal-notes h3{font-size:1em;margin:0 0 12px}
.employee-personal-notes small{font-weight:normal;color:var(--sub,#68766e)}
.employee-personal-notes .note-time{display:flex;align-items:center;gap:8px;max-width:100%;margin:8px 0 16px}
.employee-personal-notes .note-time select{flex:1;width:0;min-width:0;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--paper);color:var(--ink)}
.employee-personal-notes .note-time button{min-height:44px;padding:10px 12px;border-radius:12px;font:inherit}
.employee-personal-notes textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;padding:12px;margin:8px 0;resize:vertical;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}
.employee-personal-notes .modal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.employee-personal-notes .modal-actions button{flex:1;min-height:44px;padding:10px 14px;border-radius:12px;font:inherit;cursor:pointer}
.employee-personal-notes .primary{background:var(--green,#6da783);color:white;border:1px solid transparent}
.employee-personal-notes .ghost{background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.employee-personal-notes [role="status"]{font-size:.85em;overflow-wrap:anywhere}
.admin-batch-row{border-top:1px solid var(--line);padding:12px 0;min-width:0}
.admin-batch-row input{width:100%;box-sizing:border-box;min-width:0}
