/* 자동화 상태 — 흰 바탕(#FFFFFF) & 가는 구분선. 공통 어휘는 maker-tools.css에 두고, 여기에는 이 탭에만 쓰는 규칙만 둔다.
   인라인 style 없음(CSP). */

/* 알림 줄 두 개(알림 · 일부만 확인)가 계기판 바로 아래 붙는다 */
:root .synk-workspace .mt .ah-panel .ah-notices{display:grid;gap:6px;margin:-10px 0 22px}
:root .synk-workspace .mt .ah-panel .ah-notices .mt-notice{margin:0}

/* 01 조치할 문제 · 02 사람 차례 */
:root .synk-workspace .mt .ah-panel .mt-job-meta>span[aria-hidden]{color:var(--mt-ink-4,#6B6B6E)}
:root .synk-workspace .mt .ah-panel .mt-job-top .mt-badge{margin-top:1px}
:root .synk-workspace .mt .ah-panel .mt-block>.mt-empty{padding:12px 2px 4px}
:root .synk-workspace .mt .ah-panel .ah-rows>.mt-issue:last-child{border-bottom:0}
:root .synk-workspace .mt .ah-panel .mt-issue>.mt-link{align-self:center}
:root .synk-workspace .mt .ah-panel .mt-issue :is(strong,p){word-break:keep-all;overflow-wrap:anywhere}
:root .synk-workspace .mt .ah-panel .ah-more{margin-top:10px}
:root .synk-workspace .mt .ah-panel .ah-more>summary{font-size:13.5px}
:root .synk-workspace .mt .ah-panel .ah-more[open]>.ah-more-body{padding-top:8px}
:root .synk-workspace .mt .ah-panel .ah-more-body>.mt-job+.mt-job,:root .synk-workspace .mt .ah-panel .ah-more-body>.mt-job:first-child{margin-top:10px}
:root .synk-workspace .mt .ah-panel .ah-more-body h4{margin:12px 2px 2px;font-size:13px;font-weight:var(--w-label);color:var(--mt-ink-3,#6B6B6E)}

/* 프로젝트별 먼저 할 일(판 아래 전폭 — 표 위) */
:root .synk-workspace .mt .ah-panel .ah-project{padding:12px 0 6px;border-top:1px solid var(--mt-line,rgba(11,11,12,.08))}
:root .synk-workspace .mt .ah-panel .ah-project:first-of-type{border-top:0;padding-top:4px}
:root .synk-workspace .mt .ah-panel .ah-project-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
:root .synk-workspace .mt .ah-panel .ah-project-head h3{min-width:0;font-size:15.5px;line-height:1.4;font-weight:var(--w-title);letter-spacing:-.015em;color:var(--mt-ink,#0B0B0C)}
:root .synk-workspace .mt .ah-panel .ah-project-reason{margin-top:3px;font-size:13.5px;line-height:1.55;color:var(--mt-ink-3,#6B6B6E)}
:root .synk-workspace .mt .ah-panel .ah-project .ah-rows{margin-top:4px}

/* 자동화 n개 — 머리줄 있는 한 줄 표(열 여섯은 늘 그대로, 좁으면 폭만 0으로 접는다) */
:root .synk-workspace .mt .ah-panel .ah-table .ah-c-led{width:34px;padding-right:0}
:root .synk-workspace .mt .ah-panel .ah-table .ah-c-name{width:24%}
:root .synk-workspace .mt .ah-panel .ah-table .ah-c-when{width:118px;white-space:nowrap}
:root .synk-workspace .mt .ah-panel .ah-table .ah-c-last{width:25%}
:root .synk-workspace .mt .ah-panel .ah-table .ah-c-next{width:122px;white-space:nowrap}
:root .synk-workspace .mt .ah-panel .ah-table td{vertical-align:top;overflow-wrap:anywhere}
:root .synk-workspace .mt .ah-panel .ah-table :is(td,th).ah-c-name,:root .synk-workspace .mt .ah-panel .ah-table td.ah-c-last{word-break:keep-all}
:root .synk-workspace .mt .ah-panel .ah-table td.ah-c-led .mt-led{margin-top:6px}
:root .synk-workspace .mt .ah-panel .ah-table .mt-group-row th{padding-top:18px}
:root .synk-workspace .mt .ah-panel .ah-table tbody:first-of-type .mt-group-row th{padding-top:12px}
:root .synk-workspace .mt .ah-panel .ah-row{cursor:pointer}
:root .synk-workspace .mt .ah-panel .ah-name{display:inline-flex;align-items:flex-start;gap:6px;max-width:100%;padding:0;border:0;background:none;font:var(--w-strong) 14.5px/1.4 var(--mt-sans);letter-spacing:-.01em;color:var(--mt-ink,#0B0B0C);text-align:left;cursor:pointer}
:root .synk-workspace .mt .ah-panel .ah-name::after{content:'';flex:none;width:12px;height:12px;margin-top:4px;background:var(--mt-chev) center/12px no-repeat;opacity:.65;transform:rotate(90deg);transition:transform .15s}
:root .synk-workspace .mt .ah-panel .ah-row.is-open .ah-name::after{transform:rotate(-90deg)}
:root .synk-workspace .mt .ah-panel .ah-c-what>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.5;color:var(--mt-ink-3,#6B6B6E)}
:root .synk-workspace .mt .ah-panel .ah-table :is(td.ah-c-when,td.ah-c-last,td.ah-c-next){font-size:13.5px;line-height:1.5;color:var(--mt-ink-2,#46464A)}
:root .synk-workspace .mt .ah-panel .ah-row.is-open>td{background:var(--mt-paper-2,#F6F6F7);border-bottom-color:transparent}

/* 줄 펼침: 사실 4칸 + 하는 일 · 하지 않는 일 */
:root .synk-workspace .mt .ah-panel .ah-detail>td{padding:2px 14px 18px 46px;background:var(--mt-paper-2,#F6F6F7)}
:root .synk-workspace .mt .ah-panel .ah-table tbody tr.ah-detail:hover>td{background:var(--mt-paper-2,#F6F6F7)}
:root .synk-workspace .mt .ah-panel .ah-detail .mt-facts{margin:0 0 8px;background:#FFFFFF;border-radius:8px;border:1px solid var(--mt-line,rgba(11,11,12,.08))}
:root .synk-workspace .mt .ah-panel .ah-detail .mt-facts>div:first-child{padding-left:14px}
:root .synk-workspace .mt .ah-panel .ah-detail .mt-facts dd{font-size:15px}
:root .synk-workspace .mt .ah-panel .ah-what{margin:10px 0 8px}
:root .synk-workspace .mt .ah-panel .ah-what h4{font-size:13px;font-weight:var(--w-label);color:var(--mt-ink-3,#6B6B6E)}
:root .synk-workspace .mt .ah-panel .ah-what p{margin-top:3px;max-width:72ch;font-size:14px;line-height:1.6;color:var(--mt-ink-2,#46464A)}

/* 이상 없는 것 접기 — 접힌 줄은 같은 표 안 숨긴 묶음(#ah-folded), 표 아래 막대가 연다 */
:root .synk-workspace .mt .ah-panel .ah-fold>summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root .synk-workspace .mt .ah-panel .ah-fold>summary>.ah-fold-open,:root .synk-workspace .mt .ah-panel .ah-fold[open]>summary>.ah-fold-closed{display:none}
:root .synk-workspace .mt .ah-panel .ah-fold[open]>summary>.ah-fold-open{display:inline}
:root .synk-workspace .mt .ah-panel .ah-foot{display:grid;gap:4px;margin-top:4px;padding-top:16px;border-top:1px solid var(--mt-line,rgba(11,11,12,.08))}

/* 좁을 때 열을 지우지 않고 폭 0으로 접는다(묶음 줄 · 펼침 줄 colspan과 열 수가 늘 같게) */
@container mt (max-width:860px){
  :root .synk-workspace .mt .ah-panel .ah-table :is(th,td).ah-x-md{width:0!important;max-width:0;padding:0!important;border-bottom-width:0;font-size:0!important;line-height:0!important;white-space:nowrap!important;overflow:hidden;visibility:hidden}
  :root .synk-workspace .mt .ah-panel .ah-table :is(th,td).ah-x-md>*{display:none}
  :root .synk-workspace .mt .ah-panel .ah-table .ah-c-name{width:34%}
  :root .synk-workspace .mt .ah-panel .ah-table .ah-c-last{width:auto}
}
@container mt (max-width:700px){
  :root .synk-workspace .mt .ah-panel .mt-job-top{flex-direction:row;align-items:flex-start;gap:10px}
  :root .synk-workspace .mt .ah-panel .ah-notices{margin:-6px 0 18px}
  :root .synk-workspace .mt .ah-panel .ah-table :is(th,td).ah-x-sm{width:0!important;max-width:0;padding:0!important;border-bottom-width:0;font-size:0!important;line-height:0!important;white-space:nowrap!important;overflow:hidden;visibility:hidden}
  :root .synk-workspace .mt .ah-panel .ah-table :is(th,td).ah-x-sm>*{display:none}
  :root .synk-workspace .mt .ah-panel .ah-table .ah-c-led{width:24px}
  :root .synk-workspace .mt .ah-panel .ah-table .ah-c-name{width:48%}
  :root .synk-workspace .mt .ah-panel .ah-detail>td{padding:2px 8px 16px}
  :root .synk-workspace .mt .ah-panel .ah-detail .mt-facts>div:nth-child(odd){padding-left:12px}
}
:root .synk-workspace .mt .ah-inquiries .mt-issue{border-bottom:0}
:root .synk-workspace .mt .ah-inquiries .mt-facts{margin:10px 0 0}
:root .synk-workspace .mt .ah-inquiries .mt-note{margin-top:-4px}
