/* Approvals, client side. The cards inside the stage are the Hub's own
   preview cards and style themselves; everything here is the frame. */

.ap-grid{display:flex;flex-wrap:wrap;gap:20px}
.ap-card{flex:0 0 348px;max-width:100%;background:#fff;border:1px solid #e4e4e9;border-radius:12px;display:flex;flex-direction:column;overflow:hidden}

.ap-tabs{display:flex;align-items:stretch;border-bottom:1px solid #e4e4e9;padding:0 6px}
.ap-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 0 11px;font-family:inherit;font-size:11.5px;font-weight:600;color:#6b6b78;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer}
.ap-tab.on{font-weight:700;color:#16161d;border-bottom-color:#d1003f}
.ap-tdot{width:8px;height:8px;border-radius:50%}

.ap-when{padding:9px 14px 0;font-size:11px;color:#6b6b78}
.ap-stage{flex:1;background:#f7f7f9;margin:10px 0 0;padding:14px 0;display:flex;justify-content:center;border-top:1px solid #ececf0}

.ap-foot{border-top:1px solid #e4e4e9;padding:12px 13px}
.ap-foot-row{display:flex;gap:9px}
.ap-foot-note{display:flex;flex-direction:column;gap:9px}
.ap-note-lbl{font-size:11px;font-weight:700;letter-spacing:.05em;color:#51515c}
.ap-note{font-family:inherit;font-size:12.5px;line-height:1.45;color:#16161d;border:1px solid #e4e4e9;border-radius:8px;padding:9px 10px;resize:vertical;box-sizing:border-box;width:100%}

.ap-btn{flex:1;font-family:inherit;font-size:12.5px;font-weight:600;border-radius:8px;padding:11px 0;cursor:pointer;min-height:44px}
.ap-btn-ok{color:#fff;background:#1f7a3d;border:1px solid #1f7a3d}
.ap-btn-p{color:#fff;background:#d1003f;border:1px solid #d1003f}
.ap-btn-g{color:#16161d;background:#fff;border:1px solid #e4e4e9}

.ap-decided{margin-top:22px;background:#fff;border:1px solid #e4e4e9;border-radius:12px;padding:14px 16px}
.ap-decided-h{font-size:11px;font-weight:700;letter-spacing:.06em;color:#51515c;margin-bottom:12px}
.ap-dec-row{display:flex;gap:9px;align-items:flex-start;padding:7px 0}
.ap-dot{width:7px;height:7px;border-radius:50%;margin-top:6px;flex-shrink:0}
.ap-dec-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.ap-dec-txt{font-size:12.5px;line-height:1.4;color:#16161d}
.ap-dec-meta{font-size:11px;color:#6b6b78}

@media(max-width:768px){
  .ap-grid{gap:16px}
  .ap-card{flex:1 1 100%}
}
