/* Owner title and actions follow the Production portal's compact top bar. */
body:has(#admin:not(.hide) #owner-workspace)>.sitebar,
body:has(#admin:not(.hide) #owner-workspace) .portal-account-tools{display:none!important}
html body:has(#admin:not(.hide) #owner-workspace) .shell{padding-top:0}
.aw-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;min-height:76px;padding:12px 24px;margin-bottom:20px;border-bottom:1px solid var(--soft,#d8ddcf);background:var(--paper,#fffdf5)}
.aw-header h1{margin:0;font:400 40px/1.2 'Capriola','Trebuchet MS',sans-serif;color:var(--green)}
.aw-header-actions{display:grid;grid-template-columns:repeat(3,160px);gap:10px;margin-left:auto}
.aw-header-actions .button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:0;padding:10px 12px;font-size:14px;line-height:1.3;white-space:nowrap;box-shadow:none}
.aw-header-actions .aw-production-action{border-color:var(--portal-yellow-line,#d4b754);background:var(--portal-yellow,#ffe27a);color:var(--green)}
.aw-header-actions .aw-website-action{background:var(--green);color:var(--white)}
.aw-header-actions .aw-sign-out{border-color:var(--copper);background:var(--copper);color:var(--white)}
#owner-workspace>.aw-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){
 .aw-header{display:block;min-height:0;padding:10px 12px;margin-bottom:14px}
 .aw-header h1{font-size:30px;margin-bottom:12px}
 .aw-header-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}
 .aw-header-actions .button{min-height:44px;padding:10px 6px;font-size:12px}
 #owner-workspace>.aw-nav{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr)}
}

/* Phone labels keep complete words; desktop and customer styling is unchanged. */
@media screen and (max-width:760px){
 html body .shell #owner-workspace .aw-header-actions .button{
  min-width:0;padding:10px 4px!important;font-size:clamp(11px,3.25vw,14px)!important;
  line-height:1.25;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none;
 }
 html body .shell #owner-workspace>.aw-nav button>span{
  width:100%;min-width:0;font-size:clamp(12px,3.35vw,15px);line-height:1.3;
  white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;
 }
 html body .shell #owner-workspace .aw-order-nav button{
  white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none;
 }
}
