/* JLJAM 7.22.7 · Home Reflow.
   Targeted iPhone/iPad polish. Core navigation, data and auth unchanged.
   No external libraries, no animations under reduced-motion. */
body.jljam-easy-home-active #app .ng-lane strong{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal!important;word-break:normal!important}
@media (min-width:861px) and (max-width:1100px){
 body.jljam-easy-home-active #app .ng-lanes{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body.jljam-easy-home-active #app .ng-lane{min-width:0;gap:8px;padding:10px!important}
}
/* Home's dock already navigates Deals, Shows, People and Comms.
   Remove the redundant second row of giant tiles on narrow layouts. */
@media (max-width:860px){
 body.jljam-easy-home-active #app .ng-lanes{display:none!important}
 body.jljam-easy-home-active{padding-bottom:0!important;min-height:100dvh;background:#0b0715}
 body.jljam-easy-home-active #app .shell,
 body.clarity7140.studio7150.jljam-easy-home-active #app .shell{
   padding-top:6px!important;
   padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))!important;
   min-height:0!important;
 }
 body.jljam-easy-home-active #app .jljam-easy,
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy{
   width:100%!important;max-width:100%!important;
   padding:5px clamp(8px,2.2vw,15px) 0!important;
   margin-bottom:0!important;
   overflow:visible!important;
 }
 body.jljam-easy-home-active #app .jljam-easy .ej-intro{margin-bottom:12px!important}
 body.jljam-easy-home-active #app .jljam-easy .ej-topline{margin-bottom:8px!important}
 body.jljam-easy-home-active #app .jljam-easy .ej-intro h1{font-size:clamp(27px,4.8vw,36px)!important;line-height:1.1!important;letter-spacing:-.04em!important;margin:0 0 4px!important}
 body.jljam-easy-home-active #app .jljam-easy .ej-intro p{font-size:clamp(12px,2.6vw,15px)!important;line-height:1.4!important;margin:0!important;color:#c8b9dd!important}
 body.jljam-easy-home-active #app .jljam-easy .ej-all{min-height:40px!important;border-radius:13px!important;font-size:12px!important;padding:7px 10px!important;white-space:nowrap!important}
 /* Filmstrip: natural photographs, strong labels, a glimpse of the next portrait. */
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase{
   padding:12px 12px 10px!important;margin:0 0 11px!important;
   border-radius:21px!important;overflow:hidden!important;
   background:linear-gradient(128deg,#42245fdc,#1c1634eb)!important;
   box-shadow:inset 0 1px #ffffff25,0 6px 24px #0d041b40!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase .ej-roster-title{
   margin:0 0 10px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-roster-title strong{font-size:clamp(19px,3.3vw,24px)!important}
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-roster-all{
   min-height:39px!important;padding:7px 11px!important;font-size:12px!important;border-radius:13px!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase .ej-roster-strip,
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase.ej-two-up .ej-roster-strip,
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase[data-aurora-mode="spotlight"] .ej-roster-strip{
   display:grid!important;grid-template-columns:none!important;
   grid-auto-flow:column!important;
   grid-auto-columns:clamp(126px,27vw,166px)!important;
   gap:9px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;
   -webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory!important;
   scroll-padding-left:3px!important;padding:2px 2px 6px!important;
   scrollbar-width:none;touch-action:pan-x!important;
 }
 body.jljam-easy-home-active #app .ej-roster-strip::-webkit-scrollbar{display:none!important}
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase .ej-roster-strip>.ej-person,
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase[data-aurora-mode="spotlight"] .ej-roster-strip>.ej-person{
   box-sizing:border-box!important;display:block!important;position:relative!important;
   aspect-ratio:.91/1!important;min-height:0!important;max-height:none!important;
   border-radius:17px!important;padding:0!important;
   scroll-snap-align:start!important;overflow:hidden!important;
   border:1px solid #e4c5fb75!important;background:#2f1b44!important;
   box-shadow:inset 0 1px #ffffff3a,0 6px 14px #0b031c55!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase .ej-person-image{
   position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
   aspect-ratio:auto!important;border-radius:inherit!important;overflow:hidden!important;
 }
 body.jljam-easy-home-active #app .ej-portrait-showcase .ej-person-image img{
   position:absolute!important;inset:0!important;height:100%!important;width:100%!important;
   object-fit:cover!important;object-position:center 22%!important;transform:none!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase .ej-person-info{
   position:absolute!important;inset:auto 0 0 0!important;z-index:3!important;
   display:flex!important;align-items:end!important;justify-content:space-between!important;
   min-height:0!important;margin:0!important;padding:30px 8px 8px!important;
   background:linear-gradient(180deg,transparent,#140b21d9 68%,#0d0716f2)!important;
   border:0!important;text-shadow:0 1px 5px #000b!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-portrait-showcase .ej-person-info strong{
   font:850 clamp(12px,2.1vw,15px)/1.08 system-ui!important;letter-spacing:-.025em!important;
   min-width:0!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 body.jljam-easy-home-active #app .ej-portrait-showcase .ej-portrait-arrow{
   display:grid!important;place-items:center!important;width:23px!important;height:23px!important;
   font-size:14px!important;border-radius:9px!important;
 }
 /* Pulse: concise information, real tappable metrics. */
 body.clarity7140.studio7150.jljam-easy-home-active #app .cl-pulse{
   display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
   align-items:center!important;gap:10px!important;margin:0 0 10px!important;
   padding:12px!important;border-radius:19px!important;
 }
 body.jljam-easy-home-active #app .cl-pulse-main{gap:8px!important}
 body.jljam-easy-home-active #app .cl-pulse-main strong{font-size:clamp(14px,2.8vw,17px)!important;line-height:1.15!important}
 body.jljam-easy-home-active #app .cl-pulse-overline{font-size:10px!important;letter-spacing:.11em!important}
 body.jljam-easy-home-active #app .cl-pulse-focus{grid-row:1!important;grid-column:2!important;min-height:42px!important;
   padding:9px 12px!important;border-radius:13px!important;font:800 12px/1 system-ui!important;}
 body.clarity7140.studio7150.jljam-easy-home-active #app .cl-pulse-stats{
   grid-column:1/-1!important;grid-row:2!important;display:grid!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .cl-pulse-stats button{
   min-width:0!important;min-height:48px!important;padding:7px 8px!important;
   display:flex!important;flex-direction:row!important;justify-content:flex-start!important;
   align-items:baseline!important;gap:6px!important;white-space:normal!important;
   font:650 clamp(10px,1.8vw,12px)/1.15 system-ui!important;border-radius:12px!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .cl-pulse-stats button b{font-size:clamp(19px,3vw,22px)!important}
 /* Quick-action strip: does not duplicate bottom navigation. */
 body.jljam-easy-home-active #app .ej-home-intel-actions{
   display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr) minmax(0,1fr);
   gap:7px;margin:0 0 11px;padding:0 1px;
 }
 body.jljam-easy-home-active #app .ej-home-intel-actions button{
   min-width:0!important;min-height:45px!important;padding:8px 11px!important;
   display:flex;align-items:center;justify-content:center;gap:7px!important;
   color:#e7ddf9!important;font:750 clamp(12px,2vw,14px)/1.15 system-ui!important;
   border:1px solid rgba(185,151,255,.32)!important;border-radius:13px!important;
   background:rgba(70,49,113,.26)!important;box-shadow:inset 0 1px #fff1;
   white-space:nowrap!important;
 }
 body.jljam-easy-home-active #app .ej-home-intel-actions button>span:first-child{font-size:18px!important;font-weight:500;color:#cfabff}
 body.jljam-easy-home-active #app .ej-home-intel-actions .ej-home-intel-primary{
   background:linear-gradient(115deg,#6a3da3,#3e3979)!important;color:#fff!important;
   border-color:#d4b8f09c!important;box-shadow:inset 0 1px #fff3,0 5px 17px #6d3a9b40;
 }
 /* One important task, not a near-full-screen advertisement. */
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-main-layout{display:block!important;margin:0!important}
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-step{
   display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;
   padding:15px 16px 16px!important;border-radius:22px!important;
   background:radial-gradient(circle at 94% 0%,#a973d03a,transparent 40%),linear-gradient(126deg,#4c2671,#27183e)!important;
   box-shadow:inset 0 1px #ffffff3a,0 10px 26px #1708233d!important;
 }
 body.jljam-easy-home-active #app .ej-step-top{margin:0 0 9px!important}
 body.jljam-easy-home-active #app .ej-step-icon{width:35px!important;height:35px!important;border-radius:13px!important}
 body.jljam-easy-home-active #app .ej-kicker{font-size:11px!important}
 body.jljam-easy-home-active #app .ej-step-context{font-size:13px!important;margin:0 0 6px!important}
 body.jljam-easy-home-active #app .ej-step-context img{width:31px!important;height:31px!important;border-radius:10px!important;object-fit:cover!important}
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-step h2{
   font-size:clamp(21px,4.1vw,27px)!important;line-height:1.18!important;
   margin:3px 0 8px!important;max-width:100%!important;
   display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
   overflow:hidden!important;overflow-wrap:break-word!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-step p{
   font-size:clamp(13px,2.4vw,15px)!important;line-height:1.43!important;
   margin:0 0 10px!important;max-width:100%!important;
   display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
 }
 body.jljam-easy-home-active #app .ej-tags{gap:5px!important;margin:0 0 10px!important}
 body.jljam-easy-home-active #app .ej-tags span{font-size:11px!important;padding:5px 9px!important}
 body.jljam-easy-home-active #app .ej-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;margin:0!important}
 body.jljam-easy-home-active #app .ej-main,body.jljam-easy-home-active #app .ej-secondary{
   min-height:45px!important;padding:8px 12px!important;border-radius:13px!important;
   font-size:clamp(12px,2vw,14px)!important;line-height:1.2!important;white-space:nowrap!important;
 }
 /* Secondary priorities appear as two quiet tappable rows rather than empty space. */
 body.jljam-easy-home-active #app .ej-today-queue{
   margin:10px 0 0;padding:12px;border:1px solid #b699e54d;border-radius:18px;
   background:linear-gradient(155deg,#291d3eec,#151125f2);box-shadow:inset 0 1px #ffffff15;
 }
 body.jljam-easy-home-active #app .ej-today-queue header{display:flex;justify-content:space-between;align-items:center;gap:7px;margin:0 0 5px}
 body.jljam-easy-home-active #app .ej-today-queue header>span{font:900 10px/1.2 system-ui;letter-spacing:.12em;color:#cbb4ee}
 body.jljam-easy-home-active #app .ej-today-queue header button{min-height:34px;border:0;background:transparent;color:#e5cfff;font:750 12px/1.15 system-ui;padding:6px 8px}
 body.jljam-easy-home-active #app .ej-today-queue-list{display:grid;gap:5px}
 body.jljam-easy-home-active #app .ej-today-queue-list>button{
   display:flex;align-items:center;gap:10px;width:100%;min-height:55px;padding:8px 10px;
   border-radius:12px;border:1px solid #ffffff1d;background:#ffffff09;text-align:left;color:#fff;
 }
 body.jljam-easy-home-active #app .ej-queue-bullet{display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:10px;color:#d7b3ff;background:#ffffff12;font-size:20px}
 body.jljam-easy-home-active #app .ej-queue-copy{display:grid;gap:2px;flex:1;min-width:0}
 body.jljam-easy-home-active #app .ej-queue-copy strong{font:800 13px/1.25 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.jljam-easy-home-active #app .ej-queue-copy small{font:550 11px/1.2 system-ui;color:#c4b3db;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.jljam-easy-home-active #app .ej-queue-arrow{font:700 15px/1 system-ui;color:#dabaff}
 /* The floating orb is redundant here; the real button above opens the same Deck. */
 body.jljam-easy-home-active #app #jljamIntelPhone{display:none!important}
 /* Make the fixed workspace dock compact, five readable labels, no clipping. */
 body.clarity7140.studio7150.jljam-easy-home-active #app .mobile-dock,
 body.clarity7140.studio7150.jljam-easy-home-active[data-display-mode] #app .mobile-dock{
   display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
   left:7px!important;right:7px!important;bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;
   width:auto!important;height:84px!important;min-height:84px!important;max-height:84px!important;
   padding:5px!important;gap:3px!important;border-radius:22px!important;
   background:linear-gradient(125deg,#271938f5,#151023f8)!important;
   backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
   border-color:#c4a0f16b!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .mobile-dock>button,
 body.clarity7140.studio7150.jljam-easy-home-active[data-display-mode] #app .mobile-dock>button{
   display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
   min-width:0!important;max-width:100%!important;min-height:72px!important;height:72px!important;max-height:72px!important;
   gap:2px!important;padding:5px 1px!important;margin:0!important;
   border-radius:16px!important;font:800 clamp(11px,1.9vw,14px)/1.15 system-ui!important;
   letter-spacing:-.02em!important;white-space:nowrap!important;text-overflow:clip!important;overflow:hidden!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app .mobile-dock>button>span{
   display:block!important;flex:none!important;margin:0 0 2px!important;
   width:auto!important;height:auto!important;min-height:25px!important;
   font:500 26px/1 system-ui!important;
 }
 body.jljam-easy-home-active #app .context-dock-action{bottom:calc(100px + env(safe-area-inset-bottom,0px))!important;width:53px!important;height:53px!important;border-radius:17px!important}
 body.jljam-easy-home-active #app .context-dock-action span{font-size:20px!important}
 body.jljam-easy-home-active #app .context-dock-action b{font-size:10px!important}
 /* One iOS-safe opaque strip behind the native clock/battery during scrolling. */
 html.jljam-standalone body.jljam-easy-home-active::before,
 body.jljam-easy-home-active[data-display-mode="standalone"]::before{
   content:"";position:fixed;left:0;right:0;top:0;
   height:max(25px,env(safe-area-inset-top,0px));
   z-index:4000;pointer-events:none;background:#0d091a;
 }
 body.jljam-easy-home-active #app .topbar{
   position:sticky!important;top:0!important;background:rgba(13,9,26,.98)!important;
   box-shadow:0 6px 20px #09031580!important;
 }
 body.jljam-easy-home-active #app .ej-portrait-showcase .ej-person:active,
 body.jljam-easy-home-active #app .ej-today-queue-list>button:active{transform:scale(.982)!important}
 body.jljam-easy-home-active #app :is(.ej-home-intel-actions button,.ej-today-queue-list button,.ej-main,.ej-secondary):focus-visible{outline:3px solid #f0dcff!important;outline-offset:2px!important}
}
@media(max-width:380px){
 body.jljam-easy-home-active #app .ej-home-intel-actions{gap:5px}
 body.jljam-easy-home-active #app .ej-home-intel-actions button{padding:7px 6px!important}
 body.clarity7140.studio7150.jljam-easy-home-active #app .jljam-easy .ej-roster-strip{grid-auto-columns:128px!important}
}
@media(prefers-reduced-motion:reduce){
 body.jljam-easy-home-active #app .ej-portrait-showcase .ej-person,
 body.jljam-easy-home-active #app .mobile-dock>button,
 body.jljam-easy-home-active #app .ej-home-intel-actions button{animation:none!important;transition:none!important;transform:none!important}
}

