/* MY SMART 6.9.86.7 — compact work-pattern editor */
#workPatternFold .wp87-mode-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 13px;}
#workPatternFold .wp87-mode-pills button{background:#f7fafc;border:1px solid #dce7ef;border-radius:12px;color:#315770;min-height:47px;padding:11px 8px;font-size:13px;font-weight:800;white-space:normal;}
#workPatternFold .wp87-mode-pills button.selected{background:#e7f2fb;border-color:#8ab9d6;color:#174f79;box-shadow:inset 0 0 0 1px #a9cfe6;}
#workPatternFold select.wp87-hidden{display:none!important;}
#workPatternFold .wp87-conditional[hidden]{display:none!important;}
#workPatternFold .wp87-conditional{margin:7px 0 10px;padding:11px 13px;background:#f4f9fc;border:1px solid #dce7ef;border-radius:12px;}
#workPatternFold .wp87-editor{border-top:1px solid #e5edf2;margin:18px 0 0;padding:18px 0 0;}
#workPatternFold .wp87-editor-heading{margin:0 0 10px;}
#workPatternFold .wp87-editor-heading strong{display:block;color:#173b59;font-size:16px;}
#workPatternFold .wp87-editor-heading small{display:block;color:#7b8997;margin-top:5px;font-size:11px;}
#workPatternFold .wp87-editor .wp87-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;}
#workPatternFold .wp87-editor label{font-size:12px;margin:10px 0 4px;}
#workPatternFold .wp87-editor select,#workPatternFold .wp87-editor input{min-width:0;width:100%;box-sizing:border-box;}
#workPatternFold .wp87-preview{padding:12px;border:1px solid #e2eaf0;border-radius:13px;background:#f8fafc;margin:12px 0;}
#workPatternFold .wp87-preview-title{display:block;font-size:11px;color:#5f7890;font-weight:750;margin-bottom:8px;}
#workPatternFold .wp87-sequence{display:flex;gap:5px;flex-wrap:wrap;}
#workPatternFold .wp87-shift{font-size:11px;font-weight:750;border-radius:7px;padding:5px 8px;background:#eff4f8;color:#235678;}
#workPatternFold .wp87-shift-주{background:#e6f2fc;color:#275d83;}
#workPatternFold .wp87-shift-야{background:#eee8fb;color:#65529a;}
#workPatternFold .wp87-shift-비{background:#e8f3eb;color:#31754b;}
#workPatternFold .wp87-shift-휴{background:#fff0df;color:#996022;}
#workPatternFold .wp87-editor .wp87-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px;}
#workPatternFold .wp87-editor .wp87-actions button{flex:1 1 100px;}
#workPatternFold .wp87-helper{font-size:11px;line-height:1.55;color:#8292a0;margin:4px 0 9px;}
#workPatternFold .wp87-helper.error{color:#a6433f;}
#workPatternFold .wp87-muted{font-size:11px;color:#8193a3;}
#workPatternFold .wp87-disclaimer{font-size:11px;line-height:1.55;padding:10px 11px;background:#eef5fa;color:#597287;border-radius:10px;margin-top:10px;}
#staffPage #staffPattern{width:100%;min-width:0;}
#staffPage .wp87-helper{font-size:11px;color:#8193a3;margin:4px 0 10px;line-height:1.4;}
@media(max-width:400px){#workPatternFold .wp87-editor .wp87-form-grid{grid-template-columns:1fr;}#workPatternFold .wp87-editor .wp87-actions button{flex:1 1 calc(50% - 4px);}}

#workPatternFold .wp87-team-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:6px 0 12px;}
#workPatternFold .wp87-team-pills[hidden],#workPatternFold #wp87ClassicSequence[hidden],#staffPage .wp87-staff-start[hidden]{display:none!important;}
#workPatternFold .wp87-team-pills button{background:#f7fafc;border:1px solid #dae5ed;border-radius:12px;min-width:0;padding:11px 2px;color:#315770;font-weight:800;font-size:13px;}
#workPatternFold .wp87-team-pills button.selected{background:#e7f2fb;color:#18547d;border-color:#92bfdc;box-shadow:inset 0 0 0 1px #a9cfe7;}
#workPatternFold .wp87-work-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 11px;margin:12px 0 9px;}
#workPatternFold .wp87-work-time-grid>div{min-width:0;}
#workPatternFold .wp87-work-time-grid label{display:block;margin:0 0 4px!important;}
#workPatternFold .wp87-work-time-grid input{width:100%;min-width:0;margin:0!important;box-sizing:border-box;}
#workPatternFold .wp87-personal-preview{margin:8px 0 12px;}
#settingsPage #workPatternFold .wt-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
#settingsPage #workPatternFold .wt-grid label{min-width:0;padding:8px 6px!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere;}
#settingsPage #workPatternFold .wt-grid input{padding:9px 5px!important;text-align:center;min-height:40px!important;margin:0!important;min-width:0!important;}
#staffPage .wp87-staff-start{background:#f6fafc;border:1px solid #dce7ef;border-radius:11px;padding:10px 12px;margin:6px 0 10px;}
#staffPage .wp87-staff-start input{max-width:100%;}
