/* V44: scoped approval inbox. Existing navigation, intro and native shell are unchanged. */
#builtReviewApprovals{box-sizing:border-box;position:fixed;inset:0;width:min(900px,calc(100vw - 40px));max-width:100vw;height:min(900px,calc(100dvh - 40px));max-height:100dvh;margin:auto;padding:0;border:1px solid #37373c;border-radius:22px;background:#101012;color:#f5f5f7;overflow:hidden;font-family:Inter,Arial,sans-serif;box-shadow:0 24px 80px #0008}
#builtReviewApprovals[open]{display:flex;flex-direction:column}
#builtReviewApprovals::backdrop{background:#000b;backdrop-filter:blur(6px)}
#builtReviewApprovals *{box-sizing:border-box;min-width:0}
#builtReviewApprovals .ra-header{display:flex;align-items:center;gap:14px;flex:none;padding:22px 24px;border-bottom:1px solid #2c2c30}
#builtReviewApprovals .ra-header>div{flex:1}
#builtReviewApprovals .ra-header>div>span{color:#ff8d42;font-size:10px;font-weight:800;letter-spacing:1.6px}
#builtReviewApprovals h1{font-size:24px;line-height:1.2;margin:5px 0 0;font-weight:750}
#builtReviewApprovals h2{font-size:18px;line-height:1.3;margin:0 0 12px}
#builtReviewApprovals h3{font-size:15px;margin:0;line-height:1.4}
#builtReviewApprovals p{line-height:1.6;font-size:14px;color:#c9c9d0;overflow-wrap:anywhere}
#builtReviewApprovals .ra-scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding:0 28px 28px}
#builtReviewApprovals button,.ra-entry,.ra-alert button{font-family:inherit;font-size:14px;line-height:1.35;min-height:44px;padding:11px 16px;border:1px solid #404048;border-radius:12px;color:#f7f7f8;background:#232327;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
#builtReviewApprovals button:focus-visible,.ra-entry:focus-visible,.ra-alert button:focus-visible{outline:2px solid #ff9d5e;outline-offset:3px}
#builtReviewApprovals button:disabled{opacity:.45;cursor:default}
#builtReviewApprovals .ra-header>button{font-size:24px;padding:5px;min-width:44px;background:transparent;border:0}
#builtReviewApprovals .ra-toolbar{display:flex;justify-content:flex-end;margin:16px 0}
#builtReviewApprovals .ra-toolbar button{font-size:12px;padding:8px 14px}
#builtReviewApprovals .ra-intro{margin:0 0 20px}
#builtReviewApprovals .ra-tabs{display:flex;gap:8px;margin-bottom:18px}
#builtReviewApprovals .ra-tabs button[aria-pressed=true]{border-color:#ff8d42;color:#ffae78;background:#302014}
#builtReviewApprovals .ra-list{display:grid;gap:10px}
#builtReviewApprovals .ra-row{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:18px;text-align:left;background:#19191d;border-color:#303036}
#builtReviewApprovals .ra-row strong,#builtReviewApprovals .ra-row-status,#builtReviewApprovals .ra-row small{display:block}
#builtReviewApprovals .ra-row-status{font-size:13px;color:#ffaf77;margin:7px 0}
#builtReviewApprovals small{font-size:12px;color:#aaaab4;line-height:1.5}
#builtReviewApprovals .ra-row>span:last-child{font-size:25px;color:#aaaab4}
#builtReviewApprovals .ra-empty{border:1px dashed #414149;border-radius:16px;padding:35px 22px;margin:12px 0;text-align:center}
#builtReviewApprovals .ra-tag{display:inline-block;background:#29292f;color:#cfcfd6;border:1px solid #404047;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:650;line-height:1.4}
#builtReviewApprovals .ra-status-pending{color:#ffae78;border-color:#80502e;background:#2d2018}
#builtReviewApprovals .ra-status-approved{color:#a3dfba;border-color:#355c43;background:#1a2b20}
#builtReviewApprovals .ra-detail-heading{margin:0 0 22px}
#builtReviewApprovals .ra-detail-heading h2{font-size:24px;margin:14px 0 5px}
#builtReviewApprovals .ra-detail-heading p{margin:0;font-size:12px}
#builtReviewApprovals .ra-reason{padding:18px 20px;background:#1c1c21;border:1px solid #313138;border-radius:14px;margin:18px 0}
#builtReviewApprovals .ra-consequence{padding:20px;border:1px solid #8c5333;border-radius:14px;background:#2b1e18;margin:20px 0 26px}
#builtReviewApprovals .ra-consequence h2{color:#ffb88c}
#builtReviewApprovals .ra-consequence p:last-child,#builtReviewApprovals .ra-reason p:last-child{margin-bottom:0}
#builtReviewApprovals .ra-version{margin:14px 0 18px;padding:20px;border:1px solid #34343c;border-radius:15px;background:#17171b}
#builtReviewApprovals .ra-version-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#builtReviewApprovals .ra-body{white-space:pre-wrap;overflow-wrap:anywhere}
#builtReviewApprovals .ra-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;margin:20px 0}
#builtReviewApprovals .ra-scores dt{font-size:11px;color:#aaaab5;margin-bottom:5px}
#builtReviewApprovals .ra-scores dd{font-size:14px;margin:0;color:#f6f6fa;font-weight:650}
#builtReviewApprovals .ra-response{border-left:2px solid #f08238;padding:12px 14px;margin-top:14px;background:#202024;border-radius:0 9px 9px 0}
#builtReviewApprovals .ra-response strong{font-size:12px;color:#ffb987}
#builtReviewApprovals .ra-response p{margin:9px 0}
#builtReviewApprovals .ra-resulting{padding-top:12px}
#builtReviewApprovals .ra-resulting>.ra-version{border-color:#40674e}
#builtReviewApprovals .ra-decision{padding:20px 0 6px;border-top:1px solid #393941;margin-top:26px}
#builtReviewApprovals .ra-ack{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;cursor:pointer}
#builtReviewApprovals input[type=checkbox]{appearance:auto;width:22px;height:22px;min-width:22px;accent-color:#ff8d42;margin:0}
#builtReviewApprovals .ra-small{font-size:12px;color:#ababba}
#builtReviewApprovals .ra-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 12px}
#builtReviewApprovals .ra-danger{background:#ee7932;border-color:#ee7932;color:#17100b;font-weight:750}
#builtReviewApprovals .ra-error{color:#ffc1b4;background:#341e1d;border:1px solid #794337;border-radius:12px;padding:16px}
#builtReviewApprovals .ra-note{background:#1e2720;border:1px solid #3b5441;border-radius:12px;padding:16px;color:#c6decf}
#builtReviewApprovals .ra-photos{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
#builtReviewApprovals .ra-photo{width:120px;height:110px;padding:0;overflow:hidden;font-size:12px}
#builtReviewApprovals .ra-photo img{display:block;width:100%;height:100%;object-fit:cover}
#builtReviewApprovals .ra-photo-expanded{width:100%;height:auto;min-height:110px;max-height:none}
#builtReviewApprovals .ra-photo-expanded img{height:auto;max-height:600px;object-fit:contain}
.ra-entry{display:flex;align-items:center;gap:13px;text-align:left;max-width:100%;margin-top:12px}
.ra-entry>span{min-width:0}.ra-entry>span:nth-child(2){flex:1}.ra-entry strong,.ra-entry small{display:block}.ra-entry strong{font-size:14px}.ra-entry small{font-size:12px;color:#b7b7c0;margin-top:4px}.ra-entry-icon{font-size:20px;color:#ff9a55}
.ra-entry-count,.ra-count-badge{background:#ff8d42;color:#17100b;border-radius:999px;font-size:10px;font-weight:800;line-height:1;padding:5px 7px;min-width:22px;text-align:center}
.ra-count-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;flex:none}
.ra-entry-count[hidden]{display:none}
.p4-menu .ra-entry{width:100%;margin:0;padding:16px 0;border:0;border-radius:0;background:transparent}
.ra-alert{padding:18px;margin:12px;border:1px solid #67462e;border-radius:14px;background:#251d17;color:#f4e1d4}.ra-alert strong{font-size:14px}.ra-alert p{font-size:12px;color:#cbbbad;line-height:1.5}.ra-alert button{font-size:12px;width:100%}
@media(max-width:600px){#builtReviewApprovals{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding-top:env(safe-area-inset-top)}#builtReviewApprovals .ra-header{padding:16px 12px;gap:7px}#builtReviewApprovals h1{font-size:20px}#builtReviewApprovals .ra-scroll{padding:0 18px calc(24px + env(safe-area-inset-bottom))}#builtReviewApprovals .ra-version{padding:16px}#builtReviewApprovals .ra-reason,#builtReviewApprovals .ra-consequence{padding:16px}#builtReviewApprovals .ra-actions>button{flex:1}#builtReviewApprovals .ra-scores{grid-template-columns:repeat(2,minmax(0,1fr))}.client-support-hero .ra-entry{width:100%}}
@media(prefers-reduced-motion:reduce){#builtReviewApprovals::backdrop{backdrop-filter:none}}
