.ptk-board,.ptk-body,.ptk-body form{display:grid;gap:14px;min-width:0;overflow-wrap:anywhere}
.ptk-board{background:white;padding:18px;border-radius:15px;border:1px solid var(--line)}
.ptk-board>*,.ptk-body>*,.ptk-body form>*{min-width:0;margin:0}
.ptk-board h2,.ptk-dialog h2{font-size:1.16rem;margin:0}
.ptk-tools,.ptk-dialog header{display:flex;align-items:center;gap:8px}
.ptk-tools input,.ptk-tools select,.ptk-body input:not([type=checkbox]){width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px}
.ptk-tools select{width:auto}
.ptk-board .ptk-row,.ptk-dialog .ptk-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;
  font-size:.94rem;text-align:left;width:100%;overflow-wrap:anywhere;line-height:1.45;
  border-radius:0;border:0;border-top:1px solid var(--line);padding:14px 0
}
.ptk-row .office-icon,.ptk-dialog button .office-icon{height:18px;width:18px}
.ptk-badge{font-size:.8rem;font-weight:650;color:#16594d;background:#edf6f3;padding:4px 7px;border-radius:7px}
.ptk-badge.late,.ptk-warn{background:#fff1ec;color:#95331e}
.ptk-badge.wait{background:#fff4db;color:#76500e}
.ptk-dialog small,.ptk-row small{display:block;font-size:.84rem;color:var(--muted);font-weight:500}
.ptk-board button,.ptk-dialog button{min-height:44px;justify-content:center}
.ptk-dialog{width:min(520px,calc(100vw - 20px));max-width:100%;max-height:90dvh;overflow:auto;
  overscroll-behavior:contain;border:0;padding:0;border-radius:16px;background:white;color:var(--ink)}
.ptk-dialog::backdrop{background:#201d19aa}
.ptk-dialog header{justify-content:space-between;padding:10px 16px;background:#faf8f2;position:sticky;top:0;z-index:1}
.ptk-dialog header button{height:44px;width:44px;padding:8px}
.ptk-body{padding:16px}
.ptk-body label{display:grid;gap:5px;font-size:.9rem;font-weight:600}
.ptk-body [hidden],.ptk-board [hidden],.ptk-dialog [role=alert]:empty{display:none!important}
.ptk-body .ptk-warn{display:flex;align-items:center;gap:11px;padding:10px;border-radius:10px}
.ptk-body .ptk-warn input{width:20px;flex:none}
.ptk-dialog [role=alert],.ptk-board [role=alert]{color:#95331e}
.ptk-body [data-zero]{color:#95331e}
.ptk-body [data-print]{justify-self:start}
.ptk-body summary{cursor:pointer}
@media(max-width:560px){
  .ptk-tools{flex-direction:column;align-items:stretch}
  .ptk-board,.ptk-body{padding:14px}
  .ptk-board .ptk-row,.ptk-dialog .ptk-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}
  .ptk-row .ptk-badge{grid-column:1;justify-self:start}
  .ptk-row .office-icon{grid-column:2;grid-row:1 / 3}
}
