.ppt-page { --ppt-order-width: 138px; --ppt-sku-width: 218px; background: #f3f5f7; }
.ppt-topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 17px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.ppt-heading h1 { display: flex; align-items: center; gap: 9px; font-size: 21px; }
.ppt-heading h1 span { color: var(--primary); border: 1px solid #b8d8cd; background: #eef8f3; border-radius: 4px; padding: 2px 5px; font-size: 11px; font-weight: 650; }
.ppt-heading p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.ppt-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.ppt-page .button { width: auto; min-height: 32px; padding: 6px 11px; font-size: 12px; }
.ppt-main { padding: 18px 24px 24px; }
.ppt-controls { border: 1px solid var(--line); border-radius: 8px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.ppt-filters { display: flex; flex-wrap: wrap; gap: 12px; padding: 15px 16px; align-items: end; }
.ppt-filters label { min-width: 126px; gap: 6px; }
.ppt-filters input, .ppt-filters select { min-height: 34px; padding: 7px 9px; font-size: 12px; width: 100%; }
.ppt-filters #pptParticipant { max-width: 240px; }
.ppt-filters .ppt-search { flex: 1; min-width: 230px; }
.ppt-summary { display: flex; flex-wrap: wrap; gap: 8px 25px; align-items: baseline; padding: 12px 16px; border-top: 1px solid #e9edf1; background: #fafbfc; }
.ppt-summary div { display: flex; align-items: baseline; gap: 8px; }
.ppt-summary span { color: var(--muted); font-size: 12px; }
.ppt-summary strong { color: #263849; font-size: 17px; font-weight: 720; font-variant-numeric: tabular-nums; }
.ppt-table-section { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.ppt-table-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; padding: 12px 14px; font-size: 12px; }
.ppt-table-meta > p:first-child { color: #405367; }
.ppt-production-note { color: var(--muted); }
.ppt-sync-notice { padding: 9px 14px; border-top: 1px solid #eed8b3; background: #fff8eb; color: #805915; font-size: 12px; }
.ppt-scroll { overflow: auto; max-height: calc(100vh - 320px); min-height: 180px; scrollbar-gutter: stable; }
.ppt-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ppt-table { table-layout: fixed; border-collapse: separate; border-spacing: 0; width: 1318px; min-width: 100%; font-size: 12px; }
.ppt-table.ppt-has-participant { width: 1428px; }
.ppt-table th, .ppt-table td { padding: 7px 10px; vertical-align: middle; border-bottom: 1px solid #e6ebef; overflow: hidden; text-overflow: ellipsis; }
.ppt-table thead th { position: sticky; z-index: 3; top: 30px; height: 36px; white-space: nowrap; background: #f4f7f9; color: #536473; font-weight: 650; }
.ppt-table thead .ppt-group-row th { top: 0; height: 30px; padding-top: 5px; padding-bottom: 5px; color: #526478; font-size: 11px; letter-spacing: .5px; background: #eaf0f4; border-bottom: 1px solid #dce4ea; }
.ppt-table thead .ppt-group-row .ppt-production-group { color: #386553; background: #e7f1eb; }
.ppt-table thead .ppt-production-col { color: #426a56; background: #f0f7f2; }
.ppt-table .ppt-group-start { border-left: 1px solid #dce4ea; }
.ppt-table tbody tr { height: 46px; }
.ppt-table tbody td { background: #fff; }
.ppt-table tbody tr:nth-child(even) td { background: #fcfdfe; }
.ppt-table tbody tr:hover td { background: #f1f7fa; }
.ppt-table .ppt-sticky-order { position: sticky; left: 0; z-index: 1; }
.ppt-table .ppt-sticky-sku { position: sticky; left: var(--ppt-order-offset, var(--ppt-order-width)); z-index: 1; border-right: 1px solid #dce4ea; }
.ppt-table thead .ppt-sticky-order, .ppt-table thead .ppt-sticky-sku { z-index: 5; }
.ppt-table .ppt-num { text-align: right; font-variant-numeric: tabular-nums; }
.ppt-table td.ppt-order { color: #41576c; font-size: 11px; white-space: nowrap; }
.ppt-sku-code { display: block; font-weight: 700; color: #243d51; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppt-sku-name { display: block; color: var(--muted); font-size: 11px; line-height: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppt-current-process { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppt-tag { display: inline-flex; align-items: center; padding: 3px 6px; border-radius: 4px; background: #edf1f4; color: #526475; white-space: nowrap; font-size: 11px; line-height: 15px; }
.ppt-tag.success { color: #266646; background: #e8f4eb; }
.ppt-tag.info { color: #2d638d; background: #eaf2fa; }
.ppt-tag.warning { color: #885e15; background: #fbf2df; }
.ppt-tag.error { color: #a24540; background: #fcece9; }
.ppt-row-action { border: 0; background: transparent; color: #216a92; font-size: 12px; cursor: pointer; padding: 6px 3px; }
.ppt-row-action:hover { text-decoration: underline; }
.ppt-page button:focus-visible, .ppt-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ppt-row-warning { margin-left: 4px; color: #996100; font-size: 11px; }
.ppt-empty-cell { text-align: center !important; padding: 50px 16px !important; color: var(--muted); white-space: normal; }
.ppt-empty-cell p { margin: 0 0 12px; }
.ppt-pagination { min-height: 49px; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 7px; padding: 10px 14px; background: #fafbfc; border-top: 1px solid var(--line); }
.ppt-pagination-meta { margin-right: auto; font-size: 12px; color: var(--muted); }
.ppt-pagination .button { padding: 4px 9px; min-width: 30px; min-height: 29px; }
.ppt-pagination .button[aria-current="page"] { border-color: var(--primary); color: #fff; background: var(--primary); }
.ppt-drawer { margin: 0 0 0 auto; border: 0; border-left: 1px solid #d5dee5; padding: 0; width: min(900px, 92vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: #f7f9fb; color: var(--text); box-shadow: -10px 0 35px #2334471a; }
.ppt-drawer::backdrop { background: #14263859; }
.ppt-drawer[open] { display: flex; flex-direction: column; }
.ppt-drawer-head { flex-shrink: 0; display: flex; justify-content: space-between; align-items: start; gap: 15px; padding: 19px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.ppt-drawer-head p { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.ppt-drawer-head h2 { font-size: 18px; overflow-wrap: anywhere; }
.ppt-drawer-content { padding: 18px 20px 30px; overflow: auto; }
.ppt-detail-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.ppt-detail-overview span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.ppt-detail-overview strong { font-size: 14px; overflow-wrap: anywhere; }
.ppt-detail-section { margin-top: 22px; }
.ppt-detail-section h3 { display: flex; align-items: baseline; gap: 9px; font-size: 14px; margin-bottom: 9px; }
.ppt-detail-section h3 small { font-size: 11px; color: var(--muted); font-weight: 400; }
.ppt-detail-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.ppt-detail-table { border-collapse: collapse; table-layout: auto; font-size: 12px; width: 100%; }
.ppt-detail-table th { position: static; background: #eef3f6; font-size: 11px; color: #586a78; white-space: nowrap; }
.ppt-detail-table td, .ppt-detail-table th { vertical-align: top; padding: 9px 10px; overflow-wrap: anywhere; }
.ppt-detail-table tr:last-child td { border-bottom: 0; }
.ppt-detail-table .ppt-num { text-align: right; font-variant-numeric: tabular-nums; }
.ppt-detail-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 9px; }
.ppt-detail-empty { color: var(--muted); font-size: 12px; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 16px; }
.ppt-detail-alert { margin-top: 10px; padding: 10px 12px; color: #885e15; background: #fff5e4; border-radius: 5px; font-size: 12px; line-height: 1.65; }
.ppt-nowrap { white-space: nowrap; }
.ppt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
@media (min-width: 1600px) { .ppt-scroll { max-height: calc(100vh - 290px); } }
@media (max-width: 800px) {
  .ppt-topbar { padding: 14px; }
  .ppt-heading h1 { font-size: 19px; }
  .ppt-main { padding: 12px; }
  .ppt-filters { gap: 10px; padding: 12px; }
  .ppt-filters label { flex: 1 1 140px; min-width: 0; }
  .ppt-filters .ppt-search { min-width: 210px; }
  .ppt-filters #pptParticipant { max-width: 100%; }
  .ppt-summary { gap: 8px 18px; padding: 11px 12px; }
  .ppt-summary strong { font-size: 15px; }
  .ppt-table-meta { padding: 10px 12px; line-height: 1.6; }
  .ppt-scroll { max-height: 65vh; }
  .ppt-pagination-meta { flex: 1 0 100%; margin-bottom: 3px; }
  .ppt-drawer { width: 100vw; }
  .ppt-drawer-head, .ppt-drawer-content { padding: 15px; }
  .ppt-detail-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ppt-page { --ppt-order-width: 106px; --ppt-sku-width: 154px; }
  .ppt-table { width: 1222px; }
  .ppt-table.ppt-has-participant { width: 1332px; }
  .ppt-table td, .ppt-table th { padding-left: 7px; padding-right: 7px; }
}
