.contact-action-bar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px;position:sticky;top:0;z-index:5;background:var(--panel2,#f7faff);padding:8px 0}
.contact-action-bar button{min-height:40px}
.draft-notice{color:#775400;background:#fff6d6;border:1px solid #e5cd7f;border-radius:8px;padding:10px;font-size:13px}
.message-state{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:8px;font-size:13px;margin:8px 0}.message-state small{font-size:12px}.message-state.sent{border-left:4px solid #15803d}.message-state.failed{border-left:4px solid #b91c1c}.message-state.queued,.message-state.retry{border-left:4px solid #b45309}
#message-status-list{max-height:220px;overflow:auto}.toast button{margin-left:14px;border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer}.toast{max-width:min(600px,calc(100vw - 32px));white-space:normal}
.work-guide{display:grid;gap:7px;padding:12px 18px;border-bottom:1px solid var(--line)}.work-guide span{font-size:12px;color:var(--muted)}.work-guide button{justify-self:start}.sidebar-footer #quick-help-button,.sidebar-footer #reload-options-button{display:block;font-size:12px;padding:6px 0}
#quick-help-dialog{width:min(600px,calc(100vw - 32px));max-height:85vh;overflow:auto}#quick-help-dialog li{margin-bottom:12px;line-height:1.5}
.report-tooltip{position:fixed!important;left:8px!important;right:auto!important;top:8px!important;width:min(310px,calc(100vw - 24px));max-height:70vh;overflow:auto;transform:none!important}.report-tooltip::before{display:none}
.report-help{min-width:22px!important;min-height:22px!important}.reports-view .report-help .report-tooltip,.activity-view .report-help .report-tooltip{font-size:13px!important}
.compact-section>summary{min-height:30px}.compact-section>summary small{font-size:12px}.issue-correction-hint{font-size:12px;color:var(--muted)}
@media(max-width:700px){
 .topbar{height:auto;min-height:76px;padding:10px 12px;flex-wrap:wrap;gap:8px}.topbar-status{flex-wrap:wrap;gap:6px}.online-team{display:none!important}
 .attendance-control:not(.hidden){display:flex!important}.attendance-control>span small{display:none}.attendance-control .text-button{min-height:32px}
 .sidebar nav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.sidebar .nav-item{flex:0 0 auto;min-width:76px}.nurture-reminder.collapsed{bottom:96px!important;max-width:calc(100vw - 20px)}
 .nurture-reminder.user-positioned{bottom:auto!important}.nurture-reminder:not(.collapsed){max-height:calc(100dvh - 210px)}
 .toast{bottom:100px!important}.detail-panel{padding-bottom:120px}.report-tooltip{font-size:13px}.contact-action-bar{position:static}.work-guide span{display:none}
}
.reports-export-actions{flex-wrap:wrap;justify-content:flex-end}.reports-export-actions #reports-filter-state{flex-basis:100%;font-size:12px}
.report-panel,.report-table-wrap{min-width:0;max-width:100%}
@media(max-width:1050px){.reports-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.reports-export-actions{justify-content:flex-start}.report-panel .panel-title,.report-tracking-note{flex-wrap:wrap}.reports-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
