.shared-leave-section{margin-bottom:10px;min-width:0}
.shared-leave-section .memo-label{margin-bottom:7px;min-height:28px;display:flex;align-items:center;justify-content:space-between}
.memo-leave-summary{font-size:12px;line-height:1.7;min-height:56px;max-height:156px;overflow:auto;color:var(--text);padding:4px 12px;border:1px solid var(--bd,#e5e7eb);border-left:3px solid var(--teal,#14b8a6);border-radius:6px;background:var(--bg2,#f8fafc);overflow-wrap:anywhere}
.leave-summary-row{display:grid;grid-template-columns:minmax(90px,120px) minmax(0,1fr) auto;gap:12px;align-items:center;min-height:46px;padding:8px 0;border-bottom:1px solid var(--bd,#e5e7eb)}
.leave-summary-row:last-child{border-bottom:0}
.leave-summary-date{color:var(--text2,#64748b);font-variant-numeric:tabular-nums}
.leave-summary-person{font-size:12px;font-weight:600}
.leave-summary-kind{font-size:11px;color:var(--teal,#0f766e);white-space:nowrap}
.leave-summary-kind.am,.leave-summary-kind.pm{color:var(--accent,#4f46e5)}
@media(min-width:901px){
  .memo-split-bar .personal-memo-card .memo-area{flex:1 1 0;height:0;min-height:88px;max-height:none}
}
.memo-leave-summary .leave-summary-empty{padding:12px 0}
@media(max-width:480px){.leave-summary-row{grid-template-columns:minmax(74px,100px) minmax(0,1fr) auto;gap:8px}}
.leave-summary-empty{color:var(--text2,#94a3b8)}
.memo-leave-summary p{margin:0}
.leave-calendar-trigger{width:28px;height:28px;margin-left:8px;vertical-align:middle}
.leave-calendar-modal{width:760px!important;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border-radius:8px!important}
.leave-calendar-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.leave-month-nav{display:flex;align-items:center;gap:6px;margin-bottom:12px}
.leave-month-nav input{min-width:0;width:140px}
.leave-month-nav button{flex-shrink:0}
.leave-weekdays,.leave-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.leave-weekdays{text-align:center;font-size:11px;margin-bottom:6px}
.leave-date{height:46px;min-width:0;border:1px solid var(--bd,#e5e7eb);border-radius:4px;background:var(--bg,#fff);color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}
.leave-date small{font-size:10px;min-height:12px;color:#0f766e}
.leave-date.outside{opacity:.4}
.leave-date.today{border-color:#6450ef}
.leave-date[aria-pressed=true]{background:#ede9fe;color:#4433bb;border-color:#6450ef}
.leave-day-editor h3{font-size:14px;margin:0 0 12px;letter-spacing:0}
#leaveDayPeople table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}
#leaveDayPeople th,#leaveDayPeople td{text-align:center;padding:10px 2px;border-bottom:1px solid var(--bd,#e5e7eb)}
#leaveDayPeople th:first-child{width:64px}
#leaveDayPeople input{width:18px;height:18px;accent-color:#6450ef;cursor:pointer}
#leaveCalendarStatus{font-size:12px;min-height:20px;margin-top:12px}
.leave-calendar-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.day-member small.leave-badge{display:block;color:#0f766e;font-size:10px}
.month-leave{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 8px;padding:6px 8px;border-left:3px solid #0d9488;border-radius:4px;background:#ecfdf5;color:#115e59;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.month-leave strong{font-weight:600;min-width:0}
.month-leave span{font-size:10px}
@media(max-width:640px){.leave-calendar-layout{grid-template-columns:minmax(0,1fr)}.leave-calendar-modal{padding:18px!important}.leave-month-nav{justify-content:space-between}.leave-month-nav input{width:130px}}
