/* Mobile approvals B — shared Hub palette; no desktop selectors. */
html:root body #s-approvals{background:var(--os-layer-bg);color:var(--os-layer-ink);font-family:Manrope,system-ui,sans-serif}
html:root body #s-approvals *{box-sizing:border-box}
html:root body #s-approvals .topbar{background:var(--os-layer-bg);border:0;padding:20px 18px 8px;min-height:66px;gap:12px}
html:root body #s-approvals .tb-logo{display:none}
html:root body #s-approvals .tb-title{font:600 1.5rem Manrope,system-ui,sans-serif;letter-spacing:-.6px;color:var(--os-layer-ink)}
html:root body #s-approvals .tb-action{width:44px;height:44px;border-radius:50%;background:var(--os-layer-surface);border:1px solid var(--os-layer-line);color:var(--os-layer-ink);box-shadow:none}
html:root body #s-approvals .tb-action svg{color:var(--os-layer-ink);stroke:currentColor}
html:root body #s-approvals .approvals-content-m{padding:0 14px calc(110px + var(--sab));max-width:600px;margin:auto;background:var(--os-layer-bg)}
html:root body #s-approvals button,html:root body #s-approvals input,html:root body #s-approvals select{font-family:inherit}
html:root body #s-approvals :is(button,input,select):focus-visible{outline:3px solid var(--os-layer-accent);outline-offset:2px}
html:root body #s-approvals button:active{filter:brightness(.92)}
html:root body #s-approvals button:disabled{opacity:.5;cursor:not-allowed}
html:root body #s-approvals .ap-count-m{color:var(--os-layer-muted);font-size:.75rem;margin:0 4px 14px}
html:root body #s-approvals .ap-tabs-m{display:flex;gap:4px;padding:4px;border-radius:15px;background:var(--os-layer-line);margin-bottom:10px}
html:root body #s-approvals .ap-tabs-m button{flex:1;border:0;min-height:44px;border-radius:12px;background:transparent;color:var(--os-layer-muted);font-size:.75rem;padding:8px}
html:root body #s-approvals .ap-tabs-m button[aria-pressed=true]{background:var(--os-layer-surface);color:var(--os-layer-accent)}
html:root body #s-approvals .ap-search-m{display:flex;gap:8px;margin-bottom:16px}
html:root body #s-approvals .ap-search-m input{flex:1;min-width:0;width:0;background:var(--os-layer-surface);color:var(--os-layer-ink);border:1px solid var(--os-layer-line);border-radius:14px;padding:10px 12px;min-height:44px;font-size:.8125rem}
html:root body #s-approvals .ap-search-m button{min-height:44px;border:1px solid var(--os-layer-line);border-radius:14px;padding:10px 12px;background:var(--os-layer-surface);color:var(--os-layer-ink);font-size:.8125rem}
html:root body #s-approvals .ap-search-m button.is-active{background:var(--os-layer-tint);color:var(--os-layer-accent)}
html:root body #s-approvals #apFiltersM{padding:14px;border:1px solid var(--os-layer-line);border-radius:16px;margin-bottom:16px;background:var(--os-layer-surface)}
html:root body #s-approvals #apFiltersM label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.8125rem}
html:root body #s-approvals #apFiltersM select{flex:1;min-width:0;min-height:44px;border:1px solid var(--os-layer-line);border-radius:12px;background:var(--os-layer-bg);color:var(--os-layer-ink)}
html:root body #s-approvals .ap-notice-m,html:root body #s-approvals .ap-history-info-m{font-size:.8125rem;line-height:1.5;color:var(--os-layer-muted);padding:12px;border-radius:14px;background:var(--os-layer-tint)}
html:root body #s-approvals .ap-card-m{display:block;padding:0;margin:0 0 14px;border:1px solid var(--os-layer-line);border-radius:22px;overflow:hidden;background:var(--os-layer-surface);box-shadow:none;content-visibility:visible;contain:none}
html:root body #s-approvals .ap-card-head-m{position:relative;isolation:isolate;padding:16px 16px 14px;overflow:hidden}
html:root body #s-approvals .ap-veil-m{position:absolute;inset:0 0 0 auto;width:62%;height:100%;z-index:-1;opacity:.65;mask-image:linear-gradient(90deg,transparent,#000);-webkit-mask-image:linear-gradient(90deg,transparent,#000)}
html:root body #s-approvals .ap-veil-m img{width:100%;height:100%;object-fit:cover;filter:blur(.8px)}
html:root body #s-approvals .ap-meta-m{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.6875rem;color:var(--os-layer-accent);margin-bottom:10px}
html:root body #s-approvals .ap-status-m{padding:4px 7px;border-radius:7px;background:var(--os-layer-tint);color:var(--os-layer-accent)}
html:root body #s-approvals .ap-status-m.critical{background:var(--os-layer-red-bg);color:var(--os-layer-red)}
html:root body #s-approvals .ap-card-head-m h3{font-size:1.0625rem;line-height:1.4;letter-spacing:-.3px;font-weight:600;color:var(--os-layer-ink);margin:0 0 8px;overflow-wrap:anywhere;background:transparent}
html:root body #s-approvals .ap-card-head-m p{font-size:.75rem;color:var(--os-layer-muted);margin:0;line-height:1.5}
html:root body #s-approvals .ap-photos-m{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html:root body #s-approvals .ap-photos-m button{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid var(--os-layer-line);border-radius:14px;background:color-mix(in srgb,var(--os-layer-surface) 76%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:var(--os-layer-ink);font-size:.6875rem}
html:root body #s-approvals .ap-photos-m svg{width:18px;height:18px}
html:root body #s-approvals .ap-person-m{display:flex;align-items:center;gap:9px;padding:12px 16px}
html:root body #s-approvals .ap-avatar-m{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%;background:var(--os-layer-tint);color:var(--os-layer-accent);font-size:11px}
html:root body #s-approvals .ap-avatar-m img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html:root body #s-approvals .ap-person-m>div{min-width:0;flex:1}
html:root body #s-approvals .ap-person-m strong{display:block;font-size:.75rem;font-weight:600;overflow-wrap:anywhere}
html:root body #s-approvals .ap-person-m small{display:block;font-size:.6875rem;color:var(--os-layer-muted);line-height:1.5;margin-top:3px}
html:root body #s-approvals .ap-note-m{margin:0 16px;padding:14px 0;border-top:1px solid var(--os-layer-line)}
html:root body #s-approvals .ap-note-m small{display:block;font-size:.6875rem;color:var(--os-layer-muted);margin-bottom:5px}
html:root body #s-approvals .ap-note-m p{font-size:.8125rem;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
html:root body #s-approvals .ap-actions-m{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px}
html:root body #s-approvals .ap-actions-m button{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--os-layer-line);border-radius:14px;background:var(--os-layer-surface);color:var(--os-layer-ink);padding:10px;font-size:.8125rem}
html:root body #s-approvals .ap-actions-m .ap-primary-m{background:#d6ae73;color:#302418;border-color:transparent}
html:root body #s-approvals .ap-actions-m svg{width:18px;height:18px}
html:root body #s-approvals .ap-actions-m .ap-context-m{flex:0 0 100%;border:0;background:transparent;color:var(--os-layer-muted)}
html:root body #s-approvals .ap-history-m{padding:0 16px 16px;font-size:.8125rem;color:var(--os-layer-ink)}
@media(prefers-reduced-transparency:reduce){html:root body #s-approvals .ap-photos-m button{background:var(--os-layer-surface);backdrop-filter:none}}
html:root body #osResolvePanel:has(#approvalDecisionNoteM){font-family:Manrope,system-ui,sans-serif;background:var(--os-layer-surface);color:var(--os-layer-ink);border-radius:28px 28px 0 0}
html:root body #osResolvePanel:has(#approvalDecisionNoteM) :is(textarea,button){font-family:inherit;border-radius:14px;min-height:44px}
html:root body #osResolvePanel #approvalDecisionNoteM{background:var(--os-layer-bg);color:var(--os-layer-ink);border-color:var(--os-layer-line);font-size:1rem}
