:root{
  --bg:#f4f5f7;--panel:#ffffff;--panel2:#f8fafc;--line:#d7dce3;--line2:#b8c0cc;
  --text:#111827;--muted:#5b6472;--muted2:#8a94a3;--dark:#111827;--dark2:#2f3540;
  --green:#15803d;--red:#dc2626;--blue:#2563eb;--purple:#6d28d9;
  --shadow:0 12px 34px rgba(15,23,42,.08);--radius:16px;--content:none;
}
*{box-sizing:border-box}html{width:100%;overflow-x:hidden}body{margin:0;background:var(--bg);color:var(--text);font-family:'Inter','Noto Sans KR',sans-serif;font-size:15px;min-height:100vh;width:100%;overflow-x:hidden}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;background:#fff;border-right:1px solid var(--line);z-index:10}.brand{display:flex;gap:12px;align-items:center;margin-bottom:30px}.brand-mark{width:42px;height:42px;border-radius:13px;background:#111827;display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;box-shadow:0 10px 24px rgba(17,24,39,.22)}.brand-title{font-size:18px;font-weight:900;letter-spacing:.04em}.brand-subtitle{font-size:12px;color:var(--muted);margin-top:2px}.nav{display:grid;gap:8px}.nav-link{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:13px;color:var(--muted);border:1px solid transparent;transition:.15s ease;font-weight:800}.nav-link:hover,.nav-link.active{background:#111827;border-color:#111827;color:#fff}.sidebar-card{position:absolute;left:18px;right:18px;bottom:22px;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:16px}.tiny-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted2);font-weight:900}.db-line{font-size:14px;margin:8px 0 12px;color:#111827}.status-dot{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.status-dot span{width:8px;height:8px;background:var(--green);border-radius:999px;box-shadow:0 0 0 5px rgba(21,128,61,.10)}.main{padding:30px 28px 60px;min-width:0}.main-inner{width:100%;max-width:none;margin:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#111827;font-weight:900;margin-bottom:6px}.topbar h1{margin:0;font-size:34px;letter-spacing:-.04em}.topbar-actions{display:flex;gap:10px;flex-wrap:wrap}.ghost-btn,.gold-btn,.danger-btn,.dark-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border-radius:11px;border:1px solid var(--line);font-weight:900;font-size:14px;cursor:pointer;white-space:nowrap}.ghost-btn{background:#fff;color:#111827}.ghost-btn:hover{border-color:#111827}.gold-btn,.dark-btn{background:#111827;color:#fff;border-color:#111827}.gold-btn:hover,.dark-btn:hover{background:#2f3540}.danger-btn{background:#fff;border-color:#fecaca;color:var(--red)}.danger-btn:hover{background:#fef2f2}.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-body{padding:22px}.stat-card{padding:20px;border-radius:var(--radius);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;right:-42px;top:-42px;width:120px;height:120px;border-radius:999px;background:rgba(17,24,39,.04)}.stat-title{color:var(--muted);font-size:13px;font-weight:900}.stat-value{font-size:30px;font-weight:900;letter-spacing:-.04em;margin-top:10px}.stat-desc{color:var(--muted2);font-size:13px;margin-top:7px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:30px 0 14px;gap:12px}.section-head h2{margin:0;font-size:22px;letter-spacing:-.03em}.section-head p{margin:4px 0 0;color:var(--muted);font-size:14px}.table-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse}th,td{padding:14px 16px;border-bottom:1px solid #eef0f3;text-align:left;vertical-align:middle}th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#111827;font-weight:900;background:#f8fafc}td{color:#1f2937}tr:hover td{background:#fafafa}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;border:1px solid var(--line);background:#f8fafc;color:#374151}.badge.gold,.badge.dark{background:#111827;border-color:#111827;color:#fff}.badge.green{background:#ecfdf5;border-color:#bbf7d0;color:#15803d}.badge.red{background:#fef2f2;border-color:#fecaca;color:#dc2626}.badge.blue{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.filters{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:10px;margin-bottom:16px}.filters-compact{grid-template-columns:2fr 180px auto auto}.input,.select,.table-input,.table-select{width:100%;height:42px;border-radius:11px;border:1px solid var(--line);background:#fff;color:var(--text);padding:0 12px;outline:none}.table-input,.table-select{height:36px;border-radius:9px}.input:focus,.select:focus,.table-input:focus,.table-select:focus{border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.08)}.empty{padding:36px;text-align:center;color:var(--muted)}.progress{height:9px;border-radius:999px;background:#e5e7eb;overflow:hidden}.progress span{display:block;height:100%;background:#111827;border-radius:999px}.detail-hero{display:grid;grid-template-columns:1.4fr .6fr;gap:16px}.hero-title{font-size:28px;font-weight:900;margin:0 0 10px}.meta{display:flex;flex-wrap:wrap;gap:8px}.chart-box{height:300px;padding:18px}.form-card{padding:22px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.notice{border:1px solid #d1d5db;background:#fff;border-radius:14px;padding:14px;color:#111827;margin-bottom:16px;box-shadow:var(--shadow)}.pill-row{display:flex;gap:8px;flex-wrap:wrap}.calendar-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.calendar-head strong{display:block;font-size:17px}.calendar-head span{display:block;color:var(--muted);font-size:12px;margin-top:2px}.calendar-nav{width:34px;height:34px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;justify-content:center;background:#fff;color:#111827;font-size:22px}.date-picker{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}.mini-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.cal-week{color:var(--muted);font-size:12px;text-align:center;font-weight:900}.cal-empty{height:38px}.cal-day{height:38px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;justify-content:center;position:relative;background:#fff;color:#111827}.cal-day.has-event{border-color:#111827;background:#f3f4f6}.cal-day.active{background:#111827;color:#fff;border-color:#111827}.cal-day em{position:absolute;right:4px;top:3px;font-size:10px;font-style:normal;color:var(--green);font-weight:900}.cal-day.active em{color:#fff}.rank-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.tab-btn{height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);font-weight:900;cursor:pointer}.tab-btn.active{background:#111827;color:#fff;border-color:#111827}.tab-panel{display:none}.tab-panel.active{display:block}.bulk-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-bottom:12px;flex-wrap:wrap}.check-all{display:flex;align-items:center;gap:8px;color:var(--muted);font-weight:900;margin-right:auto}.row-check,#checkAll{width:18px;height:18px;accent-color:#111827}.bulk-select{max-width:170px}.copy-name strong{font-weight:900}.copy-toast{position:fixed;right:22px;bottom:22px;background:#111827;color:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 12px 30px rgba(0,0,0,.22);font-weight:900;z-index:1000}
@media(max-width:1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}.calendar-card{max-width:420px}}
@media(max-width:860px){body{font-size:14px}.app-shell{display:block}.sidebar{position:relative;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin-bottom:14px}.nav{grid-template-columns:repeat(2,1fr)}.nav-link{justify-content:center;padding:11px}.sidebar-card{display:none}.main{padding:18px 12px 38px}.topbar{align-items:flex-start;flex-direction:column;margin-bottom:18px}.topbar h1{font-size:28px}.topbar-actions{width:100%}.topbar-actions a{flex:1}.grid-4,.grid-3,.grid-2,.filters,.filters-compact,.form-grid,.detail-hero{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.stat-value{font-size:28px}.chart-box{height:240px}.table-card.responsive-table{background:transparent;border:0;box-shadow:none;overflow:visible} .responsive-table table,.responsive-table thead,.responsive-table tbody,.responsive-table th,.responsive-table td,.responsive-table tr{display:block;width:100%}.responsive-table thead{display:none}.responsive-table tr{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:12px;padding:12px;box-shadow:var(--shadow)}.responsive-table td{border-bottom:0;padding:8px 0;display:flex;justify-content:space-between;gap:12px;align-items:center}.responsive-table td:before{content:attr(data-label);color:var(--muted);font-weight:900;font-size:12px;min-width:78px}.responsive-table td:not([data-label]):before{content:"";display:none}.responsive-table tr:hover td{background:transparent}.table-input,.table-select{max-width:190px}.calendar-card{max-width:none}.bulk-actions{justify-content:stretch}.bulk-actions .dark-btn,.bulk-actions .danger-btn{flex:1}.bulk-select{max-width:none;flex:1 1 160px}.check-all{width:100%;margin-right:0}.date-picker{grid-template-columns:1fr}.cal-day,.cal-empty{height:36px}}
@media(max-width:460px){.nav{grid-template-columns:1fr}.brand-title{font-size:16px}.brand-subtitle{font-size:11px}.topbar-actions{flex-direction:column}.ghost-btn,.gold-btn,.danger-btn,.dark-btn{width:100%}.stat-card{padding:16px}.card-body{padding:16px}.mini-calendar{gap:4px}.cal-day,.cal-empty{height:34px;border-radius:10px}.responsive-table td{align-items:flex-start;flex-direction:column}.responsive-table td:before{min-width:0}.table-input,.table-select{max-width:none}.bulk-actions .dark-btn,.bulk-actions .danger-btn,.bulk-select{width:100%;flex-basis:100%}}


.row-link{cursor:pointer}.row-link a{font-weight:900}.clickable-table tr.row-link:hover td{background:#f3f4f6}.no-row-link{cursor:default}.boss-filter{grid-template-columns:minmax(180px,360px) 170px auto}.member-filter{grid-template-columns:minmax(180px,320px) 150px 150px auto}.members-filter{grid-template-columns:minmax(180px,320px) 150px 150px 170px auto}.filter-q{max-width:360px}.filter-select{max-width:180px}.filter-date{max-width:180px}.member-summary{margin-bottom:16px}.stat-list .stat-value{font-size:20px}.mini-stat-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;color:var(--muted);font-size:13px}.mini-stat-lines span{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #eef0f3;padding-bottom:6px}.mini-stat-lines b{color:#111827}.bulk-form .table-card{clear:both}.row-check{cursor:pointer}.danger-btn{min-width:auto}
@media(max-width:860px){.boss-filter,.member-filter,.members-filter{grid-template-columns:1fr}.filter-q,.filter-select,.filter-date{max-width:none}.mini-stat-lines{grid-template-columns:1fr}.row-link{cursor:default}}


/* 보스탐 목록: 제목 중심 레이아웃 */
.boss-table{table-layout:fixed}
.boss-table .col-check{width:64px}
.boss-table .col-time{width:140px}
.boss-table .col-title{width:34%}
.boss-table .col-channel{width:22%}
.boss-table .col-count{width:110px}
.boss-table .col-mini{width:82px}
.boss-table .col-job{width:150px}
.boss-title-cell strong{font-size:15px;font-weight:950;color:#0f172a;letter-spacing:-.02em}
.channel-cell{color:#6b7280;font-size:13px}
.channel-cell span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.title-focus-table th:nth-child(3),.title-focus-table td:nth-child(3){color:#6b7280}
@media(max-width:860px){.boss-table{table-layout:auto}.boss-table colgroup{display:none}.channel-cell span{white-space:normal}.boss-title-cell strong{font-size:16px}}


/* 획득아이템 필드 */
.boss-table .col-item{width:18%}
.item-cell{color:#111827;font-size:13px;font-weight:800}
.item-cell span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item-line{margin-top:14px;padding-top:14px;border-top:1px solid #eef0f3;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.item-line span{font-size:13px;color:var(--muted);font-weight:900}
.item-line strong{font-size:15px;color:#111827;font-weight:950}
.item-edit-card{margin-top:16px}
.item-edit-form{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:10px;align-items:center}
.item-edit-label{font-size:13px;color:var(--muted);font-weight:950}
@media(max-width:860px){.boss-table .col-item{width:auto}.item-cell span{white-space:normal}.item-edit-form{grid-template-columns:1fr}.item-edit-label{margin-bottom:-4px}}

/* 보스탐 목록: 채널 컬럼 제거 후 제목/획득아이템 중심 배치 */
.boss-table-no-channel{table-layout:fixed}
.boss-table-no-channel .col-time{width:130px}
.boss-table-no-channel .col-title-wide{width:34%}
.boss-table-no-channel .col-item-action{width:34%}
.boss-table-no-channel .col-count{width:105px}
.boss-table-no-channel .col-mini{width:78px}
.boss-table-no-channel .col-job{width:170px}
.boss-table-no-channel .boss-title-cell strong{font-size:16px;font-weight:950;letter-spacing:-.025em;color:#0f172a}
.title-sub{display:block;margin-top:4px;color:#8b95a1;font-size:12px;font-weight:700;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item-cell-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.item-cell-inner span{min-width:0;flex:1;color:#111827;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mini-action-btn{height:30px;border-radius:999px;border:1px solid #d1d5db;background:#fff;color:#111827;font-size:12px;font-weight:900;padding:0 10px;cursor:pointer;white-space:nowrap;box-shadow:0 3px 10px rgba(15,23,42,.05)}
.mini-action-btn:hover{border-color:#111827;background:#111827;color:#fff}
.item-line-edit{align-items:center}.item-line-edit .mini-action-btn{margin-left:auto}

/* 획득아이템 선택 레이어 */
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.42);display:none;align-items:center;justify-content:center;z-index:3000;padding:20px}
.modal-backdrop.active{display:flex}
.modal-panel{width:min(720px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 30px 80px rgba(15,23,42,.28);overflow:hidden}
.item-modal-form{padding:0}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 16px;border-bottom:1px solid #eef0f3;background:#f8fafc}.modal-head h3{margin:0;font-size:22px;font-weight:950;letter-spacing:-.04em;color:#0f172a}.modal-head p{margin:5px 0 0;color:#6b7280;font-size:13px}.modal-close{width:34px;height:34px;border-radius:10px;border:1px solid #d1d5db;background:#fff;color:#111827;font-size:22px;line-height:1;cursor:pointer}.item-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px 24px}.item-choice{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:13px;background:#fff;color:#111827;font-weight:850;font-size:13px;cursor:pointer}.item-choice:hover{border-color:#111827;background:#fafafa}.item-choice input{width:17px;height:17px;accent-color:#111827}.item-custom-label{display:block;margin:0 24px 8px;color:#6b7280;font-size:13px;font-weight:950}.modal-panel .input{width:calc(100% - 48px);margin:0 24px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px 22px;border-top:1px solid #eef0f3;margin-top:18px;background:#fff}
@media(max-width:1180px){.boss-table-no-channel .col-title-wide{width:32%}.boss-table-no-channel .col-item-action{width:30%}}
@media(max-width:860px){.boss-table-no-channel{table-layout:auto}.boss-table-no-channel colgroup{display:none}.title-sub{max-width:none;white-space:normal}.item-cell-inner{align-items:flex-start}.item-cell-inner span{white-space:normal}.item-choice-grid{grid-template-columns:1fr 1fr}.modal-actions{flex-direction:column}.modal-actions .ghost-btn,.modal-actions .dark-btn{width:100%}}
@media(max-width:520px){.item-choice-grid{grid-template-columns:1fr}.modal-head{padding:18px}.item-choice-grid{padding:16px 18px}.item-custom-label{margin-left:18px;margin-right:18px}.modal-panel .input{width:calc(100% - 36px);margin-left:18px;margin-right:18px}.modal-actions{padding:16px 18px 18px}.item-cell-inner{flex-direction:column}.mini-action-btn{width:auto}}


/* 2026-07 컬럼 비율 재조정: 제목 중심 + 아이템 버튼 중앙 정렬 */
.boss-table-no-channel{table-layout:fixed}
.boss-table-no-channel .col-time{width:128px}
.boss-table-no-channel .col-title-wide{width:42%}
.boss-table-no-channel .col-item-action{width:26%}
.boss-table-no-channel .col-count{width:96px}
.boss-table-no-channel .col-mini{width:72px}
.boss-table-no-channel .col-job{width:145px}
.boss-table-no-channel th,.boss-table-no-channel td{padding-left:18px;padding-right:18px}
.boss-table-no-channel .boss-title-cell{min-width:260px}
.boss-table-no-channel .boss-title-cell strong{font-size:17px;line-height:1.2}
.title-sub{max-width:100%;font-size:12px;color:#8a94a3}
.item-cell{min-width:180px}
.item-cell-inner{min-height:34px;display:flex;align-items:center;gap:10px;width:100%}
.item-cell-inner.has-items{justify-content:space-between}
.item-cell-inner.has-items span{flex:1;min-width:0;max-width:calc(100% - 58px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.item-cell-inner.empty-items{justify-content:center;text-align:center}
.item-cell.item-empty{padding-left:12px;padding-right:12px}
.item-cell.item-empty .mini-action-btn{margin:0 auto}
.mini-action-btn.add-item-btn{min-width:88px}

@media(max-width:1280px){
  .boss-table-no-channel .col-title-wide{width:40%}
  .boss-table-no-channel .col-item-action{width:24%}
  .boss-table-no-channel .col-time{width:120px}
  .boss-table-no-channel .col-count{width:90px}
  .boss-table-no-channel .col-mini{width:66px}
}
@media(max-width:860px){
  .boss-table-no-channel .boss-title-cell{min-width:0}
  .item-cell{min-width:0}
  .item-cell-inner.empty-items{justify-content:flex-end}
  .item-cell.item-empty .mini-action-btn{margin:0}
  .item-cell-inner.has-items span{max-width:none;white-space:normal}
}


/* 2026-07 수정: 채널명 제거 후 제목/아이템 균형 재배치 */
.boss-table-no-channel{table-layout:fixed}
.boss-table-no-channel .col-time{width:130px}
.boss-table-no-channel .col-title-wide{width:48%}
.boss-table-no-channel .col-item-action{width:20%}
.boss-table-no-channel .col-count{width:92px}
.boss-table-no-channel .col-mini{width:70px}
.boss-table-no-channel .col-job{width:140px}
.boss-table-no-channel th,
.boss-table-no-channel td{padding-left:18px;padding-right:18px}
.boss-table-no-channel .boss-title-cell{min-width:320px}
.boss-table-no-channel .boss-title-cell strong{font-size:18px;line-height:1.25;display:block;color:#0f172a}
.title-sub{display:none!important}
.item-cell{min-width:150px;text-align:center}
.item-cell-inner{min-height:34px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;text-align:center}
.item-cell-inner.empty-items{justify-content:center;text-align:center}
.item-cell.item-empty{padding-left:18px;padding-right:18px;text-align:center}
.item-cell.item-empty .mini-action-btn{display:inline-flex;margin:0 auto}
.item-cell-inner.has-items{justify-content:center;gap:8px}
.item-cell-inner.has-items span{flex:0 1 auto;max-width:calc(100% - 58px);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.mini-action-btn.add-item-btn{min-width:88px}
@media(max-width:1180px){
  .boss-table-no-channel .col-title-wide{width:44%}
  .boss-table-no-channel .col-item-action{width:22%}
  .boss-table-no-channel .boss-title-cell{min-width:240px}
}
@media(max-width:860px){
  .boss-table-no-channel .boss-title-cell{min-width:0}
  .item-cell{min-width:0;text-align:left}
  .item-cell-inner,.item-cell-inner.empty-items,.item-cell-inner.has-items{justify-content:flex-end;text-align:right}
  .item-cell-inner.has-items span{text-align:right;white-space:normal;max-width:100%}
}

/* 2026-07 center alignment hotfix: 획득아이템 버튼/내용 정확한 중앙 정렬 */
.boss-table-no-channel{
  table-layout: fixed !important;
  width: 100% !important;
}
.boss-table-no-channel .col-time{width:132px !important;}
.boss-table-no-channel .col-title-wide{width:46% !important;}
.boss-table-no-channel .col-item-action{width:22% !important;}
.boss-table-no-channel .col-count{width:96px !important;}
.boss-table-no-channel .col-mini{width:72px !important;}
.boss-table-no-channel th:nth-child(3),
.boss-table-no-channel td:nth-child(3){
  text-align: center !important;
  vertical-align: middle !important;
}
.boss-table-no-channel td.item-cell{
  text-align: center !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.boss-table-no-channel td.item-cell .item-cell-inner{
  width: 100% !important;
  max-width: 100% !important;
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
}
.boss-table-no-channel td.item-cell .empty-items,
.boss-table-no-channel td.item-cell .has-items{
  justify-content: center !important;
}
.boss-table-no-channel td.item-cell .mini-action-btn,
.boss-table-no-channel td.item-cell .add-item-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  position: static !important;
}
.boss-table-no-channel td.item-cell .has-items span{
  flex: 0 1 auto !important;
  max-width: calc(100% - 70px) !important;
  text-align: center !important;
}
.boss-table-no-channel .boss-title-cell{
  min-width: 0 !important;
}
.boss-table-no-channel .boss-title-cell strong{
  display:block !important;
  font-size:18px !important;
}
@media(max-width:860px){
  .boss-table-no-channel colgroup{display:none !important;}
  .boss-table-no-channel th:nth-child(3),
  .boss-table-no-channel td:nth-child(3),
  .boss-table-no-channel td.item-cell{
    text-align:right !important;
  }
  .boss-table-no-channel td.item-cell .item-cell-inner,
  .boss-table-no-channel td.item-cell .empty-items,
  .boss-table-no-channel td.item-cell .has-items{
    justify-content:flex-end !important;
    text-align:right !important;
  }
}

/* 2026-07 최종 보정: 최근 보스탐/보스탐 기록 컬럼 균형 + 중앙 정렬 */
.boss-table-no-channel{
  table-layout:fixed!important;
}
.boss-table-no-channel .col-time{width:128px!important}
.boss-table-no-channel .col-title-wide{width:34%!important}
.boss-table-no-channel .col-item-action{width:26%!important}
.boss-table-no-channel .col-count{width:96px!important}
.boss-table-no-channel .col-mini{width:76px!important}
.boss-table-no-channel .col-job{width:160px!important}
.boss-table-no-channel th,
.boss-table-no-channel td{
  text-align:center!important;
  vertical-align:middle!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
.boss-table-no-channel .boss-title-cell{
  min-width:0!important;
  text-align:center!important;
}
.boss-table-no-channel .boss-title-cell strong{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  font-size:17px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.boss-table-no-channel .item-cell{
  min-width:0!important;
  text-align:center!important;
}
.boss-table-no-channel .item-cell-inner,
.boss-table-no-channel .item-cell-inner.empty-items,
.boss-table-no-channel .item-cell-inner.has-items{
  width:100%!important;
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
}
.boss-table-no-channel .item-cell-inner.has-items span{
  flex:0 1 auto!important;
  max-width:150px!important;
  min-width:0!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.boss-table-no-channel .item-cell.item-empty,
.boss-table-no-channel .item-cell.item-empty .mini-action-btn,
.boss-table-no-channel .mini-action-btn.add-item-btn{
  margin-left:auto!important;
  margin-right:auto!important;
}
.boss-table-no-channel .mini-action-btn{
  flex:0 0 auto!important;
}
.boss-table-no-channel .title-sub{
  display:none!important;
}

@media(max-width:1280px){
  .boss-table-no-channel .col-time{width:118px!important}
  .boss-table-no-channel .col-title-wide{width:32%!important}
  .boss-table-no-channel .col-item-action{width:24%!important}
  .boss-table-no-channel .col-count{width:88px!important}
  .boss-table-no-channel .col-mini{width:66px!important}
  .boss-table-no-channel .col-job{width:130px!important}
  .boss-table-no-channel th,
  .boss-table-no-channel td{padding-left:10px!important;padding-right:10px!important}
}
@media(max-width:860px){
  .boss-table-no-channel{table-layout:auto!important}
  .boss-table-no-channel colgroup{display:none!important}
  .boss-table-no-channel th,
  .boss-table-no-channel td{text-align:left!important}
  .boss-table-no-channel .boss-title-cell strong{text-align:left!important;white-space:normal!important}
  .boss-table-no-channel .item-cell-inner,
  .boss-table-no-channel .item-cell-inner.empty-items,
  .boss-table-no-channel .item-cell-inner.has-items{justify-content:flex-end!important;text-align:right!important}
  .boss-table-no-channel .item-cell-inner.has-items span{max-width:none!important;text-align:right!important;white-space:normal!important}
}

/* 기간 검색 필드 추가 */
.boss-filter{grid-template-columns:minmax(180px,360px) 170px 170px auto}
.members-filter{grid-template-columns:minmax(180px,320px) 150px 150px 170px 170px 170px auto}
.stats-filter{grid-template-columns:170px 170px auto auto;max-width:620px;margin-bottom:16px}
@media(max-width:860px){.boss-filter,.members-filter,.stats-filter{grid-template-columns:1fr}.stats-filter{max-width:none}}


/* AJAX filter + pension-style date range picker */
.ajax-scope{position:relative;transition:opacity .12s ease}.ajax-scope.is-loading{opacity:.55;pointer-events:none}.date-range-picker{position:relative;min-width:250px}.date-range-toggle{width:100%;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#111827;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 13px;font-weight:900;cursor:pointer}.date-range-toggle:hover,.date-range-toggle:focus{border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.08);outline:none}.date-range-toggle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-range-popover{display:none;position:absolute;z-index:80;top:48px;left:0;width:330px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px rgba(17,24,39,.18);padding:14px}.date-range-popover.active{display:block}.range-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.range-cal-head strong{font-size:16px}.range-month-btn{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:11px;font-size:22px;font-weight:900;cursor:pointer}.range-help{font-size:12px;color:var(--muted);font-weight:800;margin:2px 0 10px}.range-week-row,.range-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.range-week-row span{font-size:12px;color:var(--muted);font-weight:900;text-align:center}.range-day{height:36px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#111827;font-weight:800;cursor:pointer}.range-day.empty{border:0;background:transparent;cursor:default}.range-day:hover{border-color:#111827}.range-day.start,.range-day.end{background:#111827;color:#fff;border-color:#111827}.range-day.in-range{background:#f3f4f6;border-color:#d1d5db}.range-actions{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.range-actions .ghost-btn,.range-actions .dark-btn{min-height:36px;height:36px}.members-filter{grid-template-columns:1.3fr 1fr 1fr 1.4fr 1fr auto}.stats-filter{grid-template-columns:300px auto}.boss-filter{grid-template-columns:2fr 300px auto}@media(max-width:860px){.date-range-picker{min-width:0}.date-range-popover{width:min(330px,calc(100vw - 42px));left:0}.members-filter,.stats-filter,.boss-filter{grid-template-columns:1fr!important}}

/* fix: global .empty padding broke blank days inside range calendar */
.date-range-popover,
.date-range-popover *{box-sizing:border-box}
.range-week-row,
.range-days{width:100%;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center}
.range-week-row span,
.range-day{min-width:0;width:100%;max-width:100%;padding:0;text-align:center;line-height:1;display:flex;align-items:center;justify-content:center}
.range-day.empty{height:36px;padding:0!important;margin:0;border:0!important;background:transparent!important;box-shadow:none!important;pointer-events:none}

/* 2026-07 보스탐 즐겨찾기 고정 + 작은 창 직업칩 깨짐 방지 */
.boss-table-no-channel .col-check{width:56px!important}
.boss-table-no-channel .col-pin{width:54px!important}
.boss-table-no-channel .col-time{width:120px!important}
.boss-table-no-channel .col-title-wide{width:auto!important}
.boss-table-no-channel .col-item-action{width:190px!important}
.boss-table-no-channel .col-count{width:86px!important}
.boss-table-no-channel .col-mini{width:60px!important}
.boss-table-no-channel .col-job{width:132px!important}
.boss-table-no-channel th,
.boss-table-no-channel td{padding-left:9px!important;padding-right:9px!important}
.pin-cell{text-align:center!important}
.pin-star-btn{width:32px;height:32px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#cbd5e1;font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.12s ease;box-shadow:0 3px 10px rgba(15,23,42,.05)}
.pin-star-btn:hover{border-color:#111827;color:#111827;background:#f8fafc}
.pin-star-btn.active{background:#111827;border-color:#111827;color:#fff}
.pin-star-btn:disabled{opacity:.65;cursor:wait}
.is-pinned-row td{background:#fffdf7}
.is-pinned-row:hover td{background:#fff8e6!important}
.job-cell{white-space:normal!important;overflow:visible!important}
.job-badges{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;min-width:0;max-width:100%}
.job-badges .badge{padding:4px 8px!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap!important;margin:0!important}
.table-card.responsive-table{overflow-x:auto}
.boss-table-no-channel{min-width:1040px}

@media(max-width:1280px){
  .boss-table-no-channel .col-check{width:50px!important}
  .boss-table-no-channel .col-pin{width:46px!important}
  .boss-table-no-channel .col-time{width:112px!important}
  .boss-table-no-channel .col-item-action{width:160px!important}
  .boss-table-no-channel .col-count{width:78px!important}
  .boss-table-no-channel .col-mini{width:54px!important}
  .boss-table-no-channel .col-job{width:118px!important}
  .boss-table-no-channel th,
  .boss-table-no-channel td{padding-left:6px!important;padding-right:6px!important}
  .boss-table-no-channel{min-width:960px}
  .job-badges .badge{padding:4px 7px!important;font-size:11px!important}
}

@media(max-width:860px){
  .boss-table-no-channel{min-width:0!important}
  .pin-cell{display:flex!important;justify-content:space-between!important;align-items:center!important}
  .pin-cell:before{content:attr(data-label);color:var(--muted);font-weight:900;font-size:12px;min-width:78px;text-align:left}
  .pin-star-btn{margin-left:auto}
  .job-badges{justify-content:flex-end}
}

/* 2026-07 모바일/고급 UI 보정 */
.mobile-menu-btn,
.mobile-menu-backdrop{display:none}
.card,.stat-card,.table-card,.calendar-card,.form-card,.notice,.modal-panel{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.card:hover,.stat-card:hover,.table-card:hover,.calendar-card:hover,.form-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 46px rgba(15,23,42,.12);
  border-color:#c3cad5;
}
.nav-link,.ghost-btn,.gold-btn,.dark-btn,.danger-btn,.calendar-nav,.date-range-toggle,.range-day,.tab-btn,.pin-star-btn,.mini-action-btn{
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ghost-btn:hover,.gold-btn:hover,.dark-btn:hover,.danger-btn:hover,.calendar-nav:hover,.date-range-toggle:hover,.tab-btn:hover,.mini-action-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(15,23,42,.10);
}
.stat-card:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.0),rgba(255,255,255,.42),rgba(255,255,255,.0));
  transform:translateX(-120%);transition:transform .55s ease;
}
.stat-card:hover:before{transform:translateX(120%)}
.table-card tbody tr{transition:transform .12s ease, background-color .12s ease}
.table-card tbody tr:hover{transform:scale(1.002)}
.range-day.pending-range{background:#f8fafc;border-color:#cbd5e1}
.range-day.start,.range-day.end{box-shadow:0 8px 18px rgba(17,24,39,.18)}
.date-range-popover.active{animation:softPop .16s ease both}
@keyframes softPop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes menuSlide{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}

@media(max-width:860px){
  body.menu-open{overflow:hidden}
  .mobile-menu-btn{
    display:inline-flex;position:fixed;top:12px;left:12px;z-index:1101;width:44px;height:44px;
    border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.14);
    align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;
  }
  .mobile-menu-btn span{width:19px;height:2px;border-radius:999px;background:#111827;transition:transform .18s ease,opacity .18s ease}
  body.menu-open .mobile-menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body.menu-open .mobile-menu-btn span:nth-child(2){opacity:0}
  body.menu-open .mobile-menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mobile-menu-backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:1090;opacity:0;pointer-events:none;transition:opacity .18s ease}
  body.menu-open .mobile-menu-backdrop{opacity:1;pointer-events:auto}
  .app-shell{display:block;min-height:100vh}
  .sidebar{
    position:fixed!important;top:0;left:0;bottom:0;width:min(82vw,310px)!important;height:100vh!important;
    padding:72px 18px 18px!important;border-right:1px solid var(--line)!important;border-bottom:0!important;
    transform:translateX(-104%);transition:transform .22s ease;z-index:1100;overflow-y:auto;box-shadow:18px 0 48px rgba(15,23,42,.18);
  }
  body.menu-open .sidebar{transform:translateX(0);animation:menuSlide .22s ease both}
  .brand{margin-bottom:20px!important}
  .nav{grid-template-columns:1fr!important;gap:10px!important}
  .nav-link{justify-content:flex-start!important;padding:14px!important;font-size:15px}
  .sidebar-card{display:block!important;position:static!important;margin-top:18px}
  .main{padding:70px 12px 36px!important}
  .topbar{gap:12px!important}.topbar h1{font-size:25px!important}.eyebrow{font-size:11px!important}
  .topbar-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  .dashboard-layout{grid-template-columns:1fr!important}.calendar-card{max-width:none!important;width:100%}
  .grid{gap:12px!important}.stat-card{padding:16px!important}.stat-value{font-size:25px!important}
  .section-head{margin-top:22px!important}.section-head h2{font-size:20px!important}
  .filters,.boss-filter,.members-filter,.stats-filter{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .date-range-picker{width:100%!important}.date-range-popover{position:fixed!important;left:12px!important;right:12px!important;top:96px!important;width:auto!important;max-height:calc(100vh - 116px);overflow:auto;z-index:1200}
  .table-card.responsive-table{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  .responsive-table table,.responsive-table thead,.responsive-table tbody,.responsive-table th,.responsive-table td,.responsive-table tr{display:block!important;width:100%!important;min-width:0!important}
  .responsive-table table{border-collapse:separate!important;border-spacing:0!important}
  .responsive-table thead{display:none!important}
  .responsive-table tbody tr{
    background:#fff!important;border:1px solid var(--line)!important;border-radius:16px!important;margin-bottom:12px!important;
    padding:10px 12px!important;box-shadow:var(--shadow)!important;overflow:hidden!important;
  }
  .responsive-table tbody tr:hover{transform:translateY(-1px)!important}
  .responsive-table td{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
    border-bottom:1px solid #eef0f3!important;padding:10px 0!important;text-align:right!important;white-space:normal!important;min-height:40px!important;
  }
  .responsive-table td:last-child{border-bottom:0!important}
  .responsive-table td:before{
    content:attr(data-label);flex:0 0 92px;text-align:left;color:var(--muted);font-size:12px;font-weight:950;letter-spacing:-.01em;
  }
  .responsive-table td.empty{display:block!important;text-align:center!important;padding:26px 14px!important}.responsive-table td.empty:before{display:none!important}
  .responsive-table .badge,.responsive-table .job-badges{justify-content:flex-end}.responsive-table .job-badges{max-width:62%;margin-left:auto}
  .boss-table-no-channel td.item-cell .item-cell-inner,
  .boss-table-no-channel td.item-cell .empty-items,
  .boss-table-no-channel td.item-cell .has-items{justify-content:flex-end!important;text-align:right!important}
  .boss-table-no-channel .boss-title-cell strong{text-align:right!important;white-space:normal!important}
  .bulk-actions{justify-content:stretch!important}.bulk-actions>*{width:100%;max-width:none}.check-all{margin-right:0!important}
  .form-actions{justify-content:stretch!important}.form-actions .gold-btn,.form-actions .dark-btn,.form-actions .ghost-btn{width:100%}
  .modal-backdrop{padding:10px!important}.modal-panel{max-height:92vh;overflow:auto;border-radius:18px!important}
}

@media(max-width:420px){
  .topbar-actions{grid-template-columns:1fr!important}.cal-day,.cal-empty{height:34px!important}.range-day{height:34px!important}
  .responsive-table td:before{flex-basis:78px}.ghost-btn,.gold-btn,.danger-btn,.dark-btn{font-size:13px;padding:0 11px}
}

/* 2026-07 모바일 테이블 최종 보정: 카드형 분해 대신 안전한 가로 스크롤 테이블 */
@media(max-width:860px){
  .table-card.responsive-table{
    background:#fff!important;
    border:1px solid var(--line)!important;
    border-radius:16px!important;
    box-shadow:var(--shadow)!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    padding:0!important;
  }
  .table-card.responsive-table:before{
    content:'좌우로 밀어서 전체 항목을 확인하세요';
    display:block;
    padding:10px 12px;
    font-size:12px;
    font-weight:900;
    color:#6b7280;
    background:#f8fafc;
    border-bottom:1px solid #eef0f3;
  }
  .responsive-table table{
    display:table!important;
    width:100%!important;
    min-width:760px!important;
    border-collapse:collapse!important;
    border-spacing:0!important;
    table-layout:auto!important;
  }
  .responsive-table thead{display:table-header-group!important;width:auto!important}
  .responsive-table tbody{display:table-row-group!important;width:auto!important}
  .responsive-table tr{
    display:table-row!important;
    width:auto!important;
    min-width:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    margin:0!important;
    padding:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    transform:none!important;
  }
  .responsive-table tr:hover{transform:none!important}
  .responsive-table th,
  .responsive-table td{
    display:table-cell!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:12px 10px!important;
    border-bottom:1px solid #eef0f3!important;
    text-align:left!important;
    vertical-align:middle!important;
    white-space:nowrap!important;
    gap:0!important;
  }
  .responsive-table th{
    font-size:11px!important;
    letter-spacing:.04em!important;
    background:#f8fafc!important;
  }
  .responsive-table td:before,
  .responsive-table .pin-cell:before{
    content:none!important;
    display:none!important;
  }
  .responsive-table td.empty{
    display:table-cell!important;
    text-align:center!important;
    padding:28px 14px!important;
  }
  .boss-table-no-channel{
    display:table!important;
    min-width:1040px!important;
    table-layout:fixed!important;
  }
  .boss-table-no-channel colgroup{display:table-column-group!important}
  .boss-table-no-channel .col-check{width:52px!important}
  .boss-table-no-channel .col-pin{width:52px!important}
  .boss-table-no-channel .col-time{width:118px!important}
  .boss-table-no-channel .col-title-wide{width:auto!important}
  .boss-table-no-channel .col-item-action{width:180px!important}
  .boss-table-no-channel .col-count{width:82px!important}
  .boss-table-no-channel .col-mini{width:58px!important}
  .boss-table-no-channel .col-job{width:120px!important}
  .boss-table-no-channel .boss-title-cell{
    min-width:0!important;
    white-space:normal!important;
  }
  .boss-table-no-channel .boss-title-cell strong{
    display:block!important;
    text-align:left!important;
    white-space:normal!important;
    font-size:15px!important;
    line-height:1.25!important;
  }
  .boss-table-no-channel .title-sub{white-space:normal!important;max-width:none!important}
  .boss-table-no-channel td.item-cell,
  .boss-table-no-channel .item-cell-inner,
  .boss-table-no-channel .item-cell-inner.empty-items,
  .boss-table-no-channel .item-cell-inner.has-items{
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .boss-table-no-channel .item-cell-inner.has-items span{
    max-width:none!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .responsive-table .pin-cell,
  .responsive-table .col-check,
  .responsive-table .pin-cell,
  .responsive-table td[data-label="선택"],
  .responsive-table td[data-label="고정"]{
    text-align:center!important;
  }
  .responsive-table .job-badges{
    justify-content:flex-start!important;
    max-width:none!important;
    margin-left:0!important;
  }
  .responsive-table .badge{white-space:nowrap!important}
  .responsive-table .table-input,
  .responsive-table .table-select{max-width:none!important;min-width:110px!important}
}

@media(max-width:420px){
  .responsive-table table{min-width:720px!important}
  .boss-table-no-channel{min-width:980px!important}
  .table-card.responsive-table:before{font-size:11px;padding:9px 10px}
}

/* 2026-07 모바일 테이블 v3: 가로 스크롤 제거 + 카드형 표시 */
@media (max-width: 860px){
  .table-card.responsive-table{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .table-card.responsive-table:before{
    content: none !important;
    display: none !important;
  }
  .responsive-table table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table th,
  .responsive-table td{
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
  }
  .responsive-table colgroup,
  .responsive-table thead{
    display: none !important;
  }
  .responsive-table table,
  .boss-table-no-channel{
    min-width: 0 !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  .responsive-table tbody tr{
    position: relative !important;
    display: block !important;
    background: #fff !important;
    border: 1px solid rgba(203,213,225,.9) !important;
    border-radius: 18px !important;
    margin: 0 0 14px !important;
    padding: 14px 14px 12px !important;
    box-shadow: 0 16px 38px rgba(15,23,42,.08) !important;
    overflow: hidden !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
  }
  .responsive-table tbody tr:hover{
    transform: translateY(-1px) !important;
    box-shadow: 0 20px 46px rgba(15,23,42,.11) !important;
  }
  .responsive-table tbody tr + tr{
    margin-top: 12px !important;
  }
  .responsive-table th{
    display: none !important;
  }
  .responsive-table td{
    display: grid !important;
    grid-template-columns: 86px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    padding: 10px 0 !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    background: transparent !important;
  }
  .responsive-table td:last-child{
    border-bottom: 0 !important;
  }
  .responsive-table td:before{
    content: attr(data-label) !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    flex: initial !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: -.01em !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
  .responsive-table td:not([data-label]):before{
    content: '' !important;
    display: none !important;
  }
  .responsive-table td.empty{
    display: block !important;
    text-align: center !important;
    padding: 28px 12px !important;
    color: #64748b !important;
  }
  .responsive-table td.empty:before{
    content: none !important;
    display: none !important;
  }
  .responsive-table td > *,
  .responsive-table td strong,
  .responsive-table td span,
  .responsive-table td a,
  .responsive-table td div{
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .responsive-table td a{
    color: inherit !important;
    text-decoration: none !important;
  }
  .responsive-table .boss-title-cell{
    align-items: start !important;
  }
  .responsive-table .boss-title-cell strong{
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    letter-spacing: -.035em !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }
  .responsive-table .title-sub{
    white-space: normal !important;
    max-width: none !important;
    text-align: right !important;
  }
  .responsive-table .item-cell,
  .responsive-table td.item-cell{
    white-space: normal !important;
  }
  .responsive-table .item-cell-inner,
  .responsive-table .item-cell-inner.empty-items,
  .responsive-table .item-cell-inner.has-items,
  .boss-table-no-channel td.item-cell .item-cell-inner,
  .boss-table-no-channel td.item-cell .empty-items,
  .boss-table-no-channel td.item-cell .has-items{
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-align: right !important;
    white-space: normal !important;
  }
  .responsive-table .item-cell-inner.has-items span{
    white-space: normal !important;
    text-align: right !important;
  }
  .responsive-table .badge,
  .responsive-table .job-badges{
    display: inline-flex !important;
    width: auto !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }
  .responsive-table .job-badges{
    flex-wrap: wrap !important;
    gap: 5px !important;
  }
  .responsive-table .mini-action-btn,
  .responsive-table .add-item-btn{
    width: auto !important;
    min-width: 86px !important;
    white-space: nowrap !important;
  }
  .responsive-table .pin-cell,
  .responsive-table td[data-label="선택"],
  .responsive-table td[data-label="고정"]{
    grid-template-columns: 86px minmax(0,1fr) !important;
    justify-items: end !important;
    text-align: right !important;
  }
  .responsive-table td[data-label="선택"] input,
  .responsive-table td[data-label="고정"] button{
    margin-left: auto !important;
  }
  .responsive-table .table-input,
  .responsive-table .table-select{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px){
  .responsive-table td{
    grid-template-columns: 74px minmax(0,1fr) !important;
    gap: 10px !important;
    padding: 9px 0 !important;
  }
  .responsive-table .boss-title-cell strong{
    font-size: 17px !important;
  }
  .responsive-table .mini-action-btn,
  .responsive-table .add-item-btn{
    min-width: 78px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* v4: prevent hover animation from creating horizontal scrollbars on wide tables */
.table-card:hover,
.table-card.responsive-table:hover{
  transform:none !important;
}
.table-card tbody tr:hover,
.responsive-table tbody tr:hover{
  transform:none !important;
}
.table-card,
.table-card.responsive-table{
  max-width:100% !important;
}
html,
body,
.app-shell,
.main,
.main-inner{
  overflow-x:hidden !important;
}
@media (min-width:861px){
  .table-card.responsive-table{
    overflow-x:hidden !important;
  }
  .table-card.responsive-table table{
    width:100% !important;
    min-width:0 !important;
    table-layout:auto !important;
  }
  .table-card.responsive-table th,
  .table-card.responsive-table td{
    white-space:normal !important;
  }
}
@media (max-width:860px){
  .table-card.responsive-table{
    overflow:visible !important;
  }
}

/* dashboard polish: ranking expansion, medals, boss table balance, premium stat bars */
.rank-extra.is-hidden{display:none!important}
.rank-more-wrap{display:flex;justify-content:center;padding:14px 16px 18px;background:#fff;border-top:1px solid #eef0f3}
.rank-more-btn{min-width:180px;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.rank-medal,.rank-number{display:inline-flex;align-items:center;justify-content:center;font-weight:950;line-height:1;white-space:nowrap}
.rank-medal{min-width:48px;height:30px;border-radius:999px;color:#fff;letter-spacing:-.02em;box-shadow:0 8px 18px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.28)}
.rank-1{background:linear-gradient(135deg,#f59e0b,#111827 62%,#fbbf24)}
.rank-2{background:linear-gradient(135deg,#94a3b8,#111827 62%,#e5e7eb)}
.rank-3{background:linear-gradient(135deg,#b45309,#111827 62%,#f97316)}
.rank-number{min-width:32px;color:#334155}

@media (min-width:861px){
  .boss-table-no-channel .col-title-wide{width:28%!important}
  .boss-table-no-channel .col-item-action{width:42%!important}
  .boss-table-no-channel th,.boss-table-no-channel td{text-align:center!important}
  .boss-table-no-channel .item-cell-inner{justify-content:center!important;text-align:center!important}
  .boss-table-no-channel .item-cell-inner.has-items span{text-align:center!important;max-width:calc(100% - 68px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}
  .boss-table-no-channel .boss-title-cell strong{display:block;text-align:center!important}
}

.stats-chart-grid .chart-card{overflow:hidden}
.chart-card .card-body{padding:24px 24px 26px}
.chart-card h2{margin:0 0 18px;font-size:20px;letter-spacing:-.03em}
.stat-bars,.daily-stat-list{display:grid;gap:16px}
.stat-bar-row,.daily-stat-row{display:grid;gap:8px}
.stat-bar-meta,.daily-stat-top{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px;color:#334155;font-weight:850}
.stat-bar-meta strong,.daily-stat-top strong{color:#0f172a;font-weight:950;white-space:nowrap}
.daily-stat-top em{font-style:normal;color:#64748b;font-size:12px;margin-left:6px;font-weight:850}
.stat-bar-track{height:13px;border-radius:999px;background:linear-gradient(90deg,#eef2f7,#f8fafc);border:1px solid #e5e7eb;overflow:hidden;box-shadow:inset 0 1px 2px rgba(15,23,42,.05)}
.stat-bar-track.thin{height:10px}
.stat-bar-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0f172a,#334155);box-shadow:0 6px 14px rgba(15,23,42,.18)}
@media (max-width:860px){.rank-medal{min-width:44px}.rank-more-wrap{padding:12px}.stats-chart-grid{grid-template-columns:1fr!important}.stat-bar-meta,.daily-stat-top{font-size:13px}}


/* 2026-07 definitive mobile recent boss list: real compact cards */
.mobile-recent-boss-cards{display:none}
@media (max-width:860px){
  .recent-boss-table-wrap{display:none!important}
  .mobile-recent-boss-cards{display:grid!important;gap:9px;margin:10px 0 22px}
  .mobile-boss-empty{padding:18px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:#64748b;font-weight:800;text-align:center}
  .mobile-boss-card{display:grid;gap:9px;padding:12px 14px;border:1px solid #dbe3ee;border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.07)}
  .mobile-boss-main{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:10px;text-decoration:none;color:#0f172a}
  .mobile-boss-time{font-size:13px;font-weight:950;letter-spacing:-.02em;color:#0f172a;white-space:nowrap}
  .mobile-boss-title{font-size:19px;line-height:1.15;font-weight:950;letter-spacing:-.05em;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-boss-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:30px;padding:8px 0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}
  .mobile-boss-label{font-size:11px;font-weight:950;color:#64748b;white-space:nowrap}
  .mobile-boss-item-text{font-size:13px;font-weight:850;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
  .mobile-boss-item .mini-action-btn,.mobile-boss-item .add-item-btn{min-width:54px!important;height:27px!important;min-height:27px!important;padding:0 10px!important;font-size:11.5px!important;border-radius:999px!important}
  .mobile-boss-item .add-item-btn{grid-column:2 / 4;justify-self:end}
  .mobile-boss-counts{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:6px}
  .mobile-boss-counts div{display:grid;gap:4px;justify-items:center;padding:5px 2px;border-radius:10px;background:#f8fafc;border:1px solid #edf2f7;min-width:0}
  .mobile-boss-counts span{font-size:10.5px;font-weight:950;color:#64748b;line-height:1}
  .mobile-boss-counts strong{font-size:13px;font-weight:950;color:#0f172a;line-height:1.05;white-space:nowrap}
  .mobile-boss-counts div:first-child{background:#0f172a;border-color:#0f172a}
  .mobile-boss-counts div:first-child span,.mobile-boss-counts div:first-child strong{color:#fff}
}
@media (max-width:420px){
  .mobile-boss-card{padding:11px 12px;border-radius:15px;gap:8px}
  .mobile-boss-main{grid-template-columns:96px minmax(0,1fr);gap:8px}
  .mobile-boss-time{font-size:12.5px}
  .mobile-boss-title{font-size:18px}
  .mobile-boss-item{grid-template-columns:42px minmax(0,1fr) auto;gap:7px;padding:7px 0}
  .mobile-boss-counts{gap:5px}
  .mobile-boss-counts div{padding:5px 1px}
  .mobile-boss-counts strong{font-size:12.5px}
}

/* admin/auth/settings pages */
.login-wrap{max-width:460px;margin:0 auto}
.login-card{padding:0}
.form-stack{display:grid;gap:14px}
.form-stack label{display:grid;gap:8px;color:#334155;font-size:13px;font-weight:950}
.inline-form{display:inline-flex;margin:0 4px 4px 0}
.action-cell{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-start}
.item-admin-form{grid-template-columns:minmax(220px,1fr) 140px auto}
.toggle-row{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:950;color:#0f172a;margin-bottom:16px}
.toggle-row input{width:20px;height:20px;accent-color:#111827}
.settings-head{margin-top:8px}
.score-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.score-field{display:grid;gap:6px;padding:10px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}
.score-field span{font-size:12px;font-weight:950;color:#64748b}
.score-field .input{height:38px;border-radius:9px;text-align:right;font-weight:900}
@media(max-width:860px){
  .item-admin-form{grid-template-columns:1fr}
  .score-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .action-cell{justify-content:flex-end}
  .inline-form{margin:0}
  .mobile-boss-counts{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:420px){
  .score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* score/item money enhancements */
.dashboard-rank-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;margin-top:12px}
.rank-half{min-width:0}
.score-toggle-form{justify-content:center}
.mini-action-btn.muted{background:#f8fafc!important;color:#64748b!important;border-color:#cbd5e1!important}
.item-money{font-style:normal;font-size:12px;font-weight:950;color:#0f172a;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;white-space:nowrap}
.item-line-edit{gap:8px;flex-wrap:wrap}
@media(max-width:1180px){.dashboard-rank-split{grid-template-columns:1fr}}
@media(max-width:860px){
  .dashboard-rank-split{gap:14px}
  .rank-half .section-head{margin-top:18px}
  .item-money{font-size:11.5px;padding:5px 8px}
  .item-admin-form{grid-template-columns:1fr!important}
}

/* v14: boss list balance after hiding clan summary columns */
@media (min-width:861px){
  .boss-table-no-channel{table-layout:fixed!important;min-width:0!important;width:100%!important}
  .boss-table-no-channel .col-check{width:48px!important}
  .boss-table-no-channel .col-pin{width:48px!important}
  .boss-table-no-channel .col-time{width:108px!important}
  .boss-table-no-channel .col-title-wide{width:24%!important}
  .boss-table-no-channel .col-item-action{width:150px!important}
  .boss-table-no-channel .col-score-toggle{width:74px!important}
  .boss-table-no-channel .col-score{width:68px!important}
  .boss-table-no-channel .col-money{width:88px!important}
  .boss-table-no-channel .col-count{width:80px!important}
  .boss-table-no-channel .col-job{width:116px!important}
  .boss-table-no-channel th,
  .boss-table-no-channel td{padding-left:7px!important;padding-right:7px!important;vertical-align:middle!important}
  .boss-table-no-channel .boss-title-cell{min-width:0!important;max-width:none!important}
  .boss-table-no-channel .boss-title-cell strong{font-size:16px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important}
  .boss-table-no-channel td.item-cell{min-width:0!important;max-width:none!important}
  .boss-table-no-channel .item-cell-inner,
  .boss-table-no-channel .item-cell-inner.empty-items,
  .boss-table-no-channel .item-cell-inner.has-items{justify-content:center!important;gap:6px!important;min-width:0!important}
  .boss-table-no-channel .item-cell-inner.has-items span{max-width:92px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:center!important}
  .boss-table-no-channel .mini-action-btn{min-width:54px!important;height:30px!important;min-height:30px!important;padding:0 10px!important;font-size:12px!important}
  .boss-table-no-channel .job-badges{gap:4px!important;justify-content:center!important}
  .boss-table-no-channel .job-badges .badge{padding-left:7px!important;padding-right:7px!important}
  .recent-boss-table .col-title-wide{width:26%!important}
  .recent-boss-table .col-item-action{width:160px!important}
  .recent-boss-table .col-score{width:72px!important}
  .recent-boss-table .col-money{width:92px!important}
  .recent-boss-table .col-count{width:84px!important}
}
@media (max-width:1180px) and (min-width:861px){
  .boss-table-no-channel .col-time{width:100px!important}
  .boss-table-no-channel .col-title-wide{width:22%!important}
  .boss-table-no-channel .col-item-action{width:138px!important}
  .boss-table-no-channel .col-money{width:78px!important}
  .boss-table-no-channel .col-job{width:106px!important}
  .boss-table-no-channel th,
  .boss-table-no-channel td{padding-left:5px!important;padding-right:5px!important;font-size:13px!important}
}
@media (max-width:860px){
  .mobile-boss-counts{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:420px){
  .mobile-boss-counts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v22 dashboard range and score period */
.dashboard-range-bar{margin-bottom:18px;padding:14px}
.dashboard-filter{display:grid;grid-template-columns:320px auto auto;justify-content:flex-start;align-items:center;gap:10px}
.score-period-grid{grid-template-columns:repeat(2,minmax(220px,1fr));margin-bottom:10px}
.field-label{display:grid;gap:7px;font-weight:900;color:#475569}
.field-label span{font-size:13px}
@media(max-width:860px){.dashboard-filter{grid-template-columns:1fr!important}.score-period-grid{grid-template-columns:1fr!important}.dashboard-range-bar{padding:12px}}

/* v28 hourly boss slot grouping */
.slot-summary-row{cursor:pointer;background:#f8fafc}
.slot-summary-row td{background:#f8fafc!important;border-top:1px solid #e5e7eb;font-weight:900}
.slot-summary-row:hover td{background:#eef2f7!important}
.slot-summary-row[aria-expanded="true"] td{background:#f1f5f9!important}
.slot-summary-row .title-sub,.mobile-boss-sub{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:0}
.slot-caret{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--line);border-radius:999px;background:#fff;transition:.15s ease}
.slot-summary-row[aria-expanded="true"] .slot-caret{transform:rotate(90deg);background:#111827;color:#fff;border-color:#111827}
.slot-child-row td{background:#fff}
.slot-child-row .child-title{padding-left:30px;position:relative}
.slot-child-row .child-title:before{content:"└";position:absolute;left:12px;color:#94a3b8;font-weight:900}
.slot-item-summary{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-weight:800}
.mobile-slot-summary{cursor:pointer;border-color:#cbd5e1;background:#f8fafc}
.mobile-slot-summary[aria-expanded="true"]{background:#f1f5f9}
.mobile-slot-children{display:grid;gap:10px;margin:0 0 10px 14px;padding-left:10px;border-left:2px solid #e5e7eb}
.mobile-slot-children.is-hidden,.slot-child-row.is-hidden{display:none!important}
.mobile-boss-child-card{box-shadow:none}
@media(max-width:860px){.slot-summary-row .title-sub{font-size:12px}.slot-child-row .child-title{padding-left:16px}.slot-child-row .child-title:before{left:2px}.slot-summary-row td{padding-top:14px;padding-bottom:14px}.slot-item-summary{white-space:normal}}

/* v29 ranking pages */
.ranking-page .ranking-title-head{align-items:flex-end;gap:14px}
.ranking-filter{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(190px,1fr) minmax(130px,.7fr) auto auto;gap:10px;align-items:center;margin-bottom:16px}
.ranking-table-wrap{overflow-x:auto}
.ranking-table th,.ranking-table td{white-space:nowrap}
.ranking-table th:nth-child(2),.ranking-table td:nth-child(2){min-width:140px}
@media (max-width: 980px){
  .ranking-filter{grid-template-columns:1fr 1fr}
  .ranking-filter .filter-q,.ranking-filter .date-range-picker{grid-column:1 / -1}
  .ranking-title-head{align-items:flex-start}
}
@media (max-width: 680px){
  .ranking-filter{grid-template-columns:1fr}
  .ranking-filter .filter-q,.ranking-filter .date-range-picker{grid-column:auto}
  .ranking-title-head .ghost-btn{width:100%;justify-content:center}
}

/* login page fix */
.login-wrap{
  max-width:460px;
  margin:0 auto;
}

.login-card{
  padding:26px !important;
  overflow:visible;
}

.login-card form{
  display:block;
}

.login-card .form-stack{
  display:grid;
  gap:18px;
}

.login-card .form-stack label{
  display:grid;
  gap:8px;
  color:#0f172a;
  font-size:14px;
  font-weight:900;
}

.login-card .input{
  width:100%;
  height:46px;
}

.login-card .form-actions{
  margin-top:22px;
  display:flex;
  justify-content:flex-end;
}

.login-card .gold-btn{
  min-width:88px;
  height:42px;
}

/* slot child count badge */
.slot-title-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  line-height:1.2;
}

.slot-title-wrap strong{
  display:inline-flex !important;
  align-items:center;
}

.slot-child-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:20px;
  padding:0 8px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#3730a3;
  font-size:11px;
  font-weight:950;
  letter-spacing:-.02em;
  vertical-align:middle;
  white-space:nowrap;
}

.slot-summary-row:hover .slot-child-count{
  background:#e0e7ff;
  border-color:#a5b4fc;
}

@media(max-width:860px){
  .slot-title-wrap{
    justify-content:flex-start;
  }
}

/* slot child count badge */
.slot-title-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  line-height:1.2;
}

.slot-title-wrap strong{
  display:inline-flex !important;
  align-items:center;
}

.slot-child-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:20px;
  padding:0 8px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#3730a3;
  font-size:11px;
  font-weight:950;
  letter-spacing:-.02em;
  vertical-align:middle;
  white-space:nowrap;
}

.slot-summary-row:hover .slot-child-count{
  background:#e0e7ff;
  border-color:#a5b4fc;
}

@media(max-width:860px){
  .slot-title-wrap{
    justify-content:flex-start;
  }
}

/* dashboard recent boss slot count */
.dashboard-slot-title{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  line-height:1.15;
}

.dashboard-slot-title strong{
  font-size:15px;
  font-weight:950;
}

.dashboard-slot-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:19px;
  padding:0 8px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#3730a3;
  font-size:11px;
  font-weight:900;
  letter-spacing:-.02em;
  white-space:nowrap;
}

/* dashboard ranking table balance */
.ranking-table th,
.ranking-table td{
  white-space:nowrap;
}

@media(max-width:1200px){
  .dashboard-slot-title{
    align-items:flex-start;
  }
}

/* delete fix: keep slot count badge inline and compact */
.slot-title-wrap{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  white-space:nowrap !important;
  flex-wrap:nowrap !important;
  max-width:100%;
}
.slot-title-wrap strong,
.slot-child-count{
  white-space:nowrap !important;
  flex:0 0 auto !important;
}
.slot-child-count{
  min-width:auto !important;
  height:18px !important;
  padding:0 7px !important;
  line-height:18px !important;
}
@media(max-width:860px){
  .slot-title-wrap{justify-content:flex-start !important;}
}


/* dashboard fixes: show VC count next to slot title and keep range calendar above cards */
.dashboard-range-bar{
  overflow:visible !important;
  position:relative;
  z-index:300;
}
.dashboard-range-bar .date-range-picker{
  position:relative;
  z-index:310;
}
.dashboard-range-bar .date-range-popover{
  z-index:5000 !important;
}
.dashboard-slot-title-wrap{
  justify-content:flex-start !important;
}
.mobile-boss-title-line{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  flex-wrap:wrap;
}
.mobile-boss-title-line .mobile-boss-title{
  min-width:0;
}
.mobile-boss-title-line .slot-child-count{
  flex:0 0 auto;
}
@media(min-width:861px){
  .dashboard-range-bar.card{overflow:visible !important;}
  .dashboard-range-bar + .dashboard-layout,
  .dashboard-layout,
  .recent-boss-table-wrap{position:relative;z-index:1;}
}