/* Final geometry locks. The legacy stylesheet includes multiple high-specificity
   padding and 2×2 gallery rules. Scope these by Home's actual mount ID so a
   standalone iPhone uses one row of swipeable portraits without stacked gaps. */
@media(max-width:860px){
 body.clarity7140.studio7150.jljam-easy-home-active #app main.shell:has(#jljam-easy-root){
   padding-bottom:calc(99px + env(safe-area-inset-bottom,0px))!important;
 }
 body.clarity7140.studio7150.jljam-easy-home-active #app #jljam-easy-root.ej-two-up{min-width:0!important}
 body.clarity7140.studio7150.jljam-easy-home-active #app #jljam-easy-root .ej-portrait-showcase .ej-roster-strip,
 body.clarity7140.studio7150.jljam-easy-home-active #app #jljam-easy-root .ej-portrait-showcase.ej-two-up .ej-roster-strip,
 body.clarity7140.studio7150.jljam-easy-home-active #app #jljam-easy-root .ej-portrait-showcase[data-aurora-mode="spotlight"] .ej-roster-strip{
   grid-template-columns:none!important;
   grid-template-rows:minmax(0,1fr)!important;
   grid-auto-flow:column!important;
   grid-auto-columns:clamp(130px,38vw,166px)!important;
   align-items:stretch!important;
   overflow-x:auto!important;overflow-y:hidden!important;
   max-height:226px!important;
 }
}
