/* TWJ Step 10 final UI consistency; safe-area + compact diagnostics.
   Only scopes the currently authenticated web/PWA shell. */
.twj-step1-web .shell{
 padding-top:calc(10px + env(safe-area-inset-top,0px))!important;
 padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
}
.twj-step1-web .nav{
 bottom:0!important;
 padding-bottom:0!important;
 padding-left:env(safe-area-inset-left,0px);
 padding-right:env(safe-area-inset-right,0px);
}
.twj-step1-web .navIn{
 padding:5px 0 max(7px,env(safe-area-inset-bottom,0px))!important;
}
.twj-step1-web .nav button{touch-action:manipulation}
.twj-step1-web #view{min-width:0;overflow-wrap:anywhere}
.twj-step1-web #view .card{max-width:100%;min-width:0}
.twj-step1-web #view :is(input,textarea,select){min-width:0}
.twj-step1-web .topbar{flex-wrap:wrap;min-width:0}
.twj-step1-web .topbar .account{min-width:0;overflow-wrap:anywhere}
.twj-step1-web .twj10-status{
 padding:11px 13px!important;
 margin:12px 0 7px!important;
 background:#172236;
 border:1px solid #354f77;
 border-radius:13px;
}
.twj10-status>summary{
 display:flex;align-items:center;gap:9px;
 list-style:none;cursor:pointer;
 min-height:42px;
 font-size:13px;font-weight:800;
}
.twj10-status>summary::-webkit-details-marker{display:none}
.twj10-status>summary small{
 margin-left:auto;color:#a8c5f0;font-size:10px;font-weight:650;text-align:right
}
.twj10-status>summary:after{content:'⌄';font-size:19px;color:#a8c5f0;font-weight:400}
.twj10-status[open]>summary:after{content:'⌃'}
.twj10-detail{border-top:1px solid #3a4c68;padding-top:10px;display:grid;gap:11px}
.twj10-detail p{font-size:11px;line-height:1.55;margin:0;color:#b4c6de}
.twj10-module-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
}
.twj10-module-grid span{
 display:block;min-width:0;
 background:#22344d;border-radius:8px;
 padding:7px 5px;
 font-size:10px;font-weight:700;
 text-align:center;color:#bad3f4;
 overflow-wrap:anywhere;
}
.twj10-module-grid span.missing{background:#44333b;color:#ffcad3}
.twj10-detail button{justify-self:start;min-height:42px;font-size:11px}
.twj10-detail .twj10-notice{font-size:10px;color:#adcffc}
.twj10-offline{
 padding:9px 11px;margin:7px 0 12px;
 border:1px solid #b17b43;border-radius:9px;
 background:#342c22;color:#ffe0b7;
 font-size:11px;line-height:1.45;
}
@media(max-width:420px){
 .twj-step1-web .brand{gap:9px}
 .twj-step1-web .brandLogo{max-width:42px;max-height:42px}
 .twj-step1-web .navIn{gap:1px!important}
 .twj-step1-web .nav button{font-size:clamp(8px,2.35vw,10px)!important}
 .twj-step1-web .nav .twj-s1-nav-glyph{font-size:19px!important}
 .twj-step1-web .twj-s1-today-head h2{font-size:25px!important}
 .twj10-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:768px){
 .twj-step1-web .shell{padding-left:24px;padding-right:24px}
}
@media(prefers-reduced-motion:reduce){
 .twj-step1-web .nav *{transition:none!important}
}
