.home-gadgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.office-shell .home-gadget{min-width:0;margin:0;padding:0;overflow:hidden}.home-gadget>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px 18px;border-bottom:1px solid var(--line)}.home-gadget>header h2{font-size:15px;margin:0;display:flex;gap:8px;align-items:center;min-width:0}.gadget-body{padding:18px;min-height:235px}.home-gadget .gadget-more{padding:0;border:0;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap}.gadget-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;gap:12px;margin:8px 0 22px}.gadget-metrics>div+div{border-left:1px solid var(--line)}.gadget-metrics strong{display:block;font-size:30px;font-weight:600;line-height:1.3}.gadget-metrics span{display:block;font-size:12px;color:var(--muted);margin-top:7px}.gadget-list{list-style:none;padding:0;margin:16px 0 0}.gadget-list li{display:flex;align-items:center;gap:8px;min-height:37px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px;min-width:0}.gadget-list li:last-child{border:0}.gadget-list li>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gadget-list li>small,.gadget-list time{flex-shrink:0;color:var(--muted);font-size:11px}.gadget-status{font-size:12px;display:flex;align-items:center;gap:6px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--muted)}.status-dot.working{background:#258754}.gadget-work-time{margin:20px 0 26px}.gadget-work-time strong{font-size:25px;font-weight:600;display:block;margin-top:7px}.gadget-attendance-details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 10px;font-size:12px}.gadget-attendance-details span{color:var(--muted)}.gadget-attendance-details b{text-align:right;font-weight:500;overflow-wrap:anywhere}.gadget-month-title{font-size:15px;font-weight:600;margin-bottom:16px;text-align:center}.gadget-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.gadget-month>span{font-size:11px;padding:5px 0;color:var(--muted)}.gadget-month button{position:relative;font-size:12px;border:0;background:transparent;border-radius:var(--ui-radius-small);padding:6px 0;min-height:33px;font-weight:400}.gadget-month .sun{color:#d94343}.gadget-month .sat{color:#3974ce}.gadget-month button.today{background:var(--accent);color:var(--on-accent);font-weight:700}.gadget-month button.selected:not(.today){box-shadow:inset 0 0 0 1px var(--text)}.gadget-month i{position:absolute;bottom:2px;left:calc(50% - 2px);width:4px;height:4px;background:currentColor;border-radius:50%}.gadget-agenda{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.gadget-agenda .gadget-list{margin-top:5px}.gadget-selector>div{display:flex;flex-wrap:wrap;gap:12px 28px}.gadget-selector label{margin:6px 0 16px;font-size:13px}.gadget-selector small{color:var(--muted)}.gadget-edit-actions{display:flex;gap:2px}.gadget-edit-actions button{padding:2px 6px;min-height:28px;border:0;background:transparent}.gadget-handle{color:var(--muted)}.home-gadgets.editing .home-gadget{border-style:dashed}.home-gadgets.editing .home-gadget>header{cursor:grab;background:var(--soft)}.office-shell[data-page=home] .content{max-width:none}.office-shell .main,.office-shell .content,.module-side{min-width:0}
@media(max-width:1150px) and (min-width:701px){.home-gadgets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home-gadgets{grid-template-columns:1fr;gap:16px}.office-shell .home-gadget{padding:0}.home-gadget>header{padding:15px 16px}.gadget-body{padding:16px}.gadget-selector>div{gap:0 16px}.gadget-edit-actions button{min-width:34px;min-height:34px}.gadget-month button{min-height:36px}.office-shell .heading>div{min-width:0}}
.mobile-widget-order-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);min-width:0}
.home-gadget .gadget-mail-link{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;min-width:0;padding:3px 0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;font-weight:400}
.gadget-mail-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}
.gadget-mail-link.unread .gadget-mail-title{font-weight:700}
.gadget-mail-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}
.gadget-mail-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gadget-mail-meta>time{flex:none;white-space:nowrap}
.gadget-load-error{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.gadget-load-error p{margin:0}
.office-shell .home-gadget{container-type:inline-size}
.office-shell .home-gadget .gadget-leave-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.office-shell .home-gadget .gadget-leave-metrics strong{font-size:20px;font-size:clamp(16px,7cqi,25px);white-space:nowrap;font-variant-numeric:tabular-nums}
.office-shell .home-gadget[data-widget=boards] .gadget-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.office-shell .home-gadget[data-widget=boards] .gadget-metrics span{font-size:11px;white-space:nowrap}
.mobile-widget-order-row>span{flex:1;min-width:0}.mobile-widget-order-row>div{display:flex;gap:6px}.mobile-widget-order-row button{min-width:44px;min-height:44px}.mobile-widget-order-row .reorder-handle{flex:none}
#home-mobile-settings{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
@media(max-width:700px){.office-shell .heading:has(#home-mobile-settings){display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:10px}.office-shell .heading:has(#home-mobile-settings)>.actions{margin:0;justify-content:flex-end;width:auto}}
/* 11/15 로드맵 A6: 태블릿·반쪽 창(≤1211px)에서 게시판 카드 숫자 제목 겹침 방지 */@media(max-width:1211px){.office-shell .home-gadget[data-widget=boards] .gadget-metrics{gap:6px}.office-shell .home-gadget[data-widget=boards] .gadget-metrics span{white-space:normal;word-break:keep-all;overflow-wrap:anywhere;line-height:1.35}.gadget-month{column-gap:0}.gadget-month button{min-width:0;font-size:13px;letter-spacing:-.02em}}
