.approval-identity{display:grid;grid-template-columns:1fr 2fr 1fr;gap:16px;align-items:center;margin-bottom:14px}.approval-identity small{display:block;color:#667080;font-size:12px}.approval-identity>.link{text-align:left;font-size:20px;font-weight:700}.queue-pdf{width:100%;height:70dvh;border:0}.queue-swipe{position:relative;overflow:hidden;touch-action:pan-y}.queue-row-body{position:relative;background:var(--paper,#fff);transition:transform .18s ease;z-index:1}.queue-swipe-delete{position:absolute;right:0;top:0;bottom:0;width:88px;border:0;background:#c93035;color:white;font-weight:700;visibility:hidden;cursor:pointer}.queue-swipe.swipe-open>.queue-row-body{transform:translateX(-88px)}.queue-swipe.swipe-open .queue-swipe-delete{visibility:visible}.queue-swipe:focus-visible{outline:2px solid #2952a3;outline-offset:2px}tr.queue-swipe.swipe-open td:last-child{padding-right:96px}.queue-approval-estimates .myq-records{list-style:none;padding:0}@media(max-width:600px){.approval-identity{grid-template-columns:1fr 1fr;gap:10px}.approval-identity>.link{grid-column:1/-1}.estimate-approval-row .actions{flex-wrap:wrap}.estimate-approval-row .actions button{min-height:44px}.queue-pdf{height:65dvh}}@media(prefers-reduced-motion:reduce){.queue-row-body{transition:none}}

/* Compact queue identity; actions retain full touch targets. */
.estimate-approval-row .approval-identity{grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;margin-bottom:10px}
.estimate-approval-row .approval-identity>.link{grid-column:1;grid-row:1;min-height:36px;display:flex;align-items:center;font-size:18px}
.estimate-approval-row .approval-unit{grid-column:1;grid-row:2;font-size:13px;overflow-wrap:anywhere}
.estimate-approval-row .approval-owner{grid-column:2;grid-row:1/3;font-size:12px;color:#766f7b;max-width:130px;overflow-wrap:anywhere}
.estimate-approval-row .actions{display:flex;gap:6px;flex-wrap:nowrap;margin-top:0}
.estimate-approval-row .actions button{min-height:44px;min-width:44px;padding:8px 10px;font-size:13px}
.estimate-approval-row .actions button[data-review-decision]{flex:1}
.estimate-approval-row .actions button[data-queue-delete]{color:#ad303b;background:transparent;border-color:transparent}
@media(max-width:600px){.estimate-approval-row{padding:12px!important}.estimate-approval-row .approval-identity{grid-template-columns:minmax(0,1fr) auto;gap:3px 10px}.estimate-approval-row .approval-identity>.link{grid-column:1}.estimate-approval-row .approval-owner{max-width:100px}.estimate-approval-row .actions{flex-wrap:nowrap}}

/* Keep the full submitted document reachable without an embedded PDF viewer. */
.queue-submitted-document{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* The entire queue row opens its primary record; controls keep their own actions. */
[data-myq-record],tr.queue-swipe{cursor:pointer}
[data-myq-record] :is(input,select,textarea),tr.queue-swipe :is(input,select,textarea){cursor:auto}
