/*
CONFIDENTIAL INTELLECTUAL PROPERTY — CRISTIAN G. FREIRE
Build 018 — Owner/Management shell consistency fixes.
*/
body{font-size:16px;background:#f6f8fb;color:#122039}
.app>.side{background:linear-gradient(180deg,#0b2344,#071a33);font-size:16px}
.app>.side .brand{font-size:23px}
.app>.side .nav a{font-size:16px;line-height:1.2}
.app>.main{font-size:16px}
.wt-main-embedded .wt-top h1,.wr-main-embedded .wr-top h1{font-size:32px;line-height:1.15;margin:0}
.wt-main-embedded .wt-top p{font-size:14px;margin-top:5px}
.wr-main-embedded .wr-top{min-height:52px;align-items:center}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
/* OPT V7.203 / Build 100 R31.17 — narrower desktop portal rail.
   Main Owner/Management pages reclaim 35px for the working pane while keeping the
   existing sticky/flyout/mobile behavior intact. */
@media(min-width:901px){
  .app{grid-template-columns:200px minmax(0,1fr)!important}
  .app>.side{padding-left:8px!important;padding-right:8px!important}
  .app>.side .nav a,.app>.side .nav-flyout-trigger{padding-left:10px!important;padding-right:10px!important}
  .app>.side .nav a,.app>.side .nav-flyout-trigger{font-size:15px!important}
  .app>.side .nav-flyout-trigger{gap:5px!important}
  .app>.side .section{margin-left:10px!important;margin-right:10px!important}
}
/* OPT Build 100 R28.40 — Owner category flyouts must be allowed to extend beyond the sidebar.
   portal-modules.css sets .side{overflow-y:auto}; when one overflow axis is auto, browsers
   compute the other axis as auto too, clipping every right-side flyout at the 235px sidebar edge. */
.app>.side.owner-side{overflow:visible!important;z-index:80!important}
.app>.side.owner-side .nav{overflow:visible!important}
.app>.side.owner-side .nav-flyout-menu{z-index:1000!important}
.app>.main{position:relative;z-index:1}
/* Category triggers keep the same typography as normal sidebar pages. */
.app>.side .nav-flyout-trigger{font-size:16px;line-height:1.2}
.app>.side .nav-flyout-menu a{font-size:15px;line-height:1.2}

/* OPT V7.193 / Build 100 R31.07 — full-height Eastern-time / Made-in-USA sidebar footer.
   The staff rail's remaining navy area is now used as a two-zone footer: Eastern time/date
   fills the upper available space and the DTI flag + Made in the USA treatment is anchored
   to the bottom edge. Flag geometry and America/New_York clock behavior remain unchanged.
   OPT V7.202 / Build 100 R31.16 — enlarge the Eastern label/date/time only so this information
   uses more of the available navy rail while preserving the two-zone layout and flag treatment. */
@media(min-width:761px){
  .app>.side.owner-side{display:flex!important;flex-direction:column!important}
  .app>.side .opt-sidebar-patriotic{margin-top:0;flex:1 1 auto;min-height:132px;padding:12px 8px 8px;border-top:1px solid rgba(255,126,48,.30);font-family:Segoe UI,Arial,sans-serif;user-select:none;display:flex;flex-direction:column;box-sizing:border-box}
}
.opt-sidebar-patriotic{color:#fff}
.opt-sidebar-eastern{order:1;display:flex;flex:1 1 auto;min-height:0;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;margin:0;opacity:.72}
.opt-sidebar-time-label{color:#8abcf0;font-size:12px;line-height:1.2;letter-spacing:.17em;text-transform:uppercase;font-weight:800}
.opt-sidebar-date{color:#dfeaf5;font-size:14px;line-height:1.25;letter-spacing:.07em;text-transform:uppercase}
.opt-sidebar-time{color:#fff;font-size:24px;line-height:1.15;font-weight:800;letter-spacing:.07em}
.opt-sidebar-made{order:2;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:auto;padding-top:12px;opacity:.66;flex:0 0 auto}
.opt-sidebar-made svg{display:block;width:68px;height:auto;flex:0 0 auto;filter:drop-shadow(0 0 8px rgba(255,255,255,.05))}
.opt-sidebar-made>span{color:#f0f5fb;font-size:8px;line-height:1.25;letter-spacing:.16em;text-transform:uppercase;font-weight:800;white-space:nowrap}
@media(max-height:820px) and (min-width:761px){
  .app>.side .opt-sidebar-patriotic{min-height:104px;padding-top:7px;padding-bottom:5px}
  .opt-sidebar-made{padding-top:7px}
  .opt-sidebar-made svg{width:54px}
  .opt-sidebar-made>span{font-size:6.7px;letter-spacing:.12em}
  .opt-sidebar-time-label{font-size:10px}.opt-sidebar-date{font-size:12px}.opt-sidebar-time{font-size:20px}
}
@media(max-width:760px){
  .opt-sidebar-patriotic{margin:18px 8px 8px;padding:12px 8px 4px;border-top:1px solid rgba(255,126,48,.30);display:flex;flex-direction:column}
  .opt-sidebar-eastern{flex:0 0 auto;margin-bottom:10px}
  .opt-sidebar-made{padding-top:0;margin-top:0}
  .opt-sidebar-made svg{width:58px}.opt-sidebar-made>span{font-size:7px}
  .opt-sidebar-time-label{font-size:8px}.opt-sidebar-date{font-size:9.5px}.opt-sidebar-time{font-size:14px}
}

